Skip to content

3.0.0 Alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@RobDWaller RobDWaller released this 12 Jul 10:54

The alpha release begins a significant restructure and implementation of the package which should improve quality and reliability. For instance, the HTTP response codes and messages have been fixed so they better align with the correct error responses. There have also been improvements made to the tests and static analysis.

In terms of the code restructure, the Handler namespace has been rewritten and a new Config class has been added. Also, the Auth namespace has been rewritten, and the Parser namespace has been replaced with a simpler Location namespace. Despite these significant changes the core interface and implementation should remain the same.

Additional Work

  • Upgrade the package to support PHP 8 and above.
  • Upgrade the package to work with ReallySimpleJWT 5.0
  • Upgraded PHP Stan to level 8.
  • Added PHP CS Fixer to CI pipeline.
  • Removed unnecessary use statements.
  • Replaced Mockery with PHP Unit mocks.
  • Removed doc blocks which have been replaced by types.
  • Rewrote Auth namespace.
  • Replaced Auth value object with Status value object.
  • Edited validation namespace and class.
  • Added validation interface so other validators can be used.
  • Created additional factory classes to make instantiation easier.
  • No longer imposing strict coverage statements due to maintenance complexity.
  • Removed unnecessary @uses statements from tests.
  • Rewrote Request helper class.

To Do

  • Tidy up file structure.
  • Raise code coverage to 100%.
  • Remove unnecessary @uses statements from tests.
  • Run integration tests.
  • Remove code duplication from handlers.
  • Update documentation, comments and README.