Skip to content

Update dependency charset-normalizer to v3.5.2 - #87

Merged
wfordh merged 1 commit into
masterfrom
renovate/charset-normalizer-3.x
Oct 30, 2026
Merged

wfordh merged 1 commit into
masterfrom
renovate/charset-normalizer-3.x

Conversation

@renovate

@renovate renovate Bot commented Mar 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
charset-normalizer (changelog) ==3.4.4 → ==3.5.2 age confidence

Release Notes

jawah/charset_normalizer (charset-normalizer)

v3.5.2

Compare Source

Changed
  • Raised the Cython upper bound to <3.4 for native builds. The bound remains <3.3 for
    abi3 builds to preserve compatibility with the Python 3.7 Limited API.
Fixed
  • Valid UTF-8 Chinese JSON incorrectly detected as PTCP154 due to excessive noise penalties
    for uncommon CJK characters. (#​796)
  • Supported encodings without aliases failing name resolution or being ignored in charset
    declarations. (#​800)

v3.5.1

Compare Source

Changed
  • Raised upper bound of setuptools to v84 (#​794)
  • Cache performance access optimization for our CharInfo struct (prebuilt only).
Fixed
  • No longer decoding large content when the noise detector output give a high entropy.
    Only impacted large content input >1M bytes.

v3.5.0

Compare Source

Added
  • Explicit support for Python 3.15
Fixed
  • Comparing a CharsetMatch to a non-alias encoding strings (#​773)
  • Return 0.0 CharsetMatch.multi_byte_usage for empty payloads instead of crashing (#​774)
  • A file with both a charset declaration and BOM/SIG did not verify first the BOM/SIG charset.
  • iso2022* cases misdetected due to a flaw in our multibyte chunking logic.
Changed
  • Replaced the optional mypyc build with Cython extensions while retaining the
    pure Python fallback. The previous engine (mypyc) started to hit rough limit around
    the optimization of our noise/coherence detector while Cython allows us to
    steer the engine toward the right generated optimized sources.
    This change SHOULD not impact bundler (e.g. Pyinstaller) as the module are
    immediately discoverable (i.e. not hidden import like mypyc did).
    Moreover, a long wished distribution is the abi3 wheels, this will allow us
    to no longer rush each year when a new Python interpreter is released.
    We still distribute the interpreter specific wheels for faster performance.
  • Applied micro-optimization on several utils.
  • CharsetMatches no longer sort on each match insertion.
Misc
  • Removed an old performance optimization attempt in apy.py (success_fast_tracked+payload_result_cache).

v3.4.9

Compare Source

Fixed
  • Regression in our fallback path leading to a decode error. (#​771)
    We've yanked 3.4.8 as a result of that bug.

v3.4.8

Compare Source

Fixed
  • Wall import time due to cascade codec imports for our multibyte first sort of iana supported codecs (#​742)
  • Unnecessary json import at runtime (#​753)
  • Inverse capitalization not seen by noise detector (#​731)
Changed
  • No longer holding a global cache for our noise / coherence measurements. Relax RSS memory usage.
  • Micro-optimizations in our noise / coherence measurements.
  • No longer using regex search by default for our preemptive charset mark algorithm.
  • Raised upperbound of setuptools to v83.
  • Raised upperbound of mypy(c) to v2.1.
Removed
  • Redundant UTF7 BOM marker (#​730)

v3.4.7

Compare Source

Changed
  • Pre-built optimized version using mypy[c] v1.20.
  • Relax setuptools constraint to setuptools>=68,<82.1.
Fixed
  • Correctly remove SIG remnant in utf-7 decoded string. (#​718) (#​716)

v3.4.6

Compare Source

Changed
  • Flattened the logic in charset_normalizer.md for higher performance. Removed eligible(..) and feed(...)
    in favor of feed_info(...).
  • Raised upper bound for mypy[c] to 1.20, for our optimized version.
  • Updated UNICODE_RANGES_COMBINED using Unicode blocks v17.
Fixed
  • Edge case where noise difference between two candidates can be almost insignificant. (#​672)
  • CLI --normalize writing to wrong path when passing multiple files in. (#​702)
Misc
  • Freethreaded pre-built wheels now shipped in PyPI starting with 3.14t. (#​616)

v3.4.5

Compare Source

Changed
  • Update setuptools constraint to setuptools>=68,<=82.
  • Raised upper bound of mypyc for the optional pre-built extension to v1.19.1
Fixed
  • Add explicit link to lib math in our optimized build. (#​692)
  • Logger level not restored correctly for empty byte sequences. (#​701)
  • TypeError when passing bytearray to from_bytes. (#​703)
Misc
  • Applied safe micro-optimizations in both our noise detector and language detector.
  • Rewrote the query_yes_no function (inside CLI) to avoid using ambiguous licensed code.
  • Added cd.py submodule into mypyc optional compilation to reduce further the performance impact.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.4.5 Update dependency charset-normalizer to v3.4.6 Mar 15, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from 52732ca to 240b484 Compare March 15, 2026 20:55
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.4.6 Update dependency charset-normalizer to v3.4.7 Apr 2, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from 240b484 to 2df00d1 Compare April 2, 2026 10:19
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from 2df00d1 to da5b049 Compare May 24, 2026 21:59
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.4.7 Update dependency charset-normalizer to v3.4.8 Jul 6, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch 2 times, most recently from c3d869e to 42ebc2c Compare July 7, 2026 16:16
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.4.8 Update dependency charset-normalizer to v3.4.9 Jul 7, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from 42ebc2c to b519f20 Compare August 12, 2026 19:37
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.4.9 Update dependency charset-normalizer to v3.5.0 Aug 12, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from b519f20 to 225955a Compare August 15, 2026 10:09
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.5.0 Update dependency charset-normalizer to v3.5.1 Aug 15, 2026
@renovate
renovate Bot force-pushed the renovate/charset-normalizer-3.x branch from 225955a to cfdd74b Compare September 30, 2026 07:03
@renovate renovate Bot changed the title Update dependency charset-normalizer to v3.5.1 Update dependency charset-normalizer to v3.5.2 Sep 30, 2026
@wfordh
wfordh merged commit 6fe1ac3 into master Oct 30, 2026
8 of 15 checks passed
@renovate
renovate Bot deleted the renovate/charset-normalizer-3.x branch October 30, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant