Commit graph

27 commits

Author SHA1 Message Date
tyranron
26bbd6d912
Prepare 0.8.0 release of juniper_warp crate (#1198) 2024-03-20 21:21:21 +02:00
Kai Ren
4ef8cf7de9
Fix Rejection handling in juniper_warp filters (#1222, #1177)
- rework `make_graphql_filter()` and `make_graphql_filter_sync()` to execute `context_extractor` only once
- handle all non-recoverable `Rejection`s in `make_graphql_filter()` and `make_graphql_filter_sync()`
- relax requirement for `context_extractor` to be a `BoxedFilter` only
- remove `JoinError` from public API
- provide example of fallible `context_extractor` in `make_graphql_filter()` API docs

Additionally:
- split  `juniper_warp` modules into separate files
- add @tyranron as `juniper_warp` co-author
2023-11-23 17:39:12 +00: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
Darin Morrison
9e0b9692a9
Allow to specify already Arced schema in juniper_warp (#1136, #1135)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2023-01-20 21:15:35 +02: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
589acb5a7b
Merge security fixes from 0.15 juniper releases 2022-02-02 19:37:24 +02:00
Christian Legnitto
ad82364c5a Release juniper_warp 0.6.5 2022-01-26 23:51:58 -08:00
Christian Legnitto
fd8c414f18 Release juniper_warp 0.7.0 2021-07-08 00:12:02 -07:00
Christian Legnitto
261dc205d0 Release juniper_warp 0.6.4 2021-06-07 19:42:28 -07:00
Christian Legnitto
c003c8149d Release juniper_warp 0.6.3 2021-04-03 15:42:33 -10:00
Christian Legnitto
71731c8cb2 Release juniper_warp 0.6.2 2021-01-27 20:56:46 -10:00
Christian Legnitto
c6a9774b44 Release juniper_warp 0.6.1 2021-01-15 19:54:43 -10:00
Christian Legnitto
9a8d98a0b1 Release juniper_warp 0.6.0 2020-12-09 20:06:03 -10: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
Matthew Kuo
47f7ffaa5b
Add subscriptions support for GraphiQL (#619)
* Add subscriptions support on GraphiQL

Addresses #501

BREAKING CHANGE: `juniper::http::graphiql::graphiql_source` now requires
a second parameter

BREAKING CHANGE: `juniper_hyper::graphiql` now requires
a second parameter

BREAKING CHANGE: `juniper_iron::GraphiQLHandler::new` now requires
a second parameter

BREAKING CHANGE: `juniper_rocket::graphiql_source` now requires
a second parameter

BREAKING CHANGE: `juniper_warp::graphiql_filter` now requires
a second parameter

* Add test where graphiql subscriptions endpoint is not None
2020-04-12 15:03:09 -10:00
Jordão Rodrigues Oliveira Rosario
926d4e5738
Changed implementation location for GraphQLBatchRequest/Response (#608) 2020-04-09 19:35:30 -10:00
nWacky
eb941e509a
Add subscription support (#433)
Co-authored-by: tyranron <tyranron@gmail.com>
Co-authored-by: Christian Legnitto <LegNeato@users.noreply.github.com>
2020-03-18 20:31:36 -07:00
Christian Legnitto
fc7827605c Release juniper_warp 0.5.2 2020-01-18 17:14:35 -08:00
nWacky
09d9513da9
Rebase onto master 2019-11-06 11:45:19 +03:00
Christian Legnitto
61c0543523 Release juniper_warp 0.5.0 2019-09-29 19:11:04 -07:00
Christian Legnitto
237febe328 Release juniper_warp 0.4.1 2019-07-29 08:12:47 -07:00
Christian Legnitto
90886c0fd2 Release juniper_warp 0.4.0 2019-07-19 14:27:08 -07:00
Christian Legnitto
4eea56351b Release juniper_warp 0.3.0 2019-05-16 19:14:16 -07:00
Christian Legnitto
794568e463
Add release automation (#346)
See `RELEASING.md` for directions
2019-05-11 23:51:28 -07:00
Christian Legnitto
9459435670 Update changelogs
Not sure why `cargo release` didn't do this...
2018-12-17 15:06:16 -08:00
Christian Legnitto
f61fdb2063
Add previous juniper_warp changes to the changelog
Fixes https://github.com/graphql-rust/juniper/issues/268
2018-10-27 19:00:32 -07:00
Christian Legnitto
86fdd25ac7
Upgrade juniper_warp to warp 0.1.8 (#271)
This unbreaks the build, as the newer warp deprecates some of the filters we
were using and we had `deny_warnings` on.
2018-10-27 19:45:47 -06:00