pypi yarl 1.16.0

17 hours ago

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 and host_validate_size to :py:meth:~yarl.cache_configure is deprecated in favor of the new encode_host_size parameter and will be removed in a future release. For backwards compatibility, the old parameters affect the encode_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.


Don't miss a new yarl release

NewReleases is sending notifications on new releases.