Commit graph

1223 commits

Author SHA1 Message Date
dependabot[bot]
2598045e89
Update GraphiQL from 3.0.6 to 3.0.7 version (#1201)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-01 13:06:54 +00:00
Kian-Meng Ang
0fc95ddbff
Integrate codespell for Book (#1121)
- add `codespell` CI job
- add `book.codespell` Makefile command
- fix Book typos found by codespell

Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-10-27 15:51:41 +00:00
Kai Ren
d11e351a49
Use actix-ws for juniper_actix subscriptions (#1197)
- fix panicking issues in `graphql-transport-ws` protocol implementation
- rework `graphql-ws` integration tests in `juniper::http`
- add `graphql-transport-ws` integration tests in `juniper::http`
2023-10-24 17:59:36 +00:00
tyranron
828d059b1b
Fix codegen tests for latest nightly 2023-10-24 18:23:04 +03:00
Kai Ren
aaf28e962d
Merge juniper_graphql_transport_ws and juniper_graphql_ws crates (#1196, #1022) 2023-10-17 16:12:20 +02:00
dependabot[bot]
f3a1a0c65d
Support 0.14 version of actix crate (#1189)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-10-16 11:48:16 +00:00
tyranron
57628de864
Check std::prelude hygiene in codegen tests (#1195, #1194) 2023-10-13 21:01:43 +03:00
tyranron
a433a278cf
Fix bigdecimal crate surviving minimal versions check 2023-10-13 19:39:56 +03:00
tyranron
17a02fa766
Correct fully qualified paths in generated code (#1195, #1194) 2023-10-13 19:28:42 +03:00
Peter Holloway
801820a3b6
Use fully qualified paths in generated code (#1195)
If user code has a type alias (or custom type) called `Result` or
`Option` etc, this would be used instead of the intended standard
library types causing surprising compile errors from generated code.

Using the fully qualified path allows the generated code to be isolated
from user types.

Includes two basic regression tests covering `Result` and `Send`.

Fixes #1194
2023-10-06 11:59:00 -07:00
Kai Ren
9849736582
Improve WebSocket integration (#1191, #1022)
- consider `juniper_graphql_transport_ws` crate on CI
- implement auto-selection of protocol in `juniper_warp` crate
- support `graphql-transport-ws` protocol in  `juniper_actix` crate
- implement auto-selection of protocol in `juniper_actix` crate

Additionally:
- move `examples/warp_subscriptions` into `juniper_warp/examples/subscription.rs`
- move `examples/actix_subscriptions` into `juniper_actix/examples/subscription.rs`
- move `examples/basic_subscriptions` into `juniper_subscriptions/examples/basic.rs`
- bump up MSRV of `juniper_actix` crate to 1.68
2023-09-21 23:24:41 +02:00
dependabot[bot]
a74ea9ccb6
Update GraphiQL from 3.0.5 to 3.0.6 version (#1193)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-09-20 14:30:04 +00:00
dependabot[bot]
cb26dee3b7
Upgrade actix-identity crate from 0.5 to 0.6 version (#1192)
Additionally:
- use `cargo check` for MSRV check of `juniper_actix` crate

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-09-20 13:32:24 +00:00
Kai Ren
7e886e8fab
Update GraphQL Playground to 1.7.28 version (#1190, #1069)
- track GraphQL Playground new versions via @dependabot
- automate GraphQL Playground integration glue adapting for new versions
2023-09-13 17:10:49 +00:00
Kai Ren
f9d90277bf
Upgrade GraphiQL to 3.0.5 version (#1188, #1069)
- track GraphiQL new version via @dependabot
- automate GraphiQL integration glue adapting for new versions
- rework `example/warp_subscriptions`  to support subscriptions in new GraphiQL
2023-09-13 17:34:44 +02:00
Kai Ren
f172be5656
Fix operation_name not being set in juniper_hyper (#1169, #1187) 2023-09-12 14:45:56 +02:00
tyranron
dadd318b85
Revert to resolver = "1" for Book tests 2023-09-11 18:26:02 +03:00
tyranron
279bbedc3c
Fix CI pipeline
- fix codegen tests for latest nightly
- switch workspace default to `resolver = "2"`
- fix `juniper` tests for latest `chrono` version
2023-09-09 15:37:50 +03:00
dependabot[bot]
df9da4c776
Upgrade actions/checkout to 4 version (#1185)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 11:13:12 +00:00
tyranron
20c76a6342
Fix codegen tests for latest nightly 2023-09-07 12:42:10 +03:00
Gero Gerke
b375146466
Update GraphiQL (#1069)
* Update GraphiQL Source

* pass through request headers from header box

---------

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-28 17:18:23 -04:00
Christian Legnitto
421c8c9d58
Fix codegen tests for latest nightly (#1182) 2023-08-27 14:38:40 +00:00
Christian Legnitto
108ccf2715
Clippy fixes (#1181) 2023-08-25 22:48:01 +00:00
Chris
27430bf60c
add juniper_graphql_transport_ws crate for new subscription protocol (#1158)
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-25 01:02:32 +00:00
thirsty-wing
1474da53f6
Update Gitter link in README.md (#1175)
The link "https://gitter.im/juniper-graphql" responds with a 404. It appears
that the link should be updated to "https://gitter.im/juniper-graphql/Lobby".

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-08-24 18:40:15 -04:00
tyranron
a297b9b67e
Fix codegen tests for latest nightly 2023-07-10 14:13:05 +03:00
tyranron
b172d51b6e
Get rid of deprecated chrono functions in juniper tests 2023-07-10 13:41:28 +03:00
tyranron
f1ecde260c
Improve BigDecimal parsing from Float with ryu crate (#1176) 2023-07-10 13:31:32 +03:00
dependabot[bot]
d9dfae6d59
Upgrade bigdecimal crate 0.4 version (#1176)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-07-07 14:56:49 +03:00
dependabot[bot]
d7dcb3b2e5
Upgrade pretty_env_logger crate to 0.5 version (#1165)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 10:58:23 +00:00
dependabot[bot]
dc86fcf820
Upgrade indexmap crate to 2.0 version (#1174)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-07-07 09:47:53 +00:00
dependabot[bot]
9ef6133a14
Upgrade criterion crate to 0.5 version (#1166)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 15:30:35 +00:00
dependabot[bot]
74710d8a59
Upgrade itertools crate to 0.11 version (#1173)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 22:09:36 +02:00
tyranron
aff49ae5ec
Fix codegen tests for latest nightly 2023-06-23 14:28:12 +02:00
dependabot[bot]
a648dd7275
Fix juniper_rocket MSRV check by setting minimal version for pear transitive dependency instead of proc-macro2-diagnostics (#1152)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-04-04 11:12:38 +00:00
dependabot[bot]
eb571368c3
Upgrade rocket crate to 0.5.0-rc.3 version in juniper_rocket (#1153)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 10:00:17 +00:00
Chris
42ad693fcb
Make Clippy happy with is_ascii_* methods (#1159) 2023-04-04 12:11:10 +03:00
daviddanielarch-nextroll
91064e9554
Add LookAheadMethods::applies_for() method (#1145, #1138) 2023-03-01 18:11:57 +02:00
Kai Ren
7e5c8819c2
Support non-browser WASM (#1147, #1118)
- gate `js-sys` and `wasm-bindgen` behind `js` Cargo feature
2023-02-28 12:00:02 +02:00
tyranron
b84621c3b3
Fix codegen tests for latest nightly Rust 2023-02-27 20:33:01 +02:00
tyranron
e569476bcc
Consider also testing spreading interface fragment on interface (#922) 2023-02-27 18:10:51 +02:00
tyranron
42420c7ee1
Preserve 0.15.11 release in history 2023-01-31 12:34:36 +02:00
tyranron
5d53001994
Release juniper 0.15.11 2023-01-31 12:31:44 +02:00
tyranron
14f4a31bb7
Fix string mangling on dynamic schema by upgrading smartstring crate (#1142, #1143) 2023-01-31 12:28:31 +02:00
Luke Hinds
a61ed0eee5
Add documentation on how to run examples (#1125)
Add documentation on how to run examples

Resolves: #1122

---------

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2023-01-30 16:57:46 +00:00
tyranron
5aadecedf6
Tune up CI pipeline 2023-01-27 19:21:15 +02:00
tyranron
150227f357
Make Clippy happy for 1.67 Rust 2023-01-27 19:14:46 +02:00
Darin Morrison
9e0b9692a9
Allow to specify already Arced schema in juniper_warp (#1136, #1135)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-01-20 21:15:35 +02:00
tyranron
9ae0c89537
Fix codegen tests for latest nightly Rust 2023-01-20 15:32:07 +02:00
Luke
3810666646
Fix link to actix-web example in Book (#1139) 2023-01-20 12:38:16 +00:00