Skip to content

v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Aug 09:16
· 1 commit to master since this release
73269e7

Changelog

  • Add support for multi-arity protocol methods by @julienvincent in fdcf1e4

    Currently malt only has support for single-arity protocol methods. This
    was a pretty big oversight in its original design and fixing this has
    had significant implications for backwards compatibility.

    This patch adds support for multi-arity, defined using the defn syntax
    instead of defprotocol to reduce ambiguity.

    All static protocol method specs are now stored within a vector under
    :malt/specs on the protocol sig. The vector contains one spec per
    arity.

    This is a significant deviation from the previous design which stored
    all malt spec data directly on the protocol signature using :malt/
    prefixed keys.

    The previous format is still preserved for backwards compatibility -
    however this is only done for single-arity methods and will be removed
    in the future in favour of the new :malt/specs interface.

  • Ensure method metadata includes full method specs by @julienvincent in 73269e7

    Previously malt excluded the precompiled schema validators from method
    metadata specs.

    This patch brings method specs up to speed such that they are now
    identical to protocol specs.

For the full changelog visit v1.1.2...v1.2.0