- Fix close curl connection if we don't create curl resource previously (@richso)
- Remove fixed size from device token.
- Add custom data to APS.
- Support the
liveactivity
push type.
- Fix works with JWM tokens.
- Add
url-args
property to APS.
- Add
subtitle
property to alert.
- Add support PHP 8.
- Add cached JWT signature generator (require any cache adapter based on PSR-16).
- Add possible to send sound as an object.
Make changes without impact.
- Add possible for make a aps without alert for send a background notification.
- Update phpunit package version to
8.*
.
Make changes without impact.
- Add
JwtSignatureGenerator
for available use any libraries for generating the signature from JWT token. Support next libraries: - Mark as deprecated method
Apple\ApnPush\Sender\Builder\Http20Builder::addDefaultVisitors
. This method executed from theconstructor
of builder. In next minor version, we remove this method.
Make changes without impact, all code has a BC. If previously you use SpomkyLabs
, the factory has been successfully
creating require generator.
- Fix code for Code Style
- Add lifetime for
JwtAuthenticator
.
- Add able for getting the protocol from the builder
Apple\ApnPush\Sender\Builder\BuilderInterface::buildProtocol
. - Add able to close the connection manually
Apple\ApnPush\Protoco\ProtocolInterface::closeConnection
.
- The exception
Apple\ApnPush\Protocol\Http\Sender\Exception\CurlException
has been renamed toApple\ApnPush\Protocol\Http\Sender\Exception\HttpSenderException
- Add
apns-collapse-id
to notification.
- Fix code for Code Style
- Implement a new version of the library for use HTTP/2 Protocol and work with the strict mode in PHP (>= 7.1)
- Does not support for migration from
v2.*
. - Does not support the binary protocol.