Skip to content

Releases: MarcinOrlowski/laravel-api-response-builder

v12.1.1

15 Jul 22:22
e1a2a47
Compare
Choose a tag to compare
  • [GH-265] Fixed remaining PHP 8.4 deprecations Implicitly nullable parameters...
  • Included PHP 8.4 in PHPStan action

v12.1.0

11 Jul 10:07
aff27e6
Compare
Choose a tag to compare
  • [GH-267] Fixed Util::mergeConfig() causing PHPStan errors due to incorrect type usage.
  • Refactored ResponseBuilder to extract message handling into a new MessageManager class.
  • Reworked and updated project documentation.

v12.0.2

10 Jul 20:30
0e642b3
Compare
Choose a tag to compare
  • [GH-263] Fixed Validator::assertIsType() not validating provided exception class against InvalidTypeExceptionContract.
  • [GH-263] Added unit tests for Validator::assertIsType().
  • [GH-265] Fixed PHP 8.4 deprecation Implicitly nullable parameters... (reporeted by @technetius)
  • Fixed typehints to make PHPStan green on max sensitivity level.

v12.0.1

16 Apr 19:55
5736fd6
Compare
Choose a tag to compare
  • [RB-255] Fixed ToArrayConverter using a new Request instance instead of the actual request.
  • [BR-256] Fixed ToArrayConverter potentially causing fatal error if object lacks toArray method.
  • [GH-261] Updated GitHub Actions workflow to test against Laravel 12, PHP 8.3, and PHP 8.4.

v12.0.0

16 Apr 16:57
e63f774
Compare
Choose a tag to compare
  • Added support for Laravel v12.

v11.0.0

06 May 14:07
Compare
Choose a tag to compare
  • Added support for Laravel v11.
  • Corrected documentation (thanks to Ehsan Soleimanian)

v10.0.0

20 Feb 16:27
5a1ca08
Compare
Choose a tag to compare
  • Added support for Laravel v10.

v9.4.0

18 Feb 19:41
fd13279
Compare
Choose a tag to compare
  • BACKWARD INCOMPATIBLE CHANGES (more info).
  • Removed redundant PHPDocs entries for type-hinted elements.
  • Fixed exception handler helper not properly handling iterating over mismatched configuration
    items.
  • Fixed missing dependency entry in composer.json (development tools).
  • Reworked tests to use strict object representation of API response stricture to reduce overall
    LoC.
  • Removed assertValidResponse() test helper method due to introduction of ApiResponse class.

v9.3.2

13 Feb 07:29
4964aa6
Compare
Choose a tag to compare
  • Laravel 9.x is now included in test matrices.
  • PHP 8.1 is now included in test matrices.
  • Simplified some logic by removing redundant checks.

v9.3.1

23 Oct 14:41
Compare
Choose a tag to compare
  • Default composer.json also includes development packages now.
  • Updated examples in docs (thanks to @jcmcclorey).
  • Small code cleanup.