Releases: sangria-graphql/sangria
Releases · sangria-graphql/sangria
v2.1.0
What’s Changed
- Correctly resolve member types of type-parameterized classes (#527) @nickhudkins
- Remove Scala 2.11 Support 🔥 (#533) @nickhudkins
- Lazy Union Types (#534) @nickhudkins
This last change is not binary compatible. The signature ofUnionType
has changed from:
case class UnionType[Ctx](
types: List[ObjectType[Ctx, _]],
to
case class UnionType[Ctx](
typesFn: () => List[ObjectType[Ctx, _]],
Existing codebase should still compile through the appropriate apply
function.
Full changelog
- Update classgraph to 4.8.98 (#554) @scala-steward
- Update sangria-streaming-api to 1.0.2 (#560) @scala-steward
- Update sangria-marshalling-api to 1.0.5 (#559) @scala-steward
- Update macro-visit to 0.1.3 (#558) @scala-steward
- Update sbt to 1.4.6 (#555) @scala-steward
- fix some warnings (#553) @yanns
- Update classgraph to 4.8.97 (#550) @scala-steward
- Update fs2-core to 2.5.0 (#551) @scala-steward
- Scalafmt (#548) @yanns
- use github actions (#547) @yanns
- Update classgraph to 4.8.95 (#544) @scala-steward
- Update sbt to 1.4.5 (#545) @scala-steward
- Update fs2-core to 2.4.6 (#537) @scala-steward
- Update classgraph to 4.8.94 (#535) @scala-steward
- Update sbt-pgp to 2.1.1 (#538) @scala-steward
- Update refined to 0.9.19 (#539) @scala-steward
- Update classgraph to 4.8.94 (#540) @scala-steward
- Update parboiled to 2.2.1 (#541) @scala-steward
- Update sbt to 1.4.4 (#542) @scala-steward
- Update scalatest to 3.2.3 (#543) @scala-steward
- Assorted refactorings (#404) @nightscape
- Update sbt-mima-plugin to 0.8.1 (#526) @scala-steward
- Update sbt-pgp to 2.0.2 (#530) @scala-steward
- Travis CI (#532) @nickhudkins
v2.0.1
What’s Changed
Main changes
Other changes
- ensure emitting jvm 8 bytecode (#522) @yanns
- scalatest 3.2.2 (#519) @yanns
- scala 2.13.3 (#518) @yanns
- Update sbt to 1.3.13 (#501) @scala-steward
- Fix broken website links in README (#516) @anagrius
- Update scalatest to 3.1.4 (#510) @scala-steward
- Update sbt-jmh to 0.4.0 (#511) @scala-steward
- Update sbt-mima-plugin to 0.8.0 (#512) @scala-steward
v2.0.0
Important changes from 1.x version
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M1
- support Scala 2.13 @travisbrown
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M2
- Use AstSchemaBuilder from args rather the default one (#6) @Axxiss
- Apply max batch size to relation (#7) @maxperrimond
- Rename 'oldFiledType' to 'oldFieldType' in SchemaComparator (#13) @Axxiss
- [Experimental] Faster version of the field selection merging validation (#12) @SimonAdameit
Check the PR description to see how this new faster merging validation can be activated in your project. Depending on the feedback, this could become the default merging validation logic in the future.
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M4
- Validation for non-breakable chains of circular references in Input Objects (#48) @nikola-mladenovic
- GraphQLOutputType and GraphQLInputType annotationsField type override annotations (#36) @khoberg
from v2.0.0-RC1
- scala 2.13.2 (#63) @yanns
- Add macro support for @GraphQLInputType annotation for method arguments (#59) @khoberg
from v2.0.0-RC2
v2.0.0-RC2
Important changes from 1.x version
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M1
- support Scala 2.13
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M2
- Use AstSchemaBuilder from args rather the default one (#6) @Axxiss
- Apply max batch size to relation (#7) @maxperrimond
- Rename 'oldFiledType' to 'oldFieldType' in SchemaComparator (#13) @Axxiss
- [Experimental] Faster version of the field selection merging validation (#12) @SimonAdameit
Check the PR description to see how this new faster merging validation can be activated in your project. Depending on the feedback, this could become the default merging validation logic in the future.
from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M4
- Validation for non-breakable chains of circular references in Input Objects (#48) @nikola-mladenovic
- GraphQLOutputType and GraphQLInputType annotationsField type override annotations (#36) @khoberg
from v2.0.0-RC1
v2.0.0-RC1
v2.0.0-M4
v2.0.0-M3
v2.0.0-M2
v2.0.0-M1
From https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M1
This is the first milestone release of the 2.x series and the first Sangria release to support Scala 2.13.
Many of Sangria's modules (for marshalling and streaming integrations, etc.) are also now available for 2.13:
- https://github.com/sangria-graphql-org/macro-visit/releases/tag/v0.1.2
- https://github.com/sangria-graphql-org/sangria-argonaut/releases/tag/v1.0.1
- https://github.com/sangria-graphql-org/sangria-circe/releases/tag/v1.3.0
- https://github.com/sangria-graphql-org/sangria-ion/releases/tag/v2.0.0
- https://github.com/sangria-graphql-org/sangria-marshalling-api/releases/tag/v1.0.4
- https://github.com/sangria-graphql-org/sangria-marshalling-testkit/releases/tag/v1.0.2
- https://github.com/sangria-graphql-org/sangria-monix/releases/tag/v2.0.0
- https://github.com/sangria-graphql-org/sangria-spray-json/releases/tag/v1.0.2
- https://github.com/sangria-graphql-org/sangria-streaming-api/releases/tag/v1.0.1
This 2.0.0-M1 release includes several changes:
- Schemas now support descriptions.
- Some deprecated introspection fields have been removed.
- Directives are now allowed on variable definitions.
- There's a new
MappedAbstractType
transformation. - There are a number of changes (mostly trivial or to tests) that were needed to support Scala 2.13.
This milestone release is intended primarily to unblock adopters who are migrating to Scala 2.13, and is not guaranteed to be binary compatible with the eventual 2.x series. While these changes are well-tested, this is a pre-release milestone; please use with care and report any issues you come across.
v1.4.2
- Removed
InterfaceMustHaveImplementationValidationRule
validation rule (spec change) (#379). Since its introduction in previous release, it caused some issues (to sangria users as well users of other implementations). So it was removed from the GraphQL spec and sangria for now. - Exposed more contextual information to a fetcher, including fetcher cache (#377). Fetcher now can be created with a set of new helper methods
*WithContext
which provideFetcherContext
as an argument to fetch functions. AstSchemaMaterializer
now re-creates existing field argument types (thus able to use newly created input types)- Added visitor helpers in
AstNode
(they just delegate all functionality toAstVisitor
) - More minor improvements for better compatibility with GraalVM
native-image
. - Continued work on GraphQL CATs (Compatibility Acceptance Tests). Most recent changes and validation scenarios were added. Some
Violation
s now implementSpecViolation
which provides CATs-compliant errorcode
and arguments.