Releases: lexalium/stepped-form
v3.1.0
v3.0.0
What's Changed
- Add Form Storage for getting and setting data depending on form session
- Update session storage contract
- Remove ArrayStorage from available types of storages
- Add infection test
Full Changelog: v2.1.0...v3.0.0
v2.1.0
v2.0.0
Bumb php version to 8.1. Update composer dependencies.
-
Refactor package with new features and structure. Rewrite storage logic.
-
Throw an exception when trying to render or handle step when previous one is not submitted.
-
Add step key validation.
-
Add
isDynamic
method to the FormBuilder. -
Don't run
forgetAfter
if the form builder is static or step implements StepBehaviourInterface and its method returns false. -
Remove access to Step object from exceptions. Add Step key instead of step.
-
Return step key on form methods instead of full step
-
Set current step only when renderable step is found.
-
Fixed
forgetAfter
method. -
Fixed StepIsNotSubmittedException exception data.
v1.1.0
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.