All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
SchemaBuilder::enable_subscription_in_federation
method. #449
Fix tracing extension doesn't work with async code. #448
- Add ComplexObject macro.
- Add
DataLoader::loader
method. #441 - Fix the validation does not work on some inline fragments.
- Support generics in Subscription types. #438
- Remove unnecessary Box from WebSocket messages.
- Export subscription type to Federation SDL. (for GraphGate 😁)
- Add
extends
attribute for derive macros Subscription and MergedSubscription. - Add
SchemaBuilder::override_name
method. #437
- Execute
_entity
requests in parallel. #431
- Add descriptions for the exported Federation SDL.
- Moved
Variables
fromasync_graphql::context::Variables
toasync_graphql::Variables
.
-
Allow the
deprecation
attribute to have no reason.#[derive(SimpleObject)] struct MyObject { #[graphql(deprecation)] a: i32, #[graphql(deprecation = true)] b: i32, #[graphql(deprecation = false)] c: i32, #[graphql(deprecation = "reason")] d: i32, }
- Fix the problem that the borrowing lifetime returned by the
Context::data
function is too small.
- When introspection is disabled, introspection related types are no longer registered.
- Add support for Federation nested keys.
- Fixed the error that the directive locations
FIELD_DEFINITION
andENUM_VALUE
cannot be parsed.
- Fixed #409
- Add subscription support for tide with tide-websockets.
- Fixed the bug that can accept subscription requests during the initialization of WebSocket.
- Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406