Skip to content

Releases: sangria-graphql/sangria

v2.1.3

17 Apr 18:44
a5fccba
Compare
Choose a tag to compare

What’s Changed

v2.1.2

16 Apr 18:18
6ba34ad
Compare
Choose a tag to compare

The version 2.1.1 was never published.

Main changes

  • support for configuring max concurrent batches in fetcher (#612) @nickhudkins
  • validate that different instances of InputObjectType with the same name are the same (#611) @yanns
  • Support implicit output type lookups for interface types. (#600) @ocordsen
  • Support Args in ProjectedNames (#563) @nickhudkins

Those new features change the signature of the following classes:

sangria.schema.ProjectedName
sangria.schema.Args
sangria.execution.deferred.FetcherConfig

The changes use defaults to avoid breaking the compilation of your projects.

Other changes

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