Commit graph

1174 commits

Author SHA1 Message Date
Luke
3810666646
Fix link to actix-web example in Book (#1139) 2023-01-20 12:38:16 +00: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
4737622052
Fix benches linting 2022-12-18 18:40:15 +01:00
tyranron
d21cc68933
Fix reqwest features 2022-12-18 18:39:59 +01:00
tyranron
dbe1b181db
Fix codegen tests for latest nightly Rust 2022-12-18 12:52:46 +01:00
dependabot[bot]
b79b799824
Upgrade env_logger crate to 0.10 version (#1130)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 12:13:09 +02:00
tyranron
3a68877de0
Tune up for 1.65 Rust 2022-11-04 19:05:09 +01:00
dependabot[bot]
819e26aba1
Upgrade chrono-tz crate to 0.8 version (#1119)
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-11-02 18:33:08 +00: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]
3a2254b854
Upgrade chrono-tz crate to 0.7 version (#1114)
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-10-20 17:37:00 +00:00
tyranron
b8a23a1982
Fix codegen tests for latest nightly Rust 2022-10-17 14:24:12 +03:00
Lukas Kalbertodt
e0ddeecf3c
Change body type of juniper_hyper functions from Body to String (#1101, #1096) 2022-09-19 15:59:33 +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
Lucas Betschart
4b89d61f21
Remove indirect time 0.1 dependency of chrono crate (#1099) 2022-08-29 20:16:49 +03:00
tyranron
e9482c3f18
Fix codegen tests for latest nightly Rust 2022-08-29 17:10:40 +03:00
tyranron
0df1e448e8
Tune up for 1.63 Rust 2022-08-12 17:03:06 +03:00
tyranron
faf1f57200
Merge juniper 0.15.10 backports 2022-07-28 17:21:12 +03:00
tyranron
6fd7a591cf
Release juniper 0.15.10 2022-07-28 17:12:27 +03:00
tyranron
8d28cdba6e
Backport CVE-2022-31173 fix from GHSA-4rx6-g5vg-5f3j
Co-authored-by: ilslv <ilya.solovyiov@gmail.com>
2022-07-28 17:07:55 +03:00
ilslv
c65bc07ff8 Fix codegen/fail assertions for latest nightly 2022-07-28 16:16:14 +03:00
ilslv
c843471d37 Fix NoUnusedFragments validation rule 2022-07-28 15:44:29 +03:00
ilslv
2b609ee057
Merge pull request from GHSA-4rx6-g5vg-5f3j
* Replace recursions with heap allocations

* Some corrections [skip ci]

* Add recursive nested fragments test case

* Docs and small corrections

* Corrections

Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-07-28 14:33:16 +03:00
dependabot[bot]
6d6c71fc3b
Upgrade actix-test crate to 0.1 version (#1089)
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-07-26 10:22:39 +00:00
tyranron
b32c54eeaa
Mention #113 in CHANGELOG 2022-07-26 11:42:44 +03:00
tyranron
8dd97587b9
Merge juniper 0.15.10-dev backports 2022-07-22 10:13:59 +02:00
tyranron
c650713997
Backport accepting explicit null argument for nullable list input parameter (#1086, #1085) 2022-07-22 10:12:42 +02:00
ajawalker
98412a937e
Accept explicit null argument for nullable list input parameter (#1086, #1085) 2022-07-21 16:49:45 +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
ef7a7e8229
Upgrade to 2021 Rust edition
- set 1.62 Rust as MSRV
- use new fmt syntax where possible
- refactor `.to_owned()`, `.to_string()` and `.into()` usage
- rename `IntoResolvable::into()` as `IntoResolvable::into_resolvable()` to disambiguate with `Into::into()`
- use `#[derive(Default)]` for enums where possible
- use `bool::then_some()` where possible
2022-07-13 15:20:10 +02:00
dependabot[bot]
9e87a11071
Upgrade actix-identity crate to 0.5 version (#1082)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-11 17:17:03 +00:00
tyranron
576d6fb6dd
Finish refactoring juniper_codegen crate 2022-07-11 17:06:05 +02:00
ilslv
0c8bcf582f
Fix input value coercion with defaults (#1080, #1073) 2022-07-08 21:55:51 +00:00
Benno Tielen
5332db0a4b
Strip lifetime parameter from ParseError (#1081, #528)
- replace `Token` with its string representation in `ParseError`
- strip lifetime parameter from `GraphQLError`, `GraphQLResponse` and `GraphQLBatchResponse`

Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-07-08 18:21:23 +00:00
tyranron
eb974fe3ac
Make happy latest stable and nightly Rust/Clippy 2022-07-08 16:10:07 +02:00
ilslv
a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00
ilslv
927e42201a
Rework #[derive(GraphQLInputObject)] macro implementation (#1052)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 11:27:28 +00:00
ilslv
9ca2364bfe
Allow interfaces to implement other interfaces (#1028, #1000) 2022-06-27 12:09:44 +00:00
tyranron
bd041222df
Remove redundant commit message checks for skipping CI pipeline 2022-06-27 11:41:57 +02:00
ilslv
26d9daaadf
Rework #[derive(GraphQLEnum)] macro implementation (#1047) 2022-06-24 21:57:52 +03:00
tyranron
4dd5150bcb
Create pr CI job for auto-merging PRs 2022-05-25 17:58:38 +02:00
tyranron
a2ec605732
Merge backported 0.8.2 juniper_rocket 2022-05-25 11:19:04 +02:00
tyranron
e82345243c
Release juniper_rocket 0.8.2 backporting upgrade to rocket 0.5.0-rc.2 2022-05-25 11:11:28 +02:00
50U10FCA7
76b9caf9fa
Fix building juniper crate without default features (#1064, #1065)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-05-17 11:36:46 +03:00
tyranron
d6f5cee8b3
Satisfy rust_2018_idioms rustc lint in generated code 2022-05-12 14:33:03 +03:00
tyranron
1f0f683d0b
Upgrade rocket crate to 0.5.0-rc.2 version 2022-05-11 21:37:23 +03:00
tyranron
6b3898b077
Add docs for enum generated by #[graphql_interface] and #[derive(GraphQLInterface)] macros 2022-05-11 20:35:17 +03: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