|
| 1 | +# Change Log |
| 2 | + |
1 | 3 | ## Unreleased |
2 | 4 |
|
3 | 5 | ### Added |
| 6 | + |
4 | 7 | - Python 3.10 support |
| 8 | +- If a user tries to access the Admin Site without an OTP Device setup, then the user will be redirected to the OTP |
| 9 | + setup page. |
5 | 10 |
|
6 | 11 | ### Changed |
| 12 | + |
7 | 13 | - default_device utility function now caches the found device on the given user object |
8 | 14 | - The phone capability moved to a plugins folder, so if you use that capability |
9 | 15 | and want to keep it, you should add `two_factor.plugins.phonenumber` line in |
|
12 | 18 | `phonenumber`. |
13 | 19 |
|
14 | 20 | ### Removed |
| 21 | + |
15 | 22 | - Python 3.5 and 3.6 support |
16 | 23 |
|
17 | 24 | ## 1.13.2 |
18 | 25 |
|
19 | 26 | ### Added |
| 27 | + |
20 | 28 | - Translations for new languages: Hausa, Japanese, Vietnamese |
21 | 29 | - Django 4.0 support |
22 | 30 |
|
23 | 31 | ### Changed |
| 32 | + |
24 | 33 | - Suppressed default_app_config warning on Django 3.2+ |
25 | 34 | - qrcode dependency limit upped to 7.99 and django-phonenumber-field to 7 |
26 | 35 | - When validating a TOTP after scanning the QR code, allow a time drift of +/-1 instead of just -1 |
27 | 36 |
|
28 | 37 | ## 1.13.1 |
29 | 38 |
|
30 | 39 | ### Add |
| 40 | + |
31 | 41 | - Support Twilio Messaging Service SID |
32 | 42 | - Add autofocus, autocomplete one-time-code and inputmode numeric to token input fields |
33 | 43 |
|
34 | 44 | ### Changed |
| 45 | + |
35 | 46 | - Change "Back to Profile" to "Back to Account Security" |
36 | 47 |
|
37 | 48 | ## 1.13.0 |
38 | 49 |
|
39 | 50 | ### Added |
| 51 | + |
40 | 52 | - User can request that two-factor authentication be skipped the next time they |
41 | 53 | log in on that particular device |
42 | 54 | - Django 3.1 support |
43 | 55 | - SMS message can now be customised by using a template |
44 | 56 |
|
45 | 57 | ### Changed |
| 58 | + |
46 | 59 | - Simplified `re_path()` to `path()` in URLConf |
47 | 60 | - Templates are now based on Bootstrap 4. |
48 | 61 | - `DisableView` now checks user has verified before disabling two-factor on |
49 | 62 | their account |
50 | 63 | - Inline CSS has been replaced to allow stricter Content Security Policies. |
51 | 64 |
|
52 | 65 | ### Removed |
| 66 | + |
53 | 67 | - Upper limit on django-otp dependency |
54 | 68 | - Obsolete IE<9 workarounds |
55 | 69 | - Workarounds for older versions of django-otp |
56 | 70 |
|
57 | 71 | ## 1.12.1 - 2020-07-08 |
58 | 72 |
|
59 | | -*No code changes for this version* |
| 73 | +_No code changes for this version_ |
60 | 74 |
|
61 | 75 | ## 1.12 - 2020-07-08 |
| 76 | + |
62 | 77 | ### Added |
| 78 | + |
63 | 79 | - It is possible to set a timeout between a user authenticiating in the |
64 | 80 | `LoginView` and them needing to re-authenticate. By default this is 10 |
65 | 81 | minutes. |
66 | 82 |
|
67 | 83 | ### Removed |
| 84 | + |
68 | 85 | - The final step in the `LoginView` no longer re-validates a user's credentials. |
69 | 86 | - Django 1.11 support. |
70 | 87 |
|
71 | 88 | ### Changed |
| 89 | + |
72 | 90 | - Security Fix: `LoginView` no longer stores credentials in plaintext in the |
73 | 91 | session store. |
74 | 92 |
|
75 | 93 | ## 1.11.0 - 2020-03-13 |
| 94 | + |
76 | 95 | ### Added |
77 | 96 |
|
78 | | -*Nothing has been added for this version* |
| 97 | +_Nothing has been added for this version_ |
79 | 98 |
|
80 | 99 | ### Removed |
| 100 | + |
81 | 101 | - MiddlewareMixin |
82 | 102 | - Python 3.4 support |
83 | 103 | - Django 2.1 support |
84 | 104 | - `mock` dependency |
85 | 105 |
|
86 | 106 | ### Changed |
| 107 | + |
87 | 108 | - `extra_requires` are now listed in lowercase. This is to workaround a bug in `pip`. |
88 | 109 | - Use `trimmed` option on `blocktrans` to avoid garbage newlines in translations. |
89 | 110 | - `random_hex` from `django_otp` 0.8.0 will always return a `str`, don't try to decode it. |
90 | 111 |
|
91 | 112 | ## 1.10.0 - 2019-12-13 |
| 113 | + |
92 | 114 | ### Added |
| 115 | + |
93 | 116 | - Support for Django 3.0. |
94 | 117 | - Optionally install full or light phonenumbers library. |
95 | 118 |
|
96 | 119 | ### Removed |
| 120 | + |
97 | 121 | - Python 2 support. |
98 | 122 |
|
99 | 123 | ### Changed |
| 124 | + |
100 | 125 | - Updated translations. |
101 | 126 |
|
102 | 127 | ## 1.9.1 - 2019-07-07 |
| 128 | + |
103 | 129 | ### Changed |
| 130 | + |
104 | 131 | - 1.9.0 got pushed with incorrect changelog, no other changes. |
105 | 132 |
|
106 | 133 | ## 1.9.0 - 2019-07-07 |
| 134 | + |
107 | 135 | ### Added |
| 136 | + |
108 | 137 | - Support for Django 2.2. |
109 | 138 | - Ability to create `PhoneDevice` from Django admin. |
110 | 139 | - Support for Python 3.7. |
111 | 140 |
|
112 | 141 | ## 1.8.0 - 2018-08-03 |
| 142 | + |
113 | 143 | ### Added |
| 144 | + |
114 | 145 | - Support for Django 2.1. |
115 | 146 | - Support for QRcode library up to 6. |
116 | 147 | - Translation: Romanian. |
117 | 148 |
|
118 | 149 | ### Changed |
| 150 | + |
119 | 151 | - Replace `ValidationError` with `SuspiciousOperation` in views. |
120 | 152 | - Change the wording in 2FA disable template. |
121 | 153 | - Updated translations. |
122 | 154 |
|
123 | 155 | ## 1.7.0 - 2017-12-19 |
| 156 | + |
124 | 157 | ### Added |
| 158 | + |
125 | 159 | - Support for Django 2.0. |
126 | 160 |
|
127 | 161 | ### Removed |
| 162 | + |
128 | 163 | - Django <1.11 support. |
129 | 164 |
|
130 | 165 | ### Changed |
| 166 | + |
131 | 167 | - Do not list phone method if it is not supported (#225). |
132 | 168 | - Pass request kwarg to authentication form (#227). |
133 | 169 |
|
134 | 170 | ## 1.6.2 - 2017-07-29 |
| 171 | + |
135 | 172 | ### Fixed |
| 173 | + |
136 | 174 | - Twilio client 6.0 usage (#211). |
137 | 175 |
|
138 | 176 | ### Changed |
| 177 | + |
139 | 178 | - Updated translation: Russian. |
140 | 179 |
|
141 | 180 | ## 1.6.1 - 2017-05-11 |
| 181 | + |
142 | 182 | ### Added |
| 183 | + |
143 | 184 | - Support Twilio client 6.0 (#203). |
144 | 185 |
|
145 | 186 | ### Fixed |
| 187 | + |
146 | 188 | - `redirect_to` after successful login (#204) |
147 | 189 |
|
148 | 190 | ### Changed |
| 191 | + |
149 | 192 | - Updated translation: Norwegian Bokmål |
150 | 193 |
|
151 | 194 | ## 1.6.0 - 2017-04-08 |
| 195 | + |
152 | 196 | ### Added |
| 197 | + |
153 | 198 | - Support for Django 1.11 (#188). |
154 | 199 |
|
155 | 200 | ### Removed |
| 201 | + |
156 | 202 | - Django 1.9 support. |
157 | 203 |
|
158 | 204 | ### Fixed |
| 205 | + |
159 | 206 | - Allow setting `LOGIN_REDIRECT_URL` to a URL (#192). |
160 | 207 | - `DisableView` should also take `success_url` parameter (#187). |
161 | 208 |
|
162 | 209 | ## 1.5.0 - 2017-01-04 |
| 210 | + |
163 | 211 | ### Added |
| 212 | + |
164 | 213 | - Django 1.10’s MIDDLEWARE support. |
165 | 214 | - Allow `success_url` overrides from `urls.py`. |
166 | 215 | - Autofocus token input during authentication. |
167 | 216 | - Translations: Polish, Italian, Hungarian, Finnish and Danish. |
168 | 217 |
|
169 | 218 | ### Removed |
| 219 | + |
170 | 220 | - Dropped Python 3.2 and 3.3 support. |
171 | 221 |
|
172 | 222 | ### Changed |
| 223 | + |
173 | 224 | - Renamed `redirect_url` properties to `success_url` to be consistent with Django. |
174 | 225 |
|
175 | 226 | ### Fixed |
| 227 | + |
176 | 228 | - Allow Firefox users to enter backup tokens (#177). |
177 | 229 | - Allow multiple requests for QR code (#99). |
178 | 230 | - Don't add phone number without gateway (#92). |
|
0 commit comments