summaryrefslogtreecommitdiff
path: root/CHANGES
blob: 80e281b5092b8f005916cede084bbf96b16fff66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
It's Dangerous Changelog
------------------------

Version 1.0
~~~~~~~~~~~

Unreleased

- Dropped support for Python 2.6 and 3.3. Added support for 3.6.
- Distribute a universal wheel.
- Changed default intermediate hash from SHA-1 to SHA-512
- More compact JSON dumps for unicode strings.
- Added `serializer_kwargs` argument to `Serializer`.
- `base64_decode` raises `BadData` when it is passed invalid data.
- Added `media_type` argument to `JSONWebSignatureSerializer`.
- `ValueError` is raised when an invalid `sep` is passed to `Signer`.

Version 0.24
~~~~~~~~~~~~

- Added a `BadHeader` exception that is used for bad headers
  that replaces the old `BadPayload` exception that was reused
  in those cases.

Version 0.23
~~~~~~~~~~~~

- Fixed a packaging mistake that caused the tests and license
  files to not be included.

Version 0.22
~~~~~~~~~~~~

- Added support for `TimedJSONWebSignatureSerializer`.
- made it possible to override the signature verification function
  to allow implementing asymmetrical algorithms.

Version 0.21
~~~~~~~~~~~~

- Fixed an issue on Python 3 which caused invalid errors to be
  generated.

Version 0.20
~~~~~~~~~~~~

- Fixed an incorrect call into `want_bytes` that broke some
  uses of itsdangerous on Python 2.6.

Version 0.19
~~~~~~~~~~~~

- Dropped support for 2.5 and added support for 3.3.

Version 0.18
~~~~~~~~~~~~

- Added support for JSON Web Signatures (JWS).

Version 0.17
~~~~~~~~~~~~

- Fixed a name error when overriding the digest method.

Version 0.16
~~~~~~~~~~~~

- made it possible to pass unicode values to `load_payload` to make it
  easier to debug certain things.

Version 0.15
~~~~~~~~~~~~

- made standalone `load_payload` more robust by raising one specific
  error if something goes wrong.
- refactored exceptions to catch more cases individually, added more
  attributes.
- fixed an issue that caused `load_payload` not work in some situations
  with timestamp based serializers
- added an `loads_unsafe` method.

Version 0.14
~~~~~~~~~~~~

- API refactoring to support different key derivations.
- Added attributes to exceptions so that you can inspect the data even
  if the signature check failed.

Version 0.13
~~~~~~~~~~~~

- Small API change that enables customization of the digest module.

Version 0.12
~~~~~~~~~~~~

- Fixed a problem with the local timezone being used for the epoch
  calculation.  This might invalidate some of your signatures if you
  were not running in UTC timezone.  You can revert to the old behavior
  by monkey patching itsdangerous.EPOCH.

Version 0.11
~~~~~~~~~~~~

- Fixed an uncought value error.

Version 0.10
~~~~~~~~~~~~

- Refactored interface that the underlying serializers can be swapped by
  passing in a module instead of having to override the payload loaders
  and dumpers.  This makes the interface more compatible with Django's
  recent changes.