| 1 |
0.34.0 (2017-10-29) |
| 2 |
******************* |
| 3 |
|
| 4 |
Security notice |
| 5 |
--------------- |
| 6 |
|
| 7 |
- The "Set Password" view did not properly check whether or not the user already |
| 8 |
had a usable password set. This allowed an attacker to set the password |
| 9 |
without providing the current password, but only in case the attacker already |
| 10 |
gained control over the victim's session. |
| 11 |
|
| 12 |
|
| 13 |
Noteworthy changes |
| 14 |
------------------- |
| 15 |
|
| 16 |
- New provider: Meetup. |
| 17 |
|
| 18 |
|
| 19 |
0.33.0 (2017-08-20) |
| 20 |
******************* |
| 21 |
|
| 22 |
Noteworthy changes |
| 23 |
------------------- |
| 24 |
|
| 25 |
- Security: password reset tokens are now prevented from being leaked through |
| 26 |
the password reset URL. |
| 27 |
|
| 28 |
- New providers: Patreon, Authentiq, Dataporten. |
| 29 |
|
| 30 |
- Dropbox has been upgraded to API V2. |
| 31 |
|
| 32 |
- New translation: Norwegian. |
| 33 |
|
| 34 |
|
| 35 |
Backwards incompatible changes |
| 36 |
------------------------------ |
| 37 |
|
| 38 |
- Dropped support for Django 1.9. |
| 39 |
|
| 40 |
|
| 41 |
0.32.0 (2017-04-27) |
| 42 |
******************* |
| 43 |
|
| 44 |
Noteworthy changes |
| 45 |
------------------- |
| 46 |
|
| 47 |
- Improved AJAX support: the account management views (change/set password, |
| 48 |
manage email addresses and social connections) now support AJAX GET requests. |
| 49 |
These views hand over all the required data for you to build your frontend |
| 50 |
application upon. |
| 51 |
|
| 52 |
- New providers: Dwolla, Trello. |
| 53 |
|
| 54 |
- Shopify: support for per-user access mode. |
| 55 |
|
| 56 |
|
| 57 |
Backwards incompatible changes |
| 58 |
------------------------------ |
| 59 |
|
| 60 |
- In previous versions, the views only responded with JSON responses when |
| 61 |
issuing AJAX requests of type POST. Now, the views also respond in JSON when |
| 62 |
making AJAX GET requests. |
| 63 |
|
| 64 |
- The structure of the response for AJAX requests has changed. Previously, it |
| 65 |
contained a ``form_errors`` key containing all form validation errors, if any. |
| 66 |
Now, it contains a ``form`` key that describes the complete form, including |
| 67 |
the fields. Field specific errors are placed in |
| 68 |
``form.fields['some_field'].errors``, non-field errors in ``form.errors``. |
| 69 |
|
| 70 |
- The parameters passed to the Facebook JS SDK ``FB.init()`` method used to contain |
| 71 |
``cookie``, ``status``, and ``xfbml``, all set to ``true``. These parameters |
| 72 |
are no longer explicitly passed. You can use the newly introduced ``INIT_PARAMS`` |
| 73 |
provider setting to provide your own values. |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
0.31.0 (2017-02-28) |
| 78 |
******************* |
| 79 |
|
| 80 |
Noteworthy changes |
| 81 |
------------------- |
| 82 |
|
| 83 |
- Added a new ``user_logged_out`` signal. |
| 84 |
|
| 85 |
- OpenId: Added support for requesting additional data. |
| 86 |
|
| 87 |
- New providers: Auth0, Box, Line, Naver, Kakao, Daum, MailChimp, Eventbrite. |
| 88 |
|
| 89 |
|
| 90 |
Backwards incompatible changes |
| 91 |
------------------------------ |
| 92 |
|
| 93 |
- Django 1.7 / Python 3.2 compatibility has been dropped. |
| 94 |
|
| 95 |
- Due to providers being registered in the same file as their definition |
| 96 |
it was impossible to subclass a provider without having the parent be |
| 97 |
registered. This has been addressed. If you have implemented a custom |
| 98 |
provider, you will need to change |
| 99 |
``providers.registry.register(CustomProvider)`` |
| 100 |
into |
| 101 |
``provider_classes = [CustomProvider]``. |
| 102 |
|
| 103 |
|
| 104 |
0.30.0 (2017-01-01) |
| 105 |
******************* |
| 106 |
|
| 107 |
Noteworthy changes |
| 108 |
------------------- |
| 109 |
|
| 110 |
- Changed the algorithm that generates unique usernames. Previously, in case the |
| 111 |
provider did not hand over any information to base the username on, the |
| 112 |
username "user" extended with an ever increasing numeric suffix would be |
| 113 |
attempted until a free username was found. In case of a large number of |
| 114 |
existing users, this could result in many queries being executed before a free |
| 115 |
username would be found, potentially resulting in a denial of service. The new |
| 116 |
algorithm uses a random suffix and only one query to determine the final |
| 117 |
username. |
| 118 |
|
| 119 |
- Added a new setting: ``ACCOUNT_PRESERVE_USERNAME_CASING``. This setting |
| 120 |
determines whether the username is stored in lowercase (``False``) or whether |
| 121 |
its casing is to be preserved (``True``). Note that when casing is preserved, |
| 122 |
potentially expensive ``__iexact`` lookups are performed when filter on |
| 123 |
username. For now, the default is set to ``True`` to maintain backwards |
| 124 |
compatibility. |
| 125 |
|
| 126 |
- The OAuth2Adapter class has gained a ``get_callback_url`` method for when |
| 127 |
customizing the callback URL is desired. |
| 128 |
|
| 129 |
- The Battle.net login backend now accepts the ``region`` GET parameter. |
| 130 |
|
| 131 |
- New providers: 500px, Discord. |
| 132 |
|
| 133 |
|
| 134 |
Backwards incompatible changes |
| 135 |
------------------------------ |
| 136 |
|
| 137 |
- In previous versions, the ``DefaultAccountAdapter`` contained a |
| 138 |
``username_regex`` property and accompanying |
| 139 |
``error_messages['invalid_username']`` validation error message. These have |
| 140 |
been removed in favor of using the regex validation already defined at the |
| 141 |
user model level. Alternatively, you can use the newly introduced |
| 142 |
``ACCOUNT_USERNAME_VALIDATORS`` setting. |
| 143 |
|
| 144 |
- The Battle.net backend no longer overrides username regex validation. In |
| 145 |
order to use battletags as usernames, you are expected to override either |
| 146 |
the ``username`` field on your User model, or to pass a custom validator |
| 147 |
which will accept the ``#`` character using the new |
| 148 |
``ACCOUNT_USERNAME_VALIDATORS`` setting. Such a validator is available in |
| 149 |
``socialaccount.providers.battlenet.validators.BattletagUsernameValidator``. |