Skip to content

Bump chardet from 7.1.0 to 7.2.0#162

Merged
gitonthescene merged 1 commit intodevelopfrom
dependabot/pip/develop/chardet-7.2.0
Mar 18, 2026
Merged

Bump chardet from 7.1.0 to 7.2.0#162
gitonthescene merged 1 commit intodevelopfrom
dependabot/pip/develop/chardet-7.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2026

Bumps chardet from 7.1.0 to 7.2.0.

Release notes

Sourced from chardet's releases.

chardet 7.2.0

Features

  • Added include_encodings and exclude_encodings parameters to detect(), detect_all(), and UniversalDetector — restrict or exclude specific encodings from the candidate set, with corresponding -i/--include-encodings and -x/--exclude-encodings CLI flags (#343)
  • Added no_match_encoding (default "cp1252") and empty_input_encoding (default "utf-8") parameters — control which encoding is returned when no candidate survives the pipeline or the input is empty, with corresponding CLI flags (#343)
  • Added -l/--language flag to chardetect CLI — shows the detected language (ISO 639-1 code and English name) alongside the encoding (#342)

Fixes

  • Fixed null-separated ASCII data being misdetected as UTF-16-BE (#346, #347)

Full changelog: https://chardet.readthedocs.io/en/latest/changelog.html

Changelog

Sourced from chardet's changelog.

7.2.0 (2026-03-17)

Features:

  • Added include_encodings and exclude_encodings parameters to :func:~chardet.detect, :func:~chardet.detect_all, and :class:~chardet.UniversalDetector — restrict or exclude specific encodings from the candidate set, with corresponding -i/--include-encodings and -x/--exclude-encodings CLI flags (Dan Blanchard <https://github.com/dan-blanchard>, [#343](https://github.com/chardet/chardet/issues/343) <https://github.com/chardet/chardet/pull/343>)
  • Added no_match_encoding (default "cp1252") and empty_input_encoding (default "utf-8") parameters — control which encoding is returned when no candidate survives the pipeline or the input is empty, with corresponding CLI flags (Dan Blanchard <https://github.com/dan-blanchard>, [#343](https://github.com/chardet/chardet/issues/343) <https://github.com/chardet/chardet/pull/343>)
  • Added -l/--language flag to chardetect CLI — shows the detected language (ISO 639-1 code and English name) alongside the encoding (Dan Blanchard <https://github.com/dan-blanchard>, [#342](https://github.com/chardet/chardet/issues/342) <https://github.com/chardet/chardet/pull/342>)
Commits
  • 884996a docs: set 7.2.0 release date to 2026-03-17
  • 64361f8 docs: add CLI examples for --no-match-encoding and --empty-input-encoding
  • 89a9a4c Fix null-separated ASCII misdetected as UTF-16-BE (#347)
  • a98f097 docs: add example output to all CLI commands for consistency
  • d2f4ac2 docs: document 7.2.0 features (encoding filters, --language CLI flag)
  • 575fa96 test: add include_encodings accuracy preservation tests
  • 66e21fc fix: strengthen weak tests and remove duplicates
  • e1428c3 Add include/exclude encoding filters (#343)
  • 63e90b5 fix: pass --no-binary chardet for pinned versions with --pure
  • 2fe8993 fix: handle missing ISO_TO_LANGUAGE in older chardet versions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [chardet](https://github.com/chardet/chardet) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/chardet/chardet/releases)
- [Changelog](https://github.com/chardet/chardet/blob/main/docs/changelog.rst)
- [Commits](chardet/chardet@7.1.0...7.2.0)

---
updated-dependencies:
- dependency-name: chardet
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the pip dependencies Pull requests that update pip dependencies label Mar 18, 2026
@gitonthescene gitonthescene merged commit 3396c27 into develop Mar 18, 2026
8 checks passed
@dependabot dependabot bot deleted the dependabot/pip/develop/chardet-7.2.0 branch March 18, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pip dependencies Pull requests that update pip dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant