Skip to content

Releases: web-push-libs/web-push-php

v9.0.1

30 Jul 12:26
761adf3
Compare
Choose a tag to compare

What's Changed

  • Fix exception in rejected callback for HTTP connection errors when using flushPooled by @sleptor in #410

Full Changelog: v9.0.0...v9.0.1

v9.0.0

08 Jul 14:54
469b4d9
Compare
Choose a tag to compare

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 to flush) to make use of Guzzle Pool to improve efficiency by @Gugu7264 in #401
    • ℹ️ If you think the flushPooled method should not replace flush in a future major release, please comment on this PR
  • 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

18 Jun 16:32
9d36211
Compare
Choose a tag to compare
v9.0.0-rc2 Pre-release
Pre-release

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 to flush) to make use of Guzzle Pool to improve efficiency by @Gugu7264 in #401
    • ℹ️ If you think the flushPooled method should not replace flush in a future major release, please comment on this PR
  • Add test for base64 backward compatibility by @sleptor in #400
  • Reverted "Replace spomky-labs/base64url with paragonie/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

06 Mar 11:15
2c24f4c
Compare
Choose a tag to compare
v9.0.0-rc1 Pre-release
Pre-release

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

New Contributors

Full Changelog: v8.0.0...v9.0.0-rc1

v8.0.0

10 Jan 17:16
ec034f1
Compare
Choose a tag to compare

What's Changed

The only breaking change is dropping support for PHP 7, which is not maintained anymore. (thanks @Rotzbua!)

New Contributors

Full Changelog: v7.0.0...v8.0.0

v7.0.0

29 Mar 13:55
8b023f2
Compare
Choose a tag to compare

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 🙂)

New Contributors

Full Changelog: v6.0.7...v7.0.0

v6.0.7

22 Nov 17:36
23a78b8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v6.0.6...v6.0.7

v6.0.6

22 Nov 15:42
5c91952
Compare
Choose a tag to compare

What's Changed

  • Add #[\ReturnTypeWillChange] attribute for PHP 8.x compatibility. by @chrisdeeming in #339

New Contributors

Full Changelog: v6.0.5...v6.0.6

v6.0.5

08 Apr 15:25
d87e9e3
Compare
Choose a tag to compare
  • 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

08 Apr 15:18
201d55d
Compare
Choose a tag to compare
  • Methods are now protected so that users can customize more easily the client (thx @Kingdutch) (see here for ReactPHP example)