Skip to content

Releases: typelevel/grackle

v0.10.0

12 Dec 14:47
9e2df6e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.1...v0.10.0

v0.9.1

08 Dec 11:46
6581e1e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.9.1

v0.9.0

29 Nov 19:53
9af95c2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.2...v0.9.0

v0.8.2

27 Oct 14:49
49a9931
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.1...v0.8.2

v0.8.1

20 Oct 10:40
e6ff507
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

29 Sep 22:04
Compare
Choose a tag to compare

What's Changed

  • Reworked roots and added support for result transforms by @milessabin in #282

Full Changelog: v0.7.0...v0.8.0

v0.7.0

29 Sep 20:25
a5b287e
Compare
Choose a tag to compare

This release collapses the distinction between UniquePath and ListPath by requiring paths to specify their originating types. One can construct a path thus:

Path.from(tpe) // an empty path rooted at tpe

And can extend a path via /:

path / "a" / "b" / "c" // path extended by three more elements

As a convenience one can construct and extend a path via the new / method on Type:

tpe / "a" / "b" // an empty path rooted a t, extended with "a" and then "b"

In order to turn a path into a term one can call .asTerm[A] for any type A. This conversion is also applied implicitly, so a Path can be used in a context where a Term is expected. For example:

Eql(tpe / "foo" / "bar", Const(42)) // implictly convert a Path to a Term[Int]

The root type and underlying schema will determine whether the resulting Term has list or unique semantics. This makes no difference for predicates that are eliminated by the database back-end, but the distinction remains important for in-memory mappings.

v0.6.0

24 Aug 09:02
5863962
Compare
Choose a tag to compare

What's Changed

  • Add preunique operation to Cursor to support nested Unique by @milessabin in #254

Full Changelog: v0.5.2...v0.6.0

v0.5.2

24 Aug 08:43
4736cf5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.2

v0.5.1

24 Aug 08:43
f609672
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1