Historic change log for all releases prior to v3 is available here
In this release
- Add support for Django 3.0 and Python 3.8.
- Add support for custom generic object permission models.
- Don't initialise anonymous user on DB where it's not migrated.
- Allow object permissions with dots.
- Several performance improvements
- Improve performance of
get_objects_for_user
- Update
get_users_with_perms
to avoid a large join
- Improve performance of
What's Changed
- Fixed import of FieldDoesNotExist exception. by @felixxm in #645
- Replace deprecated admin_static with static by @OskarPersson in #649
- Fix typos in mixins.py by @Maxr1998 in #652
- Add support for Python 3.8 by @michael-k in #656
- Upgrade syntax to Python 3 by @ad-m in #655
- Don't initialise anonymous user on DB where it's not migrated by @browniebroke in #651
- Feature: Custom generic object permission models by @partimer in #657
- Remove setup_requires from setup.py by @johnthagen in #638
- Allow object permissions with dots. by @jonnyarnold in #641
- Add requirements (specifically, Django >= 2.1) to setup.py by @kdmccormick in #646
- Add BaseObjectPermission and BaseGenericObjectPermission to models/init import by @partimer in #659
- staticfiles is depreceted since 2.1 by @l0rb in #661
- Remove url from all by @davitovmasyan in #662
- Add support for Django 3.0 by @michael-k in #667
- Remove use of deprecated function. by @dmptrluke in #668
- Fix circular dependency by deferring get obj perms model call by @partimer in #664
- Improve performance of get_objects_for_user, removing sets by @woakas in #637
- Fix cache reuse and add tests that invoke backend by @qeternity in #636
- Update get_users_with_perms() to avoid a large join by @aaronmader in #548
- Update Django in example_project by @ad-m in #672
- Fix simple typo: relase -> release by @timgates42 in #674
- Release v2.2.0 by @michael-k in #670
New Contributors
- @felixxm made their first contribution in #645
- @OskarPersson made their first contribution in #649
- @Maxr1998 made their first contribution in #652
- @browniebroke made their first contribution in #651
- @partimer made their first contribution in #657
- @kdmccormick made their first contribution in #646
- @l0rb made their first contribution in #661
- @davitovmasyan made their first contribution in #662
- @dmptrluke made their first contribution in #668
- @woakas made their first contribution in #637
Full Changelog: v2.1.0...v2.2.0