Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperium/tonic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.10.2
Choose a base ref
...
head repository: hyperium/tonic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.11.0
Choose a head ref

Commits on Nov 13, 2023

  1. Copy the full SHA
    f089e7a View commit details
  2. chore: fix typos (#1563)

    shuoer86 authored Nov 13, 2023
    Copy the full SHA
    680214b View commit details
  3. Copy the full SHA
    e1fa95e View commit details
  4. support vectored IO (#1502)

    Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
    xiaoyawei and LucioFranco authored Nov 13, 2023
    Copy the full SHA
    ff71e89 View commit details
  5. chore: Fix clippy warning (#1500)

    Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
    tottoto and LucioFranco authored Nov 13, 2023
    Copy the full SHA
    522a8d7 View commit details

Commits on Nov 15, 2023

  1. Copy the full SHA
    dcaf23c View commit details
  2. Copy the full SHA
    7562600 View commit details
  3. chore: Remove redundant helper constructor (#1534)

    * chore: Remove redundant helper constructor
    
    * chore: Refactor endpoint to construct connector
    tottoto authored Nov 15, 2023
    Copy the full SHA
    9123f68 View commit details
  4. Copy the full SHA
    9d712c5 View commit details
  5. Copy the full SHA
    aa67ae5 View commit details
  6. Copy the full SHA
    15663f1 View commit details
  7. Copy the full SHA
    7cb1cd2 View commit details
  8. Copy the full SHA
    53267a3 View commit details
  9. Add zstd compression support (#1532)

    * Implement zstd compression
    
    * Parametrize compression tests
    
    * add tests for accepting multiple encodings
    
    * add some missing feature cfg for zstd
    
    * make as_str only crate public
    
    * make into_accept_encoding_header_value handle all combinations
    
    * make decompress implementation consistent
    
    * use zstd::stream::read::Encoder
    
    * use default compression level for zstd
    
    * fix rebase
    
    * fix CI issue
    
    ---------
    
    Co-authored-by: martinabeleda <martin.abeleda@gmail.com>
    Co-authored-by: Quentin Perez <qp@amo.co>
    Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
    4 people authored Nov 15, 2023
    Copy the full SHA
    e8cb48f View commit details
  10. fix (#1562)

    Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
    kariy and LucioFranco authored Nov 15, 2023
    Copy the full SHA
    07e4ee1 View commit details

Commits on Dec 19, 2023

  1. chore: Update cargo-deny config (#1503)

    * chore: Remove base64 from cargo-deny skip-tree
    
    * chore: Remove socket2 from deny skip-tree config
    tottoto authored Dec 19, 2023
    Copy the full SHA
    43a7c54 View commit details
  2. chore(tonic): Remove API when they only return None (#1584)

    * chore(tonic): Remove API when they only return None
    
    * chore(tonic): Refactor api to get addr from request
    tottoto authored Dec 19, 2023
    Copy the full SHA
    4077ab0 View commit details
  3. Copy the full SHA
    48dd15e View commit details

Commits on Jan 5, 2024

  1. Copy the full SHA
    177c1f3 View commit details

Commits on Jan 25, 2024

  1. Update README.md (#1607)

    Groundbreaking change that will improve the documentation 🚀
    cpiemontese authored Jan 25, 2024
    Copy the full SHA
    0c4fd0b View commit details
  2. tonic-reflection: feature-gate server impl (#1605)

    * tonic-reflection: feature-gate server impl
    
    * Update tonic-reflection/Cargo.toml
    
    ---------
    
    Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
    A-Manning and LucioFranco authored Jan 25, 2024
    Copy the full SHA
    a1d6daa View commit details
  3. Copy the full SHA
    f714f42 View commit details

Commits on Jan 29, 2024

  1. Copy the full SHA
    c30cb78 View commit details

Commits on Feb 1, 2024

  1. Copy the full SHA
    227b169 View commit details
  2. Add connection timeout to connect_with_connector_lazy (#1619)

    Currently connect_with_connector_lazy doesn't respect connection
    timeouts. This means that if you have a misbehaving server a request
    that's connecting lazily can hang for the client without timing out.
    This commit adds the timeout to the custom connector if it has been set
    on the endpoint, bringing the behaviour in line with other connect
    methods.
    Benjscho authored Feb 1, 2024
    Copy the full SHA
    4859a73 View commit details

Commits on Feb 2, 2024

  1. Update helloworld-tutorial.md - Fix Clippy lints (#1617)

    warning: useless conversion to the same type: `std::string::String`
    netanelrabinowitz authored Feb 2, 2024
    Copy the full SHA
    4227468 View commit details

Commits on Feb 5, 2024

  1. Copy the full SHA
    2a2809b View commit details

Commits on Feb 8, 2024

  1. chore(tls): Update to rustls 0.22.0 (#1509)

    * chore(tls): Update to rustls 0.22.0
    
    * chore: Add examples to deny skip-tree
    tottoto authored Feb 8, 2024
    Copy the full SHA
    23106dd View commit details
  2. Copy the full SHA
    4263f87 View commit details
  3. Copy the full SHA
    209fcbe View commit details
  4. Copy the full SHA
    ea8cd3f View commit details
Showing with 913 additions and 1,264 deletions.
  1. +7 −7 .github/workflows/CI.yml
  2. +16 −638 CHANGELOG.md
  3. +0 −1 Cargo.toml
  4. +1 −1 README.md
  5. +6 −6 codegen/src/main.rs
  6. +1 −2 deny.toml
  7. +4 −4 examples/helloworld-tutorial.md
  8. +2 −2 examples/routeguide-tutorial.md
  9. +2 −8 examples/src/dynamic/server.rs
  10. +1 −1 examples/src/mock/mock.rs
  11. +1 −1 examples/src/richer-error/client.rs
  12. +1 −1 examples/src/richer-error/client_vec.rs
  13. +3 −3 interop/src/client.rs
  14. +2 −2 interop/src/server.rs
  15. +2 −1 tests/compression/Cargo.toml
  16. +44 −12 tests/compression/src/bidirectional_stream.rs
  17. +86 −33 tests/compression/src/client_stream.rs
  18. +123 −20 tests/compression/src/compressing_request.rs
  19. +173 −52 tests/compression/src/compressing_response.rs
  20. +39 −18 tests/compression/src/server_stream.rs
  21. +40 −0 tests/compression/src/util.rs
  22. +13 −0 tests/integration_tests/src/lib.rs
  23. +2 −1 tests/integration_tests/tests/extensions.rs
  24. +2 −2 tests/integration_tests/tests/max_message_size.rs
  25. +1 −1 tests/integration_tests/tests/routes_builder.rs
  26. +2 −2 tonic-build/Cargo.toml
  27. +1 −1 tonic-build/README.md
  28. +1 −1 tonic-build/src/lib.rs
  29. +4 −8 tonic-build/src/prost.rs
  30. +2 −0 tonic-build/src/server.rs
  31. +3 −3 tonic-health/Cargo.toml
  32. +1 −1 tonic-health/src/lib.rs
  33. +15 −7 tonic-reflection/Cargo.toml
  34. +3 −1 tonic-reflection/src/lib.rs
  35. +1 −1 tonic-reflection/tests/server.rs
  36. +3 −3 tonic-types/Cargo.toml
  37. +1 −1 tonic-types/src/lib.rs
  38. +1 −0 tonic-types/src/richer_error/mod.rs
  39. +3 −4 tonic-web/Cargo.toml
  40. +9 −6 tonic-web/src/call.rs
  41. +1 −1 tonic-web/src/lib.rs
  42. +1 −1 tonic-web/tests/integration/tests/grpc.rs
  43. +2 −2 tonic-web/tests/integration/tests/grpc_web.rs
  44. +12 −10 tonic/Cargo.toml
  45. +16 −8 tonic/src/client/grpc.rs
  46. +69 −11 tonic/src/codec/compression.rs
  47. +5 −9 tonic/src/codec/decode.rs
  48. +7 −62 tonic/src/codec/encode.rs
  49. +0 −1 tonic/src/codec/prost.rs
  50. +2 −2 tonic/src/lib.rs
  51. +1 −1 tonic/src/metadata/value.rs
  52. +39 −67 tonic/src/request.rs
  53. +1 −0 tonic/src/server/grpc.rs
  54. +1 −1 tonic/src/status.rs
  55. +21 −22 tonic/src/transport/channel/endpoint.rs
  56. +2 −2 tonic/src/transport/channel/tls.rs
  57. +3 −2 tonic/src/transport/mod.rs
  58. +1 −1 tonic/src/transport/server/mod.rs
  59. +2 −14 tonic/src/transport/service/connector.rs
  60. +1 −6 tonic/src/transport/service/discover.rs
  61. +33 −0 tonic/src/transport/service/io.rs
  62. +1 −1 tonic/src/transport/service/mod.rs
  63. +64 −181 tonic/src/transport/service/tls.rs
  64. +6 −3 tonic/src/transport/tls.rs
14 changes: 7 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
with:
components: rustfmt
- run: cargo fmt --all --check
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
- name: Install protoc
uses: taiki-e/install-action@v2
with:
@@ -69,7 +69,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
- uses: taiki-e/install-action@cargo-hack
- name: Install protoc
uses: taiki-e/install-action@v2
@@ -86,9 +86,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
with:
rust-version: "1.64" # msrv
rust-version: "1.70" # msrv
- name: Install protoc
uses: taiki-e/install-action@v2
with:
@@ -106,7 +106,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
- name: Install protoc
uses: taiki-e/install-action@v2
with:
@@ -124,7 +124,7 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
- uses: hecrj/setup-rust-action@v2
- name: Install protoc
uses: taiki-e/install-action@v2
with:
Loading