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.1 #6253

Closed
wants to merge 1 commit into from

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Aug 7, 2024

This PR contains the following updates:

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

Release Notes

stephank/hyper-staticfile (hyper-staticfile)

v0.10.1

Compare Source

  • JavaScript is now served with charset=utf-8 in the Content-Type header.

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.

v0.9.6

Compare Source

  • JavaScript is now served with charset=utf-8 in the Content-Type header.

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 Aug 7, 2024
@sunshowers
Copy link
Contributor

Requires hyper 1.0 upgrade.

@sunshowers sunshowers closed this Aug 7, 2024
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Aug 7, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.10.1). 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 August 7, 2024 07:13
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