Skip to content

Releases: dereuromark/cakephp-fixture-factories

1.3.1

08 Mar 15:56
6a92e37

Choose a tag to compare

Improvements

Full Changelog: 1.3.0...1.3.1

1.3.0

03 Feb 03:08
ef7199e

Choose a tag to compare

Improvements

New Contributors

Full Changelog: 1.2.0...1.3.0

1.2.0

01 Feb 07:46
e52d985

Choose a tag to compare

Fixes

  • Fixed circular reference detection for plural belongsTo associations

Improvements

  • Implement lazy transaction strategy for FactoryTransactionStrategy
  • Add instance-level generator management with feature flag

Note: PHP 8.2+ now

Full Changelog: 1.1.1...1.1.2

1.1.1

05 Jan 18:23

Choose a tag to compare

Fixes

  • Fix persist of clean associated entities - #13

Improvements

  • Add keepDirty option for manual saves (restores pre 0.1 behavior) - in #14

Full Changelog: 1.1.0...1.1.1

1.1.0

26 Nov 16:55

Choose a tag to compare

Improvements

  • Added support for setting table connection name - #11
  • Changed persisting command to allow grouping: bin/cake fixture_factories persist ...

Full Changelog: 1.0.0...1.1.0

1.0.0

07 Nov 09:05
0faaa9e

Choose a tag to compare

Initial Stable Release

This major release enables

  • Agnostic fixture factories with adapter pattern for generators
  • Modern configurable generator type guessing per field name/type.
  • Also supports PHP enums (and their values) out of the box.

Chose your generator library, or built your own.
The main advantage is now that shimming or customization of any generator type is trivial.
You only need to implement the interface or extend an existing one:

  • Faker
  • Dummy

0.1.3

06 Nov 05:49

Choose a tag to compare

Fixes

  • Added Enum support with enumCase (concrete enum itself) and enumValue (raw scalar value)
  • Fix up compatibility between faker and dummy.
  • Added FactoryTransactionStrategy to reset without $fixtures requirement

Full Changelog: 0.1.2...0.1.3

0.1.2

04 Nov 03:36
f09268d

Choose a tag to compare

Fixes

  • Added shim for randomAscii() - generate random ASCII character

Full Changelog: 0.1.1...0.1.2

0.1.1

28 Aug 22:40
6a2e77b

Choose a tag to compare

Fixes

  • Check for adapter class to help with installation.
  • Bake default data with unique()-> added for unique fields to avoid collisions
  • Fix Factory::make() ignoring null value

0.1.0

19 Aug 22:25
336bb68

Choose a tag to compare

Initial Split Off Release

Main differences:

  • Supports multiple generators via adapters (chose your generator library).
  • Modern configurable generator type guessing per field name/type.