itsdangerous v1.0.0 Release Notes
Release Date: 2018-10-18 // over 5 years ago-
🚀 Released 2018-10-18
YANKED
Note: This release was yanked from PyPI because it changed the default ⏪ algorithm to SHA-512. This decision was reverted in 1.1.0 and it remains at SHA1.
- 👍 Drop support for Python 2.6 and 3.3.
- 🔨 Refactor code from a single module to a package. Any object in the
API docs is still importable from the top-level
itsdangerous
name, but other imports will need to be changed. A future release will remove many of these compatibility imports. (#107
_) - ⚡️ Optimize how timestamps are serialized and deserialized. (
#13
_) -
base64_decode
raisesBadData
when it is passed invalid data. (#27
_) - Ensure value is bytes when signing to avoid a
TypeError
on Python 3. (#29
_) - Add a
serializer_kwargs
argument toSerializer
, which is passed todumps
duringdump_payload
. (#36
_) - More compact JSON dumps for unicode strings. (
#38
_) Use the full timestamp rather than an offset, allowing dates before
- (
#46
_)
To retain compatibility with signers from previous versions, consider using
this shim <https://github.com/pallets/itsdangerous /issues/120#issuecomment-456913331>
_ when unsigning.- (
Detect a
sep
character that may show up in the signature itself and raise aValueError
. (#62
_)Use a consistent signature for keyword arguments for
Serializer.load_payload
in subclasses. (#74
,#75
)0️⃣ Change default intermediate hash from SHA-1 to SHA-512. (
#80
_)Convert JWS exp header to an int when loading. (
#99
_)
.. _#13: https://github.com/pallets/itsdangerous/pull/13 .. _#27: https://github.com/pallets/itsdangerous/pull/27 .. _#29: https://github.com/pallets/itsdangerous/issues/29 .. _#36: https://github.com/pallets/itsdangerous/pull/36 .. _#38: https://github.com/pallets/itsdangerous/issues/38 .. _#46: https://github.com/pallets/itsdangerous/issues/46 .. _#62: https://github.com/pallets/itsdangerous/issues/62 .. _#74: https://github.com/pallets/itsdangerous/issues/74 .. _#75: https://github.com/pallets/itsdangerous/pull/75 .. _#80: https://github.com/pallets/itsdangerous/pull/80 .. _#99: https://github.com/pallets/itsdangerous/pull/99 .. _#107: https://github.com/pallets/itsdangerous/pull/107