Skip to content

Value Injection + More Middlewares (v0.2.20)

Latest
Compare
Choose a tag to compare
@xsc xsc released this 15 Oct 11:47
· 2 commits to master since this release

Breaking Changes

The behaviour of default and maybe has changed (see below).

Features

  • default/maybe projection now no longer requires the key to exist if used in a map (see #13, #14).
  • added check-cost? flag to engine constructor to allow complete disabling of cost protection (see #12).
  • better error message when using nth projection (see e6d5c55).
  • unified pr-str format for projections (see ea5981b).
  • added catch to the deferred abstraction layer (see e9ae6eb).
  • added middlewares:
    • wrap-observe*: a lower-level observation middleware (see 22fd670),
    • wrap-intercept: a middleware allowing partial resolution of a batch (see 01854b5),
    • wrap-cache: a middleware for resolution result caching with pluggable cache implementations (see #9)

Others

  • connected repository to codecov.io.
  • increased test coverage from ~78% to ~90% (see #16).
  • removed some dead code.

Artifact Coordinates

[claro "0.2.20"]