v4.0.0
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
- Update classgraph to 4.8.157 by @scala-steward in #978
- Update refined to 0.10.3 by @scala-steward in #980
- split context file by @yanns in #985
- prepare for custom resolver by @yanns in #986
- Update sbt-mima-plugin to 1.1.2 by @scala-steward in #983
- Update scalafmt-core to 3.7.3 by @scala-steward in #984
- add minimal support for resolve function returning IO by @yanns in #987
- same order as ObjectTypeExtensionDefinition by @yanns in #988
- Update sbt-coveralls to 1.3.7 by @scala-steward in #990
- Update cats-effect to 3.4.9 by @scala-steward in #994
- Update sbt-coveralls to 1.3.8 by @scala-steward in #996
- Update cats-effect to 3.4.10 by @scala-steward in #998
- Update sbt-ci-release to 1.5.12 by @scala-steward in #999
- Update fs2-core to 3.7.0 by @scala-steward in #1002
- Update sbt to 1.8.3 by @scala-steward in #1005
- Update scalatest to 3.2.16 by @scala-steward in #1006
- Update cats-effect to 3.4.11 by @scala-steward in #1007
- Update cats-effect to 3.5.0 by @scala-steward in #1008
- Update classgraph to 4.8.160 by @scala-steward in #1003
New Contributors
- @filosganga made their first contribution in #981
- @keirlawson made their first contribution in #997
Full Changelog: v3.5.3...v4.0.0