Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.91 KB

CHANGELOG.md

File metadata and controls

51 lines (28 loc) · 1.91 KB

Changelog

0.2.0 (2023-08-16)

IMPROVEMENTS:

  • Using RSpec instead of Minitest for testing
  • Minor code cleanup

0.1.1 (2023-08-16)

HOTFIXES:

  • Always pass the error to the on_error callable object instead of mixed error/Failure(error)

0.1.0 (2022-10-28)

  • Explicit requires dry-monads >= 1.x, just for convenience

BREAKING CHANGES:

  • The arrays of exceptions to catch is now received using the only argument key, e.g. ToResult(only: [ArgumentError])
  • Setting the global on_error with a non-callable object (an object that does not respond to call) will raise TypeError

NEW FEATURES:

  • Added local on_error that can be used to override or run a one-time block when an error is catched ToResult(on_error: Proc { |e| puts e })

0.0.4 (2022-10-08)

  • Adds a global configuration object for ToResult
  • Adds on_error field in configuration to execute a block every time a error is catched

Full Changelog

0.0.3 (2022-10-08)

  • Fixed file name, require 'to_result' is not needed anymore to make this gem work.

Full Changelog

0.0.2 (2022-09-18)

Full Changelog

0.0.1 (2022-09-18)

Full Changelog

* This Changelog was automatically generated by github_changelog_generator