Releases: dereuromark/cakephp-fixture-factories
Releases · dereuromark/cakephp-fixture-factories
1.3.1
1.3.0
Improvements
- Add support for custom event manager on factories by @jamisonbryant in #25
New Contributors
- @jamisonbryant made their first contribution in #25
Full Changelog: 1.2.0...1.3.0
1.2.0
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
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
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
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
Fixes
- Added Enum support with
enumCase(concrete enum itself) andenumValue(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
0.1.1
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
Initial Split Off Release
Main differences:
- Supports multiple generators via adapters (chose your generator library).
- Modern configurable generator type guessing per field name/type.