Skip to content

2.0.0-rc.2

Pre-release
Pre-release

Choose a tag to compare

@dereuromark dereuromark released this 17 May 02:36
864812b

Fixes

  • Auto-skip belongsTo composition when its foreign key is explicitly provided. A caller-pinned FK (Factory::new(['home_id' => 123]), setField(), state(), sequence()) is no longer silently overwritten by a freshly composed parent (#81)

Improvements

  • Detect foreign-key columns set in definition() and emit a deprecation naming the column, the belongsTo association alias, and the migration path. Enabled by default, opt-out via Configure for projects mid-migration (#79)

Full Changelog: 2.0.0-rc.1...2.0.0-rc.2