Releases: miladrahimi/php-jwt
v3.2.2
What's Changed
- Fix backward compatibility issue (using realpath to load key files) by @miladrahimi in #24
- Apply CS to tests by @miladrahimi in #24
Full Changelog: v3.2.0...v3.2.2
v3.2.0
Release notes:
- Add
JwtException
as the superclass of all exception classes. - Support string format of keys in constructors of ECDSA and RSA key class.
v3.1.1
Release notes:
- The deprecated
addRule
method has been removed. - Introduced
addRequiredRule()
andaddOptionalRule()
methods. - Conducted code cleanup for enhanced readability and efficiency.
v3.1.0
Release notes:
-
Support for
typ
andkid
headers: This release introduces added support for thetyp
andkid
headers, enriching the functionality of the package. Users can now include these headers while working with the package, enabling enhanced customization and identification within JWT operations. -
VerifierFactory Implementation: We've implemented the VerifierFactory, a versatile feature allowing seamless identification of verifiers based on the
kid
header. With this addition, users can easily select and employ the appropriate verifier for JWTs by specifying thekid
header, streamlining the verification process.
v3.0.0
Release notes:
-
Expanded Algorithm Support: In this release, we've broadened our algorithm support to include
ES256
,ES256K
,ES384
, andEdDSA
algorithms. These additions empower users with a wider range of cryptographic options, enhancing security and flexibility for JWT operations. -
Obsolete PHP Versions Removed: To streamline and optimize the package's compatibility and performance, we've removed support for outdated versions of PHP. This decision ensures that the package aligns with current PHP standards and focuses on maintaining compatibility with modern PHP releases.
v2.1.5
Some improvements!
v2.1.4
Make it more portable to run on different operating systems
v2.1.2
Add support for PHP v8.0 and newer PHPUnit versions
v2.1.1
Mirror updates.
v2.1.0
Passphrase added to RSA keys,
Key resources will be closed after signing or verifying.