Skip to content

Releases: markwalet/laravel-testable-requests

v0.6.1

02 Apr 07:17

Choose a tag to compare

Changed

  • Renamed references to old master default branch.

Fixed

  • Fixed assertFailsValidationFor() to properly detect Illuminate\Validation\Rules\Enum and other rule classes implementing the Rule interface.

v0.6.0

30 Mar 08:16

Choose a tag to compare

Added

  • Added a PHPUnit and Orchestra Testbench test suite for package-level request validation helpers.
  • Added GitHub Actions workflows for the test matrix and coverage reporting.
  • Added Laravel Pint and Larastan to handle code quality assurance.

Changed

  • Raised the minimum supported PHP version to 8.2.
  • Updated dependabot configuration.

Fixed

  • Fixed assertNotAuthorized() to call the unauthorized assertion instead of recursively calling itself.
  • Fixed internal and test-suite typing issues so PHPStan passes at level 6.

Removed

  • Removed support for Laravel 10.

v0.5.0

24 Mar 16:30

Choose a tag to compare

Added

  • Added support for Laravel 13

Changed

  • Raised the minimum supported PHP version to 8.1

v0.4.1

10 Mar 08:43

Choose a tag to compare

Fixed

  • Fixed deprecation warnings for PHP 8.4

v0.4.0

03 Feb 09:16

Choose a tag to compare

Added

  • Added support for Laravel 12

Removed

  • Removed support for Laravel 11

v0.3.4

14 Mar 09:52

Choose a tag to compare

Fixed

  • Fix support for Laravel 11.

v0.3.3

05 Feb 15:42

Choose a tag to compare

Added

  • Added support for Laravel 11.

This release contains an error that prevents Laravel 11 from being properly supported. Please upgrade to v0.3.4.

v0.3.2

01 Dec 16:21

Choose a tag to compare

Added

  • Added assertPassesValidationFor assertion method

v0.3.1

01 Dec 14:30

Choose a tag to compare

Fixed

  • Added missing cast in assertFailsValidation

v0.3.0

01 Dec 14:20

Choose a tag to compare

Added

  • Added direct laravel/framework dependency.

Fixed

  • Convert failed rules to snake case when it's not a custom rule class.
  • Make assertions more exact by keeping array structure of errors intact.
  • Move phpunit/phpunit dependency to dev-dependencies.