Skip to content

Releases: marian13/convenient_service

v0.10.1

02 Mar 14:42
2722b11
Compare
Choose a tag to compare

0.10.1 (2023-03-02)

Bug Fixes

  • can_have_stubbed_result: add thread-safety (1962dcc)

v0.10.0

01 Mar 18:23
bc7c213
Compare
Choose a tag to compare

0.10.0 (2023-03-01)

Features

  • utils: introduce Utils::String.demodulize (87a145a)

Bug Fixes

  • be_result: commit config manually (658e314)
  • can_have_user_provided_entity: use demodulized proto entity name (f25e63c)
  • has_result_steps: no validate (6c14a57)
  • rescues_result_unhandled_exceptions: add indentation for all message lines (6458103)
  • rescues_result_unhandled_exceptions: use formatted message and class for cause (c75c389)

v0.9.0

23 Feb 10:29
880cf32
Compare
Choose a tag to compare

0.9.0 (2023-02-22)

⚠ BREAKING CHANGES

  • export: add a logic that forbids to use export in classes (ca81536a)

Features

  • has_result_short_syntax: introduce Result#ud, Result#um, Result#uc (95856c9)
  • utils: introduce Object#memoize_including_falsy_values (22b2430)

Bug Fixes

  • export: add a logic that forbids to use export in classes (ca81536a)

v0.8.0

20 Feb 12:15
5185cdd
Compare
Choose a tag to compare

0.8.0 (2023-02-20)

Features

  • aliases: expose middlewares (aacb6fd)
  • configs: introduce Minimal config (70b0ca8)
  • rescues_result_unhandled_exceptions: introduce rescues_result_unhandled_exceptions (fd0b444)
  • rescues_result_unhandled_exceptions: return original exception in data + formatted exception as message (45bc55e)
  • undefined: introduce undefined (2f93bdc)
  • wrap_method: introduce WrappedMethod#chain_exception (1db33af)

Bug Fixes

  • wrapped_method: define chain value even if chain.next raises an exception (8c4cf95)
  • wrapped_method: reraise rescued exception (31f7ab6)

v0.7.0

13 Feb 19:02
9d5bcf2
Compare
Choose a tag to compare

0.7.0 (2023-02-13)

⚠ BREAKING CHANGES

  • be_result: introduce #of_step, #of_service, remove #of
  • has_result: use callbacks before result

Features

  • be_result: introduce #of_step, #of_service, remove #of (0d9ba16)
  • be_result: of_step supports method steps (9127301)
  • can_have_parent_Result: introduce CanHaveParentResult plugin (55f0b0f)
  • command: expose command (6abcb1a)
  • configs: add around callbacks for steps (cb9d342)
  • has_around_callbacks: pass arguments to around callbacks (f682f9a)
  • has_callbacks: pass arguments to callbacks (2d7f720)
  • has_jsend_status_and_attributes: introduce Data#to_s (c1e20c0)
  • has_result_steps: add callback trigger for step (475d46a)
  • has_result_steps: introduce Step#original_result (8891247)
  • has_step: introduce HasStep plugin (e6eee96)
  • not_passed: add better #inspect (d7ce5d9)

Bug Fixes

  • be_descendant_of: fix typo (58e0f73)
  • be_direct_descendant_of: fix typo (bda7d06)
  • ci: change the version of yard (185c23c)
  • copyable: do not mutate input params (0809592)
  • dependency_container: fix typo (b1cf420)
  • has_result_steps: use unsafe attributes in to_kwargs (6c2b1d3)
  • has_result_steps: use unsafe_data (e00c346)
  • has_result: use callbacks before result (eb46444)

Miscellaneous Chores

v0.6.0

22 Jan 19:00
0370936
Compare
Choose a tag to compare

0.6.0 (2023-01-22)

Features

  • dependency_container: assert valid scope (5d75f59)
  • singleton_prepend_module: introduce singleton_prepend_module custom RSpec matcher (6636b8d)
  • has_result_steps: introduce reassign (75855be)

v0.5.0

19 Jan 15:21
2fa7fa8
Compare
Choose a tag to compare

0.5.0 (2023-01-19)

Features

  • dependency_container: introduce dependency containers (7e2dd90, aef8ac0)

v0.4.0

03 Jan 02:32
d776c98
Compare
Choose a tag to compare

0.4.0 (2023-01-03)

Features

  • has_jsend_status_and_attributes: introduce data.has_attribute? (04e4583)
  • has_result_steps: add more contextual error message when step result data has no attribute (5844d94)
  • results_matchers: introduce be_not_success, be_not_failure, be_not_error (9bb4454)

Bug Fixes

  • has_result_steps: print step actual service, not internal wrapper (c0761be)
  • rspec: return nil for current example in partially loaded rspec envs (ea10cc0)

v0.3.1

19 Dec 20:09
5b9fe8b
Compare
Choose a tag to compare

0.3.1 (2022-12-19)

Bug Fixes

  • can_have_stubbed_result: fix stubbed_result when it's called in non-test env (e25178e)

v0.3.0

17 Dec 19:18
d2990b6
Compare
Choose a tag to compare

0.3.0 (2022-12-17)

Features

  • stub_service: stub_service support stubbing with different arguments (766eb5a)