Releases: sangria-graphql/sangria
v4.2.1
What’s Changed
Maintenance
- Update sbt-scoverage to 2.2.2 (#1147) @scala-steward
- Update sbt, scripted-plugin to 1.10.3 (#1146) @scala-steward
- Update sbt-ci-release to 1.8.0 (#1145) @scala-steward
- Update sbt-ci-release to 1.7.0 (#1143) @scala-steward
- Update classgraph to 4.8.177 (#1142) @scala-steward
- Update sbt-coveralls to 1.3.14 (#1141) @scala-steward
- Update scala-library, scala-reflect to 2.13.15 (#1137) @scala-steward
- Update sbt-scoverage to 2.2.1 (#1138) @scala-steward
- Update classgraph to 4.8.176 (#1135) @scala-steward
- Update sbt to 1.10.2 (#1134) @scala-steward
- Update scala-library, scala-reflect to 2.12.20 (#1131) @scala-steward
- Update sbt-scoverage to 2.2.0 (#1132) @scala-steward
- Update fs2-core to 3.11.0 (#1130) @scala-steward
v4.2.0
What's Changed
- Support oneOf directive on input objects by @asteinwedel in #1119
- Fix: Schema rendering problems with Windows line separators by @ArminWiebigke in #1129
Maintenance
- Update sbt to 1.10.1 by @scala-steward in #1117
- Update sbt-coveralls to 1.3.12 by @scala-steward in #1118
- Update scalafmt-core to 3.8.3 by @scala-steward in #1120
- Update sbt-coveralls to 1.3.13 by @scala-steward in #1121
- Update sbt-ci-release to 1.6.0 by @scala-steward in #1122
- Update sbt-mima-plugin to 1.1.4 by @scala-steward in #1123
- Update sbt-ci-release to 1.6.1 by @scala-steward in #1126
- Update classgraph to 4.8.175 by @scala-steward in #1127
- Update sbt-scoverage to 2.1.1 by @scala-steward in #1128
New Contributors
- @ArminWiebigke made their first contribution in #1129
Full Changelog: v4.1.1...v4.2.0
v4.2.0-RC1
What's Changed
- Support oneOf directive on input objects by @asteinwedel in #1119
Full Changelog: v4.1.1...v4.2.0-RC1
v4.1.1
What's Changed
Maintenance work
- Update sbt-github-actions to 0.23.0 by @scala-steward in #1086
- Update scalatest to 3.2.18 by @scala-steward in #1088
- Update scalafmt-core to 3.8.0 by @scala-steward in #1087
- Update sbt-scoverage to 2.0.10 by @scala-steward in #1089
- Update sbt to 1.9.9 by @scala-steward in #1090
- Update sbt-scoverage to 2.0.11 by @scala-steward in #1091
- Update cats-effect to 3.5.4 by @scala-steward in #1096
- Update classgraph to 4.8.168 by @scala-steward in #1097
- Update fs2-core to 3.10.2 by @scala-steward in #1100
- Update scalafmt-core to 3.8.1 by @scala-steward in #1101
- Update classgraph to 4.8.170 by @scala-steward in #1102
- Update classgraph to 4.8.172 by @scala-steward in #1103
- Update sbt-scoverage to 2.0.12 by @scala-steward in #1105
- Update sbt to 1.10.0 by @scala-steward in #1106
- Update refined to 0.11.2 by @scala-steward in #1107
- Update classgraph to 4.8.173 by @scala-steward in #1108
- Update scalafmt-core to 3.8.2 by @scala-steward in #1110
- Update classgraph to 4.8.174 by @scala-steward in #1112
- Update scalatest to 3.2.19 by @scala-steward in #1113
- Update sbt-scoverage to 2.1.0 by @scala-steward in #1114
- Update scala-library, scala-reflect to 2.13.14 by @scala-steward in #1104
- Update sbt-github-actions to 0.24.0 by @scala-steward in #1111
- Update scala-library, scala-reflect to 2.12.19 by @scala-steward in #1092
- Update scala3-library to 3.3.3 by @scala-steward in #1094
- remove mailing list by @yanns in #1116
Full Changelog: v4.1.0...v4.1.1
v4.1.0
What's Changed
The release brings support for @deprecated
on argument and input field.
- add input value deprecation by @asteinwedel in #1063
- Input deprecation tracker by @asteinwedel in #1064
- include enums on directive args in schema introspection by @asteinwedel in #1067
Maintenance
- Update scala-library, scala-reflect to 2.13.12 by @scala-steward in #1058
- Update sbt to 1.9.6 by @scala-steward in #1059
- Update cats-effect to 3.5.2 by @scala-steward in #1062
- Update sbt-github-actions to 0.17.0 by @scala-steward in #1061
- Update fs2-core to 3.9.2 by @scala-steward in #1057
- Update classgraph to 4.8.163 by @scala-steward in #1066
- Update sbt-github-actions to 0.18.0 by @scala-steward in #1065
- Update scalafmt-core to 3.7.15 by @scala-steward in #1071
- Update sbt-github-actions to 0.19.0 by @scala-steward in #1069
- Update sbt to 1.9.7 by @scala-steward in #1070
- Update fs2-core to 3.9.3 by @scala-steward in #1072
- Update classgraph to 4.8.164 by @scala-steward in #1073
- Update parboiled to 2.5.1 by @scala-steward in #1074
- Update classgraph to 4.8.165 by @scala-steward in #1076
- Update scalafmt-core to 3.7.17 by @scala-steward in #1077
- Update sbt-github-actions to 0.22.0 by @scala-steward in #1079
- Update sbt to 1.9.8 by @scala-steward in #1080
- Update sbt-jmh to 0.4.7 by @scala-steward in #1081
- Update cats-effect to 3.5.3 by @scala-steward in #1082
- Update fs2-core to 3.9.4 by @scala-steward in #1083
- Update refined to 0.11.1 by @scala-steward in #1085
New Contributors
- @asteinwedel made their first contribution in #1063
Full Changelog: v4.0.2...v4.1.0
v4.1.0-RC1
What's Changed
- Update scala-library, scala-reflect to 2.13.12 by @scala-steward in #1058
- Update sbt to 1.9.6 by @scala-steward in #1059
- Update cats-effect to 3.5.2 by @scala-steward in #1062
- Update sbt-github-actions to 0.17.0 by @scala-steward in #1061
- Update fs2-core to 3.9.2 by @scala-steward in #1057
- add input value deprecation by @asteinwedel in #1063
- Input deprecation tracker by @asteinwedel in #1064
New Contributors
- @asteinwedel made their first contribution in #1063
Full Changelog: v4.0.2...v4.1.0-RC1
v4.0.2
What's Changed
- Limit number of errors returned (when variables are used) by @bc-dima-pasieka in #1034
- use a max number of errors by default by @yanns in #1049
Maintenance
- Update sbt to 1.9.1 by @scala-steward in #1023
- Update scalafmt-core to 3.7.5 by @scala-steward in #1024
- Update cats-effect to 3.5.1 by @scala-steward in #1025
- Update scalafmt-core to 3.7.6 by @scala-steward in #1026
- Update sbt-mima-plugin to 1.1.3 by @scala-steward in #1035
- Update sbt to 1.9.3 by @scala-steward in #1036
- Update fs2-core to 3.8.0 by @scala-steward in #1038
- Update scalafmt-core to 3.7.12 by @scala-steward in #1039
- Update classgraph to 4.8.162 by @scala-steward in #1042
- Update sbt-coveralls to 1.3.11 by @scala-steward in #1043
- Update sbt to 1.9.4 by @scala-steward in #1044
- Update sbt-scalafmt to 2.5.1 by @scala-steward in #1045
- Update scalafmt-core to 3.7.13 by @scala-steward in #1046
- Update sbt-github-actions to 0.16.0 by @scala-steward in #1048
- Update fs2-core to 3.9.1 by @scala-steward in #1047
- Update macro-visit to 0.2.0 by @scala-steward in #1050
- Update sbt-scoverage to 2.0.9 by @scala-steward in #1055
- Update sbt-jmh to 0.4.6 by @scala-steward in #1056
- Update scalafmt-core to 3.7.14 by @scala-steward in #1053
- Update scalatest to 3.2.17 by @scala-steward in #1054
- Update sbt-scalafmt to 2.5.2 by @scala-steward in #1052
- Update scala3-library to 3.3.1 by @scala-steward in #1051
Full Changelog: v4.0.1...v4.0.2
v4.0.1
What's Changed
- Add an option to limit number of errors returned by @bc-dima-pasieka in #1017
This introduces a small breaking changes if you are usingnew RuleBasedQueryValidator(rules)
. - enum derivation produces values in deterministic order by @yanns in #1021
Maintenance
- Update scalafmt-core to 3.7.4 by @scala-steward in #1010
- Update sbt to 1.9.0 by @scala-steward in #1011
- Update sbt-scoverage to 2.0.8 by @scala-steward in #1013
- Update sbt-jmh to 0.4.5 by @scala-steward in #1014
- Update scala-library, scala-reflect to 2.13.11 by @scala-steward in #1016
- Update scala-library, scala-reflect to 2.12.18 by @scala-steward in #1015
- check binary compatibility with 4.0 release by @yanns in #1019
- Update refined to 0.11.0 by @scala-steward in #1020
- Update sbt-github-actions to 0.15.0 by @scala-steward in #1012
New Contributors
- @bc-dima-pasieka made their first contribution in #1017
Full Changelog: v4.0.0...v4.0.1
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
v4.0.0-RC5
What's Changed
- Allow overriding builtin scalars by @filosganga in #1001
- Add scaladoc for Arg methods by @keirlawson in #997
Maintenance
- 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
New Contributors
- @keirlawson made their first contribution in #997
Full Changelog: v4.0.0-RC4...v4.0.0-RC5