From a30ab17243073eb4e870e3993ce7644bceca370d Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 08:59:23 -0800 Subject: [PATCH 1/7] fix slash --- src/pybritive/britive_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybritive/britive_cli.py b/src/pybritive/britive_cli.py index 48a6705..e8b7e65 100644 --- a/src/pybritive/britive_cli.py +++ b/src/pybritive/britive_cli.py @@ -612,7 +612,7 @@ def _get_app_type(self, application_id): return next( iter( a['catalogAppName'] - for a in self.b.get(f'{self.b.base_url}/access/apps/') + for a in self.b.get(f'{self.b.base_url}/access/apps') if a['appContainerId'] == application_id ) ) @@ -1303,14 +1303,14 @@ def _convert_names_to_ids(self, profile_name: str, environment_name: str, applic app_id = next( iter( a['appContainerId'] - for a in self.b.get(f'{self.b.base_url}/access/apps/') + for a in self.b.get(f'{self.b.base_url}/access/apps') if a['catalogAppDisplayName'].lower() == application_name ) ) env_id = next( iter( e['environmentId'] - for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments/') + for e in self.b.get(f'{self.b.base_url}/access/apps/{app_id}/environments') if e['environmentName'].lower() == environment_name or e['environmentId'] == environment_name or e['alternateEnvironmentName'].lower() == environment_name From 7b49c307e7544ee18440d8a8d3a67550b271f1a6 Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:23:30 -0800 Subject: [PATCH 2/7] ver bump and changelog --- CHANGELOG.md | 22 ++++++++++++++++++++++ src/pybritive/__init__.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a842edb..d67738a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ __What's New:__ +* None + +__Enhancements:__ + +* None + +__Bug Fixes:__ + +* Removed trailing slashes in urls to account for Python 3.14 + +__Dependencies:__ + +* None + +__Other:__ + +* Dropped temporary `_get_missing_session_attributes` method, API has been corrected. + +## v2.3.0 [2025-10-16] + +__What's New:__ + * Applications, Environments, Profiles, Resources, and Secrets have a new `--search-text|-S` flag for listing with `ls`. __Enhancements:__ diff --git a/src/pybritive/__init__.py b/src/pybritive/__init__.py index 8219039..ba9b913 100644 --- a/src/pybritive/__init__.py +++ b/src/pybritive/__init__.py @@ -1 +1 @@ -__version__ = '2.3.0' +__version__ = '2.4.0' From 09d9999832b7eca828b89db99c830162e0ad467e Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:23:59 -0800 Subject: [PATCH 3/7] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d67738a..e93e668 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. -## v2.3.0 [2025-10-16] +## v2.4.0 [2025-10-16] __What's New:__ From f2d887e74d1597e13e52005ed201e282a423b44b Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:24:33 -0800 Subject: [PATCH 4/7] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e93e668..9993cf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ __Dependencies:__ __Other:__ -* Dropped temporary `_get_missing_session_attributes` method, API has been corrected. +* None ## v2.3.0 [2025-10-16] From b19457d7a58de6d2f51e6bef7e0fb891fce19e3b Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:24:53 -0800 Subject: [PATCH 5/7] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9993cf7..71788de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. -## v2.4.0 [2025-10-16] +## v2.4.0 [2025-12-8] __What's New:__ From 8ab055f17613819f177e9df6e9a6dacfdca5e585 Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:50:26 -0800 Subject: [PATCH 6/7] updates --- CHANGELOG.md | 4 ++-- src/pybritive/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71788de..33f09b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. -## v2.4.0 [2025-12-8] +## v2.3.1 [2025-12-8] __What's New:__ @@ -15,7 +15,7 @@ __Enhancements:__ __Bug Fixes:__ -* Removed trailing slashes in urls to account for Python 3.14 +* Removed trailing slashes in urls __Dependencies:__ diff --git a/src/pybritive/__init__.py b/src/pybritive/__init__.py index ba9b913..1c4ddd3 100644 --- a/src/pybritive/__init__.py +++ b/src/pybritive/__init__.py @@ -1 +1 @@ -__version__ = '2.4.0' +__version__ = '2.3.1' From 54d16f9c7c9261e228ee5e078e012665399f44e7 Mon Sep 17 00:00:00 2001 From: Samuel Wan Date: Mon, 8 Dec 2025 09:52:59 -0800 Subject: [PATCH 7/7] updates --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f09b5..c789a96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ > As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing > time for full QA testing before moving the release candidate to a full release. -## v2.3.1 [2025-12-8] +## v2.3.1 [2025-12-08] __What's New:__