Claro Versions Save

Powerful Data Access for Clojure

v0.2.20

6 years ago

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 ea5981bb).
  • added catch to the deferred abstraction layer (see e9ae6eb4).
  • 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"]

v0.2.19

6 years ago

Breaking Changes

None.

Features

  • adds unsafe projection to allow projection on arbitrary input/output values.
  • adds sort-by projection to allow external sorting of results.

Artifact Coordinates

[claro "0.2.19"]

v0.2.18

7 years ago

Breaking Changes

None.

Bugfixes

  • if the Parameters protocol is implemented, the parameters projection should not check whether the keys to insert already exist.

Features

  • adds maybe-parameters, a projection that will retain nil values and not attempt to inject parameters.

Artifact Coordinates

[claro "0.2.18"]

v0.2.17

7 years ago

Breaking Changes

None.

Bugfixes

  • fixes the print-method implementation of FiniteTransformation.
  • fixes an example in the documentation (see #11, thanks to @christoph-frick).

Features

  • improves map projection performance by ~25% (f446fa6faa380bd7f0be6fefc9e03e464d791ea5).
  • improves sequential projection performance by ~5% (70572a8563a2bdefd1b268d2d96cc991da30c457).

Artifact Coordinates

[claro "0.2.17"]

v0.2.16

7 years ago

Breaking Changes

None.

Features

Internal tree construction, as well as result injection, has been adjusted and improved, providing significant speedups for deeply nested structures or long collections. See 29c69b7 for benchmark results.

Artifact Coordinates

[claro "0.2.16"]

v0.2.15

7 years ago

Breaking Changes

None.

Features

  • adds transform-finite projection, avoiding rewrapping of nested structures, thus increasing performance in cases where no new resolvables are introduced.

Artifact Coordinates

[claro "0.2.15"]

v0.2.14

7 years ago

Breaking Changes

None.

Bugfixes

If the projected value produces an error, juxt still created a vector of that error, duplicated. Now, it only produces one error value.

Artifact Coordinates

[claro "0.2.14"]

v0.2.13

7 years ago

Breaking Changes

None.

Features

  • adjusted pretty-printing of projections and deferred values.
  • added extract-in projection for nested lookups.
  • added juxt projection for applying multiple projections to the same value.

Artifact Coordinates

[claro "0.2.13"]

v0.2.12

7 years ago

Breaking Changes

None.

Bugfixes

claro.projection.remove-nil contained the function remove-nil-elements twice, causing it to behave differently than expected.

Artifact Coordinates

[claro "0.2.12"]

v0.2.11

7 years ago

Breaking Changes

None.

Features

Introduces a remove-nil-elements projection, adding a way to ensure that nil elements are removed from seqs.

Artifact Coordinates

[claro "0.2.11"]