From 5531b725e1e88b28588fcc78ce04546934517129 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Wed, 4 Sep 2024 17:14:07 +0530 Subject: [PATCH] 1.1.0 release Signed-off-by: Gagan Deep --- CHANGES.rst | 64 ++++++++++++++++++++++++++++++++++++-- openwisp_users/__init__.py | 2 +- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 1a062285..83a9dddc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,10 +1,70 @@ Changelog ========= -Version 1.1.0 [unreleased] +Version 1.1.0 [2024-11-20] -------------------------- -WIP +Features +~~~~~~~~ + +- Added support for `password expiration + `_, + allowing user passwords to automatically expire after a set period. +- Added `multi-tenant Django filters + `_. +- Added `MultitenantOrgFilter + `_ + to add autocomplete filter in ``ModelAdmin``. +- Added `export-users + `_ + command line utility to export users. +- Added `ProtectedApiMixin + `_. +- Added `PasswordReuseValidator + `_ + which prevents users from reusing their current password when setting a + new one. +- Allowed creating users with a verified email via REST API. + +Changes +~~~~~~~ + +- Added autocomplete fields in ``OrganizationOwner`` admin. +- Enabled ``OrganizationUserAdmin`` by default. + +**Dependencies**: + +- Bumped ``django-organizations~=2.4.1``. +- Bumped ``django-extensions~=3.2.3``. +- Bumped ``django-allauth[socialaccount]~=0.63.6``. +- Bumped ``django-phonenumber-field~=8.13.48``. +- Bumped ``django-reversion~=5.1.0``. +- Bumped ``phonenumbers~=8.13.48``. +- Bumped ``django-sesame~=3.2.2``. +- Bumped ``openwisp-utils[rest,celery]~=1.1.1``. +- Added support for Django ``4.1.x`` and ``4.2.x``. +- Added support for Python ``3.10``. +- Dropped support for Python ``3.7``. +- Dropped support for Django ``3.0.x`` and ``3.1.x``. + +Bugfixes +~~~~~~~~ + +- User need to have required model permissions to perform admin actions. +- Don't allow organization admin to create shared object. +- Fixed user's organization cache invalidation. +- Invalidate org membership cache when organization's active status + changes. +- Fixed an issue where the organization admin would see multiple entries + for the same user in the user changelist. +- Fixed admin unregistration failures for ``EmailAddress`` and + ``TokenProxy`` models. +- Fixed an ``IntegrityError`` that occurred when adding the first user to + an organization via ``Organization.add_user``. +- Fixed `UsersAuthenticationBackend + `_ + to support phone numbers with leading zero. +- Prevented users registered via social login from setting a password. Version 1.0.2 [2022-06-28] -------------------------- diff --git a/openwisp_users/__init__.py b/openwisp_users/__init__.py index 1761fe99..b2d7e964 100644 --- a/openwisp_users/__init__.py +++ b/openwisp_users/__init__.py @@ -1,4 +1,4 @@ -VERSION = (1, 1, 0, 'alpha') +VERSION = (1, 1, 0, 'final') __version__ = VERSION # alias