Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,54 @@

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: extractions/setup-just@v3
- uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
- name: install dependencies
run: just install
- name: lint
run: just lint
run-tests:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
phpversion: ['8.1', '8.2', '8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v6
- uses: extractions/setup-just@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.phpversion }}
coverage: xdebug
- name: get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: cache dependencies
uses: actions/cache@v5
with:
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 }}
run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 just coverage
- name: Coverage
if: github.ref == 'refs/heads/master'
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
docs:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
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
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lib/EasyPost/Constant/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading