Graphql Java Servlet Versions Save

Servlet endpoint for GraphQL Java

v15.2.0extension

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/graphql-java-kickstart/graphql-java-servlet/compare/v15.0.0...v15.2.0extension

v15.0.0

1 year ago

💥 Breaking changes

Updated the source and target versions of Java to v17.

✨ Features

  • Support for newer jakarta servlet specs #484

📦 Dependencies

  • update slf4j to v2.0.5
  • update jackson to v2.14.1
  • update graphql-java to v19.3
  • update spring core to v6.0.0
  • update groovy to v3.0.13
  • update jdk to v17
  • update gradle to v7.6
  • update biz.aQute.bnd.builder to v6.4.0
  • update sonarqube to v3.5.0.2730

v14.0.0

1 year ago

🐞 Bugfixes

  • Servlet fails to recognize application/graphql when charset is specified #471

📦 Dependencies

  • upgrade graphql-java to v19.1

v13.0.1

1 year ago

Bugfixes

  • For non-async servlet wait until GraphQL async operation finished. #470

v13.0.0

1 year ago

:beetle: Bug fixes

  • GraphQLPostInvocationInputParser may distort query string read from HttpServletRequest #385
  • Shutdown executor and provide new endpoint constructor #388
  • A multipart graphql request is sensitive to the default charset of the jvm #392
  • Use utf-8 charset by default #406
  • Support new GraphQLContext #393
  • Uncaught exception thrown by HttpRequestInvokerImpl.invoke() causes main thread to "hang" #403
  • Unable to handle exceptions raised by validation on parsing prior to GraphQL execution #440

Enhancements

  • Allow unparseable query to be logged as a warning instead of an error or allow exception to be handled by server developer #435

Dependencies

  • update dependency com.graphql-java:graphql-java to v18.3
  • update dependency com.google.guava:guava to v31 #381
  • update plugin biz.aqute.bnd.builder to v6.3.1 #383
  • update plugin org.sonarqube to v3.4.0.2513 #449
  • update dependency gradle to v7.5 #454
  • update dependency org.objenesis:objenesis to v3.3 #460

v12.0.0

2 years ago

Features

  • Run async task in thread pool separated from HTTP worker pool #347
  • Allow async task to be decorated #348
  • Update dependency graphql-java to v17.3
  • Added an ability to add headers before writing GraphQL response

Bug fixes

  • 'Invalid Syntax : offending token '<EOF>'' when using Apollo persisted queries #356

v11.1.1

3 years ago

:beetle: Bug fixes

  • onFinally() callback called too early, before the GraphQL query has finished executing (#293)
  • HttpRequestInvokerImpl swallows Exception that prevents sending the error description to client e.g., for timeout error (#298)
  • Async timeout is not enforced (#342)

v11.1.0

3 years ago
  • Bugfix/suppress lombok imports
  • Optimize single & batch query response writers to reduce memory allocation overhead

v11.0.0

3 years ago

Breaking changes

Upgrade to graphql-java 16.1

Detailed release notes: https://github.com/graphql-java/graphql-java/releases/tag/v16.1.

Take special note of the fact that support for @defer has been removed from graphql-java. See the graphql-java release notes of 16.1 and 16.0 for more details.

Require GraphQLContext to at least return an empty DataLoaderRegistry

GraphQLContext.getDataLoaderRegistry() returned an Optional instead of just the DataLoaderRegistry. From now on we're treating it the same way as a collection in which case you also wouldn't return null or wrapped in an Optional. Instead you would just return an empty collection. Analogous we require an empty DataLoaderRegistry to be returned as a minimum. This benefits users of the registry.

Bugfixes

  • Too generic 'Require-Capability: osgi.extender' resulting in binding to Felix Configurator #276
  • Response body empty when response caching configured #289

v10.1.0

3 years ago
  • Ability to cache the whole graphql response #247
  • Operation name not parsed from query string if operationName JSON field omitted from POST request #264
  • Added error logging and error messaging response when errors occur #267
  • Make HttpRequestHandlerImpl.handle() async when possible #259 #268
  • Refactor log messages into HttpRequestHandlerImpl #250 #275
  • Allow Request Handler construct and calling for frameworks like Jersey #278
  • Set default async timeout to 30s #283
  • Introduce GraphQLBuilderConfigurer to customize building GraphQL instance