4.0 KiB
4.0 KiB
Changelog
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.
[2.7.1]
- Add
Request::disable_introspection
method. #456
[2.7.0]
Fixed
- Fix chrono-tz integration. #452
Changed
- Rework Extension & TracingExtension & OpenTelemetryExtension
[2.6.5] - 2021-03-24
- In websocket, if the client sends
start
beforeconnection_init
, the connection will be immediately disconnected and return1011
error. #451
[2.6.4] - 2021-03-22
- Fix docs.
[2.6.3] - 2021-03-22
Added
- Add
extension::OpenTelemetry
.
Removed
- Remove
TracingConfig
, now Request span always takes the current span as the parent, so this option is no longer needed. - Remove
multipart
feature.
Changed
- Now all features are not activated by default.
[2.6.2] - 2021-03-20
- Add
SchemaBuilder::enable_subscription_in_federation
method. #449
[2.6.1] - 2021-03-19
- Fix tracing extension doesn't work with async code. #448
[2.6.0] - 2021-03-18
- Add ComplexObject macro.
[2.5.14] - 2021-03-14
- Add
DataLoader::loader
method. #441 - Fix the validation does not work on some inline fragments.
[2.5.13] - 2021-03-09
- Support generics in Subscription types. #438
[2.5.12] - 2021-03-09
- 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
[2.5.11] - 2021-03-07
- Execute
_entity
requests in parallel. #431
[2.5.10] - 2021-03-06
- Add descriptions for the exported Federation SDL.
[2.5.9] - 2021-02-28
Changed
- Moved
Variables
fromasync_graphql::context::Variables
toasync_graphql::Variables
.
[2.5.8] - 2021-02-27
Added
-
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, }
[2.5.7] - 2021-02-23
Fixed
- Fix the problem that the borrowing lifetime returned by the
Context::data
function is too small.
[2.5.6] - 2021-02-23
Changed
- When introspection is disabled, introspection related types are no longer registered.
[2.5.5] - 2021-02-22
Added
- Add support for Federation nested keys.
[2.5.4] - 2021-02-15
Fixed
- Fixed the error that the directive locations
FIELD_DEFINITION
andENUM_VALUE
cannot be parsed.
[2.5.3] - 2021-02-13
Fixed
- Fixed #409
[2.5.2] - 2021-02-06
Added
- Add subscription support for tide with tide-websockets.
Fixed
- Fixed the bug that can accept subscription requests during the initialization of WebSocket.
- Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406