chardet breaking changes
Updated December 4, 2026
On this page
Latest version 7.7.0, released October 18, 2026. Source repository
Its 6.0.0 release requires Python 3.10 or later. Python end of life dates.
- From 6.0.0 to 7.0.0: 107 breaking changes in 1 version.
- From 5.0.0 to 7.0.0: 206 breaking changes in 2 versions.
chardet 7.0.0 breaking changes
- Removed
chardet.big5freq
chardet.big5freq was removed in chardet 7.0.0 pypi.org - Removed
chardet.big5prober
chardet.big5prober was removed in chardet 7.0.0 pypi.org - Removed
chardet.chardistribution
chardet.chardistribution was removed in chardet 7.0.0 pypi.org - Removed
chardet.charsetgroupprober
chardet.charsetgroupprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.charsetprober
chardet.charsetprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.cli.chardetect
chardet.cli.chardetect was removed in chardet 7.0.0 pypi.org - Removed
chardet.codingstatemachine
chardet.codingstatemachine was removed in chardet 7.0.0 pypi.org - Removed
chardet.codingstatemachinedict
chardet.codingstatemachinedict was removed in chardet 7.0.0 pypi.org - Removed
chardet.cp949prober
chardet.cp949prober was removed in chardet 7.0.0 pypi.org - Removed
chardet.enums.CharacterCategory
chardet.enums.CharacterCategory was removed in chardet 7.0.0 pypi.org - Removed
chardet.enums.InputState
chardet.enums.InputState was removed in chardet 7.0.0 pypi.org - Removed
chardet.enums.MachineState
chardet.enums.MachineState was removed in chardet 7.0.0 pypi.org - Removed
chardet.enums.ProbingState
chardet.enums.ProbingState was removed in chardet 7.0.0 pypi.org - Removed
chardet.enums.SequenceLikelihood
chardet.enums.SequenceLikelihood was removed in chardet 7.0.0 pypi.org - Removed
chardet.escprober
chardet.escprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.escsm
chardet.escsm was removed in chardet 7.0.0 pypi.org - Removed
chardet.eucjpprober
chardet.eucjpprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.euckrfreq
chardet.euckrfreq was removed in chardet 7.0.0 pypi.org - Removed
chardet.euckrprober
chardet.euckrprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.gb18030prober
chardet.gb18030prober was removed in chardet 7.0.0 pypi.org - Removed
chardet.gb2312freq
chardet.gb2312freq was removed in chardet 7.0.0 pypi.org - Removed
chardet.hebrewprober
chardet.hebrewprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.jisfreq
chardet.jisfreq was removed in chardet 7.0.0 pypi.org - Removed
chardet.johabfreq
chardet.johabfreq was removed in chardet 7.0.0 pypi.org - Removed
chardet.johabprober
chardet.johabprober was removed in chardet 7.0.0 pypi.org - Removed
chardet.jpcntx
chardet.jpcntx was removed in chardet 7.0.0 pypi.org - Removed
chardet.langarabicmodel
chardet.langarabicmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langbelarusianmodel
chardet.langbelarusianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langbretonmodel
chardet.langbretonmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langbulgarianmodel
chardet.langbulgarianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langcroatianmodel
chardet.langcroatianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langczechmodel
chardet.langczechmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langdanishmodel
chardet.langdanishmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langdutchmodel
chardet.langdutchmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langenglishmodel
chardet.langenglishmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langesperantomodel
chardet.langesperantomodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langestonianmodel
chardet.langestonianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langfarsimodel
chardet.langfarsimodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langfinnishmodel
chardet.langfinnishmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langfrenchmodel
chardet.langfrenchmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langgermanmodel
chardet.langgermanmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langgreekmodel
chardet.langgreekmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langhebrewmodel
chardet.langhebrewmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langhungarianmodel
chardet.langhungarianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langicelandicmodel
chardet.langicelandicmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langindonesianmodel
chardet.langindonesianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langirishmodel
chardet.langirishmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langitalianmodel
chardet.langitalianmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langkazakhmodel
chardet.langkazakhmodel was removed in chardet 7.0.0 pypi.org - Removed
chardet.langlatvianmodel
chardet.langlatvianmodel was removed in chardet 7.0.0 pypi.org
And 57 more in this version. Sign up to see every change
chardet 6.0.0 breaking changes
- Removed
EUC-TW encoding detection was removed, so text in that encoding will no longer be detected. github.com - Removed
The package now requires Python 3.10 or later, so code running on Python 3.7 to 3.9 must upgrade. github.com - Removed
chardet.chardistribution.EUCTW_CHAR_TO_FREQ_ORDER
chardet.chardistribution.EUCTW_CHAR_TO_FREQ_ORDER was removed in chardet 6.0.0 pypi.org - Removed
chardet.chardistribution.EUCTW_TABLE_SIZE
chardet.chardistribution.EUCTW_TABLE_SIZE was removed in chardet 6.0.0 pypi.org - Removed
chardet.chardistribution.EUCTW_TYPICAL_DISTRIBUTION_RATIO
chardet.chardistribution.EUCTW_TYPICAL_DISTRIBUTION_RATIO was removed in chardet 6.0.0 pypi.org - Removed
chardet.chardistribution.EUCTWDistributionAnalysis
chardet.chardistribution.EUCTWDistributionAnalysis was removed in chardet 6.0.0 pypi.org - Removed
chardet.charsetgroupprober.LanguageFilter.NONE
chardet.charsetgroupprober.LanguageFilter.NONE was removed in chardet 6.0.0 pypi.org - Removed
chardet.charsetprober.LanguageFilter.NONE
chardet.charsetprober.LanguageFilter.NONE was removed in chardet 6.0.0 pypi.org - Removed
chardet.cli.chardetect.UniversalDetector.WIN_BYTE_DETECTOR
chardet.cli.chardetect.UniversalDetector.WIN_BYTE_DETECTOR was removed in chardet 6.0.0 pypi.org - Removed
chardet.enums.LanguageFilter.NONE
chardet.enums.LanguageFilter.NONE was removed in chardet 6.0.0 pypi.org
And 89 more in this version. Sign up to see every change
chardet 5.0.0 breaking changes
- Removed
This release no longer supports Python below 3.6. Users on those Python versions must stay on an older chardet release. github.com - Removed
chardet.cli.chardetect.PY2
chardet.cli.chardetect.PY2 was removed in chardet 5.0.0 pypi.org - Removed
chardet.compat
chardet.compat was removed in chardet 5.0.0 pypi.org - Removed
chardet.jpcntx.jp2CharContext
chardet.jpcntx.jp2CharContext was removed in chardet 5.0.0 pypi.org - Renamed
chardet.charsetgroupprober.CharSetProber.filter_with_english_letters
Use CharSetProber.remove_xml_tags instead. pypi.org - Behavior changed
detect_all
detect_all now includes the confidences reported by child probers in its results, so code reading its output may see different values. github.com - Behavior changed
SingleByteCharSetProber
The confidence calculation of SingleByteCharSetProber was adjusted, so detection confidence values may shift for existing code. github.com - Signature changed
chardet.chardistribution.CharDistributionAnalysis.get_order
Was def get_order(self, byte_str); now def get_order(self, _). pypi.org - Signature changed
chardet.charsetgroupprober.CharSetProber.feed
Was def feed(self, buf); now def feed(self, byte_str). pypi.org - Signature changed
chardet.detect_all
Was def detect_all(byte_str); now def detect_all(byte_str, ignore_threshold=False). pypi.org
And 3 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.