2021-02-06 03:02:41 +00:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2021-03-06 00:38:19 +00:00
|
|
|
## [2.5.10] - 2021-03-06
|
|
|
|
|
|
|
|
- Add descriptions for the exported Federation SDL.
|
|
|
|
|
2021-02-28 01:42:13 +00:00
|
|
|
## [2.5.9] - 2021-02-28
|
2021-02-27 13:52:43 +00:00
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Moved `Variables` from `async_graphql::context::Variables` to `async_graphql::Variables`.
|
|
|
|
|
2021-02-27 03:59:58 +00:00
|
|
|
## [2.5.8] - 2021-02-27
|
|
|
|
|
2021-02-27 13:52:43 +00:00
|
|
|
### Added
|
|
|
|
|
2021-02-27 03:59:58 +00:00
|
|
|
- Allow the `deprecation` attribute to have no reason.
|
|
|
|
|
|
|
|
```rust
|
|
|
|
#[derive(SimpleObject)]
|
|
|
|
struct MyObject {
|
|
|
|
#[graphql(deprecation)]
|
|
|
|
a: i32,
|
|
|
|
|
|
|
|
#[graphql(deprecation = true)]
|
|
|
|
b: i32,
|
|
|
|
|
|
|
|
#[graphql(deprecation = false)]
|
|
|
|
c: i32,
|
|
|
|
|
|
|
|
#[graphql(deprecation = "reason")]
|
|
|
|
d: i32,
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2021-02-23 15:05:08 +00:00
|
|
|
## [2.5.7] - 2021-02-23
|
|
|
|
|
2021-02-27 13:52:43 +00:00
|
|
|
### Fixed
|
|
|
|
|
2021-02-23 15:05:08 +00:00
|
|
|
- Fix the problem that the borrowing lifetime returned by the `Context::data` function is too small.
|
|
|
|
|
2021-02-23 04:53:25 +00:00
|
|
|
## [2.5.6] - 2021-02-23
|
|
|
|
|
2021-02-27 13:52:43 +00:00
|
|
|
### Changed
|
|
|
|
|
2021-02-23 04:53:25 +00:00
|
|
|
- When introspection is disabled, introspection related types are no longer registered.
|
|
|
|
|
2021-02-22 01:54:26 +00:00
|
|
|
## [2.5.5] - 2021-02-22
|
2021-02-21 13:29:03 +00:00
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2021-02-22 01:54:26 +00:00
|
|
|
- Add support for Federation [nested keys](https://www.apollographql.com/docs/federation/entities/#defining-a-compound-primary-key).
|
2021-02-21 13:29:03 +00:00
|
|
|
|
2021-02-15 01:25:54 +00:00
|
|
|
## [2.5.4] - 2021-02-15
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed the error that the directive locations `FIELD_DEFINITION` and `ENUM_VALUE` cannot be parsed.
|
|
|
|
|
2021-02-13 01:09:29 +00:00
|
|
|
## [2.5.3] - 2021-02-13
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed [#409](https://github.com/async-graphql/async-graphql/issues/409)
|
|
|
|
|
2021-02-06 03:02:41 +00:00
|
|
|
## [2.5.2] - 2021-02-06
|
|
|
|
|
|
|
|
### Added
|
|
|
|
|
2021-02-06 05:19:22 +00:00
|
|
|
- Add subscription support for tide with [tide-websockets](https://crates.io/crates/tide-websockets).
|
2021-02-06 03:02:41 +00:00
|
|
|
|
|
|
|
### 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](https://github.com/async-graphql/async-graphql/issues/406)
|