Releases: aio-libs/yarl
1.17.1
Miscellaneous internal changes
-
Improved performance of many :class:
~yarl.URL
methods -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1396, #1397, #1398. -
Improved performance of passing a
dict
orstr
to :py:meth:~yarl.URL.extend_query
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1401.
1.17.0
1.16.0
Bug fixes
-
Fixed blocking I/O to load Python code when creating a new :class:
~yarl.URL
with non-ascii characters in the network location part -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1342.
Removals and backward incompatible breaking changes
-
Migrated to using a single cache for encoding hosts -- by :user:
bdraco
.Passing
ip_address_size
andhost_validate_size
to :py:meth:~yarl.cache_configure
is deprecated in favor of the newencode_host_size
parameter and will be removed in a future release. For backwards compatibility, the old parameters affect theencode_host
cache size.Related issues and pull requests on GitHub:
#1348, #1357, #1363.
Miscellaneous internal changes
-
Improved performance of constructing :class:
~yarl.URL
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1336. -
Improved performance of calling :py:meth:
~yarl.URL.build
and constructing unencoded :class:~yarl.URL
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1345. -
Reworked the internal encoding cache to improve performance on cache hit -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1369.
1.16.0rc0
Bug fixes
-
Fixed blocking I/O to load Python code when creating a new :class:
~yarl.URL
with non-ascii characters in the network location part -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1342.
Removals and backward incompatible breaking changes
-
Migrated to using a single cache for encoding hosts -- by :user:
bdraco
.Passing
ip_address_size
andhost_validate_size
to :py:meth:~yarl.cache_configure
is deprecated in favor of the newencode_host_size
parameter and will be removed in a future release. For backwards compatibility, the old parameters affect theencode_host
cache size.Related issues and pull requests on GitHub:
#1348, #1357, #1363.
Miscellaneous internal changes
-
Improved performance of constructing :class:
~yarl.URL
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1336. -
Improved performance of calling :py:meth:
~yarl.URL.build
and constructing unencoded :class:~yarl.URL
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1345. -
Reworked the internal encoding cache to improve performance on cache hit -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1369.
1.15.5
Miscellaneous internal changes
-
Improved performance of the :py:meth:
~yarl.URL.joinpath
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1304. -
Improved performance of the :py:meth:
~yarl.URL.extend_query
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1305. -
Improved performance of the :py:meth:
~yarl.URL.origin
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1306. -
Improved performance of the :py:meth:
~yarl.URL.with_path
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1307. -
Improved performance of the :py:meth:
~yarl.URL.with_query
method -- by :user:bdraco
. -
Improved performance of the :py:meth:
~yarl.URL.update_query
method -- by :user:bdraco
. -
Improved performance of the :py:meth:
~yarl.URL.join
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1313. -
Improved performance of :class:
~yarl.URL
equality checks -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1315. -
Improved performance of :class:
~yarl.URL
methods that modify the network location -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1316. -
Improved performance of the :py:meth:
~yarl.URL.with_fragment
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1317. -
Improved performance of calculating the hash of :class:
~yarl.URL
objects -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1318. -
Improved performance of the :py:meth:
~yarl.URL.relative
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1319. -
Improved performance of the :py:meth:
~yarl.URL.with_name
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1320. -
Improved performance of :attr:
~yarl.URL.parent
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1321. -
Improved performance of the :py:meth:
~yarl.URL.with_scheme
method -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1322.
1.15.4
Miscellaneous internal changes
-
Improved performance of the quoter when all characters are safe -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1288. -
Improved performance of unquoting strings -- by :user:
bdraco
. -
Improved performance of calling :py:meth:
~yarl.URL.build
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1297.
1.15.3
Bug fixes
-
Fixed :py:meth:
~yarl.URL.build
failing to validate paths must start with a/
when passingauthority
-- by :user:bdraco
.The validation only worked correctly when passing
host
.Related issues and pull requests on GitHub:
#1265.
Removals and backward incompatible breaking changes
-
Removed support for Python 3.8 as it has reached end of life -- by :user:
bdraco
.Related issues and pull requests on GitHub:
#1203.
Miscellaneous internal changes
-
Improved performance of constructing :class:
~yarl.URL
when the net location is only the host -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1271.
1.15.2
Miscellaneous internal changes
-
Improved performance of converting :class:
~yarl.URL
to a string -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1234. -
Improved performance of :py:meth:
~yarl.URL.joinpath
-- by :user:bdraco
. -
Improved performance of constructing query strings from :class:
~multidict.MultiDict
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1256. -
Improved performance of constructing query strings with
int
values -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1259.
1.15.1
Miscellaneous internal changes
-
Improved performance of calling :py:meth:
~yarl.URL.build
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1222. -
Improved performance of all :class:
~yarl.URL
methods that create new :class:~yarl.URL
objects -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1226. -
Improved performance of :class:
~yarl.URL
methods that modify the network location -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1229.
1.15.0
Bug fixes
-
Fixed validation with :py:meth:
~yarl.URL.with_scheme
when passed scheme is not lowercase -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1189.
Features
-
Started building
armv7l
wheels -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1204.
Miscellaneous internal changes
-
Improved performance of constructing unencoded :class:
~yarl.URL
objects -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1188. -
Added a cache for parsing hosts to reduce overhead of encoding :class:
~yarl.URL
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1190. -
Improved performance of constructing query strings from :class:
~collections.abc.Mapping
-- by :user:bdraco
.Related issues and pull requests on GitHub:
#1193. -
Improved performance of converting :class:
~yarl.URL
objects to strings -- by :user:bdraco
.Related issues and pull requests on GitHub:
#1198.