Release Notes - Guillotine 7

Contents

This release includes breaking changes

Release features

Extensions

Extensions are a new way how to extend the GraphQL schema. They are more powerful and flexible than the creationCallbacks in the Guillotine Lib. Now you can extend the GraphQL schema with custom types, input types, enums, unions, and interfaces, set or override data fetcher and type resolvers, modify already existing interfaces and types. See extensions for more information.

LocalContext

LocalContext allows sharing data between parent and child fields. See here for more information.

createDataFetcherResult function

This function allows you to create a DataFetcherResult object with the data and localContext fields to be returned from the data fetcher. See more information here.

Migrated from JS to Java

Guillotine has been fully reimplemented from JavaScript to Java. This transition has not only improved the performance and stability of the application but also enabled the implementation of more powerful and flexible ways of extending and customizing the GraphQL schema.

Breaking changes

Subscriptions are not supported anymore

Due to limited use, GraphQL subscriptions are not supported anymore. You have to implement your own solution for this without using Guillotine.

Params as JSON instead of String

For such fields as pageUrl, mediaUrl, imageUrl and attachmentUrl the params argument has Json type instead of String.


Contents

Contents