Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 5.0.0 #254

Merged
merged 48 commits into from Jun 25, 2022
Merged

Release 5.0.0 #254

merged 48 commits into from Jun 25, 2022

Conversation

dan-blanchard
Copy link
Member

⚠️ 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:

dan-blanchard and others added 30 commits December 10, 2020 14:43
Co-authored-by: LSY <grizlupo@daum.net>
Always remove XML tags when detecting single-byte charset encodings that use ASCII letters
Likely characters count for 25% now, and too many control characters
decrease confidence, just like in uchardet.
charade merger is no longer recent, and `master` no longer supports Python 2.
dan-blanchard and others added 18 commits September 6, 2021 10:10
Added Project Urls for documentation, Github Repo and Github Issues.

Co-authored-by: Nirjas Jakilim <Nirzak@users.noreply.github.com>
…235)

Fixes the warning:

    [WARNING] The 'rev' field of repo 'https://github.com/ambv/black'
    appears to be a mutable reference (moving tag / branch). Mutable
    references are never updated after first install and are not
    supported. See
    https://pre-commit.com/#using-the-latest-version-for-a-repository
    for more details. Hint: `pre-commit autoupdate` often fixes this.

Fixed by running the command "pre-commit autoupdate".
Co-authored-by: Dan Blanchard <dan.blanchard@gmail.com>
Help to ensure new code contributions meet the coding standards of the
project.
This approach avoids mixing code with configuration and therefore
requires less custom code at build-time and installation-time. Removing
this custom setup.py code reduces cross-project boilerplate.

https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
* slight increase in performance

* update black version to 22.3.0

* reformat code

* reformat code
* support for UTF-16 and UTF-32 detection missing BOMs

* Changes per PR comments

- Restored file suffix filter in test.py
- Added functionality to identify valid unicode, to enhance detection
- Generated some non-trivial unicode examples using supplementary plane 1

* clean up poorly written comments

* Run black on PR

* Fix some minor linting issues

Co-authored-by: Jason Zavaglia <jason.zavaglia@gmail.com>
@dan-blanchard dan-blanchard merged commit ff5dcb2 into stable Jun 25, 2022
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.

None yet