From 510f2504d491dd2b899ef22416970db12be4b31c Mon Sep 17 00:00:00 2001 From: jacquesfize Date: Wed, 7 Aug 2024 16:56:57 +0200 Subject: [PATCH] prepare release 3.0.0 --- README.md | 2 +- VERSION | 2 +- docs/changelog.rst | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56f26e9..d441ce5 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ providers_config = # Declare identity providers used to log into your app [ # Default identity provider (comes with UH-AM) { - "module" : "pypnusershub.auth.providers.default.DefaultConfiguration", + "module" : "pypnusershub.auth.providers.default.LocalProvider", "id_provider":"local_provider" }, # you can add other identity providers that works with OpenID protocol (and many others !) diff --git a/VERSION b/VERSION index cd57a8b..4a36342 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.5 +3.0.0 diff --git a/docs/changelog.rst b/docs/changelog.rst index edf1f3d..109d22b 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,31 @@ CHANGELOG ********* +3.0.0 (2024-08-07) +------------------ + +**🚀 Nouveautés** + + - Enrichissement des modes de connexions avec l'implémentation de `AuthManager` (#93). Plusieurs protocoles + de connexions sont disponibles : par défaut, OpenID, OpenIDConnect, UsersHub-authentification-module externe. + +**⚠️ Notes de version** + + - Remplacer l'initialisation du `login_manager` par celle du `auth_manager` lors de l'initialisation de votre + application Flask comme dans l'exemple ci-dessous : + ```python + from pypnusershub.auth import auth_manager + providers_config = [ + { + "module" : "pypnusershub.auth.providers.default.LocalProvider", + "id_provider":"local_provider" + }, + ] +auth_manager.init_app(app,providers_declaration=providers_config) + ``` + + + 2.1.5 (2024-05-23) ------------------