Releases: web-push-libs/web-push-php
v9.0.1
v9.0.0
What's Changed
⚠️ Breaking changes
- Dropped support for PHP 8.0
- Dropped support of environments without a version of openssl with elliptic curve support
- The MAX_COMPATIBILITY_PAYLOAD_LENGTH has been decreased to 2820 (see #108). If your payloads are longer, you might want to customize the encrypted payload length based on the endpoint for strict security.
PRs
- Add
flushPooled
(alternative toflush
) to make use of Guzzle Pool to improve efficiency by @Gugu7264 in #401- ℹ️ If you think the
flushPooled
method should not replaceflush
in a future major release, please comment on this PR
- ℹ️ If you think the
- Add test for base64 backward compatibility by @sleptor in #400
- fix tests: replace deprecated option with new one by @Gugu7264 in #402
- chore: allow jwt-library v4 by @joostdebruijn in #404
- Chore tests by @Rotzbua in #363
- Remove outdated php 7.x code by @Rotzbua in #364
- Add dependabot to autoreview and PR GH action updates by @Rotzbua in #365
- Fix typo
instantiating
by @Rotzbua in #374 - Grouped dependabot pull requests by @Rotzbua in #373
- Bump the github-actions group with 1 update by @dependabot in #376
- Bump the github-actions group with 1 update by @dependabot in #378
- feat(ci): add php 8.3 to test by @Rotzbua in #383
- chore: drop eol php 8.0 by @Rotzbua in #384
- chore(doc): update urls by @Rotzbua in #386
- fix(ci): disable default extensions by @Rotzbua in #385
- feat: add types by @Rotzbua in #387
- feat: check for openssl with all required functions by @Rotzbua in #389
- fix(doc): correct link by @Rotzbua in #391
- chore: simplify if-statements; strict checks by @Rotzbua in #392
- chore: [BREAKING] remove old pure php elliptic curve implementation by @Rotzbua in #390
- chore: use jwt-library instead of separate packages by @joostdebruijn in #395
- chore: restructure readme by @Rotzbua in #393
New Contributors
Full Changelog: v8.0.0...v9.0.0
v9.0.0-rc2
What's Changed
⚠️ Breaking changes
In this release candidate:
- Dropped support for PHP 8.0
- Dropped support of environments without a version of openssl with elliptic curve support
- The MAX_COMPATIBILITY_PAYLOAD_LENGTH has been decreased to 2820 (see #108). If your payloads are longer, you might want to customize the encrypted payload length based on the endpoint for strict security.
In the final version v9.0.0, there will be additional breaking changes with PR #394:
- Change default encoding to aes128gcm
- Change Subscription interface
- Remove legacy GCM
- Remove old Chrome subscription support
PRs
- Add
flushPooled
(alternative toflush
) to make use of Guzzle Pool to improve efficiency by @Gugu7264 in #401- ℹ️ If you think the
flushPooled
method should not replaceflush
in a future major release, please comment on this PR
- ℹ️ If you think the
- Add test for base64 backward compatibility by @sleptor in #400
- Reverted "Replace
spomky-labs/base64url
withparagonie/constant_time_encoding
by @Cyperghost in #397" (see #397 (comment)) - fix tests: replace deprecated option with new one by @Gugu7264 in #402
See also v9.0.0-rc1
New Contributors
Full Changelog: v9.0.0-rc1...v9.0.0-rc2
v9.0.0-rc1
What's Changed
⚠️ Breaking changes
In this release candidate:
- Dropped support for PHP 8.0
- Dropped support of environments without a version of openssl with elliptic curve support
In the final version v9.0.0, there will be additional breaking changes with PR #394:
- Change default encoding to aes128gcm
- Change Subscription interface
- Remove legacy GCM
- Remove old Chrome subscription support
PRs
- Chore tests by @Rotzbua in #363
- Remove outdated php 7.x code by @Rotzbua in #364
- Add dependabot to autoreview and PR GH action updates by @Rotzbua in #365
- Fix typo
instantiating
by @Rotzbua in #374 - Grouped dependabot pull requests by @Rotzbua in #373
- Bump the github-actions group with 1 update by @dependabot in #376
- Bump the github-actions group with 1 update by @dependabot in #378
- feat(ci): add php 8.3 to test by @Rotzbua in #383
- chore: drop eol php 8.0 by @Rotzbua in #384
- chore(doc): update urls by @Rotzbua in #386
- fix(ci): disable default extensions by @Rotzbua in #385
- feat: add types by @Rotzbua in #387
- feat: check for openssl with all required functions by @Rotzbua in #389
- fix(doc): correct link by @Rotzbua in #391
- chore: simplify if-statements; strict checks by @Rotzbua in #392
- chore: [BREAKING] remove old pure php elliptic curve implementation by @Rotzbua in #390
- chore: use jwt-library instead of separate packages by @joostdebruijn in #395
- chore: restructure readme by @Rotzbua in #393
- Replace
spomky-labs/base64url
withparagonie/constant_time_encoding
by @Cyperghost in #397
New Contributors
- @dependabot made their first contribution in #376
- @Cyperghost made their first contribution in #397
Full Changelog: v8.0.0...v9.0.0-rc1
v8.0.0
What's Changed
The only breaking change is dropping support for PHP 7, which is not maintained anymore. (thanks @Rotzbua!)
- Update outdated reference for Mozilla's ServiceWorker cookbooks by @fkiriakos07 in #360
- Ignore cache/IDE files to commit by @Rotzbua in #362
- Drop eol php by @Rotzbua in #361
New Contributors
- @fkiriakos07 made their first contribution in #360
- @Rotzbua made their first contribution in #362
Full Changelog: v7.0.0...v8.0.0
v7.0.0
What's Changed
There is no breaking change apart PHP 7.2 being now unsupported.
@marc1706 did an awesome job bringing back CI testing on the repo, it means pull requests are now easily mergeable. If you have ideas for the library, now is a great time to contribute! (please propose small iterative changes 🙂)
- Dropped support for PHP 7.2 by @stephanvierkant in #342
- Use GitHub Actions for testing by @marc1706 in #330 (huge thanks!)
- Checks PHP version bebore requiring GMP by @ivanwitzke in #346
- chore: allow jwt-framework 3.0 by @joostdebruijn in #350
New Contributors
- @stephanvierkant made their first contribution in #342
- @marc1706 made their first contribution in #330
- @ivanwitzke made their first contribution in #346
- @joostdebruijn made their first contribution in #350
Full Changelog: v6.0.7...v7.0.0
v6.0.7
What's Changed
- More precise typing on PHP 8.1 by @chrisdeeming in #340
Full Changelog: v6.0.6...v6.0.7
v6.0.6
What's Changed
- Add #[\ReturnTypeWillChange] attribute for PHP 8.x compatibility. by @chrisdeeming in #339
New Contributors
- @chrisdeeming made their first contribution in #339
Full Changelog: v6.0.5...v6.0.6
v6.0.5
- PHP 8 doesn't throw notices anymore for
openssl_pkey_free
(thx @smujaddid!) - Fix error when HTTP call errored with a ConnectException instead of a RequestException (thx @rupamjbordoloi!) (see root cause)
v6.0.4
- Methods are now protected so that users can customize more easily the client (thx @Kingdutch) (see here for ReactPHP example)