Skip to content

Version 3.0 Release

Choose a tag to compare

@RobDWaller RobDWaller released this 07 Feb 15:48
· 282 commits to master since this release
6b3d74d

This is a breaking release which makes changes to the way token encoding / decoding works. Specifically abstracting the signature secret validation into a separate class and interface. This is so it is easier to implement custom signature secret validation. The release also bumps the minimum supported version of PHP to 7.2.

The other functional improvement is to add validate audience functionality to the parse and validate classes.

Full list of changes:

  • Added Benchmark tests to improve performance observability.
  • Bumped minimum PHP version to 7.2.
  • Bumped dependency versions.
  • Adds Secret Interface.
  • Adds separate Secret class to validate signature secrets.
  • Updates encode interface and class to reflect changes made to signature secret validation.
  • Add validate audience claim functionality.
  • Adds PHP 7.4 environment check to code pipeline.
  • Updates README documentation and comments.

Future planned improvements:

  • Make further improvements to encode / decode functionality so it is easier to create custom implementations.
  • Enhance the validate audience functionality further.
  • Bump PHP support up to 7.4 and add property types to code.
  • Improve test suite.
  • Clean up comments documentation.