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