Skip to content

Releases: codingjoe/django-mail-auth

3.0.0

14 Nov 09:26
0caaa5a
Compare
Choose a tag to compare

What's Changed

  • Drop custom separator in favor of default colon (:) by @amureki in #28

Dot is unreserved character, however the representation in browsers (%2E or .), mail clients and even SMTP-servers is not unified and can lead to different issues.

Please, note: after installing this new release, existing authentication links will become invalid.
If you want to keep the old dot separator, you wound need to customize MailAuthBackend, but this is not advisable.

New Contributors

Full Changelog: 2.1.3...3.0.0

2.1.3

20 Oct 12:02
Compare
Choose a tag to compare
  • Fix next URL encoding
  • Update CI suite
  • Update supported Python and Django versions
  • Fix Django 4.0 deprecation warnings
  • Add tests to source dist

2.1.2

12 Nov 13:47
Compare
Choose a tag to compare
  • Log a warning if inactive user tries to authenticate #20
  • Reformat code to match black code style
  • Fix docs build

2.1.1

05 Oct 09:02
Compare
Choose a tag to compare
  • Resolve Django 4.0 deprecation warnings

2.1.0

12 Aug 13:45
Compare
Choose a tag to compare
  • Add Django 3.1 support
  • Add _legacy_get_session_auth_hash to fix Django 3.1 support #18

2.0.0

01 Jul 12:19
Compare
Choose a tag to compare

Switch token separate from / (slash) to URL safe character . (dot)

Some email clients replace double slashes with a single slash.
The double slash occurred for users with no last_login date (newly
created users).

To bypass this issue, the separator is changed to . (dot) as it is
a non-reserved URL safe character (RFC3986 2.3) and not part of the
base64url alphabet.

See also:
https://www.ietf.org/rfc/rfc3986.txt
https://tools.ietf.org/html/rfc4648

1.0.3

01 Jul 09:50
Compare
Choose a tag to compare
  • Add more verbose logging to MailAuthBackend to debug login issues

1.0.2

15 Jun 10:08
Compare
Choose a tag to compare
  • Fix missing next URL from initial login form data (#11)

1.0.1

11 Feb 22:57
Compare
Choose a tag to compare
  • Improve documentation :)

1.0.0

04 Feb 17:06
Compare
Choose a tag to compare
  • Add Python 3.8 support
  • Add Django 3.0 support
  • Add Wagtail support
  • Drop Django 2.0 support
  • Drop Django 2.1 support
  • Move CI and Release suite to GitHub actions