Skip to content

0.2.1

Choose a tag to compare

@dereuromark dereuromark released this 23 May 23:51
· 21 commits to master since this release
c30678b

Breaking changes

  • Polymorphic reference columns renamed to the CakePHP ecosystem convention (as used by cakephp-comments / cakephp-favorites / cakephp-file-storage): entity_table → model and entity_id → foreign_key, on workflow_transitions, workflow_locks, and workflow_timeouts. (#34)

    Upgrade: run bin/cake migrations migrate --plugin Workflow — the RenamePolymorphicColumns migration renames the columns in place, preserving data (and is a safe no-op on fresh installs). If you passed the entityTable option when attaching the behavior, rename that key to model.

Improvements

  • The foreign_key validation no longer caps at 36 characters, so longer string primary keys are accepted under the string/uuid column types. (#34)

Since we just released the new major, this should still fit in, and there is an upgrade path to smooth things over.

Full Changelog: 0.2.0...0.2.1