Skip to content

Releases: vierge-noire/cakephp-fixture-factories

v2.8.0-rc.1

10 May 14:51
f25c76c
Compare
Choose a tag to compare
v2.8.0-rc.1 Pre-release
Pre-release
  • 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

18 Jul 16:31
d117488
Compare
Choose a tag to compare

Thanks @PaulHendriks for spotting an issue with the entity source (as described HERE).
Thanks @LordSimal for proposing a fix.

v1.7.1

18 Jul 16:40
99bdaeb
Compare
Choose a tag to compare

Thanks @PaulHendriks for spotting an issue with the entity source (as described HERE).
Thanks @LordSimal for proposing a fix.

v2.7

02 Jul 06:50
0ae9285
Compare
Choose a tag to compare
  • 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

18 May 15:41
ed57534
Compare
Choose a tag to compare

Upgrade Cake minimal requirement to ^4.2
Thanks to @Erwane for allowing FQN in model class definition.

v2.5.1 release

07 Nov 01:06
4aaf499
Compare
Choose a tag to compare

Fixes the parsing of associated data in injected entities.

A big thanks to @rrd108 for spotting that issue!

v1.5.1 release

07 Nov 01:06
6f99b4b
Compare
Choose a tag to compare

Fixes the parsing of associated data in injected entities.

A big thanks to @rrd108 for spotting that issue!

v2.5 release

01 Nov 03:04
5458c91
Compare
Choose a tag to compare
  • 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

01 Nov 03:05
3b92134
Compare
Choose a tag to compare
  • 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

08 Sep 12:17
87d8eb4
Compare
Choose a tag to compare
  • 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.