Commit graph

1325 commits

Author SHA1 Message Date
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
dependabot[bot]
0d6d6471a2
Upgrade uuid crate to 1.0 version (#1057)
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-04-20 20:21:14 +03:00
tyranron
30d80dff12
Fix codegen failure test for latest nightly Rust 2022-04-19 17:22:43 +03:00
tyranron
ba1ed85b3c
Relax object safety requirement for GraphQLValue and GraphQLValueAsync traits 2022-04-19 16:33:10 +03:00
tyranron
b94c0ee214
Fix release automation check on CI for cargo-release 0.20.5 2022-04-14 19:07:48 +03:00
Cerber-Ursi
c40d80f26b
Fix expansion of procedural macros inside macro_rules! (#1054, #1051) 2022-04-13 16:15:50 +03:00
tyranron
1a6655e0d7
Fix release automation check on CI for cargo-release 0.20.4 2022-04-13 14:56:56 +03:00
tyranron
7cb602e71b
Disable nasty Windows for juniper_integration_tests on CI 2022-04-13 13:21:05 +03:00
dependabot[bot]
67cb649107
Upgrade iron to 0.6 version for Book tests (#1053)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 17:56:58 +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
ilslv
d0b56f9222
Implement #[derive(GraphQLInterface)] to use structs as GraphQL interfaces (#1026)
- support `#[graphql_interface]` on structs
2022-04-01 21:10:45 +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
4182a8cf2b
Fix tests for 1.0.90 syn version 2022-03-29 12:28:25 +03:00
dependabot[bot]
032ff3f4a6
Upgrade actix crate to 0.13 version (#1034)
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-03-14 12:46:52 +02:00
ilslv
fec998dce8
Update chrono crate scalars according to graphql-scalars.dev (#1010)
- remove `scalar-naivetime` feature
- disable `chrono` feature by default
2022-03-04 17:53:27 +02:00
ilslv
5bbc73ad89
Redesign #[derive(ScalarValue)] macro to derive ScalarValue on enums (#1025) 2022-03-03 15:49:35 +02:00
dependabot[bot]
4862915e47
Upgrade smartstring crate to 1.0 version (#1030)
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-02-28 12:59:19 +02:00
ilslv
0ebd19af5a
Redesign #[derive(GraphQLScalar)] and #[graphql_scalar] macros (#1017)
- `#[derive(GraphQLScalar)]`:
    - support generic scalars
    - support structs with single named field
    - support for overriding resolvers
- `#[graphql_scalar]`:
    - support `transparent` argument

Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-02-28 11:34:38 +02:00
ilslv
63198cdfcb
Redesign #[graphql_scalar] macro (#1014, #1000)
- support generic scalars
- make it applicable to type aliases and struct/enums/unions
2022-02-24 17:12:17 +02:00
tyranron
3a70403aba
Temporary disable release automation check on CI 2022-02-02 20:25:06 +02: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
47997d2cfb
Switch CI to 0.19.4 cargo-release 2022-02-02 19:52:28 +02:00
tyranron
589acb5a7b
Merge security fixes from 0.15 juniper releases 2022-02-02 19:37:24 +02:00
tyranron
82761736ce
Release juniper_iron 0.7.6 2022-02-02 18:37:23 +02:00
tyranron
6dbb5741c7
Release juniper_hyper 0.7.3 2022-02-02 18:36:00 +02:00
tyranron
855137cde6
Release juniper 0.15.9 2022-02-02 18:33:41 +02:00
tyranron
a0a566bc5b
Release juniper_codegen 0.15.9 2022-02-02 18:28:30 +02:00
tyranron
bb35c66448
Make validation execute in stages to avoid possible infinite recursion 2022-02-02 18:27:08 +02:00
Christian Legnitto
5304237d7c Release juniper_actix 0.3.1 2022-01-26 23:53:08 -08:00
Christian Legnitto
ad82364c5a Release juniper_warp 0.6.5 2022-01-26 23:51:58 -08:00
Christian Legnitto
bae27e8694 Release juniper_graphql_ws 0.2.6 2022-01-26 23:51:12 -08:00
Christian Legnitto
5fb222e66f Release juniper_subscriptions 0.15.6 2022-01-26 23:50:29 -08:00
Christian Legnitto
a64fdc3522 Release juniper_rocket 0.7.2 2022-01-26 23:48:27 -08:00
Christian Legnitto
b251de65fa Release juniper_iron 0.7.5 2022-01-26 23:47:25 -08:00
Christian Legnitto
12feeb0cd4 Release juniper_hyper 0.7.2 2022-01-26 23:46:19 -08:00
Christian Legnitto
3025ab0a4a Release juniper 0.15.8 2022-01-26 23:28:49 -08:00
Christian Legnitto
1fd518e72c Release juniper_codegen 0.15.8 2022-01-26 23:28:15 -08:00
Christian Legnitto
4b0aabe9f6 More breaking changes with cargo-release 0.19.0 2022-01-26 23:21:46 -08:00
Christian Legnitto
399a79056a Update key for newer cargo-release 2022-01-26 22:47:29 -08:00
Christian Legnitto
c28c77e458 Fix panic on malformed queries with recursive fragments.
This is a potential denial-of-service attack vector. Thanks to
[@quapka](https://github.com/quapka) for the detailed vulnerability report
and reproduction steps.
2022-01-26 22:31:10 -08:00
Christian Legnitto
17d474ed21 Fix panic on malformed queries with recursive fragments.
This is a potential denial-of-service attack vector. Thanks to
[@quapka](https://github.com/quapka) for the detailed vulnerability report
and reproduction steps.
2022-01-26 20:24:27 -10:00
ilslv
1aa1000c3b
Redesign #[graphql_interface] macro (#1009, #1000, #814)
- remove support for `#[graphql_interface(dyn)]`
- describe all interface trait methods with type's fields or impl block instead of `#[graphql_interface]` attribute on `impl Trait`
- forbid default impls on non-skipped trait methods
- support additional nullable arguments on implementer
- support returning sub-type on implementer
2022-01-26 20:58:53 +02:00
Drew
c866e091a4
Update versions referenced in server integration docs (#1013) 2022-01-03 12:47:53 +02:00
ilslv
eb83b60c9a
Support directives on variables definitions (#1005, #1000) 2021-12-21 19:14:34 +02:00
tyranron
18b10af9f3
Improve time crate integration (#1006)
- fix input/result coercions for `OffsetDateTime` according to spec
- use `@specifyByUrl` directive
- remove `time` from default features
2021-12-20 19:33:39 +01:00
ilslv
d9e209a19d
Add @deprecated directive (#1008) 2021-12-20 19:51:46 +02:00
ilslv
f504da6d15
Fix juniper_codegen_tests assertions (#1007) 2021-12-20 14:50:49 +02:00
ilslv
847d09fb5e
Support @specifiedBy(url: "...") directive via specified_by_url attribute argument in #[graphql_scalar] and #[derive(GraphQLScalarValue)] macros (#1003, #1000)
- support `isRepeatable` field on directives
- support `__Schema.description`, `__Type.specifiedByURL` and `__Directive.isRepeatable` fields in introspection
2021-12-20 13:36:27 +02:00