From d2c8d7da01f6b5f6c252160a0d0847c566a27a7d Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Fri, 9 Aug 2024 11:34:57 +0100 Subject: [PATCH] =?UTF-8?q?bump:=20version=201.0.3=20=E2=86=92=202.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 17 +++++++++++++++++ osm_login_python/__version__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9730b75..457cafe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 2.0.0 (2024-08-09) + +### Feat + +- return the raw OSM OAuth2 token in addition (to use or discard as required) + +### Fix + +- strip trailing slash if included in osm_url +- update pydantic deprecated use of .json() --> .model_dump_json() + +### Refactor + +- move serialization logic into a reusable private method +- tweak API to return `user_data` and `oauth_token` params +- also serialise the raw_token in response + ## 1.0.3 (2024-04-10) ### Fix diff --git a/osm_login_python/__version__.py b/osm_login_python/__version__.py index 976498a..8c0d5d5 100644 --- a/osm_login_python/__version__.py +++ b/osm_login_python/__version__.py @@ -1 +1 @@ -__version__ = "1.0.3" +__version__ = "2.0.0" diff --git a/pyproject.toml b/pyproject.toml index 591f5fe..8ca7477 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "osm-login-python" -version = "1.0.3" +version = "2.0.0" dynamic = ["version"] description = "Package to manage OAuth 2.0 login for OSM in Python." readme = "README.md"