Skip to content

Releases: phithi92/json-web-token

🚀 Version 0.2.8

30 Nov 14:31
Compare
Choose a tag to compare

✨ New Features

  • Tests:
    • Added Base64UrlEncoderTest and JsonEncoderTest to validate encoding, decoding, and JSON functionalities.

🛠️ Enhancements

  • PHPStan Improvements:
    • Refactored code to comply with PHPStan level 7, addressing stricter type-checking requirements.
    • Optimized type validation and improved PHPDoc annotations.
    • Resolved static analysis issues and ensured type consistency across the codebase.
    • Introduced exceptions for invalid input handling to enhance error management.

🔄 Workflow Improvements

  • GitHub Actions:
    • Added a PHPStan workflow for static code analysis.
    • Updated the PHP version in the workflow for proper container setup.
    • Resolved workflow issues by upgrading Docker Compose.
    • Optimized analysis configuration for improved performance.

🧹 Maintenance

  • .gitignore:
    • Extended to exclude .actrc for local act configurations.
  • Code Comments:
    • Added detailed comments to improve readability and maintainability.

This release focuses on achieving PHPStan level 7 compliance, enhancing type safety, improving development workflows, and ensuring higher overall code quality and robustness.

Full Changelog: v0.2.7...0.2.8