./www/py-yarl, Yet another URL library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.18.0, Package name: py312-yarl-1.18.0, Maintainer: pkgsrc-users

The module provides handy URL class for url parsing and changing.


Required to run:
[devel/py-setuptools] [devel/py-cython] [www/py-idna] [databases/py-multidict] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

Filesize: 175.877 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-24 11:40:02 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-yarl: update to 1.18.0.

1.18.0
======

*(2024-11-21)*

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:*
  :issue:`111`, :issue:`1421`.

Contributor-facing changes
--------------------------

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

  *Related issues and pull requests on GitHub:*
  :issue:`1415`.

Miscellaneous internal changes
------------------------------

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

  *Related issues and pull requests on GitHub:*
  :issue:`1422`.
   2024-11-18 09:57:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-yarl: updated to 1.17.2

1.17.2

Bug fixes

- Stopped implicitly allowing the use of Cython pre-release versions when
  building the distribution package -- by :user:`ajsanchezsanz` and
- Fixed a bug causing :attr:`~yarl.URL.port` to return the default port when the \ 
given port was zero
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-31 08:57:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-yarl: updated to 1.17.1

1.17.1

Miscellaneous internal changes

- Improved performance of many :class:`~yarl.URL` methods
- Improved performance of passing a `dict` or `str` to \ 
:py:meth:`~yarl.URL.extend_query`
   2024-10-30 15:45:20 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-yarl: update to 1.17.0.

1.17.0
======

*(2024-10-28)*

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:*
  :issue:`1375`.

----

1.16.0
======

*(2024-10-21)*

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:*
  :issue:`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:*
  :issue:`1348`, :issue:`1357`, :issue:`1363`.

Miscellaneous internal changes
------------------------------

- Improved performance of constructing :class:`~yarl.URL` -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`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:*
  :issue:`1345`.

- Reworked the internal encoding cache to improve performance on cache hit -- by \ 
:user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1369`.
   2024-10-19 18:19:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-yarl: updated to 1.15.5

1.15.5

Miscellaneous internal changes

- Improved performance of the :py:meth:`~yarl.URL.joinpath` method
- Improved performance of the :py:meth:`~yarl.URL.extend_query` method
- Improved performance of the :py:meth:`~yarl.URL.origin` method
- Improved performance of the :py:meth:`~yarl.URL.with_path` method
- Improved performance of the :py:meth:`~yarl.URL.with_query` method
- Improved performance of the :py:meth:`~yarl.URL.update_query` method
- Improved performance of the :py:meth:`~yarl.URL.join` method
- Improved performance of :class:`~yarl.URL` equality checks
- Improved performance of :class:`~yarl.URL` methods that modify the network location
- Improved performance of the :py:meth:`~yarl.URL.with_fragment` method
- Improved performance of calculating the hash of :class:`~yarl.URL` objects
- Improved performance of the :py:meth:`~yarl.URL.relative` method
- Improved performance of the :py:meth:`~yarl.URL.with_name` method
- Improved performance of :attr:`~yarl.URL.parent`
- Improved performance of the :py:meth:`~yarl.URL.with_scheme` method
   2024-10-19 12:51:03 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-yarl: update to 1.15.0.

1.15.0
======

*(2024-10-11)*

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:*
  :issue:`1189`.

Features
--------

- Started building ``armv7l`` wheels -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1204`.

Miscellaneous internal changes
------------------------------

- Improved performance of constructing unencoded :class:`~yarl.URL` objects -- \ 
by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`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:*
  :issue:`1190`.

- Improved performance of constructing query strings from \ 
:class:`~collections.abc.Mapping` -- by :user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1193`.

- Improved performance of converting :class:`~yarl.URL` objects to strings -- by \ 
:user:`bdraco`.

  *Related issues and pull requests on GitHub:*
  :issue:`1198`.
   2024-10-10 08:37:26 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-yarl: add missing (test) dependencies

Bump PKGREVISION.