Skip to content

Version Two Release

Choose a tag to compare

@RobDWaller RobDWaller released this 16 Jan 13:54
· 362 commits to master since this release
6e19840

This is the first release of version two of the ReallySimpleJWT Library and is a significant improvement over version one. It is more RFC 7519 compliant and offers a much better interface to build, parse and validate JSON Web Tokens.

It is a breaking release in all senses, 80%-90% of the code has been re-written since the release of version 1.1.0. Developers already using this library will need to take care when upgrading to this version and read the Readme documentation carefully so their software continues to function.

The main changes between version one and version two are:

  • Library is more RFC compliant and the interfaces available reflect this.
  • The static interfaces in ReallySimpleJWT::Token have been amended and new ones added.
  • The majority of the code has been re-written.
  • The core classes are now ReallySimpleJWT\Build and ReallySimpleJWT\Parse.
  • Developers can now implement their own encoding and hashing using the EncodeInterface now available.
  • Far more tests have been implemented in this version.
  • The code is PSR-12 compliant.
  • The NPath / Cyclomatic checks applied to the code are far more stringent.
  • Carbon\Carbon has been removed as a dependency.