dependabot[bot]
904d9cdbb6
Upgrade rocket
crate to 0.5 version ( #1220 )
...
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-20 18:45:45 +01:00
dependabot[bot]
ba59c953a7
Upgrade rocket
crate to 0.5.0-rc.4 version ( #1205 )
...
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-03 13:37:51 +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
Christian Legnitto
108ccf2715
Clippy fixes ( #1181 )
2023-08-25 22:48:01 +00: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
tyranron
6aa6385437
Bump up MSRV to 1.65.0
2022-12-19 09:31:23 +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
tyranron
e9482c3f18
Fix codegen tests for latest nightly Rust
2022-08-29 17:10:40 +03: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
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
tyranron
1f0f683d0b
Upgrade rocket
crate to 0.5.0-rc.2 version
2022-05-11 21:37:23 +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
744b808b48
Merge backported 0.8.1 juniper_rocket
2022-03-29 13:37:58 +03:00
tyranron
1cb305cc1a
Backport making request body size Limit
configurable in juniper_rocket
( #1044 )
...
Co-authored-by: Filip Gospodinov <f@gospodinov.ch>
2022-03-29 13:26:58 +03:00
Filip Gospodinov
1fa69ebcfa
Make request body size Limit
configurable in juniper_rocket
( #1044 )
2022-03-29 13:12:28 +03:00
tyranron
77d4c90b23
Bump up juniper
and juniper_codegen
version to 0.16.0-dev to disambiguate release automation on CI
2022-02-02 20:08:41 +02:00
tyranron
589acb5a7b
Merge security fixes from 0.15 juniper
releases
2022-02-02 19:37:24 +02:00
tyranron
855137cde6
Release juniper
0.15.9
2022-02-02 18:33:41 +02:00
Christian Legnitto
a64fdc3522
Release juniper_rocket 0.7.2
2022-01-26 23:48:27 -08:00
Christian Legnitto
3025ab0a4a
Release juniper 0.15.8
2022-01-26 23:28:49 -08:00
Kai Ren
64fb83f5aa
Provide access to juniper::GraphQLBatchRequest from juniper_rocket::GraphQLRequest via AsRef/AsMut ( #968 , #930 )
2021-07-21 17:33:11 +03:00
Christian Legnitto
fe9c89c73c
Release juniper_rocket 0.8.0
2021-07-08 00:04:03 -07:00
Christian Legnitto
88b10fe009
Release juniper 0.15.7
2021-07-08 00:01:56 -07:00
Christian Legnitto
93deb2862a
Make juniper_rocket_async replace juniper_rocket ( #955 )
...
* Make juniper_rocket_async replace juniper_rocket
Now that rocket v0.5 is async and in rc, merge the two juniper projects.
Fixes https://github.com/graphql-rust/juniper/issues/947 .
* Remove println
2021-07-07 09:26:22 -07:00
Jordão Rodrigues Oliveira Rosario
739cc3bfc2
Upgraded tokio, warp, hyper and actix ( #912 )
...
* Upgraded tokio, warp, hyper and actix
* Code formatting
* actix-web temporary version fix specification
* Error handling fix on juniper_rocket
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-06-28 20:22:45 -10:00
Christian Legnitto
5a8d4c053c
Release juniper_rocket 0.7.1
2021-06-07 18:40:25 -07:00
Christian Legnitto
5dee177fb1
Release juniper 0.15.6
2021-06-07 18:23:16 -07:00
Christian Legnitto
d286ec781e
Release juniper_rocket 0.7.0
2021-06-07 18:15:04 -07:00
Christian Legnitto
2cb026fe53
Support latest rocket 0.4 ( #940 )
...
There was a regression:
https://github.com/SergioBenitez/Rocket/issues/1647
Fixes https://github.com/graphql-rust/juniper/issues/939 .
2021-06-06 15:27:24 -07:00
tyranron
e998457c0e
Release juniper 0.15.5
2021-05-11 17:38:32 +03:00
Christian Legnitto
3336fa90a2
Release juniper_rocket 0.6.3
2021-04-03 15:39:08 -10:00
Christian Legnitto
97d8b70ea0
Release juniper 0.15.4
2021-04-03 15:36:50 -10:00
Christian Legnitto
d1c7e1d0b3
Release juniper_rocket 0.6.2
2021-01-27 20:30:22 -10:00
Christian Legnitto
212f896e40
Release juniper 0.15.3
2021-01-27 17:54:00 -10:00
Christian Legnitto
aae97b246b
Release juniper_rocket 0.6.1
2021-01-15 19:50:59 -10:00
Christian Legnitto
186186a603
Release juniper 0.15.2
2021-01-15 19:46:23 -10:00
Christian Legnitto
b2a3b097bd
Release juniper 0.15.1
2020-12-12 09:48:31 -10:00
Christian Legnitto
0c83ffde2a
Fix release replacements. ( #825 )
...
Some crates need to rewrite values when they are released in other crates. It turns out, by default we use a general config _build/release.toml. So it turns out these local-to-the-crate release.tomls were not being used unless explicitly chosen in the local-to-the-crate Makefile.toml. This removes the dead release.tomls and overrides the ones that need to edit other crates on release.
2020-12-11 19:20:05 -10:00
Christian Legnitto
5436288dae
Release juniper_rocket 0.6.0
2020-12-09 19:23:01 -10:00
Christian Legnitto
bfe627e573
Release juniper 0.15.0
2020-12-09 19:19:43 -10:00
Kai Ren
421b343398
Remove redundant extern crate
usages ( #790 )
...
Additionally:
- remove obsolete benches in benches/ dir
- restore benches in juniper/benches/ dir
2020-10-19 19:42:27 +03:00
Kai Ren
cbf16c5a33
Make interfaces great again! ( #682 )
...
* Bootstrap
* Upd
* Bootstrap macro
* Revert stuff
* Correct PoC to compile
* Bootstrap #[graphql_interface] expansion
* Bootstrap #[graphql_interface] meta parsing
* Bootstrap #[graphql_interface] very basic code generation [skip ci]
* Upd trait code generation and fix keywords usage [skip ci]
* Expand trait impls [skip ci]
* Tune up objects [skip ci]
* Finally! Complies at least... [skip ci]
* Parse meta for fields and its arguments [skip ci]
- also, refactor and bikeshed new macros code
* Impl filling fields meta and bootstrap field resolution [skip ci]
* Poking with fields resolution [skip ci]
* Solve Rust's teen async HRTB problems [skip ci]
* Start parsing trait methods [skip ci]
* Finish parsing fields from trait methods [skip ci]
* Autodetect trait asyncness and allow to specify it [skip ci]
* Allow to autogenerate trait object alias via attribute
* Support generics in trait definition and asyncify them correctly
* Temporary disable explicit async
* Cover arguments and custom names/descriptions in tests
* Re-enable tests with explicit async and fix the codegen to satisfy it
* Check implementers are registered in schema and vice versa
* Check argument camelCases
* Test argument defaults, and allow Into coercions for them
* Re-enable markers
* Re-enable markers and relax Sized requirement on IsInputType/IsOutputType marker traits
* Revert 'juniper_actix' fmt
* Fix missing marks for object
* Fix subscriptions marks
* Deduce result type correctly via traits
* Final fixes
* Fmt
* Restore marks checking
* Support custom ScalarValue
* Cover deprecations with tests
* Impl dowcasting via methods
* Impl dowcasting via external functions
* Support custom context, vol. 1
* Support custom context, vol. 2
* Cover fallible field with test
* Impl explicit generic ScalarValue, vol.1
* Impl explicit generic ScalarValue, vol.2
* Allow passing executor into methods
* Generating enum, vol.1
* Generating enum, vol.2
* Generating enum, vol.3
* Generating enum, vol.3
* Generating enum, vol.4
* Generating enum, vol.5
* Generating enum, vol.6
* Generating enum, vol.7
* Generating enum, vol.8
* Refactor juniper stuff
* Fix juniper tests, vol.1
* Fix juniper tests, vol.2
* Polish 'juniper' crate changes, vol.1
* Polish 'juniper' crate changes, vol.2
* Remove redundant stuf
* Polishing 'juniper_codegen', vol.1
* Polishing 'juniper_codegen', vol.2
* Polishing 'juniper_codegen', vol.3
* Polishing 'juniper_codegen', vol.4
* Polishing 'juniper_codegen', vol.5
* Polishing 'juniper_codegen', vol.6
* Polishing 'juniper_codegen', vol.7
* Polishing 'juniper_codegen', vol.8
* Polishing 'juniper_codegen', vol.9
* Fix other crates tests and make Clippy happier
* Fix examples
* Add codegen failure tests, vol. 1
* Add codegen failure tests, vol. 2
* Add codegen failure tests, vol.3
* Fix codegen failure tests accordingly to latest nightly Rust
* Fix codegen when interface has no implementers
* Fix warnings in book tests
* Describing new interfaces in Book, vol.1
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-10-05 21:21:01 -10:00
Mihai Dinculescu
45c16acc6e
Actix subscriptions tests ( #736 )
...
* Actix subscriptions tests
* Use LocalBoxFuture instead of async-trait
* expose-test-schema already includes serde_json
* Add anyhow to juniper dev-dependencies
* The HTTP test helpers are not needed for juniper tests
* juniper_actix does not need tokio in dev-dependencies
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-08-18 21:08:53 -10:00
Christian Legnitto
29930b002b
Update compile fail tests for nightly Rust ( #710 )
...
* Update compile fail tests for latest Rust
The messages appear to have changed on nightly
* Fix tests depending on fixture data
* Fix more integration test paths
* Fix doc warnings
2020-07-18 13:19:50 -10:00
Christian Legnitto
3c79f6a2c5
Move starwars schema into fixture directory ( #694 )
...
Move starwars query into fixture directory
Also include the graphql schema definition file and a test
to make sure they match.
2020-07-15 21:46:37 -10:00
Kai Ren
4d77a1a9b9
Strip redundant Send/Sync bounds ( #688 )
...
Additionally:
- strip redundant type parameters for juniper::Context in some core definitions and reuse associated type
2020-06-30 18:13:15 +03:00
Kai Ren
aedb2d1eb4
Support "Content-Type: application/graphql" ( #426 ) ( #654 )
...
* Support 'application/graphql' POST requests for 'juniper_warp'
* Add integration tests for 'application/graphql' POST requests and revive HttpIntegration test suite for 'juniper_warp'
* Support 'application/graphql' POST requests for 'juniper_hyper' and run its tests for both sync and async versions
* Run integration tests for both sync and async versions of 'juniper_warp' and update its CHANGELOG
* Support 'application/graphql' POST requests for 'juniper_iron'
* Fix 'application/graphql' POST requests support for 'juniper_actix'
* Support 'application/graphql' POST requests in 'juniper_rocket' and 'juniper_rocket_async'
* Upd juniper's CHANGELOG
2020-05-08 06:00:49 -10:00
Kai Ren
79c265f027
Remove direct usage of 'serde_derive' crate and redundant usage of 'serde' crate ( #640 )
2020-04-28 06:39:35 -10:00