Skip to content

Releases: typelevel/grackle

v0.28.0

17 Jun 09:52
e7d4690

Choose a tag to compare

What's Changed

The main highlights of this release are,

  • An update to doobie 1.0.0-RC13, which changes the package name from doobie to org.typelevel.doobie. #835
  • scalafmt is now used and enforced in CI, which has resulted in a large number of mainly whitespace changes. #838

Other Updates

  • Update munit to 1.3.3 by @typelevel-steward[bot] in #833
  • Added scalafmt configuration and applied by @milessabin in #838
  • Update scala3-compiler, scala3-library, ... to 3.3.8 by @typelevel-steward[bot] in #834
  • Update doobie-core, doobie-hikari, ... to 1.0.0-RC13 by @typelevel-steward[bot] in #835
  • Update scala-java-time to 2.7.0 by @typelevel-steward[bot] in #836
  • Update sbt, scripted-plugin to 1.12.12 by @typelevel-steward[bot] in #837
  • Update sbt-updates to 0.7.0 by @typelevel-steward[bot] in #839

Full Changelog: v0.27.1...v0.28.0

v0.27.1

05 Jun 08:20
acc532f

Choose a tag to compare

What's Changed

  • Bumped tlBaseVersion by @milessabin in #827
  • Update shapeless3-deriving to 3.6.0 by @typelevel-steward[bot] in #824
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.6 by @typelevel-steward[bot] in #825
  • Update auxlib, clib, javalib, nativelib, ... to 0.5.12 by @typelevel-steward[bot] in #826
  • Update logback-classic to 1.5.33 by @typelevel-steward[bot] in #828
  • Update munit to 1.3.1 by @typelevel-steward[bot] in #829
  • Update logback-classic to 1.5.34 by @typelevel-steward[bot] in #830
  • Update munit to 1.3.2 by @typelevel-steward[bot] in #831
  • Fix (-1, 0) numeric parsing by @rpiaggio in #832

Full Changelog: v0.27.0...v0.27.1

v0.27.0

17 May 09:37
13a9aa4

Choose a tag to compare

What's Changed

  • Bumped versions for new release by @milessabin in #780
  • Update sbt-scoverage to 2.4.3 by @typelevel-steward[bot] in #781
  • Update logback-classic to 1.5.22 by @typelevel-steward[bot] in #782
  • Update skunk-circe, skunk-core to 0.6.5 by @typelevel-steward[bot] in #783
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.4 by @typelevel-steward[bot] in #784
  • Update logback-classic to 1.5.23 by @typelevel-steward[bot] in #785
  • Update sbt-scalajs, scalajs-compiler, ... to 1.20.2 by @typelevel-steward[bot] in #787
  • Update sbt-scoverage to 2.4.4 by @typelevel-steward[bot] in #789
  • Update logback-classic to 1.5.27 by @typelevel-steward[bot] in #795
  • Bump SBT version by @milessabin in #799
  • Update ojdbc8 to 23.26.1.0.0 by @typelevel-steward[bot] in #797
  • Update logback-classic to 1.5.28 by @typelevel-steward[bot] in #798
  • Update logback-classic to 1.5.29 by @typelevel-steward[bot] in #800
  • Update logback-classic to 1.5.31 by @typelevel-steward[bot] in #802
  • Update sbt, scripted-plugin to 1.12.3 by @typelevel-steward[bot] in #803
  • Update logback-classic to 1.5.32 by @typelevel-steward[bot] in #804
  • Update doobie-core, doobie-hikari, ... to 1.0.0-RC12 by @typelevel-steward[bot] in #805
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.5 by @typelevel-steward[bot] in #806
  • Update sbt, scripted-plugin to 1.12.4 by @typelevel-steward[bot] in #807
  • Update sbt, scripted-plugin to 1.12.5 by @typelevel-steward[bot] in #808
  • Update cats-effect to 3.7.0 by @typelevel-steward[bot] in #809
  • Update log4cats-core, log4cats-slf4j to 2.8.0 by @typelevel-steward[bot] in #810
  • Update mssql-jdbc to 13.4.0.jre11 by @typelevel-steward[bot] in #812
  • Update sbt, scripted-plugin to 1.12.8 by @typelevel-steward[bot] in #815
  • Update sbt-scalajs, scalajs-compiler, ... to 1.21.0 by @typelevel-steward[bot] in #816
  • Update sbt, scripted-plugin to 1.12.9 by @typelevel-steward[bot] in #818
  • Update sbt, scripted-plugin to 1.12.11 by @typelevel-steward[bot] in #821
  • Update Native to v0.5 and Skunk to v1 by @hugo-vrijswijk in #822
  • Update ojdbc8 to 23.26.2.0.0 by @typelevel-steward[bot] in #823

Full Changelog: v0.26.0...v0.27.0

v0.26.0

29 Nov 13:24
6821d96

Choose a tag to compare

What's Changed

Updates

  • Update sbt, scripted-plugin to 1.11.4 by @typelevel-steward[bot] in #740
  • Update doobie-core, doobie-hikari, ... to 1.0.0-RC10 by @typelevel-steward[bot] in #737
  • Update cats-effect to 3.6.3 by @typelevel-steward[bot] in #738
  • Update ojdbc8 to 23.9.0.25.07 by @typelevel-steward[bot] in #739
  • Update mssql-jdbc to 13.2.0.jre11 by @typelevel-steward[bot] in #741
  • Update http4s-circe, http4s-dsl, ... to 0.23.32 by @typelevel-steward[bot] in #750
  • Update fs2-core, fs2-io to 3.12.2 by @typelevel-steward[bot] in #746
  • Update sbt, scripted-plugin to 1.11.6 by @typelevel-steward[bot] in #747
  • Update sbt-header to 5.11.0 by @typelevel-steward[bot] in #748
  • Update sbt-jmh to 0.4.8 by @typelevel-steward[bot] in #751
  • Update logback-classic to 1.5.19 by @typelevel-steward[bot] in #752
  • Update kind-projector to 0.13.4 by @typelevel-steward[bot] in #753
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.1 by @typelevel-steward[bot] in #754
  • Update sbt, scripted-plugin to 1.11.7 by @typelevel-steward[bot] in #755
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.2 by @typelevel-steward[bot] in #757
  • Update mssql-jdbc to 13.2.1.jre11 by @typelevel-steward[bot] in #758
  • Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 by @typelevel-steward[bot] in #759
  • Update logback-classic to 1.5.20 by @typelevel-steward[bot] in #763
  • Update sbt-scoverage to 2.4.0 by @typelevel-steward[bot] in #765
  • Update ojdbc8 to 23.26.0.0.0 by @typelevel-steward[bot] in #767
  • Update http4s-circe, http4s-dsl, ... to 0.23.33 by @typelevel-steward[bot] in #768
  • Update sbt-scoverage to 2.4.1 by @typelevel-steward[bot] in #769
  • Update doobie-core, doobie-hikari, ... to 1.0.0-RC11 by @typelevel-steward[bot] in #770
  • Update logback-classic to 1.5.21 by @typelevel-steward[bot] in #771
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.3 by @typelevel-steward[bot] in #773
  • Update GraphQL doc spec URLs to spec.graphql.org by @hugo-vrijswijk in #774
  • Update sbt-scoverage to 2.4.2 by @typelevel-steward[bot] in #777
  • Update scala-library to 2.13.18 by @typelevel-steward[bot] in #778

New Contributors

Full Changelog: v0.25.0...v0.26.0

v0.25.0

12 Jul 15:23
db31ec1

Choose a tag to compare

What's Changed

Updates

  • Update cats-effect to 3.6.0 by @typelevel-steward[bot] in #715
  • Update fs2-core, fs2-io to 3.12.0 by @typelevel-steward[bot] in #716
  • Update munit-cats-effect to 2.1.0 by @typelevel-steward[bot] in #718
  • Update cats-effect to 3.6.1 by @typelevel-steward[bot] in #719
  • Update doobie-core, doobie-hikari, ... to 1.0.0-RC9 by @typelevel-steward[bot] in #720
  • Update scala3-compiler, scala3-library, ... to 3.3.6 by @typelevel-steward[bot] in #722
  • Update ojdbc8 to 23.8.0.25.04 by @typelevel-steward[bot] in #721
  • Update sbt, scripted-plugin to 1.11.0 by @typelevel-steward[bot] in #724
  • Update log4cats-core, log4cats-slf4j to 2.7.1 by @typelevel-steward[bot] in #725
  • Update sbt, scripted-plugin to 1.11.1 by @typelevel-steward[bot] in #726
  • Update sbt-typelevel, sbt-typelevel-site to 0.8.0 by @typelevel-steward[bot] in #727
  • Update sbt, scripted-plugin to 1.11.2 by @typelevel-steward[bot] in #729
  • Update mssql-jdbc to 12.10.1.jre11 by @typelevel-steward[bot] in #730
  • Update sbt, scripted-plugin to 1.11.3 by @typelevel-steward[bot] in #732
  • Update cats-effect to 3.6.2 by @typelevel-steward[bot] in #735

New Contributors

Full Changelog: v0.24.0...v0.25.0

v0.24.0

23 Mar 10:52
27ad089

Choose a tag to compare

What's Changed

The primary change is an update to doobie 1.0.0-RC8 which fixes regressions in 1.0.0-RC7 that affected downstream projects.

Updates

  • Update ojdbc8 to 23.6.0.24.10 by @typelevel-steward in #684
  • Update http4s-circe, http4s-dsl, ... to 0.23.30 by @typelevel-steward in #685
  • Update logback-classic to 1.5.15 by @typelevel-steward in #688
  • Update sbt, scripted-plugin to 1.10.7 by @typelevel-steward in #689
  • Update sbt-typelevel, sbt-typelevel-site to 0.7.5 by @typelevel-steward in #690
  • Update logback-classic to 1.5.16 by @typelevel-steward in #691
  • Update sbt-typelevel, sbt-typelevel-site to 0.7.6 by @typelevel-steward in #695
  • Bumped dependencies by @milessabin in #699
  • Update scala3-compiler, scala3-library, ... to 3.3.5 by @typelevel-steward in #701
  • Update ojdbc8 to 23.7.0.25.01 by @typelevel-steward in #702
  • Upgrade doobie to (future) 1.0.0-RC8 by @jatcwang in #704
  • Update sbt-scoverage to 2.3.1 by @typelevel-steward in #705
  • Update logback-classic to 1.5.17 by @typelevel-steward in #706
  • Update sbt, scripted-plugin to 1.10.10 by @typelevel-steward in #711
  • Update sbt, scripted-plugin to 1.10.11 by @typelevel-steward in #712
  • Update mssql-jdbc to 12.10.0.jre11 by @typelevel-steward in #713
  • Update logback-classic to 1.5.18 by @typelevel-steward in #714

Full Changelog: v0.23.0...v0.24.0

v0.23.0

30 Nov 16:22
993fe70

Choose a tag to compare

What's Changed

  • Modularised and added Oracle and SQL Server backends by @milessabin in #675

    • Split sql module into sql-core and sql-pg, the latter containing Postgres specfics shared by doobie-pg and skunk.
    • Split off doobie-core from doobie-pg removing all Postgres specfics from the former.
    • Factored out all Postgres specifics from SqlMapping.
    • Added Oracle backend.
    • Added SQL Server backend.
    • Reduced the use of lateral subqueries to a minimum.
    • Simplified SqlSelect nesting logic.
    • Avoid nested conditions being captured by predicate subqueries.
    • Replaced whale-tail with call outs to docker-compose allowing container to be shared by all suites across multiple test runs.

    Running tests (eg. rootJVM/test) will automatically spin up the relevant containers, which will stay up and can be reused across multiple tests runs, significantly speeding up the test cycle. I recommend running allUp initially, to pull images and initialise databases, before running tests the first time. Note that Oracle in particular takes quite a long time to initialise, so expect allUp to take several minutes to complete the first time around.

    There have been some changes in compilation of queries for Postgres, primarily a reduction in the usage of lateral subqueries (partly to simplify the implementation for SQL Server, which has a subtly different mechanism for achieving similar effects). These changes should preserve expected results, and reports of any changes in behaviour, including performance regressions, would be very much appreciated.

Updates

  • Added checks for exit code 0 by @phdoerfler in #679
  • Update sbt-typelevel, sbt-typelevel-site to 0.7.4 by @typelevel-steward in #664
  • Update sbt-scoverage to 2.2.2 by @typelevel-steward in #668
  • Update http4s-circe, http4s-dsl, ... to 0.23.29 by @typelevel-steward in #670
  • Update logback-classic to 1.5.12 by @typelevel-steward in #671
  • Update sbt-buildinfo to 0.13.1 by @typelevel-steward in #677
  • Update cats-effect to 3.5.7 by @typelevel-steward in #682
  • Update sbt, scripted-plugin to 1.10.6 by @typelevel-steward in #683

Full Changelog: v0.22.0...v0.23.0

v0.22.0

14 Sep 16:16
5df3486

Choose a tag to compare

What's Changed

Updates

  • Update sbt-scoverage to 2.2.0 by @typelevel-steward in #653
  • Update http4s-circe, http4s-dsl, ... to 0.23.28 by @typelevel-steward in #654

Full Changelog: v0.21.0...v0.22.0

v0.21.0

07 Sep 14:51
8d96e8e

Choose a tag to compare

What's Changed

Updates

  • Update scala-java-time to 2.6.0 by @typelevel-steward in #632
  • Update flyway-database-postgresql to 10.15.0 by @typelevel-steward in #633
  • Update circe-core, circe-generic, ... to 0.14.8 by @typelevel-steward in #635
  • Update sbt-scoverage to 2.1.0 by @typelevel-steward in #639
  • Update sbt to 1.10.1 by @typelevel-steward in #640
  • Update whale-tail-manager to 0.0.12 by @typelevel-steward in #643
  • Update sbt-typelevel, sbt-typelevel-site to 0.7.2 by @typelevel-steward in #641
  • Update logback-classic to 1.5.7 by @typelevel-steward in #645
  • Update sbt-scoverage to 2.1.1 by @typelevel-steward in #648
  • Update fs2-core, fs2-io to 3.11.0 by @typelevel-steward in #649
  • Update sbt-typelevel, sbt-typelevel-site to 0.7.3 by @typelevel-steward in #651
  • Update logback-classic to 1.5.8 by @typelevel-steward in #652

Full Changelog: v0.20.0...v0.21.0

v0.20.0

07 Jun 12:23
379bb72

Choose a tag to compare

What's Changed

  • Reworked interfaces and implementations by @milessabin in #631
    • Object type fields mapped at the interface level and interface type fields which are implemented or overridden at the object type level are now explicitly represented internally. This allows both more efficient lookup of inherited field mappings and correct lookup of overriden field mappings.
    • Field mapping lookup is now more effectively indexed in TypeMappings. This might give a noticeable performance improvement for ValueMapping. Now that this indexing in centralised in TypeMappings, the per-ObjectMapping field indices have been removed. If this proves problematic for applications it could be reinstated.
    • Schema validation now enforces the uniqueness of interfaces in implements clauses.
    • Schema validation now enforces that object and interface types must directly implement all transitively implemented interfaces. The allInterfaces method on InterfaceType has been deprecated because with the preceding validation change it is equivalent to interfaces.
    • Mapping validation now ensures that discriminator attributes for SqlInterfaceMapping are not polymorphic.
    • The Mapping-specific logic of mkCursorForField has been extracted to mkCursorForMappedField allowing simpler mapping-specific implementations.
    • Previously introspection did not report interfaces implemented by interfaces.
    • Added Schema#implementations which returns the implementing object types of an interface.
    • The unsafe TypeMappings constructor has been deprecated and renamed to unchecked.
    • TypeMappings#unsafe has been renamed to unchecked and hidden.
    • The implementations of hasField, nullableHasField, hasPath and hasListPath in Cursor had incorrect semantics and appear to be unused, so rather than fix them, they have been removed.
    • Various tests have been updated to conform to the newly implemented validation rules and changes to field mapping lookup.

Updates

  • Update munit-cats-effect to 2.0.0 by @typelevel-steward in #626
  • Update cats-core, cats-laws to 2.11.0 by @typelevel-steward in #627
  • Update flyway-database-postgresql to 10.14.0 by @typelevel-steward in #629

Full Changelog: v0.19.1...v0.20.0