Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate hyper-staticfile to 0.10 #1051

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
hyper-staticfile workspace.dependencies minor 0.9 -> 0.10

Release Notes

stephank/hyper-staticfile (hyper-staticfile)

v0.10.0

Compare Source

These are all the changes since v0.9.5 combined:

  • Breaking change: Upgraded to Hyper 1.0.
  • Breaking change: The top-level resolve* functions are now methods on a new type Resolver.
  • Breaking change: ResolveResult::Found now contains a ResolvedFile, a new struct replacing the old unnamed tuple parameters.
  • Breaking change: The FileBytesStream and FileResponseBuilder exports have moved to a util submodule.
  • A filesystem abstraction was added. Different backing can now be implemented using traits from the vfs submodule.
    • Breaking change: Static, ResolveResult, util::FileBytesStream, util::FileBytesStreamRange, util::FileBytesStreamMultiRange are now generic over traits from the vfs submodule. The type parameters have defaults set for the Tokio implementation, which should make migration effortless in many cases.
    • A MemoryFs was added, which allows serving files efficiently from memory, and preloading an entire directory into memory.
  • Added Static::allowed_encodings, which can be used to serve precompressed .br and .gz files if a client requests them with the Accept-Encoding header.
  • Added Resolver::set_rewrite, which allows rewriting a request before the filesystem is accessed.

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 10, 2023
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch from df63868 to 54fedad Compare December 29, 2023 17:43
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch from 54fedad to 20d83c8 Compare January 27, 2024 06:17
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch 3 times, most recently from 973c8ec to b7a4faa Compare February 20, 2024 07:44
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch 3 times, most recently from c395edf to fedbbbf Compare March 23, 2024 03:04
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch 2 times, most recently from b1d8243 to 95b92fc Compare April 6, 2024 03:30
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch from 95b92fc to 4a60945 Compare May 1, 2024 11:08
@renovate renovate bot force-pushed the renovate/hyper-staticfile-0.x branch from 4a60945 to 3fedd1c Compare July 1, 2024 12:54
Copy link
Contributor Author

renovate bot commented Jul 9, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@leftwo leftwo self-requested a review July 9, 2024 22:54
@leftwo leftwo merged commit 4f8a364 into main Jul 9, 2024
18 checks passed
@leftwo leftwo deleted the renovate/hyper-staticfile-0.x branch July 9, 2024 22:54
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant