vectordotdev / vector

A high-performance observability data pipeline.
https://vector.dev
Mozilla Public License 2.0
18.2k stars 1.6k forks source link

chore(deps): Bump the tower group with 2 updates #21827

Open dependabot[bot] opened 3 days ago

dependabot[bot] commented 3 days ago

Bumps the tower group with 2 updates: tower and tower-http.

Updates tower from 0.4.13 to 0.5.0

Release notes

Sourced from tower's releases.

tower 0.5.0

Fixed

  • util: BoxService is now Sync (#702)

Changed

  • util: Removed deprecated ServiceExt::ready_and method and ReadyAnd future (#652)
  • retry: Breaking Change retry::Policy::retry now accepts &mut Req and &mut Res instead of the previous mutable versions. This increases the flexibility of the retry policy. To update, update your method signature to include mut for both parameters. (#584)
  • retry: Breaking Change Change Policy to accept &mut self (#681)
  • retry: Add generic backoff utilities (#685)
  • retry: Add Budget trait. This allows end-users to implement their own budget and bucket implementations. (#703)
  • reconnect: Breaking Change Remove unused generic parameter from Reconnect::new (#755)
  • ready-cache: Allow iteration over ready services (#700)
  • discover: Implement Clone for Change (#701)
  • util: Add a BoxCloneServiceLayer (#708)
  • rng: use a simpler random 2-sampler (#716)
  • filter: Derive Clone for AsyncFilterLayer (#731)
  • general: Update IndexMap (#741)
  • MSRV: Increase MSRV to 1.63.0 (#741)

#702: tower-rs/tower#702 #652: tower-rs/tower#652 #584: tower-rs/tower#584 #681: tower-rs/tower#681 #685: tower-rs/tower#685 #703: tower-rs/tower#703 #755: tower-rs/tower#755 #700: tower-rs/tower#700 #701: tower-rs/tower#701 #708: tower-rs/tower#708 #716: tower-rs/tower#716 #731: tower-rs/tower#731 #741: tower-rs/tower#741

Commits
  • fec9e55 tower-layer: drop versions from dev dependencies (#782)
  • 646804d chore: prepare to release tower-0.5.0, tower-layer-0.3.3, tower-service-0.3.3...
  • 7202cfe chore: fix a few typos (#780)
  • 85080a5 use workspace dependencies for tower (#778)
  • 88a7d3e fix warnings found when running check/doc commands (#779)
  • a6e98a7 chore: update GitHub Actions CI (#740)
  • 74e925d chore: fix spelling errors (#775)
  • 89ac74f feat: Make new functions const when possible (#760)
  • 032d17f ensure that re-exported symbols show feature label in root (#754)
  • 05a0a25 Upgrade to indexmap v2 (MSRV 1.63) (#741)
  • Additional commits viewable in compare view


Updates tower-http from 0.4.4 to 0.5.2

Release notes

Sourced from tower-http's releases.

v0.5.2

Added:

  • compression: Will now send a vary: accept-encoding header on compressed responses (#399)
  • compression: Support x-gzip as equivalent to gzip in accept-encoding request header (#467)

Fixed

  • compression: Skip compression for range requests (#446)
  • compression: Skip compression for SSE responses by default (#465)
  • cors: Actually keep Vary headers set by the inner service when setting response headers (#473)
    • Version 0.5.1 intended to ship this, but the implementation was buggy and didn't actually do anything

#399: tower-rs/tower-http#399 #446: tower-rs/tower-http#446 #465: tower-rs/tower-http#465 #467: tower-rs/tower-http#467 #473: tower-rs/tower-http#473

v0.5.1

  • fs: Support files precompressed with zstd in ServeFile
  • trace: Add default generic parameters for ResponseBody and ResponseFuture (#455)
  • trace: Add type aliases HttpMakeClassifier and GrpcMakeClassifier (#455)

Fixed

  • cors: Keep Vary headers set by the inner service when setting response headers (#398)
  • fs: ServeDir now no longer redirects from /directory to /directory/ if append_index_html_on_directories is disabled (#421)

#398: tower-rs/tower-http#398 #421: tower-rs/tower-http#421 #455: tower-rs/tower-http#455

v0.5.0

Changed

  • Bump Minimum Supported Rust Version to 1.66 (#433)
  • Update to http-body 1.0 (#348)
  • Update to http 1.0 (#348)
  • Preserve service error type in RequestDecompression (#368)

Fixed

  • Accepts range headers with ranges where the end of range goes past the end of the document by bumping http-range-header to 0.4

#418: tower-rs/tower-http#418 #433: tower-rs/tower-http#433 #348: tower-rs/tower-http#348

... (truncated)

Commits
  • 18219fc Release 0.5.2 (#475)
  • 18677a9 Fix vary header special-casing in CORS middleware
  • 93fe516 Small documentation improvements for compression middleware
  • d205b1a fs: Simplify maybe_redirect_or_append_path
  • 853f3e9 Optimize encoding selection for compression middleware
  • e0192a3 Support x-gzip as Accept-Encoding in Compression (#466) (#467)
  • 601ba88 Move manifest-path to inputs (#468)
  • ad25019 compression: Exclude SSE from compression by default
  • 49ead0f Simplify impl SupportedEncodings for AcceptEncoding
  • 57b8b6f Fix a typo
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions