Commit graph

41 commits

Author SHA1 Message Date
Sebastian Goll
2756260000
Integrate jiff date/time types (#1271, #1270)
- represent `jiff::civil::Date` as `LocalDate` GraphQL scalar
- represent `jiff::civil::Time` as `LocalTime` GraphQL scalar
- represent `jiff::civil::DateTime` as `LocalDateTime` GraphQL scalar
- represent `jiff::Timestamp` as `DateTime` GraphQL scalar
- represent `jiff::Span` as `Duration` GraphQL scalar
2024-08-15 12:38:20 +02:00
dependabot[bot]
6b82d1d80e
Upgrade derive_more crate from 0.99.8 to 1.0 version (#1272)
- bump up MSRV to 1.75

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>
2024-08-12 23:31:39 +02:00
dependabot[bot]
caa9495f01
Upgrade actix-ws crate from 0.2 to 0.3 version (#1267)
- bump up MSRV to 1.75 in `juniper_actix` crate

Additionally:
- remove redundant `InterruptableStream` definitions in `juniper_graphql_ws` 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>
2024-07-23 14:43:02 +02:00
dependabot[bot]
6f9c5b1034
Upgrade peaceiris/actions-mdbook GitHub Action from 1 to 2 version (#1254)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 13:34:32 +02:00
dependabot[bot]
eac4e21c68
Upgrade peaceiris/actions-gh-pages GitHub Action from 3 to 4 version (#1255)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 13:33:17 +02:00
tyranron
209e5e6d23
Prepare 0.9.0 release of juniper_hyper crate (#1198) 2024-03-20 20:47:59 +02:00
tyranron
e3c1efd557
Prepare 0.5.0 release of juniper_actix crate (#1198) 2024-03-20 20:06:02 +02:00
tyranron
5603e76dc0
Bikeshed CI jobs naming 2024-03-20 18:10:10 +02:00
Kai Ren
ec0d7d8097
Rework Book (#1230)
- rework and update existing chapters
- mention correct case transformation for GraphQL enums (#1029)
- document N+1 mitigation techniques and look-ahead features (#234, #444)
- mention all integration crates (#867)
- fix Book links (#679, #974, #1056)
- remove old version of Book (#1168)

Additionally:
- disable `bson`, `url`, `uuid` and `schema-language` Cargo features by default in `juniper` crate

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2024-03-20 15:53:25 +01:00
dependabot[bot]
847a38a4c6
Upgrade softprops/action-gh-release GitHub Action from 1 to 2 version (#1248)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 14:18:14 +01:00
Kai Ren
e64287cfc8
Sort order as "type-then-name" in generated schema's SDL (#1237, #1134)
- rename `RootNode::as_schema_language()` method as `RootNode::as_sdl()`
- rename `RootNode::as_parser_document()` method as `RootNode::as_document()`
- merge `graphql-parser` and `schema-language` Cargo features

Co-authored-by: Michael Groble <mike@groble.me>
2024-01-15 17:26:12 +01:00
dependabot[bot]
b7be55fb4b
Upgrade actix-cors crate from 0.6 to 0.7 version (#1234)
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>
2024-01-08 20:06:28 +01:00
Kai Ren
316b1887b2
Provide anyhow crate integration (#1215, #988)
- implement `IntoFieldError` for `anyhow::Error`
- add `anyhow` and `backtrace` Cargo features
2023-11-15 19:29:59 +01:00
Kai Ren
d7103e2ef2
Remove iron integration (#1210) 2023-11-09 23:52:24 -04:00
Benno Tielen
761710205a
Provide axum integration (#1088, #986, #1184)
- create `juniper_axum` crate in Cargo workspace
- implement `graphql` default `axum` handler for processing GraphQL requests
- implement `extract::JuniperRequest` and `response::JuniperResponse` for custom processing GraphQL requests
- implement `subscriptions::graphql_transport_ws()` default `axum` handler for processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::graphql_ws()` default `axum` handler for processing the legacy `graphql-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::serve_graphql_transport_ws()` function for custom processing the new `graphql-transport-ws` GraphQL over WebSocket Protocol
- implement `subscriptions::serve_graphql_ws()` function for custom processing the legacy `graphql-ws` GraphQL over WebSocket Protocol
- provide `examples/simple.rs` of default `juniper_axum` integration
- provide `examples/custom.rs` of custom `juniper_axum` integration

Additionally:
- fix `junper_actix` crate MSRV to 1.73
- add `test_post_with_variables()` case to integration `juniper::http::tests`

Co-authored-by: ilslv <ilya.solovyiov@gmail.com>
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-11-09 11:57:00 +01:00
dependabot[bot]
782eccba47
Upgrade syn crate to 2.0 version (#1157)
- replace `proc-macro-error` crate with simplified `common::diagnostic::pollyfill`
- migrate `juniper_codegen_tests` to stable Rust

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 19:00:05 +01: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
aaf28e962d
Merge juniper_graphql_transport_ws and juniper_graphql_ws crates (#1196, #1022) 2023-10-17 16:12:20 +02: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]
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
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
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
5aadecedf6
Tune up CI pipeline 2023-01-27 19:21:15 +02:00
tyranron
6aa6385437
Bump up MSRV to 1.65.0 2022-12-19 09:31:23 +01:00
tyranron
f6aae142ea
Fix Rust toolchain defaulting on CI 2022-12-19 09:09:41 +01:00
tyranron
e3a72edf70
Fix mdBook tests on Windows (rust-lang/rust#99466) 2022-11-02 16:32:50 +01:00
tyranron
e7cfa20254
Remove usage of deprecated ::set-output GitHub Actions feature 2022-11-02 16:04:18 +01:00
Kai Ren
f3df70693c
Improve CI (#1113)
- switch to `dtolnay/rust-toolchain` GitHub action
- restore release Git tag format and correct `cargo-release` integration
- enable MSRV check
- integrate `cargo-careful`
2022-10-21 16:07:17 +00:00
dependabot[bot]
2b1a2a7f5d
Upgrade criterion crate 0.4 version (#1103)
- fix `juniper_benchmarks` sub-crate compilation
- add CI job to track `juniper_benchmarks` sub-crate regressions

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>
2022-09-12 16:54:17 +00:00
Benno Tielen
bea94398e8
Improve project toolchain (#1084)
- switch from `skeptic` to mdBook native tests
- refactor `juniper_integration_tests` to be granular
- make `cargo test` command fully compatible with stable Rust
- adjust outdated Contribution Guide

Additionally:
- fix codegen tests on latest nightly Rust
2022-07-20 10:37:58 +00:00
tyranron
bd041222df
Remove redundant commit message checks for skipping CI pipeline 2022-06-27 11:41:57 +02:00
tyranron
4dd5150bcb
Create pr CI job for auto-merging PRs 2022-05-25 17:58:38 +02:00
Wojciech Niedźwiedź
bdaee42156
Provide integration for bigdecimal and rust_decimal crates (#1060, #1059)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-05-05 21:00:58 +03:00
tyranron
7cb602e71b
Disable nasty Windows for juniper_integration_tests on CI 2022-04-13 13:21:05 +03:00
Kai Ren
72ed45a77c
Rework CI and project toolchain (#1043)
- remove `cargo-make` integration
- rework CI pipeline more granular and precise
- rework releasing process
- tune up project layout
- fill up new CHANGELOGs

Additionally:
- fix latest nightly/stable Rust inconsistencies
2022-04-08 17:44:50 +03:00
tyranron
3a70403aba
Temporary disable release automation check on CI 2022-02-02 20:25:06 +02:00
tyranron
47997d2cfb
Switch CI to 0.19.4 cargo-release 2022-02-02 19:52:28 +02:00
Christian Legnitto
bb55ad11cc
Update book.yml 2021-07-06 17:05:03 -07:00
trevyn
d5458f4979
Fix CI (#884)
* fix some CI errors

* Remove `-C link-dead-code` in tests

Seems to break things on Windows.
2021-02-26 10:27:16 -10:00
Sagie Gur-Ari
c91b989e2d
Use github action to download cargo-make (#594) 2020-03-30 20:03:44 -07:00
nickelc
547cf3e36f
Add GitHub workflows for CI and Book (#487) 2020-02-12 23:55:45 -07:00