pypi yarl 1.10.0

latest releases: 1.11.1, 1.11.0
12 days ago

Bug fixes

  • Fixed joining a path when the existing path was empty -- by :user:bdraco.

    A regression in :meth:URL.join() <yarl.URL.join> was introduced in #1082.

    Related issues and pull requests on GitHub:
    #1118.

Features

  • Added :meth:URL.without_query_params() <yarl.URL.without_query_params> method, to drop some parameters from query string -- by :user:hongquan.

    Related issues and pull requests on GitHub:
    #774, #898, #1010.

  • The previously protected types _SimpleQuery, _QueryVariable, and _Query are now available for use externally as SimpleQuery, QueryVariable, and Query -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1050, #1113.

Contributor-facing changes

  • Replaced all :class:~typing.Optional with :class:~typing.Union -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1095.

Miscellaneous internal changes

  • Significantly improved performance of parsing the network location -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1112.

  • Added internal types to the cache to prevent future refactoring errors -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1117.


Don't miss a new yarl release

NewReleases is sending notifications on new releases.