v2.0.0
Welcome to django-browserid 2.0.0! django-browserid is a library that integrates BrowserID/Persona authentication into Django.
This release is (for a very small minority of projects) backwards-incompatible with 1.0.2.
Python and Django versions
django-browserid is tested on Python 2.7 up to 2.5, and on Django 1.7, to 1.9. It may work on other version combinations, but we haven't gotten around to testing them yet, so you should expect possible errors.
What's new in django-browserid 2.0.0
Backwards-incompatible data-next
change.
2.0.0 introduces a small, but backwards-incompatible change that shouldn't affect most users. You are only affected if you:
- Use the
browserid_login
orbrowserid_logout
template helpers to generate your login/logout buttons, and - Use custom JavaScript that relies on the
data-next
attribute on the buttons generate by these helpers.
If both of the above apply to you, then you may have to update your custom JavaScript, as the helpers now default to a blank data-next
value instead of defaulting to the LOGIN_REDIRECT_URL
/LOGOUT_REDIRECT_URL
settings.
The default JavaScript does not rely on this, and it's not expected that any project relies on this either. Most projects should be able to upgrade to the new version with no changes.
Credits
Special thanks for this release goes to @alanbriolat for noticing and fixing #296, the source of the backwards-incompatible fix.