Skip to content

v4.0.0

Compare
Choose a tag to compare
@release-drafter release-drafter released this 30 May 09:49
· 299 commits to refs/heads/main since this release
v4.0.0
3f9a095

Sangria v4.0.0

This is a new major release of sangria. This major release is necessary as binary compatibility is broken by the following changes:

  • Add support for interface implementing interface in #981 (more on this later)
  • update to scala 3.3.0 in #1009
  • If you are using parboiled yourself: update parboiled to 2.5.0 in #1004

We tried hard to keep source backwards compatibility to make update an easy process.
It can even be the case that the binary compatibility is not broken for your application.

If you are using libraries depending on sangria, the recommended way is to update sangria at the same time as those libraries. But you can also try to force a sangria update by using the following sbt config:

ThisBuild / libraryDependencySchemes += "org.sangria-graphql" %% "sangria" % VersionScheme.Always

New features

Add support for interface implementing interface

by @filosganga in #981

Interface implementing interface are in the GraphQL specs since https://github.com/graphql/graphql-spec/blob/main/changelogs/October2021.md
They are now implemented in sangria. If you are using them, this might change the GraphQL schema you are exposing.

experimental support for cats effect.

This adds support for cats effect IO and probably any effect library that has an implementation for cats.effect.Async.
This support is very minimal.
Please see #987 for more details

To prepare this change, sangria.execution.Resolver was made private in #977

Fix TypeComparators

by @filosganga in #989

Allow overriding builtin scalars

by @filosganga in #1001

Add scaladoc for Arg methods

by @keirlawson in #997

Other changes - Maintenance

New Contributors

Full Changelog: v3.5.3...v4.0.0