Skip to content

Releases: pallets/itsdangerous

2.2.0

16 Apr 21:46
2.2.0
096c8d4
Compare
Choose a tag to compare

This is a feature release, which includes new features, removes previously deprecated code, and adds new deprecations. The 2.2.x branch is now the supported fix branch, the 2.1.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.

Changes: https://itsdangerous.palletsprojects.com/en/2.2.x/changes/#version-2-2-0
Milestone: https://github.com/pallets/itsdangerous/milestone/8?closed=1

  • Drop support for Python 3.7.
  • Use modern packaging metadata with pyproject.toml instead of setup.cfg.
  • Use flit_core instead of setuptools as build backend.
  • Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("itsdangerous"), instead.
  • Serializer and the return type of dumps is generic for type checking. By default it is Serializer[str] and dumps returns a str. If a different serializer argument is given, it will try to infer the return type of its dumps method.
  • The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default.

2.1.2

24 Mar 15:14
49d263f
Compare
Choose a tag to compare

2.1.1

09 Mar 16:25
38e9d8a
Compare
Choose a tag to compare

2.1.0

18 Feb 03:45
bfafa65
Compare
Choose a tag to compare

2.0.1

18 May 15:10
8f39dd3
Compare
Choose a tag to compare

2.0.0

12 May 00:13
d101100
Compare
Choose a tag to compare

New major versions of all the core Pallets libraries, including ItsDangerous 2.0, have been released! 🎉

This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.

2.0.0rc2

16 Apr 14:54
5220a78
Compare
Choose a tag to compare