getting-started-php
getting-started-php copied to clipboard
fix(deps): update dependency kelvinmo/simplejwt to ^0.9.0
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
kelvinmo/simplejwt | ^0.4.0 -> ^0.9.0 |
Release Notes
kelvinmo/simplejwt (kelvinmo/simplejwt)
v0.9.1
- Fixed: Deprecation warning in constructor of AESGCMKeyWrap (#197)
v0.9.0
- Changed: Providing invalid JSON tokens into JWT::deserialise() and
JWE::decrypt() will throw an
InvalidTokenException
instead ofInvalidArgumentException
- Changed:
JWT
andJWE
methods now check for validity of algorithm classes - Changed: Additional type hinting on public API methods
- Removed: Support for PHP 7.2
v0.8.2
- Changed: Update dependency on
symfony/console
to support v7.0
v0.8.1
- Fixed: Throw a
KeyException
when loading an invalid PEM-encoded RSAKey
v0.8.0
- Added: Support for
Ed25519
signatures andX25519
key derviation algorithms - Added: Support for AES GCM key encryption algorithms (
A128GCMKW
,A192GCMKW
andA256GCMKW
) - Added: Support for COSE based keys
- Changed: Use
box
to package thejwkstool
utility - Changed: Refactored
Algorithm
(now renamed toBaseAlgorithm
) andKey
to extract interfaces (intoAlgorithmInterface
andKeyInterface
respectively) - Changed: Key ID
kid
parameter no longer automatically generated when a Key object is created. UseKey::getKeyId(true)
orKeySet::add(..., true)
to generate a key ID - Removed: Helper::getObject() and Helper::getJWTObject() have been replaced by Helper::decode() and Helper::decodeFully() respectively
- Removed: Support for PHP 7.1
v0.7.1
- Fixed: Incorrect key selection when encrypting/decrypting keys in ECDH-ES+AxxxKW (#159)
- Fixed: Exporting keys as JSON in
jwkstool
v0.7.0
- Changed: Split
SimpleJWT\Crypt
namespace into multiple namespaces, one for each algorithm type (#60) - Changed:
JWT
andJWE
now derives from a common parent classToken
- Changed: Improved ASN.1 processing code (#68)
- Changed: Util::base64url_decode() will now throw
\UnexpectedValueException
instead of returning false if the input cannot be decoded
v0.6.3
- Deprecated: Helper::getObject() and Helper::getJWTObject() have been replaced by Helper::decode() and Helper::decodeFully() respectively, and will be removed in future versions
v0.6.2
- Changed: Updated
symfony/console
package version - Fixed: Compatibility with PHP 8.1 when using ECDH (#58)
v0.6.1
- Changed: JWT::deserialise() no longer takes a
$format
parameter (which is already ignored) - Changed: KeyFactory::create() now throws a KeyException if the supplied key cannot be decoded
- Changed: OpenSSLSig::getKeyCriteria() now throws an UnexpectedValueException
if the supplied algorithm (
alg
header) is not valid - Deprecated: Helper::getJWTObject() now ignores the
$jwe_kid
parameter and will be removed in future versions - Fixed: API documentation for better static analysis checks
v0.6.0
- Added: Support for Elliptic Curve Diffie-Hellman Ephemeral Static algorithms
- Added: JWT::tokenHash() to calculate OpenID Connect access token hash values
- Changed: When parsing multi-recipient JWTs and JWEs without corresponding key, the error code for InvalidTokenException was changed from TOKEN_PARSE_ERROR to SIGNATURE_VERIFICATION_ERROR (for JWSs) and DECRYPTION_ERROR (for JWEs), so that they are consistent with their single-recipient equivalents
- Fixed: Decoding JSON formatted JWEs and JWKs
- Fixed: Parsing multi-recipient JWTs and JWEs
v0.5.3
- Fixed: typos in documentation leading to deprecation error (#39)
- Fixed: incorrect treatment of recipients object in JWE
- Removed: support for PHP 5
v0.5.2
- Fixed: Undefined index when calling JWT::deserialise() and JWE::decrypt() with an unrecognised token format (#37)
v0.5.1
- Added: Support for PHP 8 (#35)
v0.5.0
- Added: Support for AES GCM family of algorithms
- Added: Support for Elliptic Curve Diffie-Hellman key derivation algorithm
- Changed: SimpleJWT\JWT::decode() no longer supports $format parameter (format is automatically detected)
- Changed: SimpleJWT\JWT::deserialise() no longer supports $format parameter (format is automatically detected)
- Changed: Return value of SimpleJWT\JWT::deserialise() changed
- Changed: SimpleJWT\JWE::decrypt() no longer supports $format parameter (format is automatically detected)
- Removed: SimpleJWT\Keys\Key::getSignature()
- Fixed: Autoload issue in jwkstool (#31)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.