Add should_rename_legacy argument to most functions, which will rename older encodings to their more modern equivalents (e.g., GB2312 becomes GB18030) (#264, @dan-blanchard)
Added test data for Croatian, Czech, Hungarian, Polish, Slovak, Slovene, Greek, and Turkish, which should help prevent future errors with those languages
Improved XML tag filtering, which should improve accuracy for XML files (#208)
Tweaked SingleByteCharSetProber confidence to match latest uchardet (#209)
Made detect_all return child prober confidences (#210)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [chardet](https://github.com/chardet/chardet) | major | `==4.0.0` -> `==5.2.0` |
---
### Release Notes
<details>
<summary>chardet/chardet (chardet)</summary>
### [`v5.2.0`](https://github.com/chardet/chardet/releases/tag/5.2.0): chardet 5.2.0
[Compare Source](https://github.com/chardet/chardet/compare/5.1.0...5.2.0)
Adds support for running chardet CLI via `python -m chardet` ([`0e9b7bc`](https://github.com/chardet/chardet/commit/0e9b7bc20366163efcc221281201baff4100fe19), [@​dan-blanchard](https://github.com/dan-blanchard))
### [`v5.1.0`](https://github.com/chardet/chardet/releases/tag/5.1.0): chardet 5.1.0
[Compare Source](https://github.com/chardet/chardet/compare/5.0.0...5.1.0)
##### Features
- Add `should_rename_legacy` argument to most functions, which will rename older encodings to their more modern equivalents (e.g., `GB2312` becomes `GB18030`) ([#​264](https://github.com/chardet/chardet/issues/264), [@​dan-blanchard](https://github.com/dan-blanchard))
- Add capital letter sharp S and ISO-8859-15 support ([#​222](https://github.com/chardet/chardet/issues/222), [@​SimonWaldherr](https://github.com/SimonWaldherr))
- Add a prober for MacRoman encoding ([#​5](https://github.com/chardet/chardet/issues/5) updated as [`c292b52`](https://github.com/chardet/chardet/commit/c292b52a97e57c95429ef559af36845019b88b33), Rob Speer and [@​dan-blanchard](https://github.com/dan-blanchard) )
- Add `--minimal` flag to `chardetect` command ([#​214](https://github.com/chardet/chardet/issues/214), [@​dan-blanchard](https://github.com/dan-blanchard))
- Add type annotations to the project and run mypy on CI ([#​261](https://github.com/chardet/chardet/issues/261), [@​jdufresne](https://github.com/jdufresne))
- Add support for Python 3.11 ([#​274](https://github.com/chardet/chardet/issues/274), [@​hugovk](https://github.com/hugovk))
##### Fixes
- Clarify LGPL version in License trove classifier ([#​255](https://github.com/chardet/chardet/issues/255), [@​musicinmybrain](https://github.com/musicinmybrain))
- Remove support for EOL Python 3.6 ([#​260](https://github.com/chardet/chardet/issues/260), [@​jdufresne](https://github.com/jdufresne))
- Remove unnecessary guards for non-falsey values ([#​259](https://github.com/chardet/chardet/issues/259), [@​jdufresne](https://github.com/jdufresne))
##### Misc changes
- Switch to Python 3.10 release in GitHub actions ([#​257](https://github.com/chardet/chardet/issues/257), [@​jdufresne](https://github.com/jdufresne))
- Remove setup.py in favor of build package ([#​262](https://github.com/chardet/chardet/issues/262), [@​jdufresne](https://github.com/jdufresne))
- Run tests on macos, Windows, and 3.11-dev ([#​267](https://github.com/chardet/chardet/issues/267), [@​dan-blanchard](https://github.com/dan-blanchard))
### [`v5.0.0`](https://github.com/chardet/chardet/releases/tag/5.0.0): chardet 5.0.0
[Compare Source](https://github.com/chardet/chardet/compare/4.0.0...5.0.0)
⚠️ This release is the first release of chardet that no longer supports Python < 3.6 ⚠️
In addition to that change, it features the following user-facing changes:
- Added a prober for Johab Korean ([#​207](https://github.com/chardet/chardet/issues/207), [@​grizlupo](https://github.com/grizlupo))
- Added a prober for UTF-16/32 BE/LE ([#​109](https://github.com/chardet/chardet/issues/109), [#​206](https://github.com/chardet/chardet/issues/206), [@​jpz](https://github.com/jpz))
- Added test data for Croatian, Czech, Hungarian, Polish, Slovak, Slovene, Greek, and Turkish, which should help prevent future errors with those languages
- Improved XML tag filtering, which should improve accuracy for XML files ([#​208](https://github.com/chardet/chardet/issues/208))
- Tweaked `SingleByteCharSetProber` confidence to match latest uchardet ([#​209](https://github.com/chardet/chardet/issues/209))
- Made `detect_all` return child prober confidences ([#​210](https://github.com/chardet/chardet/issues/210))
- Updated examples in docs ([#​223](https://github.com/chardet/chardet/issues/223), [@​domdfcoding](https://github.com/domdfcoding))
- Documentation fixes ([#​212](https://github.com/chardet/chardet/issues/212), [#​224](https://github.com/chardet/chardet/issues/224), [#​225](https://github.com/chardet/chardet/issues/225), [#​226](https://github.com/chardet/chardet/issues/226), [#​220](https://github.com/chardet/chardet/issues/220), [#​221](https://github.com/chardet/chardet/issues/221), [#​244](https://github.com/chardet/chardet/issues/244) from too many to mention)
- Minor performance improvements ([#​252](https://github.com/chardet/chardet/issues/252), [@​deedy5](https://github.com/deedy5))
- Add support for Python 3.10 when testing ([#​232](https://github.com/chardet/chardet/issues/232), [@​jdufresne](https://github.com/jdufresne))
- Lots of little development cycle improvements, mostly thanks to [@​jdufresne](https://github.com/jdufresne)
</details>
---
### Configuration
📅 **Schedule**: 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==4.0.0->==5.2.0Release Notes
chardet/chardet (chardet)
v5.2.0: chardet 5.2.0Compare Source
Adds support for running chardet CLI via
python -m chardet(0e9b7bc, @dan-blanchard)v5.1.0: chardet 5.1.0Compare Source
Features
should_rename_legacyargument to most functions, which will rename older encodings to their more modern equivalents (e.g.,GB2312becomesGB18030) (#264, @dan-blanchard)c292b52, Rob Speer and @dan-blanchard )--minimalflag tochardetectcommand (#214, @dan-blanchard)Fixes
Misc changes
v5.0.0: chardet 5.0.0Compare Source
⚠️ This release is the first release of chardet that no longer supports Python < 3.6 ⚠️
In addition to that change, it features the following user-facing changes:
SingleByteCharSetProberconfidence to match latest uchardet (#209)detect_allreturn child prober confidences (#210)Configuration
📅 Schedule: 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.
This PR has been generated by Renovate Bot.
Update dependency chardet to v5to Update dependency chardet to v5 - autoclosedPull request closed