Skip to content

Releases: lexalium/stepped-form

v3.1.0

07 Apr 17:43
2161240
Compare
Choose a tag to compare

What's Changed

New:

  1. Compute change set between early submitted data and new one, reflect change set onto next steps (#6)

Deprecations:

  1. Save different entity types
  2. Entity copy service usage

Full Changelog: v3.0.0...v3.1.0

v3.0.0

19 Jan 13:12
7ef6077
Compare
Choose a tag to compare

What's Changed

  1. Add Form Storage for getting and setting data depending on form session
  2. Update session storage contract
  3. Remove ArrayStorage from available types of storages
  4. Add infection test

Full Changelog: v2.1.0...v3.0.0

v2.1.0

30 Dec 14:47
efdafee
Compare
Choose a tag to compare

Add ability to split different user sessions for one stepped form depending on initial data

v2.0.0

17 Dec 11:26
0241f3a
Compare
Choose a tag to compare

Bumb php version to 8.1. Update composer dependencies.

  1. Refactor package with new features and structure. Rewrite storage logic.

  2. Throw an exception when trying to render or handle step when previous one is not submitted.

  3. Add step key validation.

  4. Add isDynamic method to the FormBuilder.

  5. Don't run forgetAfter if the form builder is static or step implements StepBehaviourInterface and its method returns false.

  6. Remove access to Step object from exceptions. Add Step key instead of step.

  7. Return step key on form methods instead of full step

  8. Set current step only when renderable step is found.

  9. Fixed forgetAfter method.

  10. Fixed StepIsNotSubmittedException exception data.

v1.1.0

26 Jan 14:25
Compare
Choose a tag to compare

Added isSubmitted, isCurrent statuses for the step class.
Added LazyStep for the StepsBuilder for handling isSubmitted, isCurrent statuses by the callback functions.
Added Entity Copy interface and simple implementation of it.
The Stepped Form will throw an exception if it contains not submitted steps before finishing the form.

Fixed issue with passing entity to the handle method.

v1.0.0

16 Jan 21:11
Compare
Choose a tag to compare

The first release of the Stepped Form.