This file contains all the backwards-incompatible (since 1.0.1) and other significant (since 1.4.1) changes.
Fixes and improvements:
- Fixed missing
README.md
that caused installation failure (#517). - Use universal wheels when distributing the package.
Backwards incompatible changes:
- Drop support for Django 1.4
- Add support for Django 1.9
- Added new Django 1.9 migration for
userena
anduserena.contrib.umessages
. Old South migrations are still available inuserena.south_migrations
anduserena.contrib.umessages.south_migrations
but are deprecated and may be removed in future major releases.South>1.0
is required for older versions of Django. django-guardian
requirement bumped to<=1.4.1
as newer version (1.4.2) fails on tests.- removed all
{% load url from future %}
from userena templates for compatibility with Django 1.9 sha_constructor()
,smart_text()
, andmd5_constructor
removed fromuserena.compat
- Use simple list literal as url patterns instead of
django.conf.urls.patterns()
function
Deprecated features:
userena.utils.get_user_model
is deprecated and will be removed in version 3.0.0. Usedjango.contrib.auth.get_user_model
Fixes and improvements:
- More nodes added to the travis test matrix.
- Some documentation moved to
.md
files. - Deprecated unittest aliases replaced in tests.
- Updated list of trove classifiers.
- Added option to execute
runtests
script with pattern parameter to limit number of tests. - Added
{posargs}
to test command execution intox.ini
to improve developer experience during tests. - Minor documentation improvements.
- Set
django-guardian<1.4.0
version for Django 1.5 and 1.6 tests.
- Update url patterns to handle usernames starting with 'signup', 'signin', 'signout' strings (#502)
Fixes and improvements:
- Updated Norwegian translations and fixed issue with unicode characters sent
to
utils.generate_sha1
(#472) - Fix
upload_to_mugshot
if model uses primary key diffrent thanid
(#475) - Minor compatibility improvements (#485)
- Refactored mailer (#486)
- Password reset email now inlcudes email template for django>=1.7 (#493)
- Fixes to translations (#499)
- Added Romanian translations (#500)
Backwards incompatible changes:
- django-guardian has version fixed to
<=1.3.1
due to django 1.4 compatibility
Fixes and improvements:
- Set
html2text==2014.12.29
requirement in order to remove nasty hack inuserena/mail.py
(#462). - Updated version in Sphinx docs (#461).
- Added support for Python3.2 (#453).
- Fixed issue causing malformed utf-8 usernames on user profile creation (#456).
- Fixed issue with user creation on Python3.4 (#455).
- Fixed randomly failing tests on travis (#446).
Fixes and improvements:
- Python3.3 and Python3.4 support added.
Backwards incompatible changes:
- Creating new user always creates new empty userena profile (fixes bug from 1.3.1).
Backwards incompatible changes:
- When USERENA_ACTIVATION_REQUIRED = False, creating new user does not automatically create userena profile (bug).
Backwards incompatible changes:
- Changed backwards relationships names for Umessages contrib application from
to_user
toum_to_user
andfrom_user
toum_from_user
.
Backwards incompatible changes:
- This version updates Userena to be able to use the new
User
model found in Django 1.5. This does require the django-guardion > 1.5-dev. To make this work, there is aget_user_model
function inuserena/utils.py
which is used to get the correctUser
model.
Backwards incompatible changes:
- Activation view no longer contains username. If you override
userena/templates/userena/emails/activation_email_message.txt
anduserena/templates/userena/emails/confirmation_email_message_new.txt
be sure to remove username from the URL.
Backwards incompatible changes:
- Userena now requires Django >= 1.3 because of the use of class based views.
Backwards incompatible changes:
- Removed the
user
relationship outsideUserenaBaseProfile
model. This allows the user to define it's own relationship and fixes a conflict while runningmanage.py test
. To migrate, place theuser
field inside your profile model, instead of inheriting it from theabstract
class.