Commit Graph

33 Commits

Author SHA1 Message Date
Lucio Franco a9db219e50 fix(web): Fix enable and update docs (#1326)
* fix(web): Fix `enable` and update docs

* fix example, update deny

* fix namedservice path
2023-03-20 17:04:46 +00:00
tottoto 838d91aca3 chore: Update to tower-http 0.4 (#1296)
* chore: Update to tower-http 0.4

* chore(tonic): Update to axum 0.6.9
2023-02-27 14:33:14 +00:00
Lucio Franco 983be6608e chore(web): Update tonic-web readme (#1292) 2023-02-23 10:06:32 +00:00
Francesco Guardiani b5764035eb Remove unnecessary Clone bound in GrpcWebLayer (#1291)
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2023-02-22 12:10:36 +00:00
tottoto 74e4400219 chore: Use feature resolver v2 and turn off unused features (#1270)
* chore: Use feature resolver version 2

* chore(web): Turn off unused features
2023-02-15 14:46:27 +00:00
tottoto 63f2e95be3 chore(web): Update to base64 0.21 (#1235) 2023-01-11 12:16:59 -05:00
tottoto ee6ccfbcc2 chore: Update to base64 0.21 (#1228) 2023-01-11 11:25:38 -05:00
tottoto bf22a740c3 chore: Update to 2021 edition (#1188) 2022-12-13 15:16:49 -05:00
tottoto 2dd09c02bd chore: Fix clippy lint (#1181) 2022-12-13 11:29:29 -05:00
Lucio Franco dc079c12bf chore: Prepare v0.8.3 release (#1164) 2022-11-28 13:35:48 -05:00
Francesco Guardiani a98d719fb4 feat(web): Removed Cors impl and replaced with tower-http's CorsLayer (#1123)
Fix #1122, see the issue for more details.

Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2022-10-31 13:56:36 -04:00
Francesco Guardiani 40536dc134 feat(web): Implement tower::Layer for tonic_web::Config (#1119)
Signed-off-by: slinkydeveloper <francescoguard@gmail.com>
2022-10-28 13:59:01 -04:00
Nicolas Guiard 64e29c621b test(tonic-web): fix grpc_web_content_types() test not covering all cases (#1113) 2022-10-18 13:25:24 -04:00
Lucio Franco ec359ba35f chore: Prepare 0.8 release (#1044) 2022-07-29 16:45:57 -04:00
tottoto 738ccba5e7 chore(web): Minor enhancement in document (#956) 2022-04-01 11:25:18 -04:00
Lucio Franco e87db5280e chore: Prepare aux crates for release (#955) 2022-04-01 10:45:31 -04:00
Lucio Franco 808c417cbd chore: Prepare 0.10 release (#954) 2022-03-31 17:05:54 -04:00
Jesse Szwedko c78274e3fe feat: Update prost to 0.10 (#948) 2022-03-30 10:43:06 -04:00
Yiyu Lin 37cd48304f fix(web): Fix error tonic-web doc url (#928) 2022-02-25 14:19:40 -05:00
Sylwester Rąpała c9e78c4d65 chore: Fulfill MIT license requirments (#916) 2022-02-18 13:56:47 -05:00
David Pedersen 101f2f76d4 chore: revert to 2018 edition (#847)
Fixes https://github.com/hyperium/tonic/issues/843
2021-12-07 09:49:07 +01:00
Lucio Franco 2fe7131a23 chore: Prepare 0.6.0 release (#811) 2021-10-25 10:25:56 -04:00
Lucio Franco 23c1392fb7 fix(tonic): Remove Sync requirement for streams (#804) 2021-10-24 21:48:05 -04:00
Lucio Franco 1f3df8db9e chore: Upgrade to 2021 edition (#808) 2021-10-24 21:12:20 -04:00
Eliza Weisman 09805ece45 feat: Update prost and friends to 0.9 (#791) 2021-10-19 10:59:28 -04:00
David Pedersen 4b0ece6d28 chore: fix clippy lints (#707) 2021-07-09 18:23:55 +02:00
David Pedersen 5aa8ae1fec feat(examples): add grpc-web example (#710)
Creates a server using tonic-web and a client that uses a regular
`hyper::Client` and issues a regular HTTP/1.1 request.
2021-07-09 18:02:43 +02:00
Lucio Franco 040e3a4811 chore: Prepare v0.5 release (#706)
* bump tonic version to 0.5

* Update changelog for 0.5

* Update CHANGELOG.md

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>

* address comments

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2021-07-08 15:53:14 -04:00
David Pedersen acdb3273bb chore: update prost, and related crates, to 0.8 (#703)
* chore: update prost, and related crates, to 0.8

Updates prost, prost-derive, prost-build, and prost-types to 0.8.

* Update the last few places
2021-07-08 15:02:02 -04:00
Juan Alvarez 4e0d2fc598 chore(tonic-web): add crate metadata and README (#675) 2021-06-04 16:26:15 -05:00
Juan Alvarez 8084f4ea26 chore(tonic-web): include crate in top-level workspace (#648)
This PR adds the tonic-web crate to tonic's workspace members. 
Unit and integration tests should now run as part of CI runs.
2021-06-03 11:48:53 -05:00
gmorer e1993877c4 fix(web): fix compilation (#670)
Make tonic::body::empty_body public and use it instead of the old and non existant anymore BoxBody::empty()
2021-06-02 13:59:11 +02:00
Juan Alvarez c309063254 feat(tonic-web): implement grpc <-> grpc-web protocol translation (#455)
tonic-web enables tonic servers to handle requests from grpc-web 
clients directly, without the need of an external proxy. 

Co-authored-by: John Hernandez <john.hern@outlook.com>
Co-authored-by: zancas <zancas@zingolabs.com>
2021-05-13 12:20:33 -05:00