Bug fixes
-
Fixed blocking I/O to load Python code when creating a new :class:
~yarl.URLwith 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_sizeandhost_validate_sizeto :py:meth:~yarl.cache_configureis deprecated in favor of the newencode_host_sizeparameter and will be removed in a future release. For backwards compatibility, the old parameters affect theencode_hostcache 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.buildand 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.