17
0

Compare commits

2 Commits

Author SHA256 Message Date
ccbac2d822 Accepting request 1268502 from devel:languages:python
- Update to 2.2.0:
  * Added
    + New `default_domain` parameter to support absolute paths with domain
      names
    + New command-line interface (`url-normalize`)
    + Query parameter filtering functionality
    + Parameter allowlist feature for controlling accepted query parameters
    + IDNA 2008 support via `idna` package
  * Fixed
    + Handle URLs with missing slashes correctly
    + Fix decoding of reserved characters in URL paths
    + Fix Twitter hashtag encoding in query parameters
    + Do not encode equals sign in fragment
    + Reverted license format in pyproject.toml to maintain Python 3.8
      compatibility with older setuptools versions
  * Changed
    + **BREAKING:** Switch default scheme from 'http' to 'https'
    + **BREAKING:** Migrated IDNA handling to use IDNA 2008 with UTS46
      processing
    + **BREAKING:** Updated minimum Python version to 3.8
    + **BREAKING:** Removed sort_query_params option as it was incorrect
    + Enhanced query normalization with parameter filtering support
    + Updated URL cleanup to support new filtering features
    + Changed host normalization to handle each domain label separately
- Drop patch url-normalize-pr28-poetry-core.patch, now included.

OBS-URL: https://build.opensuse.org/request/show/1268502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-url-normalize?expand=0&rev=3
2025-04-11 14:49:28 +00:00
8077fbc897 - Update to 2.2.0:
* Added
    + New `default_domain` parameter to support absolute paths with domain
      names
    + New command-line interface (`url-normalize`)
    + Query parameter filtering functionality
    + Parameter allowlist feature for controlling accepted query parameters
    + IDNA 2008 support via `idna` package
  * Fixed
    + Handle URLs with missing slashes correctly
    + Fix decoding of reserved characters in URL paths
    + Fix Twitter hashtag encoding in query parameters
    + Do not encode equals sign in fragment
    + Reverted license format in pyproject.toml to maintain Python 3.8
      compatibility with older setuptools versions
  * Changed
    + **BREAKING:** Switch default scheme from 'http' to 'https'
    + **BREAKING:** Migrated IDNA handling to use IDNA 2008 with UTS46
      processing
    + **BREAKING:** Updated minimum Python version to 3.8
    + **BREAKING:** Removed sort_query_params option as it was incorrect
    + Enhanced query normalization with parameter filtering support
    + Updated URL cleanup to support new filtering features
    + Changed host normalization to handle each domain label separately
- Drop patch url-normalize-pr28-poetry-core.patch, now included.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-url-normalize?expand=0&rev=5
2025-04-11 05:10:17 +00:00
4 changed files with 5 additions and 12 deletions

View File

@@ -1,10 +1,3 @@
-------------------------------------------------------------------
Mon Sep 29 12:34:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.2.1
* Include `py.typed` marker file for PEP 561 compatibility.
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Fri Apr 11 05:09:53 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -15,9 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-url-normalize
Version: 2.2.1
Version: 2.2.0
Release: 0
Summary: URL normalization for Python
License: MIT

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34281180cb1edda4edd37d567ebe9f56f4d6607bc82336f866fff5f42c564dbc
size 17161

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74b63f229012755bf85bc97a7e2c45df8e0f903166604c34ae766d0207e1c5ad
size 18114