Releases: vierge-noire/cakephp-fixture-factories
Releases · vierge-noire/cakephp-fixture-factories
v2.8.0-rc.1
- thanks to @ishanvyas22 for adding ability to disable primary key generation by factory class
- thanks to @ishanvyas22 for having the package support PHP 8.2
- thanks to @MolbioUnige for adding tinyinteger and smallinteger pk types
v2.7.1
Thanks @PaulHendriks for spotting an issue with the entity source (as described HERE).
Thanks @LordSimal for proposing a fix.
v1.7.1
Thanks @PaulHendriks for spotting an issue with the entity source (as described HERE).
Thanks @LordSimal for proposing a fix.
v2.7
- Setters can now be skipped for a given list of properties. This is useful to increase performance by avoiding heavy setters, such as password hashing (see the doc). Thanks @Erwane for creating the feature request and reviewing!
- A simple string may be provided to the factories, populating the display field (see the doc). Thanks @vidrascus for the review!
v2.6
v2.5.1 release
Fixes the parsing of associated data in injected entities.
A big thanks to @rrd108 for spotting that issue!
v1.5.1 release
Fixes the parsing of associated data in injected entities.
A big thanks to @rrd108 for spotting that issue!
v2.5 release
- The plugin requires cakephp/orm only
- The initiliaze method enables the creation of associations within the factories
- which makes the plugin portable and usable in any PHP application
- The makeWithModelEvents has been removed
- docs were rewritten
v1.5 release
- The plugin requires cakephp/orm only
- The initiliaze method enables the creation of associations within the factories
- which makes the plugin portable and usable in any PHP application
- The makeWithModelEvents has been removed
v2.4 Release
- New
->setField(string $field, $value)
method to easily populate one single field, instead of using->pachData([])
and typing an array. - Fixture Scenarios have been enhanced. You may now pass arguments to them, and define return parameters.
- New ::get(), ::find() and ::count() will make it easier to query your test DB in the assert part of your test.
- The ->with() method now accepts arrays of factories as parameter, to keep your code compacter.
- Method annotations were added to the baked factories
- The fixture_factories_persist command enables you to insert test fixtures on the command line.