From 6943c9771632815448eb55fa755b3c3d6407af69 Mon Sep 17 00:00:00 2001 From: Hari K T Date: Tue, 8 Sep 2026 12:36:33 +0530 Subject: [PATCH 1/3] Renumber the first release as 7.0.0 Aura.Session has already released 6.0.0, so the suite is moving to 7.x for its PHP 8.4 line. The 6.x branch has been renamed to 7.x. --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e386d77..f46f1c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 6.0.0 +## 7.0.0 Initial release. @@ -10,5 +10,5 @@ Initial release. - (ADD) `Aura\Session_Interface\FlashSegmentInterface` — flash values: `setFlash()`, `getFlash()`, `clearFlash()`, `getFlashNext()`, `setFlashNow()`, `clearFlashNow()`, `keepFlash()`. These interfaces are shared by `aura/session` (the full implementation) and -`aura/auth` (which needs only a light session); both depend on `^6.0`. PHP +`aura/auth` (which needs only a light session); both depend on `^7.0`. PHP 8.1+ is required. From 0a276d1e040f2dacbba961133412fcb407d6738d Mon Sep 17 00:00:00 2001 From: Hari K T Date: Tue, 8 Sep 2026 12:54:23 +0530 Subject: [PATCH 2/3] Add continuous integration and the shared release workflow The package had no .github directory at all, so nothing ran on push and there was no way to release it through Actions. CI runs the contract tests on 8.1 through 8.5, matching the package's ^8.1 requirement and Aura.Session's own matrix. Coverage is not collected: the package is four interfaces with no executable code, so there is nothing to measure. --- .github/workflows/continuous-integration.yml | 50 ++++++++++++++++++++ .github/workflows/release.yml | 31 ++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 .github/workflows/continuous-integration.yml create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..8bec570 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,50 @@ +name: Continuous Integration + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + operating-system: + - ubuntu-latest + php-version: + - '8.1' + - '8.2' + - '8.3' + - '8.4' + - '8.5' + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup PHP ${{ matrix.php-version }} + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + coverage: none + tools: none + ini-values: assert.exception=1, zend.assertions=1 + + - name: Get composer cache directory + id: composer-cache + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + + - name: Cache dependencies + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('composer.json') }} + restore-keys: ${{ runner.os }}-composer- + + - name: Install dependencies + run: composer install --no-interaction --prefer-dist + + - name: Run test suite + run: ./vendor/bin/phpunit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..7e07dc4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +# Releasing this package: Actions -> Release -> Run workflow, pick the branch +# (7.x) and type the version. Or from a terminal: +# +# gh workflow run release.yml --ref 7.x -f version=7.0.0 +# +# The shared workflow creates the tag itself, and only after every check has +# passed. Do not tag by hand -- Packagist derives versions from tags, so a tag +# is a published version the moment it exists. +# +# Release notes come from this package's own CHANGELOG.md. The version you type +# must match the version at the top of the change log -- or, for a pre-release +# such as 7.0.0-alpha1, its base version, so that alphas and betas do not each +# need a change log section of their own. + +name: Release + +on: + workflow_dispatch: + inputs: + version: + description: 'Version to release, e.g. 7.0.0' + required: true + type: string + +jobs: + release: + uses: auraphp/bin/.github/workflows/release.yml@master + permissions: + contents: write + with: + version: ${{ inputs.version }} From fe8baf4c2762d2fdd77131e9c583e23331a461fb Mon Sep 17 00:00:00 2001 From: Hari K T Date: Tue, 8 Sep 2026 12:58:13 +0530 Subject: [PATCH 3/3] Require PHP 8.4 The 7.x line targets 8.4, so there is no reason to carry 8.1 through 8.3 here. CI now runs 8.4 and 8.5 only, and the change log and README say 8.4+. --- .github/workflows/continuous-integration.yml | 3 --- CHANGELOG.md | 2 +- README.md | 2 +- composer.json | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8bec570..da7dda2 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -15,9 +15,6 @@ jobs: operating-system: - ubuntu-latest php-version: - - '8.1' - - '8.2' - - '8.3' - '8.4' - '8.5' steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index f46f1c3..560bdfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,4 +11,4 @@ Initial release. These interfaces are shared by `aura/session` (the full implementation) and `aura/auth` (which needs only a light session); both depend on `^7.0`. PHP -8.1+ is required. +8.4+ is required. diff --git a/README.md b/README.md index 9514471..3aac1a0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ They are used by: composer require aura/session-interface ``` -This package has no dependencies other than PHP `^8.1`. +This package has no dependencies other than PHP `^8.4`. ## Interfaces diff --git a/composer.json b/composer.json index 49ebf59..8cb3cbc 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } ], "require": { - "php": "^8.1" + "php": "^8.4" }, "autoload": { "psr-4": {