All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
5.4.2 - 2024-07-12
- Fixed
UserSocialAuth
creation by allowingJSONField
to be blank - Fixed the assumption that UID can only be an integer (#571)
5.4.1 - 2024-04-24
- Added reverse migration for JSON field
- Fixed improper handling of case sensitivity with MySQL/MariaDB (CVE-2024-32879)
5.4.0 - 2023-10-17
- Improved JSON field migration performance
- Introduce configuration to request POST only requests for social authentication
- Updated list of supported Django and Python versions
5.3.0 - 2023-09-01
- Uses Django native JSON field
5.2.0 - 2023-03-31
- Removed support for Django<3.2
- Fixed missing migration issue
5.1.0 - 2023-03-15
- Compatibility with recent Django and Python versions
- Coding style improvements
- Improved error handling in SocialAuthExceptionMiddleware
5.0.0 - 2021-08-05
- Removed compat shims for obsolete Django versions
- Switch from deprecated
django.conf.urls.url
todjango.urls.path
- Use query
.exists()
instead of.count() > 0
- Added testing for Django 3.0
- Drop support for Python 2
- Django generic
JSONField
support, details documented here - Django 3.2+ compatibility
- Use
_default_manager
instead ofobjects
4.0.0 - 2020-06-20
- Dropped support for older Django versions (1.8, 1.9, 1.10, 2.0)
- Fix
TypeError
when continuing a pipeline in Django 2.1
3.4.0 - 2020-05-30
- Correct release mechanism
3.3.0 - 2020-05-30
- Updated release and tests mechanism
3.2.0 - 2020-05-30
- Increase social-core dependency version
- Implement
get
anddelete
class methods forDjangoNonceMixin
- Added
created
andmodified
fields toUserSocialAuth
model
3.1.0 - 2018-10-31
- Updated
JSONField.from_db_value
signature to support multiple Django versions by accepting just the needed parameters.
3.0.0 - 2018-10-28
- Reduce log level of exceptions to
INFO
if messages app is installed - Encode association secret with
encodebytes
if available - Decode association secret for proper storage
- Remove obsolete code from JSONField
- Pass
user
as keyword argument todo_complete
- Cleanup
username
when using email as username - Drop Python 3.3 support
- Correct spelling errors
- Correct version that renamed
field.rel
- Reduce error logs in
SocialAuthExceptionMiddleware
2.1.0 - 2017-12-22
- Use Django
urlquote
since it handles unicode - Remove version check in favor of import error catch
- Remove call to deprecated method
_get_val_from_obj()
- Drop Python 3.3 support
2.0.0 - 2017-10-28
- Better default when checking if the middleware should raise the exception
- Update
JSONField
default value todict
callable - Updated
authenticate()
parameters cleanup to avoid double arguments errors - Fix imports to bring Django 2.0 support
- Admin friendly label
- Old Django versions (1.8 and below) compatibility dropped
- Python 3.6 and Django 2.0 tests
- Management command to clean stale data (partial sessions and codes)
- Added
JSONField
support PostgreSQL builtin option if configured - Added strategy / models / views tests
- Added timestamps to Partial and Code models
1.2.0 - 2017-05-06
- Check for a
MAX_SESSION_LENGTH
setting when logging in and setting session expiry.
- Addded
on_cascade
clauses to migrations. - Restrict association URL to just integer ids
1.1.0 - 2017-02-10
- Authenticate cleanup method override to discard request parameter getting passed starting from Django 1.11
1.0.1 - 2017-01-29
- Remove migration replacement to nonexistent reference
- Ensure atomic transaction if active
1.0.0 - 2017-01-22
- Partial pipeline DB storage implementation
- Explicit app_label definition in model classes
- Monkey patch BaseAuth to load the current strategy to workaround django load_backend() call
- Remove usage of set/get current strategy methods
- Remove usage of
social_auth
related name since it should be consider a simple helper.
0.1.0 - 2016-12-28
- Let Django resolve URL when getting from settings (port of #905 by webjunkie)
- Add setting to fine-tune admin search fields (port of #1035 by atugushev)
- Fixed
REDIRECT_URL_VALUE
value to be quoted by default. Refs #875 - Django strategy should respect X-Forwarded-Port (port of #841 by omarkhan)
- Fixed use of old private API (port of #822 by eranmarom)
- Add ON DELETE CASCADE for user fk (port of #1015 by artofhuman)
- Avoid usage of SubfieldBase on 1.8 and 1.9 versions (port of #1008 by tom-dalton-fanduel)
0.0.1 - 2016-11-27
- Split from the monolitic python-social-auth codebase