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

Bump rocket from 0.4.6 to 0.4.11 #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 7, 2022

Bumps rocket from 0.4.6 to 0.4.11.

Release notes

Sourced from rocket's releases.

Rocket v0.4.10

See the CHANGELOG for more information.

Rocket v0.4.9

See the CHANGELOG for more information.

Rocket v0.4.8

See the CHANGELOG for more information.

Rocket v0.4.7

See the CHANGELOG for more information.

Changelog

Sourced from rocket's changelog.

Version 0.5.0-rc.2 (May 09, 2022)

Major Features and Improvements

  • Introduced [rocket_db_pools] for asynchronous database pooling.
  • Introduced support for [mutual TLS] and client [Certificate]s.
  • Added a [local_cache_once!] macro for request-local storage.
  • Added a [v0.4 to v0.5 migration guide] and [FAQ] to Rocket's website.
  • Introduced [shutdown fairings].

Breaking Changes

  • Hash impls for MediaType and ContentType no longer consider media type parameters.
  • TLS config values are only available when the tls feature is enabled.
  • [MediaType::with_params()] and [ContentType::with_params()] are now builder methods.
  • Content-Type [content] responder type names are now prefixed with Raw.
  • The content::Plain responder is now called content::RawText.
  • The content::Custom<T> responder was removed in favor of [(ContentType, T)].
  • TLS config structs are now only available when the tls feature is enabled.
  • Removed CookieJar::get_private_pending() in favor of [CookieJar::get_pending()].
  • The [local_cache!] macro accepts fewer types. Use [local_cache_once!] as appropriate.
  • When requested, the FromForm implementations of Vec and Maps are now properly lenient.
  • To concord with browsers, the [ and ] characters are now accepted in URI paths.
  • The [ and ] characters are no longer encoded by [uri!].
  • [Rocket::launch()] allows Rocket recovery by returning the instance after shutdown.
  • ErrorKind::Runtime was removed; [ErrorKind::Shutdown] was added.

General Improvements

  • [Rocket] is now #[must_use].
  • Support for HTTP/2 can be disabled by disabling the default http2 crate feature.
  • Added [rocket::execute()] for executing Rocket's launch() future.
  • Added the [context!] macro to [rocket_dyn_templates] for ad-hoc template contexts.
  • The time crate is re-exported from the crate root.
  • The FromForm, Responder, and UriDisplay derives now fully support generics.
  • Added helper functions to serde submodules.
  • The [Shield] HSTS preload header now includes includeSubdomains.
  • Logging ignores write! errors if stdout disappears, preventing panics.
  • Added [Client::terminate()] to run graceful shutdown in testing.
  • Shutdown now terminates the async runtime, never the process.

HTTP

  • Introduced [Host] and the [&Host] request guard.
  • Added Markdown (text/markdown) as a known media type.
  • Added [RawStr::percent_encode_bytes()].
  • NODELAY is now enabled on all connections by default.
  • The TLS implementation handles handshakes off the main task, improving DoS resistance.

Request

... (truncated)

Commits
  • a316991 New version: 0.4.11.
  • 5824f56 Remove removed rustc features.
  • 08e5b6d New version: 0.4.10.
  • 3276b87 Remove use of unsafe in 'parse_owned()'.
  • aabd886 New version: 0.4.9.
  • f2a56f4 Fix 'Try' 'impl FromResidual<Result> for Outcome'.
  • 018b57e Use '-Zrustdoc-map' to fill in external doc URLs.
  • 7adfbd5 New version: 0.4.8.
  • 6850f95 Update 'base64' to 0.13'.
  • 425f741 Update 'Try' impl, codegen for nightly-2021-05-18.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rocket](https://github.com/SergioBenitez/Rocket) from 0.4.6 to 0.4.11.
- [Release notes](https://github.com/SergioBenitez/Rocket/releases)
- [Changelog](https://github.com/SergioBenitez/Rocket/blob/master/CHANGELOG.md)
- [Commits](rwf2/Rocket@v0.4.6...v0.4.11)

---
updated-dependencies:
- dependency-name: rocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 7, 2022
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.

0 participants