From 3f79b5ff6ef4fe0acab5c17bee7fbb9e3dfe4fb0 Mon Sep 17 00:00:00 2001 From: srv-rr-github-token <94607705+srv-rr-github-token@users.noreply.github.com> Date: Thu, 9 Apr 2026 06:53:33 +0000 Subject: [PATCH 1/2] chore(release): 8.0.0 # [8.0.0](https://github.com/splunk/addonfactory-solutions-library-python/compare/v7.0.0...v8.0.0) (2026-04-09) * feat!: drop Python 3.7 and 3.8 support ([85567db](https://github.com/splunk/addonfactory-solutions-library-python/commit/85567dba2a59087615d77372a63509356739ae96)) ### Bug Fixes * add AAA test sections and update docformatter config ([7d959ac](https://github.com/splunk/addonfactory-solutions-library-python/commit/7d959acbb63e32f5646940dd5c2b5f3227c29ffe)) * address PR comments ([ce3cef9](https://github.com/splunk/addonfactory-solutions-library-python/commit/ce3cef9136ed3af6032566831f9ec81801fde579)) * drop Python 3.7/3.8 support and fix Splunk Python path detection in CI ([8ee9ffc](https://github.com/splunk/addonfactory-solutions-library-python/commit/8ee9ffcb294435c3fe3ae48f75d1d7c2f2f3f248)) * fix OTLP exporter happy-path test ([02dd919](https://github.com/splunk/addonfactory-solutions-library-python/commit/02dd9195bc99d08763ef2d37d372c5e75182876d)) * install local solnlib in integration tests instead of PyPI version ([32ba4a7](https://github.com/splunk/addonfactory-solutions-library-python/commit/32ba4a751200ac76e90b0a35c10fab930b849381)) * update copyright year, remove typing_extensions, drop observability from __init__ ([c685f3e](https://github.com/splunk/addonfactory-solutions-library-python/commit/c685f3ef2753385a5b2c5a8082cdaa8199a0575d)) * update poetry to 2.1.2 ([d12515a](https://github.com/splunk/addonfactory-solutions-library-python/commit/d12515a447d5c8f09edc063100939dfd573e6715)) * use regex pattern in .licenserc.yaml to allow any copyright year ([dbb307e](https://github.com/splunk/addonfactory-solutions-library-python/commit/dbb307e3970e8355ea4c1c5192e02d2651b6fe43)) ### Features * add ObservabilityService ([f7ec4fb](https://github.com/splunk/addonfactory-solutions-library-python/commit/f7ec4fb58ba75b246aeb02a9b331e1b74a4c09bd)) * retrying HTTP calls on errors ([#440](https://github.com/splunk/addonfactory-solutions-library-python/issues/440)) ([413c3a0](https://github.com/splunk/addonfactory-solutions-library-python/commit/413c3a0b87e0692b2bcc3f9ba5bcde89fe87f193)) ### BREAKING CHANGES * Python 3.7 and 3.8 are no longer supported. Minimum required Python version is now 3.9. --- pyproject.toml | 2 +- solnlib/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 41af642e..fb7bd86f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ [tool.poetry] name = "solnlib" -version = "8.0.0-beta.1" +version = "8.0.0" description = "The Splunk Software Development Kit for Splunk Solutions" authors = ["Splunk "] license = "Apache-2.0" diff --git a/solnlib/__init__.py b/solnlib/__init__.py index c2f27a1a..6c061e43 100644 --- a/solnlib/__init__.py +++ b/solnlib/__init__.py @@ -55,4 +55,4 @@ "utils", ] -__version__ = "8.0.0-beta.1" +__version__ = "8.0.0" From bf3b0c90e54f51624fbb6bad9222981c94d426e5 Mon Sep 17 00:00:00 2001 From: mbruzda Date: Fri, 17 Apr 2026 14:57:08 +0200 Subject: [PATCH 2/2] ci: migrate GH_TOKEN_ADMIN to GitHub App token Replace the long-lived PAT (GH_TOKEN_ADMIN) with a short-lived GitHub App installation token generated by actions/create-github-app-token@v3 in the publish job. Made-with: Cursor --- .github/workflows/build-test-release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 25bdc308..57c0f01e 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -167,6 +167,13 @@ jobs: # Very important: semantic-release won't trigger a tagged # build if this is not set false persist-credentials: false + - name: Generate GitHub App Token + id: app-token + uses: actions/create-github-app-token@v3 + with: + client-id: ${{ secrets.GH_APP_CLIENT_ID }} + private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -184,7 +191,7 @@ jobs: extra_plugins: | semantic-release-replace-plugin env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} - if: ${{ steps.semantic.outputs.new_release_published == 'true' }} run: | poetry build