From 6fe79fda0c84e4e551ee66a2f4a888355728cbbe Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 18 Mar 2026 19:50:50 -0400 Subject: [PATCH 1/5] Update changelog --- CHANGELOG.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22dc2cc..7239bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,3 @@ # Changelog -## v1.2.0 (2021-08-20) -- Update for compatibility with PHP 8 -- Various fixes - -## v1.1.0 (2020-06-13) -- Update deprecated array/string offset syntax -- Scaffold integration tests - -## v1.0 (2018-09-01) -- Initial Release! +See https://github.com/aaemnnosttv/wp-sqlite-db/releases From 2e16233335dfa9d6dd0295306b0888933337152e Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 18 Mar 2026 19:52:06 -0400 Subject: [PATCH 2/5] Update version --- src/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.php b/src/db.php index e813b17..3a01079 100644 --- a/src/db.php +++ b/src/db.php @@ -5,7 +5,7 @@ * Author: Evan Mattson * Author URI: https://aaemnnost.tv * Plugin URI: https://github.com/aaemnnosttv/wp-sqlite-db - * Version: 1.3.1 + * Version: 1.3.3 * Requires PHP: 5.6 * * This file must be placed in wp-content/db.php. From 67f6db0c3b9546ad15398f29467685bd8f5950d0 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 18 Mar 2026 19:55:32 -0400 Subject: [PATCH 3/5] Update test matrix --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 112614f..5702265 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,12 +17,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['5.6', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-version: ['5.6', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] name: Unit tests on PHP ${{ matrix.php-version }} - continue-on-error: ${{ matrix.php-version == '8.3' }} - steps: - uses: actions/checkout@v3 From c864b9e92f174f2adaa38bb9d52a8e1b09e94c53 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 18 Mar 2026 20:33:03 -0400 Subject: [PATCH 4/5] Update test workflow to ensure wp-phpunit is always aligned with resolved wordpress version --- .github/workflows/test.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5702265..bee2d1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: name: Unit tests on PHP ${{ matrix.php-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - uses: shivammathur/setup-php@v2 with: @@ -35,11 +35,20 @@ jobs: run: php -l src/db.php - name: Install Composer dependencies - uses: ramsey/composer-install@v2 + uses: ramsey/composer-install@v4 with: # Bust the cache at least once a month - output format: YYYY-MM. custom-cache-suffix: $(date -u "+%Y-%m") + - id: versions + run: | + echo "wordpress=$(composer show roots/wordpress --format=json | jq -r '.versions[0]')" >> $GITHUB_OUTPUT + echo "wp-phpunit=$(composer show wp-phpunit/wp-phpunit --format=json | jq -r '.versions[0]')" >> $GITHUB_OUTPUT + + - name: Align wp-phpunit version with WordPress + if: ${{ steps.versions.outputs.wordpress != steps.versions.outputs.wp-phpunit }} + run: composer require --dev wp-phpunit/wp-phpunit ${{ steps.versions.outputs.wordpress }} + - name: Run tests run: composer test From d75f1de2297aaeb9399ad5db5762e07f8a60a6e2 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Wed, 18 Mar 2026 20:36:40 -0400 Subject: [PATCH 5/5] Add step name --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bee2d1b..a3d9050 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,8 @@ jobs: # Bust the cache at least once a month - output format: YYYY-MM. custom-cache-suffix: $(date -u "+%Y-%m") - - id: versions + - name: Capture package versions for conditional alignment + id: versions run: | echo "wordpress=$(composer show roots/wordpress --format=json | jq -r '.versions[0]')" >> $GITHUB_OUTPUT echo "wp-phpunit=$(composer show wp-phpunit/wp-phpunit --format=json | jq -r '.versions[0]')" >> $GITHUB_OUTPUT