From 5eb4a7f5af948c27c775a1fee52a0182130b358b Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 27 Oct 2026 14:54:44 -0600 Subject: [PATCH 1/3] chore: prep v8.9.0 for release --- CHANGELOG.md | 2 +- composer.json | 2 +- lib/EasyPost/Constant/Constants.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ad42266..00450f4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## Next Release +## v8.9.0 (2026-10-27) - Adds `surcharges` to `Rate` and a `Surcharge` model - Removes the deprecated, unusable `addCreditCard` function diff --git a/composer.json b/composer.json index 5834ab09..48037336 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "easypost/easypost-php", "description": "EasyPost Shipping API Client Library for PHP", - "version": "8.8.3", + "version": "8.9.0", "keywords": [ "shipping", "api", diff --git a/lib/EasyPost/Constant/Constants.php b/lib/EasyPost/Constant/Constants.php index 72057180..31f33b9e 100644 --- a/lib/EasyPost/Constant/Constants.php +++ b/lib/EasyPost/Constant/Constants.php @@ -11,7 +11,7 @@ abstract class Constants const BETA_API_VERSION = 'beta'; // Library constants - const LIBRARY_VERSION = '8.8.3'; + const LIBRARY_VERSION = '8.9.0'; const SUPPORT_EMAIL = 'support@easypost.com'; // Validation From b9f06c98cff7c78202d565e97a00777c39f9e2fe Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:21:23 -0600 Subject: [PATCH 2/3] chore(ci): pin runners to ubuntu-24.04 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71cf3152..bc394059 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 - uses: extractions/setup-just@v3 @@ -20,7 +20,7 @@ jobs: - name: lint run: just lint run-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: phpversion: ['8.1', '8.2', '8.3', '8.4', '8.5'] @@ -51,7 +51,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} docs: if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v6 - uses: extractions/setup-just@v3 From f4b3a9010ff9c344d6c0056aa28ae6e82b54d339 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:33:49 -0600 Subject: [PATCH 3/3] chore(ci): skip roave/security-advisories on PHP 8.1 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc394059..46f26890 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,10 @@ jobs: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.phpversion }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-${{ matrix.phpversion }}-composer- + # roave/security-advisories conflicts with every PHP 8.1 release (8.1 is EOL), so drop it on 8.1 only + - name: remove roave/security-advisories on PHP 8.1 + if: matrix.phpversion == '8.1' + run: composer remove --dev --no-update --no-interaction roave/security-advisories - name: install dependencies run: just install - name: test with phpunit on ${{ matrix.phpversion }}