Commit graph

990 commits

Author SHA1 Message Date
Christian Legnitto
a85315e5fb Release juniper_graphql_ws 0.2.4 2021-04-03 15:41:32 -10:00
Christian Legnitto
728b1b598d Release juniper_subscriptions 0.15.4 2021-04-03 15:40:30 -10:00
Christian Legnitto
3336fa90a2 Release juniper_rocket 0.6.3 2021-04-03 15:39:08 -10:00
Christian Legnitto
3e0841be6a Release juniper_iron 0.7.3 2021-04-03 15:37:55 -10:00
Christian Legnitto
97d8b70ea0 Release juniper 0.15.4 2021-04-03 15:36:50 -10:00
Christian Legnitto
1815d23194 Release juniper_codegen 0.15.4 2021-04-03 15:35:33 -10:00
Christian Legnitto
ed3bb68329
Add min so newer cargo-release doesn't fail (#909) 2021-04-03 15:13:25 -10:00
Jerel Unruh
c78045c167
Make the executor and validation APIs public to enable split parsing and execution (#874)
* Make the executor and validation APIs public to enable splitting parsing and execution into two stages

Based on https://github.com/graphql-rust/juniper/pull/773#issuecomment-703783048 and https://github.com/graphql-rust/juniper/pull/773#issuecomment-704009918

* Fix fmt warning for visit_all_rules

* Add `Definition` to the public API so it's available for the result of compilation

* Make OperationType public so that user land code can tell the difference between query/mutation and subscription

* Add integrations tests for execute_validated_query_async, visit_all_rules, get_operation, and resolve_validated_subscription

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-04-02 19:13:06 -10:00
Tilman Roeder
e7f7e7bff3
Fragment spreads in Interface types (#907)
* Add failing test

* Fix fragment spread on interface

* Cargo fmt

* Add test and fix for sync version

* Cargo fmt
2021-04-02 09:34:52 -10:00
Samuel Ainsworth
7a76be7407
Make juniper_hyper functions return Response<Body> where applicable (#889)
* graphql, graphiql, playground return Response<Body>

* And don't forget about `graphql_sync`!

* fix juniper_hyper tests

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-04-01 18:08:01 -10:00
Edward Rudd
09637fba94
Un-deprecate the select_child, has_child, and child_names methods (#900)
- Issues with removing them documented in issue #878

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-03-29 23:12:48 -10:00
Rob Ede
57165b33a0
Update third-party examples in book (#898)
* Update third-party.md

* Update third-party.md

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-03-29 19:30:24 -10:00
André Isaksson Kraft
0de631741e
Use smartstring for name of field (#819). (#899)
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-03-29 19:29:08 -10:00
dependabot-preview[bot]
61fbd6ef7f
Update pretty_assertions requirement from 0.6.1 to 0.7.1 (#895)
Updates the requirements on [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) to permit the latest version.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-29 18:23:33 -10:00
Iha Shin
059e9aabee
Update juniper_rocket_async for the latest Rocket master (#905)
* Update for the latest Rocket master

* Run rustfmt

* Update tokio Version

* Improve Error Test Helper Function

* Improve Code Readability
2021-03-29 15:50:55 -10:00
Alex Touchet
06b1fbce0c
Update iron link (#890) 2021-03-01 17:26:44 -10:00
abrackx
f5ce9f2d79
Switch to HashMap for the internal representation of object fields (#872)
* Resolves #818. Updates Object key_value_list to use HashMap<String, Value<S>>. Updates test cases.

* Updates to use IndexMap. Reverts changes to test cases.

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-02-28 18:10:53 -10:00
trevyn
f6523c9d29
Fix 404 for juniper_warp example (#885)
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-02-26 11:59:19 -10: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
Will Tachau
474cd19d1a
Update README.md (#886) 2021-02-25 16:57:45 -10:00
Alexander van Ratingen
52483718ed
Support subscriptions for GraphiQL and Playground. (#859)
* Support subscriptions for GraphiQL and Playground.

Add support for subscriptions for GraphiQL and Playground in `juniper_rocket_async`.

* Update example.

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-02-03 16:17:19 -10:00
wangcong
3b6c3f9c0f
Fix typo (#866)
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-01-27 23:46:20 -10:00
Christian Legnitto
19bfbf60fb Release juniper_actix 0.2.3 2021-01-27 21:35:55 -10:00
Christian Legnitto
71731c8cb2 Release juniper_warp 0.6.2 2021-01-27 20:56:46 -10:00
Christian Legnitto
3638e1e65e Release juniper_graphql_ws 0.2.3 2021-01-27 20:35:52 -10:00
Christian Legnitto
5490d25ee2 Release juniper_subscriptions 0.15.3 2021-01-27 20:32:22 -10:00
Christian Legnitto
d1c7e1d0b3 Release juniper_rocket 0.6.2 2021-01-27 20:30:22 -10:00
Christian Legnitto
2745e5ed9e Release juniper_iron 0.7.2 2021-01-27 19:09:08 -10:00
Christian Legnitto
e0a7796c83 Release juniper_hyper 0.6.3 2021-01-27 17:55:32 -10:00
Christian Legnitto
212f896e40 Release juniper 0.15.3 2021-01-27 17:54:00 -10:00
Christian Legnitto
fc1c7dfe63 Release juniper_codegen 0.15.3 2021-01-27 17:53:14 -10:00
Christian Legnitto
c4c115ca97
Update CHANGELOG.md 2021-01-27 04:26:28 -10:00
Christian Legnitto
dc902d7296
Update CHANGELOG.md 2021-01-27 04:25:08 -10:00
Erik
8d654a6b42
Fix Content-Type header parsing in 'juniper_actix' (#863, #860) 2021-01-26 22:07:39 +02:00
Graeme Coupar
824cd4081b
Update juniper_codegen for syn 1.0.60 (#861)
* Update juniper_codegen for syn 1.0.60

syn 1.0.60 has updated it's `Type::__Nonexhaustive` to
`Type::TestExhaustive`, breaking juniper.  This updates juniper to use
the recommended idiom for doing exhaustive matching on `Type`, which
fixes this.

Not entirely clear if we need exhaustive matching here or if we could
just use a fallback, but this fixes the build at least.

Also updated the minimum syn so users have to pull it in

* Update example to use relative deps

As otherwise CI fails on this branch
2021-01-26 07:41:03 -10:00
Matt Wilkinson
2c9c172252
Use working GraphQL Playground version (#856)
* Use working GraphQL Playground version

the linked file on jsDelivr doesn't work, as I detailed in this issue on the GraphQL Playground repo (https://github.com/graphql/graphql-playground/issues/1310). Going back to version 1.7.20 ensures the playground loads for now until they can publish a new version with a working middleware.js file.

* Add versions for css and favicon

* Update from 1.7.20 to 1.7.26

Using latest version that still works
2021-01-25 22:38:15 -10:00
Christian Legnitto
6f49085096 Release juniper_actix 0.2.2 2021-01-15 19:56:45 -10:00
Christian Legnitto
c6a9774b44 Release juniper_warp 0.6.1 2021-01-15 19:54:43 -10:00
Christian Legnitto
d4c97fdc77 Release juniper_graphql_ws 0.2.2 2021-01-15 19:53:42 -10:00
Christian Legnitto
5056a3c58f Release juniper_subscriptions 0.15.2 2021-01-15 19:52:18 -10:00
Christian Legnitto
aae97b246b Release juniper_rocket 0.6.1 2021-01-15 19:50:59 -10:00
Christian Legnitto
806a7b9abe Release juniper_iron 0.7.1 2021-01-15 19:49:40 -10:00
Christian Legnitto
389b78060a Release juniper_hyper 0.6.2 2021-01-15 19:47:37 -10:00
Christian Legnitto
186186a603 Release juniper 0.15.2 2021-01-15 19:46:23 -10:00
Christian Legnitto
948517b84f Release juniper_codegen 0.15.2 2021-01-15 19:44:23 -10:00
Christian Legnitto
329caad4cd
Update CHANGELOG.md 2021-01-15 19:41:27 -10:00
Christian Legnitto
2e24b55e99 Update GraphQL Playground
Version taken from https://www.jsdelivr.com/package/npm/graphql-playground-react.

Fixes https://github.com/graphql-rust/juniper/issues/830
2021-01-15 19:36:29 -10:00
EdorianDark
250e261204
Make the actix example self contained (#839)
A smaller example is esier to understand.
Fixes #804

Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2021-01-15 19:26:55 -10:00
Kai Ren
4682fe2f4e
Add missing marker trait impls for container types (#847) 2021-01-15 07:31:50 -10:00
Filip Gospodinov
516c720962
juniper_rocket_async: fix tokio dependency (#848) 2021-01-15 12:31:25 +02:00