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