Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 11:37
· 5 commits to master since this release
d0b1004

Changelog

  • Expand throws to include non-malt errors by @julienvincent in 3c58e53

    Right now if you want to make use of checked exceptions you are forced
    to use the malt.error APIs to throw exceptions.

    This excluded use-cases that involve native Java error classes, bespoke
    clojure.lang.ExceptionInfo data formats, or custom error classes which
    implement clojure.lang.IExceptionInfo.

    This patch expands on the throws interface to allow describing
    class-based thrown exceptions, and :schemas which match on whatever is
    returned from ex-data.

  • Improve check-exceptions documentation by @julienvincent in b7a7a6d
  • Fixed check-exceptions applying to malt validation by @julienvincent in f9880eb
  • Make throws required for methods that throw by @julienvincent in d0b1004

    This is a breaking change.

    Now that there is a mechanism to fully describe the various exceptions
    an implementation can thrown, and a simple catch-all escape hatch
    (throws [Exception]) - there is no reason not to make throws
    required for methods which are expected to throw.

For the full changelog visit v1.0.0...v1.1.0