sangria v1.3.3 Release Notes
Release Date: 2017-12-03 // over 6 years ago-
- ๐ฅ Added support for string-based descriptions in SDL and implement most recent SDL-related changes (#303, #304, #305) (spec change). Breaking change for all SDL users. The type, field and enum value descriptions are now handled differently in the SDL.
Old format (comment-based):
# This is a description # of the `Foo` type. type Foo implements Bar { # another description one: Type }
New format (string-based):
""" This is a description of the `Foo` type. """ type Foo implements Bar { "another description" one: Type }
Migration path: by default (and after the update) only new description format is used. The old (comment-based) format is still will be supported for several version. In order to enable description handling in the old format, please override
DefaultAstSchemaBuilder.useLegacyCommentDescriptions
or useAstSchemaBuilder.defaultWithLegacyCommentDescriptions
.- โ Added block string support (#260, #301) (spec change). Here is an example of the new multi-line string syntax:
mutation { sendEmail(message: """ Hello, World! Yours, GraphQL. """) }
- โ Added
relOnly
andrelOnlyCaching
methods toFetcher
. Thanks to @kuppuswamy for this contribution! - ๐ Fixed a validation of nested InputObjectType with same property names (#292).
- ๐ Improved performance of
Document.hashCode
which had a big influence on performance of the AST-based schema builder.