Skip to content

Bump tower-http from 0.6.8 to 0.7.1 - #458

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tower-http-0.7.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tower-http-0.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps tower-http from 0.6.8 to 0.7.1.

Release notes

Sourced from tower-http's releases.

tower-http-0.7.1

Added

  • fs: add ServeDir::redirect_to_trailing_slash() to serve directory indexes directly instead of first redirecting to the trailing-slash path. The redirect remains the default (#728)
  • fs: add ignore_multi_range_requests() to ServeDir and ServeFile, serving the full representation when a request asks for multiple byte ranges. The existing 416 Range Not Satisfiable response remains the default (#727)
  • request-id: the constructors and accessors on the request-id layers, services, and RequestId are now const fn, so they can be used in const context (#716)

Changed

  • fs: the minimum http-range-header requirement is now 0.4.2 (#661)

Fixed

  • behavioral change: fs: make ServeDir::try_call propagate expected filesystem I/O errors when no fallback is configured, as documented, instead of converting them to 404 Not Found responses (#718)
  • decompression: don't end the body when a data frame with no remaining bytes arrives after the decompressor reports end-of-stream. Trailers following such a frame were dropped and could not be recovered (#722)
  • decompression: return a body error when a data frame with remaining bytes arrives after the decompressor reports end-of-stream, rather than silently truncating. This regressed in 0.7.0 (#712)
  • fs: multipart range requests are now rejected before range validation, so they consistently return 416 Range Not Satisfiable with a Cannot serve multipart range requests body instead of a generic unsatisfiable-range response (#661)
  • fs: range error responses no longer carry representation headers such as Content-Type and Content-Encoding (#727)
  • set-header: SetMultipleResponseHeadersLayer and SetMultipleResponseHeader are now Clone regardless of the response body type, matching the fix applied to the request-side types in 0.7.0 (#714)

#661: tower-rs/tower-http#661 #712: tower-rs/tower-http#712 #714: tower-rs/tower-http#714 #716: tower-rs/tower-http#716 #718: tower-rs/tower-http#718 #722: tower-rs/tower-http#722 #727: tower-rs/tower-http#727 #728: tower-rs/tower-http#728

All the changes

... (truncated)

Commits
  • c941451 chore(release): prepare 0.7.1 (#729)
  • 9697702 chore(deps): bump taiki-e/install-action from 2.86.3 to 2.86.8 (#730)
  • e2582e2 Allow ignoring multi-range requests (#727)
  • 888f7fe feat(services): configure directory redirects (#728)
  • 5ad7654 chore(deps): bump taiki-e/install-action from 2.85.12 to 2.86.3 (#726)
  • d154adb fix: reject multipart ranges before validation (#661)
  • d9e5c8a ci: Update to cargo-check-external-types 0.5.0 (#724)
  • 90c072b Propagate ServeDir::try_call I/O errors (#718)
  • 860922e fix(decompression): don't end the body on an empty data frame (#722)
  • 8532252 docs(example)/custom future with multiple bodies (#711)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 5, 2026
@dependabot
dependabot Bot requested a review from yansfil as a code owner October 5, 2026 03:01
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tower-http-0.7.1 branch from cedc549 to dc74df3 Compare October 8, 2026 10:21
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.6.8 to 0.7.1.
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](tower-rs/tower-http@tower-http-0.6.8...tower-http-0.7.1)

---
updated-dependencies:
- dependency-name: tower-http
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/tower-http-0.7.1 branch from dc74df3 to 42e09fb Compare October 15, 2026 16:14
yansfil added a commit that referenced this pull request Oct 15, 2026
…ower-http (#1195)

Supersedes #455 #456 #457 #458

## Summary

오래 열려 있던 Dependabot 메이저 업데이트 4건을 하나로 처리합니다.
- typify 0.7.0 -> 0.8.0, jsonschema 0.55.1 -> 0.58.1, tokio-tungstenite
0.29.0 -> 0.30.0.
- tower-http는 올리지 않고 지웠습니다. hided가 처음부터 선언만 하고 코드 어디에서도 쓰지 않았습니다.
- tower-http가 켜 주던 tokio `fs` 기능을 실제로 쓰는 hided와 hide-node가 직접 선언합니다.
- `cargo hakari generate`와 `manage-deps --yes`로 `workspace-hack`을 다시
썼습니다.

## Review

- **판단해 주세요**: axum 0.8.9(최신)가 tokio-tungstenite 0.29를 써서, 빌드에
tungstenite 0.29와 0.30이 함께 들어갑니다. axum이 0.30으로 오면 하나로 돌아옵니다. 작은 크레이트 두
개를 한 번 더 컴파일하는 비용과 #455를 닫는 것 중 이쪽을 골랐습니다.
- **조심해서 볼 파일**: `herdr-core/Cargo.toml` - typify는 Herdr wire 타입 생성기입니다.
생성 코드 비교는 Evidence에 있습니다.
- **조심해서 볼 파일**: `workspace-hack/Cargo.toml` - tower-http가 빠지면서 tokio
`fs`, tokio-util이 공용 기능 집합에서 빠지고 futures-sink/task가 들어왔습니다.

## Evidence

- **확인한 것**: typify 0.7과 0.8이 같은 계약(`contracts/herdr-api.schema.json`)에서
만든 4개 파일을 doc 주석을 빼고 최상위 항목 단위로 비교했습니다. 아래 세 가지를 맞추면 513개 항목이 모두 같습니다.
- `Option` 필드의 `#[serde(default)]`가 빠짐: serde는 빠진 `Option` 필드를 원래
`None`으로 읽으므로 의미가 같습니다.
  - `TryFrom<&String>` 구현 56개가 빠짐: 쓰는 곳이 없어 컴파일이 그대로 됩니다.
- 모든 필드가 `Default::default()`인 수동 `Default` 21개가 `#[derive(Default)]`로
바뀜. 기본값 함수를 쓰는 3개(`PaneZoomParams`, `PluginSourceInfo` 2개)는 수동 구현
그대로입니다.
- **확인한 것**: macOS에서 `verify-cargo.sh nextest -p herdr-core -p hide-ai
-p hide-node -p hided` 3321개 통과(92 skipped), `lint`(fmt + clippy `-D
warnings`), `hakari`, `check --workspace --all-targets` 통과. main(#1082
포함)을 merge한 뒤(`dab09dc99`) 다시 돌린 결과입니다.
- **확인한 것**: `scripts/check-herdr-contract.sh --schema-only`를 번들 Herdr
0.9.3으로 돌려 pass(protocol 22).
- **확인하지 못한 것**: contract 검사의 서버 단계는 돌리지 않았습니다. 이 pane의 Herdr가 운영자 서버라
테스트가 닿으면 안 됩니다. wire 해석은 herdr-core의 `wire::tests`가 덮습니다.
- **확인하지 못한 것**: Linux, Windows lane은 이 PR의 CI에 맡깁니다.
@yansfil

yansfil commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Superseded by #1195, which landed typify 0.8, jsonschema 0.58 and tokio-tungstenite 0.30 together and removed tower-http, which hided declared but never used.

@yansfil yansfil closed this Oct 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/tower-http-0.7.1 branch October 15, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant