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.0 #4523

Closed
wants to merge 1 commit into from

Conversation

oxide-renovate[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
hyper-staticfile workspace.dependencies minor 0.9.5 -> 0.10.0

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 Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Nov 20, 2023
@oxide-renovate oxide-renovate bot force-pushed the renovate/hyper-staticfile-0.x branch from 27b0503 to 821e366 Compare November 22, 2023 04:08
@sunshowers
Copy link
Contributor

This will need to be done as a unified update with dropshot, progenitor, etc.

@sunshowers sunshowers closed this Dec 4, 2023
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Dec 4, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.10.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@oxide-renovate oxide-renovate bot deleted the renovate/hyper-staticfile-0.x branch December 4, 2023 23:22
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.

None yet

1 participant