Skip to content

Releases: aio-libs/yarl

1.18.3

01 Dec 20:31
v1.18.3
5862a36
Compare
Choose a tag to compare

Bug fixes

  • Fixed uppercase ASCII hosts being rejected by :meth:URL.build() <yarl.URL.build> and :py:meth:~yarl.URL.with_host -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #954, #1442.

Miscellaneous internal changes

  • Improved performances of multiple path properties on cache miss -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1443.


1.18.2

29 Nov 23:14
v1.18.2
65d3aed
Compare
Choose a tag to compare

This release also failed to fully upload and was yanked from PyPI. Please use 1.18.3 instead.

No significant changes.


1.18.1

29 Nov 21:15
v1.18.1
2cc2ebf
Compare
Choose a tag to compare

This release failed to fully upload and was yanked from PyPI. Please use 1.18.2 instead.

Miscellaneous internal changes

  • Improved cache performance when :class:~yarl.URL objects are constructed from :py:meth:~yarl.URL.build with encoded=True -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1432.

  • Improved cache performance for operations that produce a new :class:~yarl.URL object -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1434, #1436.


1.18.0

21 Nov 15:01
v1.18.0
2e8cd0d
Compare
Choose a tag to compare

Features

  • Added keep_query and keep_fragment flags in the :py:meth:yarl.URL.with_path, :py:meth:yarl.URL.with_name and :py:meth:yarl.URL.with_suffix methods, allowing users to optionally retain the query string and fragment in the resulting URL when replacing the path -- by :user:paul-nameless.

    Related issues and pull requests on GitHub:
    #111, #1421.

Contributor-facing changes

  • Started running downstream aiohttp tests in CI -- by :user:Cycloctane.

    Related issues and pull requests on GitHub:
    #1415.

Miscellaneous internal changes

  • Improved performance of converting :class:~yarl.URL to a string -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1422.


1.17.2

17 Nov 17:30
v1.17.2
4ab9b12
Compare
Choose a tag to compare

Bug fixes

  • Stopped implicitly allowing the use of Cython pre-release versions when
    building the distribution package -- by :user:ajsanchezsanz and
    :user:markgreene74.

    Related issues and pull requests on GitHub:
    #1411, #1412.

  • Fixed a bug causing :attr:~yarl.URL.port to return the default port when the given port was zero
    -- by :user:gmacon.

    Related issues and pull requests on GitHub:
    #1413.

Features

  • Make error messages include details of incorrect type when port is not int in :py:meth:~yarl.URL.build.
    -- by :user:Cycloctane.

    Related issues and pull requests on GitHub:
    #1414.

Packaging updates and notes for downstreams

  • Stopped implicitly allowing the use of Cython pre-release versions when
    building the distribution package -- by :user:ajsanchezsanz and
    :user:markgreene74.

    Related issues and pull requests on GitHub:
    #1411, #1412.

Miscellaneous internal changes

  • Improved performance of the :py:meth:~yarl.URL.joinpath method -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1418.


1.17.1

30 Oct 21:50
v1.17.1
f7b83d7
Compare
Choose a tag to compare

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 or str to :py:meth:~yarl.URL.extend_query -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1401.


1.17.0

28 Oct 21:16
6c36cfb
Compare
Choose a tag to compare

Features

  • Added :attr:~yarl.URL.host_port_subcomponent which returns the :rfc:3986#section-3.2.2 host and :rfc:3986#section-3.2.3 port subcomponent -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1375.


1.16.0

21 Oct 21:54
a147d2e
Compare
Choose a tag to compare

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.


1.16.0rc0

21 Oct 19:22
e464bfe
Compare
Choose a tag to compare
1.16.0rc0 Pre-release
Pre-release

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.


1.15.5

18 Oct 17:41
016eb59
Compare
Choose a tag to compare

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.

    Related issues and pull requests on GitHub:
    #1308, #1328.

  • Improved performance of the :py:meth:~yarl.URL.update_query method -- by :user:bdraco.

    Related issues and pull requests on GitHub:
    #1309, #1327.

  • 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.