Skip to content

Releases: sangria-graphql/sangria

v2.1.0

01 Jan 13:48
Compare
Choose a tag to compare

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 of UnionType 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

v2.0.1

06 Oct 12:41
v2.0.1
ba87ff1
Compare
Choose a tag to compare

What’s Changed

Main changes

Other changes

v2.0.0

07 Jun 10:12
v2.0.0
c66a488
Compare
Choose a tag to compare

Important changes from 1.x version

Some releases were made from a temporary fork the time we get the permissions to use this original repository.

from https://github.com/sangria-graphql-org/sangria/releases/tag/v2.0.0-M1

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

  • emit jvm 8 bytecode for scala >= 2.12 (#495) @yanns
  • Use cacheKey of id supplied to SimpleFetcherCache::clearId (#443) @jackl
  • helps scalac: explicit return type for implicit conversions (#488) @yanns

v2.0.0-RC2

28 Apr 15:09
v2.0.0-RC2
c549b6e
Compare
Choose a tag to compare
v2.0.0-RC2 Pre-release
Pre-release

Important changes from 1.x version

Some releases were made from a temporary fork the time we get the permissions to use this original repository.

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

  • scala 2.13.2 (#63) @yanns
  • Add macro support for @GraphQLInputType annotation for method arguments (#59) @khoberg

v2.0.0-RC1

28 Apr 08:34
v2.0.0-RC1
5282d7c
Compare
Choose a tag to compare

v2.0.0-M4

28 Apr 08:34
v2.0.0-M4
ed0c1a3
Compare
Choose a tag to compare

v2.0.0-M3

28 Apr 08:33
v2.0.0-M3
00fc7a0
Compare
Choose a tag to compare

v2.0.0-M2

28 Apr 08:33
v2.0.0-M2
Compare
Choose a tag to compare

v2.0.0-M1

28 Apr 08:32
Compare
Choose a tag to compare
v2.0.0-M1 Pre-release
Pre-release

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:

This 2.0.0-M1 release includes several changes:

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

13 Aug 16:18
Compare
Choose a tag to compare
  • 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 provide FetcherContext 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 to AstVisitor)
  • 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 Violations now implement SpecViolation which provides CATs-compliant error code and arguments.