Skip to content

v0.19.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Jun 23:07
f52df56

0.19.0 (2024-06-08)

Features

  • can_have_steps: introduce StepCollection#size (6360e2e)
  • configs: introduce AmazingPrintInspect config (3035523)
  • docker: add Ruby 3.4.0-preview1 (a115459)
  • fallback: introduce fallback_result that is called for both failure and error, but has lower priority when specific method is defined (498bde0)
  • fallbacks: do not allow fallbacks for method steps (f90abdd)
  • middleware_stack: introduce alias #prepend for #unshift, #remove for #delete (527bb34)
  • plugins: introduce ForbidsConvenientServiceEntitiesAsConstructorArguments (088505d)
  • result: introduce Result#from_exception? (a47838a)
  • result: introduce Result#from_step? (66cdf2a)
  • rollback: introduce initial version of HasRollbacks (306960d)
  • service: introduce ConvenientService::Service::Plugins::CanHaveSteps.step? (340d327)
  • service: introduce ConvenientService.service? and ConvenientService.service_class? (c4caf14)
  • step: cache Step#service_result (2fd0cd9)
  • step: introduce Step#printable_container (9a555bd)
  • support: introduce Ruby#mri? (a336874)
  • utils: introduce Object.own_method (39e3c08)
  • utils: introduce Object.safe_send (c66a551)
  • utils: introduce String.enclose (10971c5)
  • utils: rescue all standard error exceptions from Object.safe_send (2470a62)

Bug Fixes

  • awesome/amazing_print: use message key as nested (86e41bf)
  • BACKLOG: remove typo (3fcae2b)
  • can_have_connected_steps: do not evaluate right expression when it can be avoided (131f911)
  • can_have_connected_steps: use ConvenientService.raise (a19ce55)
  • can_have_fallbacks: use ConvenientService.raise (148317d)
  • forbids_convenient_service_entities_as_constructor_arguments: use ConvenientService.raise (1e5a260)
  • forbids_convenient_service_entities_as_constructor_arguments: use ConvenientService.raise (ca89de8)
  • ruby_engine_version: remove wrong memoization (addbd54)
  • step: respect aliases for last(all) steps (b8285e3)
  • Taskfile: remove typo (a577fbd)

Performance Improvements

  • method_middleware: inline env normalization (2dfe210)

Miscellaneous Chores