All notable changes to fidum/laravel-blueprint-pestphp-addon
will be documented in this file
- Add Laravel 10 Support by @dmason30 in #36
This release adds support for Laravel 10 and drops support for Laravel 9. In accordance with the Blueprint Support Policy, Blueprint generates code inline with the latest Laravel conventions.
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.2.4...2.3.0
- Fixing missing model import in generated tests for show-only controllers by @dmason30 in #37
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.2.3...2.2.4
- Replace assertDeleted with assertModelMissing by @dmason30 in #35
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.2.2...2.2.3
- Fix job test when property name different to context by @dmason30 in #34
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.2.1...2.2.2
- Add PHP 8 property types by @dmason30 in #32
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.2.0...2.2.1
- Laravel 9 Compatibility by @dmason30 in #31
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.1.0...2.2.0
- Support laravel-shift/blueprint 2.2.0 by @dmason30 in https://github.com/fidum/laravel-blueprint-pestphp-addon/commit/394c2e4f82c6f57be7eb2f19b53fd35033abaa7a
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.0.1...2.1.0
Added
- Run actions on PHP 8.1 by @dmason30 in #29
Full Changelog: https://github.com/fidum/laravel-blueprint-pestphp-addon/compare/2.0.0...2.0.1
Added
- Only support latest stable Laravel version (#28)
This release only supports Blueprint >= v2.0.0
Version 2.x is a superficial major release to reflect Blueprint's new Support Policy.
Added
- Add nested models support (#26)
This release only supports Blueprint >= v1.23.0.
Stable release to coincide with Pest version.
Added
- Add PHP 8 support (#25)
Changed
- Use assertSoftDeletes when needed and parse timestamps (2b732ad)
Changed
- Generate tests using class factories when on Laravel 8 (#24)
Added
- Cleaned up dependencies to support Laravel 8 (#23)
Changed
- Changed
assertCount
to use the newexpect()->toHaveCount()
pest expectation API. - Changed
assertSame
to use the newexpect()->toBe()
pest expectation API.
Changed
This release only supports Blueprint >= v1.17.0.
Changed
- Update to support Blueprint v1.15.3 (#22)
This release only supports Blueprint >= v1.15.3.
Changed
- Requires specifically 1.15.2 of Blueprint as the next release has breaking changes. I will create a new release soon with support for 1.15.3.
Changed
- Use assertCreated for new Resource responses
Added
- Generate assertions for resource and update statements (#20)
Fixed
- Use factory for referenced relationships in validation statements (#18)
Fixed
- Fix test setup for validation shorthand (#16)
Added
- Add types method to support next blueprint release (#14)
Added
- Add Notifications testing support (#13)
Changed
- generated
assertActionUsesFormRequest
tests now imports controller and request classes (1a70ee9)
Fixed
- generate related models using factories (1a70ee9)
Changed
- refactored statements into separate builder classes (#12)
Fixed
- use configured model namespace in tests (#11)
Changed
- use global assertion methods where available
- initial release