Skip to content

v0.18.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Mar 17:32
e093636

0.18.0 (2024-03-07)

⚠ BREAKING CHANGES

  • can_have_steps: make step not fully compatible with result since it is an independent entity

Features

  • backtrace_cleaner: do not clean specs (11f8f0c)
  • can_be_negated: introduce Result#negated? (1362b9b)
  • can_connected_steps: add inspect (d1318bd)
  • can_connected_steps: introduce group, not_group, and_group, and_not_group, or_group, or_not_group (c517ef5)
  • can_have_connected_steps: add inspect for empty expression (40496c1)
  • can_have_connected_steps: add StepCollection#inspect (0523136)
  • can_have_connected_steps: define exceptions (f481b33)
  • can_have_connected_steps: introduce #scalar? (6ff4b38)
  • can_have_connected_steps: introduce and expression (c654351)
  • can_have_connected_steps: introduce base expression (d5243a3)
  • can_have_connected_steps: introduce empty expression (222c053)
  • can_have_connected_steps: introduce expression#steps (7644a44)
  • can_have_connected_steps: introduce group expression (7f0ceff)
  • can_have_connected_steps: introduce middleware (4d5f409)
  • can_have_connected_steps: introduce not expression (583ddc4)
  • can_have_connected_steps: introduce not_step (1336cb1)
  • can_have_connected_steps: introduce or expression (b4d72a5)
  • can_have_connected_steps: introduce scaalar (20bee82)
  • can_have_connected_steps: start to use can_have_connected_steps by default (16fb5e2)
  • can_have_negated_steps: introduce and_step, not_step, and_not_step (fab351c)
  • can_have_sequential_steps: add StepCollection#inspect (8ba096f)
  • can_have_steps: allow to override inputs in method steps (9d5e129)
  • delegate_to: add failure message for and_return (eebfcb4)
  • delegate_to: introduce not reaady for public usage and_return { ... } (30b1757)
  • has_have_steps: introduce Step#to_s (19b1958)
  • has_j_send_result: raise exception when to_bool called on error (5cfcefa)
  • has_j_send_status_and_attributes: introduce #to_bool, #to_object, #to_a, #to_h, #to_s for learning purposes (a3c1782)
  • has_negated_result: introduce #negated_result (6890cef)
  • has_negated_result: introduce initial HasNegatedResult plugin (8c8fd70)
  • has_negated_result: use HasNegatedResult plugin (6cb4e48)
  • has_result_steps: introduce unsafe nott statuses (fe845b0)
  • internals: add cache to class (b1363c7)
  • support: introduce never reach here (c974f6b)
  • support: introduce value (987455b)
  • utils: allow to pass custom enumerablesto .find_last (85892da)

Bug Fixes

  • can_have_sequential_steps: do not rely on automation plugin inside essential plugin (d9fe475)
  • can_have_steps: use extra kwargs while comparing steps (82fb2b6)
  • gemspec: use README.md (299e1cd)
  • has_callbacks: state explicitly that callbacks for class methods are not supported yet (5f03829)
  • has_instance_proxy: reraise rescued exception (fc3f8ee)
  • has_jsend_result: remove outdated exception (a92fa15)
  • has_negated_result: use copy to not lose original result extra kwargs (80d5f10)
  • has_negated_result: use HasNegatedResult only for Standard config, not for minimal or v1 (b28453c)
  • support: compare value by hash in eql? (a68ee68)
  • vscode: bring back cache_its_value (e73ad88)

Miscellaneous Chores

Code Refactoring

  • can_have_steps: make step not fully compatible with result since it is an independent entity (5cea95d)