furl v2.1.0 Release Notes
Release Date: 2019-09-20 // over 5 years ago-
โ Added : a
dont_quote=
parameter toQuery.encode()
and a
query_dont_quote=
parameter tofurl.tostr()
that exempt valid query
characters from being percent-encoded, either in their entirety with
dont_quote=True
, or selectively withdont_quote=<string>
, like
dont_quote='/?@_'
.๐ Changed : Move package info from
__init__.py
into the more standard
๐__version__.py
.๐ Fixed : Support Unicode usernames and passwords in Python 2.
๐ Fixed : Update orderedmultdict to v1.0.1 to resolve a DeprecationWarning.
๐ Fixed : Encode
'/'
consistently in query strings across both
quote_plus=True
andquote_plus=False
.
Previous changes from v2.0.0
-
โ Added: All URL components (
scheme
,host
,path
, etc) tofurl()
's constructor as
keyword arguments. E.g.f = furl(scheme='http', host='host', path='/lolsup')
.Changed: furl.truediv() and Path.truediv() now mirror Pathlib.truediv()'s
behavior and return a new instance. The original instance is no longer modified.
Old behavior:f = furl('1'); f / '2' -> str(f) == '1'
. New behavior:
f = furl('1'); f /= '2' -> str(f) == '1/2'
.Fixed: Path.load() now accepts Path instances, e.g.
f.path.load(Path('hi'))
.โ Removed: Support for Python 2.6, which reached EOL on 2013-10-29.