Debian Codegraph @

docs/release-notes/2015.rst

raw
1 0.24.1 (2015-11-09)
2 *******************
3
4 Noteworthy changes
5 -------------------
6
7 - Non-test code accidentally had test packages as a dependency.
8
9
10 Backwards incompatible changes
11 ------------------------------
12
13 - Setting a password after logging in with a social account no longer logs out
14 the user by default on Django 1.7+. Setting an initial password and changing
15 the password both respect ``settings.ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE``.
16
17
18 0.24.0 (2015-11-08)
19 *******************
20
21 Noteworthy changes
22 -------------------
23
24 - Django 1.9b1 compatibility.
25
26 - Seppo Erviälä contributed a Finnish translation, thanks!
27
28 - Iurii Kriachko contributed a Basecamp provider, thanks!
29
30 Backwards incompatible changes
31 ------------------------------
32
33 - Increased ``SocialApp`` key/secret/token sizes to 191, decreased
34 ``SocialAccount.uid`` size to 191. The latter was done in order to
35 accommodate for MySQL in combination with utf8mb4 and constraints on
36 ``uid``. Note that ``uid`` is used to store OpenID URLs, which can
37 theoretically be longer than 191 characters, although in practice
38 this does not seem to be the case. In case you really need to
39 control the ``uid`` length, set ``settings.SOCIALACCOUNT_UID_MAX_LENGTH``
40 accordingly. Migrations are in place.
41
42
43 0.23.0 (2015-08-02)
44 *******************
45
46 Noteworthy changes
47 -------------------
48
49 - David Friedman contributed Edmodo support, thanks!
50
51 - Added support for ``ACCOUNT_LOGIN_ON_PASSWORD_RESET`` (thanks Julen!)
52
53
54 Backwards incompatible changes
55 ------------------------------
56
57 None
58
59
60 0.22.0 (2015-07-23)
61 *******************
62
63 Noteworthy changes
64 -------------------
65
66 - Reversal of the email confirmation url can now be overridden in
67 the adapter (``get_email_confirmation_url``). Additionally, the
68 complete confirmation email handling can be overridden via
69 ``send_confirmation_mail``.
70
71 - Template context processors are no longer used.
72
73 - The Facebook Graph API fields (/me/?fields=...) can now be
74 configured using the provider ``FIELDS`` setting.
75
76
77 Backwards incompatible changes
78 ------------------------------
79
80 - Dropped support for Python 2.6 and Django <1.6.
81
82 - The default Facebook Graph API version is now v2.4.
83
84 - Template context processors are no longer used. The context
85 processor for ``allauth.account`` was already empty, and the context
86 processor for ``allauth.socialaccount`` has been converted into the
87 :doc:``{% get_providers %} <templates>`` template tag.
88
89
90 0.21.0 (2015-07-02)
91 *******************
92
93 Noteworthy changes
94 -------------------
95
96 - You can now tweak the authentication params per OAuth provider,
97 as you already could for OAuth2. Contributed by Peter Rowlands,
98 thanks.
99
100 - Nattaphoom Ch. contributed a Thai translation, thanks!
101
102 - Guoyu Hao contributed a Baidu provider, thanks!
103
104 - Rod Xavier Bondoc contributed support logging out on password
105 change (see setting: ``ACCOUNT_LOGOUT_ON_PASSWORD_CHANGE``)
106
107
108 Backwards incompatible changes
109 ------------------------------
110
111 - In version 0.20.0 an ``account`` migration (``0002_email_max_length``)
112 was added to alter the maximum length of the email
113 field. Unfortunately, a side effect of this migration was that the
114 ``unique=True`` setting slipped through as well. Hardcoding this to
115 ``True`` is wrong, as uniqueness actually depends on the
116 ``ACCOUNT_UNIQUE_EMAIL`` setting. We cannot create a followup ``0003``
117 migration to set things straight, as the ``0002`` migration may fail
118 on installations where email addresses are not unique. Therefore, we
119 had to resort to changing an existing migration which is normally
120 not the right thing to do. In case your installation has
121 ``ACCOUNT_UNIQUE_EMAIL`` set to ``True``, you need not take any further
122 action. In case it is set to ``False`` and migration ``0002`` already
123 ran, please issue a ``--fake`` migration down to ``0001``, followed by a
124 re-run of the updated ``0002``.
125
126
127 0.20.0 (2015-05-25)
128 *******************
129
130 Noteworthy changes
131 -------------------
132
133 - Patrick Paul contributed a provider for Evernote, thanks!
134
135 - Josh Wright contributed a provider for Spotify, thanks!
136
137 - Björn Andersson added support for Dropbox OAuth2, thanks!
138
139 - guoqiao contributed a provider for Douban, thanks!
140
141
142 Backwards incompatible changes
143 ------------------------------
144
145 - Given that the ``max_length`` for the Django 1.8 ``EmailField`` has been
146 bumped to 254, allauth is following up. Migrations (``account``) are
147 in place.
148
149
150 0.19.1 (2015-02-05)
151 *******************
152
153 Noteworthy changes
154 -------------------
155
156 - Fixed migrations when using South & Django 1.6.
157
158
159 0.19.0 (2015-01-04)
160 *******************
161
162 Noteworthy changes
163 -------------------
164
165 - Basil Shubin contributed an Odnoklassniki provider, thanks!
166
167 - Facebook: If the JS SDK is not available, for example due to a
168 browser plugin like Disconnect.me that blocks it, login falls back
169 to the regular non JS handshake.
170
171 - ``is_safe_url`` can now be overridden
172
173 - Facebook: The Graph API version is now configurable via
174 ``SOCIALACCOUNT_PROVIDERS``.
175
176 - A Firefox Accounts provider was added by Jannis Leidel, thanks!
177
178 - Josh Owen contributed Coinbase support, thanks!
179
180 - Tomas Babej contributed a Slovak translation, thanks!
181
182 - Moved existing migrations into ``south_migrations``
183
184 - "zbryikt" contributed a Taiwanese Chinese translation, thanks!
185
186 - Added support for custom password rules via ``clean_password``.
187
188
189 Backwards incompatible changes
190 ------------------------------
191
192 - In the upcoming Django 1.8 it is no longer possible to hookup an
193 unsaved ``User`` instance to a ``SocialAccount``. Therefore, if you are
194 inspecting the ``sociallogin`` object, you should now use
195 ``sociallogin.user`` instead of ``sociallogin.account.user``.
196
197 - When users logged in while ``User.is_active`` was ``False``, they were
198 sent to ``/accounts/inactive/`` in case of a social login, and
199 received a form validation error in case of a local login. This
200 needless inconsistency has been removed. The validation error no
201 longer appears and local logins are also redirected to
202 ``/accounts/inactive/``.
203
204 - In case you were overriding the ``ResetPasswordForm``: the save method
205 now takes ``request`` as its first argument.
206
207 - All existing migrations have been moved into ``south_migrations``
208 packages, this in order not to conflict with Django's built-in
209 support for migrations. South 1.0 automatically picks up this new
210 location. Upgrade South if you are still dependent on these
211 migrations.