Commit Graph

1235 Commits

Author SHA1 Message Date
Sunli
bbb7124616 Add Analyzer extension. 2020-12-18 23:58:03 +08:00
Sunli
c4073759c7 Update docs. 2020-12-18 23:10:57 +08:00
Sunli
48fa80ca34 Update docs. 2020-12-18 19:31:36 +08:00
Sunli
460d2dd641 Release 2.3.0
async-graphql@2.3.0
async-graphql-actix-web@2.3.0
async-graphql-derive@2.3.0
async-graphql-tide@2.3.0
async-graphql-warp@2.3.0

Generated by cargo-workspaces
2020-12-18 19:09:43 +08:00
Sunli
ec82e64a39 Improve depth and complex. 2020-12-18 18:56:28 +08:00
Sunli
8979620181 Remove async-channel and async-mutex from dependencies. 2020-12-17 10:05:32 +08:00
Sunli
87e241026d Release 2.2.0
async-graphql@2.2.0
async-graphql-actix-web@2.2.0
async-graphql-derive@2.2.0
async-graphql-tide@2.2.0
async-graphql-warp@2.2.0

Generated by cargo-workspaces
2020-12-15 20:30:36 +08:00
Sunli
f59c287ba0 Add the skip attribute to the InputObject fields. 2020-12-15 20:29:59 +08:00
Sunli
ef96aa6690 Update docs 2020-12-15 15:12:05 +08:00
Sunli
40fc0f6163 Release 2.1.9
async-graphql@2.1.9
async-graphql-actix-web@2.1.9
async-graphql-tide@2.1.9
async-graphql-warp@2.1.9

Generated by cargo-workspaces
2020-12-15 10:06:20 +08:00
Sunli
0747cba7d2 Update docs 2020-12-15 10:05:44 +08:00
Sunli
10174732a8 Release 2.1.8
async-graphql@2.1.8
async-graphql-actix-web@2.1.8
async-graphql-derive@2.1.8
async-graphql-tide@2.1.8
async-graphql-warp@2.1.8

Generated by cargo-workspaces
2020-12-12 17:05:40 +08:00
Sunli
e29b7a3627 Add visible attributes on types, fields, and parameters, allowing some content to be hidden based on conditions. 2020-12-12 16:23:53 +08:00
Sunli
03f6ed4ba2 Rename InputValueType to InputType and OutputValueType to OutputType. 2020-12-11 15:37:50 +08:00
Sunli
d39a2f55a9 Disable HTTP GET test for tide. 2020-12-05 09:49:50 +08:00
Sunli
5a63bc415c Release 2.1.7
async-graphql@2.1.7
async-graphql-actix-web@2.1.7
async-graphql-tide@2.1.7
async-graphql-warp@2.1.7

Generated by cargo-workspaces
2020-12-05 08:44:39 +08:00
Sunli
29856dd209 Update Cargo.toml 2020-12-05 08:41:10 +08:00
Sunli
f2f22d2d5a
Merge pull request #350 from pfernie/graphql-ws-subproto
Detect subprotocol for GraphQL Over WebSocket subscriptions
2020-12-05 08:34:08 +08:00
Patrick Fernie
a3a3ba38f0 support client specifying multiple protocols in Sec-WebSocket-Protocol negotiation 2020-12-04 12:16:14 -05:00
Sunli
7796b8c248 Add tests for graphql-ws. 2020-12-04 16:44:48 +08:00
Sunli
6884b6e105 Add WSSubscription::start_with_initializer and update examples. 2020-12-04 12:35:35 +08:00
Sunli
30dffdd47f Merge branch 'master' into pr/350 2020-12-04 12:17:23 +08:00
Sunli
c9790087c5 Add websocket subprotocol for actix-web. 2020-12-04 12:13:52 +08:00
Patrick Fernie
f7b9fa03f6 use Sec-WebSocket-Protocol header to negotiate protocol 2020-12-03 16:16:07 -05:00
Patrick Fernie
9d12337972 rustfmt fixes 2020-12-02 08:41:12 -05:00
Patrick Fernie
5f25b296b0 Add graphql-ws feature for subprotcol selection
On 2020-09-14 a revised version of the [GraphQL over
WebSocket](https://the-guild.dev/blog/graphql-over-websockets) spec was
released as [graphql-ws](https://github.com/enisdenjo/graphql-ws), which
differs from the de facto standard implemented by
[subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws).

This adds a new `cargo` (non-default) feature, `graphql_ws`, which when enabled utilizes the new protocol spec.

Original [subscriptions-transport-ws
protocol](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md)
Revised [graphql-ws
protocol](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md)
2020-12-02 08:13:00 -05:00
Sunli
0346b18e2f Release 2.1.6
async-graphql@2.1.6
async-graphql-actix-web@2.1.6
async-graphql-tide@2.1.6
async-graphql-warp@2.1.6

Generated by cargo-workspaces
2020-11-30 19:43:08 +08:00
Sunli
09b0a83660 Add Context::field function. #346 2020-11-30 19:41:35 +08:00
Sunli
7c7e84bd98 Update examples 2020-11-30 14:20:15 +08:00
Sunli
ad3f576fe9 Update upload.rs 2020-11-30 13:47:00 +08:00
Sunli
b115e534f3 Remove the dependency on bytes crate. 2020-11-30 13:43:17 +08:00
Sunli
1e423d8f4f Bump futures-util from 0.3.6 to 0.3.8
Bump pin-project-lite from 0.1.10 to 0.2.0
Bump spin from 0.6.0 to 0.7.0
Bump bytes from 0.5.4 to 0.6.0
2020-11-30 13:08:27 +08:00
Sunli
6e3241289e
Merge pull request #347 from arlyon/patch-1
Bump tide to 0.15.0
2020-11-30 12:54:30 +08:00
Alexander Lyon
366292e933
Bump tide to 0.15.0 2020-11-27 10:11:55 +00:00
Sunli
e9a60abe3c Release 2.1.5
async-graphql@2.1.5
async-graphql-actix-web@2.1.5
async-graphql-tide@2.1.5
async-graphql-warp@2.1.5

Generated by cargo-workspaces
2020-11-27 10:26:49 +08:00
Sunli
1e21e29fd9 Fix the problem that the fields of the list are not merged correctly.#345 2020-11-27 10:26:23 +08:00
Sunli
3e82e1737c Update examples 2020-11-27 09:28:06 +08:00
Sunli
64d3c56cd9 Release 2.1.4
async-graphql@2.1.4
async-graphql-actix-web@2.1.4
async-graphql-derive@2.1.4
async-graphql-tide@2.1.4
async-graphql-warp@2.1.4

Generated by cargo-workspaces
2020-11-23 12:51:43 +08:00
Sunli
d0284857be Clippy clean 2020-11-23 12:50:35 +08:00
Sunli
60974c47dc Fix #343 2020-11-23 12:43:31 +08:00
Sunli
2d3d749e26 Release 2.1.3
async-graphql@2.1.3
async-graphql-actix-web@2.1.3
async-graphql-derive@2.1.3
async-graphql-tide@2.1.3
async-graphql-warp@2.1.3

Generated by cargo-workspaces
2020-11-22 09:54:14 +08:00
Sunli
778c950f47 Fix async_graphql::Object does not work when inside macro after rust 1.48.0 2020-11-22 09:53:18 +08:00
Sunli
2edb6c35e9 Release 2.1.2
async-graphql@2.1.2
async-graphql-actix-web@2.1.2
async-graphql-derive@2.1.2
async-graphql-parser@2.1.2
async-graphql-tide@2.1.2
async-graphql-warp@2.1.2

Generated by cargo-workspaces
2020-11-14 08:43:25 +08:00
Sunli
5a1cb7d9ad Merge branch 'release' of https://github.com/async-graphql/async-graphql into release 2020-11-14 08:42:21 +08:00
Sunli
296d562c56 Fix #322. 2020-11-14 08:42:17 +08:00
Sunli
666154a62f Release 2.1.1
async-graphql@2.1.1
async-graphql-actix-web@2.1.1
async-graphql-derive@2.1.1
async-graphql-parser@2.1.1
async-graphql-tide@2.1.1
async-graphql-warp@2.1.1

Generated by cargo-workspaces
2020-11-10 11:47:48 +08:00
Sunli
80d6ec05dd Fix #322. 2020-11-10 11:46:56 +08:00
Sunli
ec4aba62ec Release 2.1.0
async-graphql@2.1.0
async-graphql-actix-web@2.1.0
async-graphql-tide@2.1.0
async-graphql-warp@2.1.0

Generated by cargo-workspaces
2020-11-08 09:23:43 +08:00
Sunli
8370001272 Implements Cow<T> for OutputValueType. #189 2020-11-08 09:22:50 +08:00
Sunli
f6b6241f52 Release 2.0.16
async-graphql@2.0.16
async-graphql-actix-web@2.0.16
async-graphql-derive@2.0.16
async-graphql-tide@2.0.16
async-graphql-warp@2.0.16

Generated by cargo-workspaces
2020-11-08 08:03:27 +08:00