spring-graphql

Spring Integration for GraphQL

APACHE-2.0 License

Stars
1.5K
Committers
54

Bot releases are hidden (Show)

spring-graphql - v1.1.0

Published by spring-builds almost 2 years ago

⭐ New Features

  • Improve support for GraphQLSchema transformation #536
  • Refine null handling for toEntity and toEntityList in ClientResponseField #525
  • Support default DataLoaderOptions in DefaultBatchLoaderRegistry #522
  • Add maxBatchSize attribute to @BatchMapping #520
  • Support checks if GraphQL argument was set to null or omitted entirely #518
  • Replace use of DataBinder for binding GraphQL arguments #516
  • Ahead Of Time support #495
  • Cannot use Set as property in GraphQL argument input object #394
  • Cannot use GraphQL argument object whose generic type is declared on @SchemaMapping method #349

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.0.0 #542
  • Upgrade to Micrometer 1.10.1 #539
  • Upgrade to Reactor 2022.0.0 #538
  • Upgrade to Spring Data 2022.0.0 #540
  • Upgrade to Spring Framework 6.0.0 #543
  • Upgrade to Spring Security 6.0.0 #541
spring-graphql - v1.0.3

Published by spring-builds almost 2 years ago

⭐ New Features

  • Add actual elements to message of containsAll #507
  • Wrapping a projected payload in optional returns IllegalStateException #506
  • Adds the option to use a pre configured RSocketRequester #498
  • @Argument doesn't support Map as a target type at any level #449

🪲 Bug Fixes

  • GraphQlClient#retrieve does not raise FieldAccessException for failures at a path nested below the target field #499

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - v1.1.0-RC1

Published by spring-builds about 2 years ago

⭐ New Features

  • Move Micrometer instrumentation to this project #501

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.0.0-RC1 #505
  • Upgrade to Micrometer 1.10.0-RC1 #513
  • Upgrade to Reactor 2022.0.0-RC1 #512
  • Upgrade to Spring Data 2022.0.0-RC1 #514
  • Upgrade to Spring Framework 6.0.0-RC1 #510
  • Upgrade to Spring Security 6.0.0-RC1 #515
spring-graphql - v1.1.0-M1

Published by spring-builds about 2 years ago

⭐ New Features

  • Integrate with the Micrometer Context Propagation library #459
  • Upgrade to GraphQL Java 19.2 #444
  • Upgrade baseline to Java 17 and Jakarta APIs #426

🪲 Bug Fixes

  • Make the context propagation dependency mandatory #482

🔨 Dependency Upgrades

  • Upgrade to Micrometer context-propagation 1.0 M5 #477
spring-graphql - v1.0.2

Published by spring-builds about 2 years ago

⭐ New Features

  • Support @Arguments with Map #493
  • Fix NPE when GraphQL argument is a list with a null element #486
  • Support controller method parameter annotations on an interface #480
  • Controller's with CompletableFuture return bad error messages or no error at all #479
  • Support path variables for redirect to GraphiQL path #478
  • Allow custom scalar, parsed to different types, to bind onto java.lang.Object #447
  • Introspect controller methods on startup to determine if they need validation #445
  • Do not ignore a DataFetcher with a DataFetcherFactories wrapper #440

🪲 Bug Fixes

  • Target collection type is not used in argument binding #485
  • Java classes with Optional constructor args for GraphQL input types fail with InaccessibleObjectException #470

📔 Documentation

  • Improve reference docs on how to find schema files acorss multiple modules #489
  • Document how to customize global, request validation errors that prevent execution #487

🔨 Dependency Upgrades

  • Upgrade to GraphQL Java 18.3 #456

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - v1.0.1

Published by spring-builds over 2 years ago

⭐ New Features

  • Improve handling of case where a source/parent is expected and is null #429
  • Support for resolving exceptions from a subscription #398
  • DataBinder using default auto grow collection limit #392

🪲 Bug Fixes

  • Auto-registration of @GraphQlRepository does not work for output type defined as non-null #418
  • @Argument resolver fails when type coercion from a single value to SingletonList is involved #410
  • The GraphQL UI cannot be opened if a spring.mvc.servlet.path is configured #402

📔 Documentation

  • Fix links to Boot "Web Endpoints" section and mention WebSocket endpoint not enabled by default #436
  • Update Javadoc of retrieve in GraphQlClient for decoding full data #434
  • Update documentation to show setting response headers with value from @SchemaMapping method #428

🔨 Dependency Upgrades

  • Upgrade to GraphQL Java 18.2 #446

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - v1.0.0

Published by spring-builds over 2 years ago

⭐ New Features

  • Improve handling of concurrent requests in WebSocketGraphQlClient #388
  • Add start and stop methods to RSocketGraphQlClient #378
  • Adjust support for "application/graphql" media type so it is used only if explicitly requested #375
  • Expose map of "extensions" in GraphQlRequest #371
  • Support String and Number to be injected as the parent/source #370
  • Improve readability of assertion messages #361
  • HttpGraphQlClientTransport should respect an existing, explicitly set Content-Type #359
  • Add @LocalContextValue for access to attributes from the local GraphQLContext in DataFetchingEnvironment #353
  • Support Callable as a return value from controller methods for asynchronous execution #316
  • Add shouldPersistHeaders = true to GraphiQL options #257

🪲 Bug Fixes

  • @ContextValue does not work for Mono argument #355
  • FieldAccessException should include field as well as global errors in its message #348

📔 Documentation

  • Provide advice on number of instances and connections for WebSocketGraphQlClient and RSocketGraphQlClient #368
  • Slightly incorrect documentation about BatchMapping return values #360
  • Fix docs for WebGraphQlTester #358
  • Update minimum requirement to GraphQL Java 18.0 #357

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - v1.0.0-RC1

Published by spring-builds over 2 years ago

⭐ New Features

  • Do not include exception message for unresolved exceptions #352
  • GraphQlTester created via @GraphQlTest should use application JSON config #345
  • Support RSocket as a transport #339
  • Improve configuration and defaults for document location #338
  • Improve Exception Logging in ExceptionResolversExceptionHandler #336
  • Refactor GraphQlSource builder to separate programmatic vs SDL way of create GraphQLSchema #312
  • Support for application/graphql content type #108

🪲 Bug Fixes

  • Principal is null when executing requests over WebSocket with Spring MVC #342

📔 Documentation

  • Improve documentation samples on access to HTTP headers from controller #350

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - v1.0.0-M6

Published by spring-builds over 2 years ago

⭐ New Features

  • Add client-side interception on GraphQlClient #332
  • Revisit GraphQlTester to align with GraphQlClient #317
  • Further alignment with GraphQL spec terminology #310
  • Provide details when schema resource is invalid #307
  • Bind zero-length nested input argument to a zero-length List instead of null #301
  • Apply a multiple values argument to the same property in Querydsl #281
  • Raise BindException from GraphQlArgumentBinder with binding errors #280
  • Revise JSONPath options in GraphQlTester #278
  • Improve server handling of WebSocket connection closing and subscription completion #276
  • Add support for @AuthenticationPrincipal annotated method parameter #272
  • Improve options to customize of ConversionService used for GraphQL argument binding #271
  • Support for GraphQL over WebSocket Ping and Pong message types #270
  • Allow binding full arguments map onto an object #258
  • Check for and eliminate duplicate schema resource registrations #230
  • Add a GraphQLClient #10

🪲 Bug Fixes

  • "non-public interface is not defined by the given loader " when using input Projections for Mutations #333
  • Fix implementation of containsExactly #327
  • GraphQlWebSocketHandler incorrectly turns ExecutionResult with errors into an "error" message #320
  • GraphQlTester.executeAndVerify should not check for empty errors map #318
  • ArgumentMethodArgumentResolver and QueryByExampleDataFetcher are not thread safe #315
  • QuerydslDataFetcher: ClassCastException when using a variable with type other than String #311
  • Shortcut annotations @QueryMapping, @MutationMapping, and @SubscriptionMapping should target ElementType.METHOD only #290
  • @Valid arguments and a Principal argument cannot both be declared on the same method #289
  • Incorrect arguments to Assert.isInstanceOf in AnnotatedControllerConfigurer #282

📔 Documentation

  • Document custom type resolution strategies #334
  • Document why Jackson annotations on types are not used for JSON serialization #321
  • Update documentation with guidance on the use of aggregates and projections with Spring Data #264
  • Add section on directives to reference documentation #262
  • Improve guidance on use of projections with Querydsl and Query By Example #248
  • Add section on operation caching to reference documentation #233

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

spring-graphql - 1.0.0-M1 Release

Published by rstoyanchev over 3 years ago

⭐ New Features

  • Support programmatic GraphQLSchema creation #4
  • Testing Support #43
  • Context Propagation to DataFetcher's with Spring MVC #53
  • Add basic micrometer metrics support #16
  • Add endpoint to print the schema #13
  • Add built-in GraphiQL integration #12
  • Use chained handling for web requests #49
  • Flexible handling of DataFetcher exceptions #51
  • Add Querydsl integration #59
  • Add security classes to main spring-graphql module #82
  • Add Security Configuration to Boot Starter #81
  • Remove configuration key for GraphQL schema path #79
  • Separate Property for GraphiQL Path #70
  • Add Builder for GraphQlTester and WebGraphQlTester #66
  • GraphqlTester should not have web dependencies #65
  • Add Spring MVC Security Sample #58
  • Support for multiple graphql schema files #56
  • Reactive DataFetcherExceptionResolver #52
  • Encapsulate GraphQL initialization #48
  • Reactor based DataFetcher support #47
  • Add GraphQL tester auto-configuration #46
  • Change default schema location from root package to "graphql" #44
  • Add Interface for GraphQL Request Execution #42
  • Only build GraphQL once #37
  • Replace WebSocket-related SimpleUrlHandlerMapping Sub-Classes #35
  • Allow HTTP and WebSocket To Use The Same Path #30
  • Refine GraphQL metrics #19
  • Remove Spring Boot starters #17
  • Support for WebInterceptor configuration #7
  • Add response headers to WebOutput #6
  • Make endpoint url configurable and default to "/graphql" #5

🪲 Bug Fixes

  • Failing webmvc sample with querydsl predicate executor #71
  • Missing Configuration metadata in starter module #33

📔 Documentation

  • Refine Querydsl integration documentation #83
  • Write Spring GraphQL Reference Documentation #78
  • fix links in doc #77
  • Correct location of schema in README. #57
  • Add sample application #15

❤️ Contributors

We'd like to thank all the contributors who worked on this release!