Debian Codegraph @

docs/release-notes/2022.rst

raw
1 0.52.0 (2022-12-29)
2 *******************
3
4 Noteworthy changes
5 -------------------
6
7 - Officially support Django 4.1.
8
9 - New providers: OpenID Connect, Twitter (OAuth2), Wahoo, DingTalk.
10
11 - Introduced a new provider setting ``OAUTH_PKCE_ENABLED`` that enables the
12 PKCE-enhanced Authorization Code Flow for OAuth 2.0 providers.
13
14 - When ``ACCOUNT_PREVENT_ENUMERATION`` is turned on, enumeration is now also
15 prevented during signup, provided you are using mandatory email
16 verification. There is a new email template
17 (`templates/account/email/acccount_already_exists_message.txt`) that will be
18 used in this scenario.
19
20 - Updated URLs of Google's endpoints to the latest version; removed a redundant
21 ``userinfo`` call.
22
23 - Fixed Pinterest provider on new api version.
24
25
26 0.51.0 (2022-06-07)
27 *******************
28
29 Noteworthy changes
30 -------------------
31
32 - New providers: Snapchat, Hubspot, Pocket, Clever.
33
34
35 Security notice
36 ---------------
37
38 The reset password form is protected by rate limits. There is a limit per IP,
39 and per email. In previous versions, the latter rate limit could be bypassed by
40 changing the casing of the email address. Note that in that case, the former
41 rate limit would still kick in.
42
43
44 0.50.0 (2022-03-25)
45 *******************
46
47 Noteworthy changes
48 -------------------
49
50 - Fixed compatibility issue with setuptools 61.
51
52 - New providers: Drip.
53
54 - The Facebook API version now defaults to v13.0.
55
56
57 0.49.0 (2022-02-22)
58 *******************
59
60 Noteworthy changes
61 -------------------
62
63 - New providers: LemonLDAP::NG.
64
65 - Fixed ``SignupForm`` setting username and email attributes on the ``User`` class
66 instead of a dummy user instance.
67
68 - Email addresses POST'ed to the email management view (done in order to resend
69 the confirmation email) were not properly validated. Yet, these email
70 addresses were still added as secondary email addresses. Given the lack of
71 proper validation, invalid email addresses could have entered the database.
72
73 - New translations: Romanian.
74
75
76 Backwards incompatible changes
77 ------------------------------
78
79 - The Microsoft ``tenant`` setting must now be specified using uppercase ``TENANT``.
80
81 - Changed naming of ``internal_reset_url_key`` attribute in
82 ``allauth.account.views.PasswordResetFromKeyView`` to ``reset_url_key``.
83
84
85 0.48.0 (2022-02-03)
86 *******************
87
88 Noteworthy changes
89 -------------------
90 - New translations: Catalan, Bulgarian.
91
92 - Introduced a new setting ``ACCOUNT_PREVENT_ENUMERATION`` that controls whether
93 or not information is revealed about whether or not a user account exists.
94 **Warning**: this is a work in progress, password reset is covered, yet,
95 signing up is not.
96
97 - The ``ACCOUNT_EMAIL_CONFIRMATION_COOLDOWN`` is now also respected when using
98 HMAC based email confirmations. In earlier versions, users could trigger email
99 verification mails without any limits.
100
101 - Added builtin rate limiting (see ``ACCOUNT_RATE_LIMITS``).
102
103 - Added ``internal_reset_url_key`` attribute in
104 ``allauth.account.views.PasswordResetFromKeyView`` which allows specifying
105 a token parameter displayed as a component of password reset URLs.
106
107 - It is now possible to use allauth without having ``sites`` installed. Whether or
108 not sites is used affects the data models. For example, the social app model
109 uses a many-to-many pointing to the sites model if the ``sites`` app is
110 installed. Therefore, enabling or disabling ``sites`` is not something you can
111 do on the fly.
112
113 - The ``facebook`` provider no longer raises ``ImproperlyConfigured``
114 within ``{% providers_media_js %}`` when it is not configured.
115
116
117 Backwards incompatible changes
118 ------------------------------
119
120 - The newly introduced ``ACCOUNT_PREVENT_ENUMERATION`` defaults to ``True`` impacting
121 the current behavior of the password reset flow.
122
123 - The newly introduced rate limiting is by default turned on. You will need to provide
124 a ``429.html`` template.
125
126 - The default of ``SOCIALACCOUNT_STORE_TOKENS`` has been changed to
127 ``False``. Rationale is that storing sensitive information should be opt in, not
128 opt out. If you were relying on this functionality without having it
129 explicitly turned on, please add it to your ``settings.py``.