Skip to content

Latest commit

 

History

History
185 lines (135 loc) · 7.18 KB

CHANGELOG.md

File metadata and controls

185 lines (135 loc) · 7.18 KB

Change Log

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

Changed

  • Fixed UserSocialAuth creation by allowing JSONField to be blank
  • Fixed the assumption that UID can only be an integer (#571)
  • Fixed revert of migration 0013_migrate_extra_data.py

5.4.1 - 2024-04-24

Changed

  • Added reverse migration for JSON field
  • Fixed improper handling of case sensitivity with MySQL/MariaDB (CVE-2024-32879)

5.4.0 - 2023-10-17

Changed

  • 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

Changed

  • Uses Django native JSON field

5.2.0 - 2023-03-31

Changed

  • Removed support for Django<3.2
  • Fixed missing migration issue

5.1.0 - 2023-03-15

Changed

  • Compatibility with recent Django and Python versions
  • Coding style improvements
  • Improved error handling in SocialAuthExceptionMiddleware

5.0.0 - 2021-08-05

Changed

  • Removed compat shims for obsolete Django versions
  • Switch from deprecated django.conf.urls.url to django.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 of objects

4.0.0 - 2020-06-20

Changed

  • 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

Changed

  • Correct release mechanism

3.3.0 - 2020-05-30

Changed

  • Updated release and tests mechanism

3.2.0 - 2020-05-30

Changed

  • Increase social-core dependency version

Added

  • Implement get and delete class methods for DjangoNonceMixin
  • Added created and modified fields to UserSocialAuth model

3.1.0 - 2018-10-31

Changed

  • Updated JSONField.from_db_value signature to support multiple Django versions by accepting just the needed parameters.

3.0.0 - 2018-10-28

Changed

  • 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 to do_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

Changed

  • 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

Changed

  • Better default when checking if the middleware should raise the exception
  • Update JSONField default value to dict 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

  • 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

Added

  • Check for a MAX_SESSION_LENGTH setting when logging in and setting session expiry.

Changed

  • Addded on_cascade clauses to migrations.
  • Restrict association URL to just integer ids

1.1.0 - 2017-02-10

Added

  • Authenticate cleanup method override to discard request parameter getting passed starting from Django 1.11

1.0.1 - 2017-01-29

Changed

  • Remove migration replacement to nonexistent reference
  • Ensure atomic transaction if active

1.0.0 - 2017-01-22

Added

  • Partial pipeline DB storage implementation
  • Explicit app_label definition in model classes

Changed

  • 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

Added

  • 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)

Changed

  • 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

Changed