- Changed
Operations::Command::OperationFailed#message
to include detailed error messages
- Rename Operations::Form#model_name parameter to param_key and make it public preserving backwards compatibility. #52 (pyromaniac)
- Allow referencing and arbitrary model attrbiute from form object attribute with
model_name: "Post#title"
#50 (pyromaniac) - Allow passing multiple
hydrators:
to Operations::Form #49 (pyromaniac)
- Change default form hydration behavior - it is now deep merging params after hydration, so no need to do it in the hydrator. Controlled with
hydration_merge_params:
option. #49 (pyromaniac)
- Added
persisted:
option to the new forms definition. #48 (pyromaniac)
- Implement new forms system detaching it from operations. Please check UPGRADING_FORMS.md for more details. #47 (pyromaniac)
- Better inspect for all the opjects #45 (pyromaniac)
- Use #to_hash instead of #as_json #44 (pyromaniac)
- In some cases,
Operation::Command#form_class
was evaluated beforeform_base
was evaluated #41 (pyromaniac)
- Support Rails 7.1 #40 (pyromaniac)
- Include
Dry::Monads[:result]
in Policies, Preconditions and Callbacks #39 (ston1x) - Add
callback
method toOperations::Convenience
#37 (pyromaniac) - Ability to access operation result in callbacks #36 (pyromaniac)
- Introduce Command#merge #34 (pyromaniac)