Skip to content

Bump rocket from 0.5.0-rc.2 to 0.5.0-rc.3#31

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rocket-0.5.0-rc.3
Open

Bump rocket from 0.5.0-rc.2 to 0.5.0-rc.3#31
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/rocket-0.5.0-rc.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 27, 2023

Bumps rocket from 0.5.0-rc.2 to 0.5.0-rc.3.

Release notes

Sourced from rocket's releases.

Rocket v0.5.0-rc.3

See the CHANGELOG, news article, migration guide, and FAQ for more information.

Changelog

Sourced from rocket's changelog.

Version 0.5.0-rc.3 (Mar 23, 2023)

Major Features and Improvements

  • Added a [max_blocking] configuration parameter.

    The parameter sets a limit on the number of threads used by blocking tasks.

  • Added an [ip_header] "real IP" header configuration parameter.

    The parameter allows modifying the header that Rocket attempts to use to retrieve the "real IP" address of the client via Request methods like [Request::client_ip()]. Additionally, the change allows disabling the use of any such header entirely.

  • A [pool()] method is emitted by [rocket_sync_db_pools] for code-generated pools.

    The method returns an opaque reference to a type that can be used to retrieve pooled connections outside of a request handling context.

  • Raw binary form field data can be retrieved using the &[u8] form guard.

  • Data guards are now eligible [sentinels].

General Improvements

  • Final launch messages are now always logged, irrespective of profile.
  • Only functions that return Rocket<Build> are now #[must_use], not all Rocket<P>.
  • Fixed mismatched form field names in errors under certain conditions in [FromForm] derive.
  • The [FromForm] derive now collects all errors that occur.
  • Data pools are now gracefully shutdown in [rocket_sync_db_pools].
  • Added [Metadata::render()] in [rocket_dyn_templates] for direct template rendering.
  • Rocket salvages more information from malformed requests for error catchers.
  • The cookie secure feature is now properly conditionally enabled.
  • Data before encapsulation boundaries in TLS keys is allowed and ignored.
  • Support for TLS keys in SEC1 format was added.
  • Rocket now warns when a known secret key is configured.
  • A panic that could occur on shutdown in rocket_sync_db_pools was fixed.

Known Media Types

  • Added MP3: audio/mpeg.
  • Added CBZ: application/vnd.comicbook+zip, extension .cbz.
  • Added CBR: application/vnd.comicbook-rar, extension .cbr.
  • Added RAR: application/vnd.rar, extension .rar.
  • Added EPUB: application/epub+zip, extension .epub.
  • Added OPF: application/oebps-package+xml, extension .opf.
  • Added XHTML: application/xhtml+xml, extension .xhtml.

Trait Implementations

... (truncated)

Commits
  • 91f6288 New version: 0.5.0-rc.3.
  • f800d52 Update CHANGELOG, add news article for 0.5.0-rc.3.
  • cf1748d Add CHANGELOG for 0.5.0-rc.3.
  • 14b8a08 Fix doc re-export inlines in crate root.
  • 28569e8 Improve section headings in README.md.
  • 89919aa Fix several typos.
  • 0e6b786 Fix typo in docs.
  • e86d503 Fix typo in updating guide: 'phase' -> 'faze'.
  • 380e75c Fix minor typo.
  • 6742041 Remove unnecessary word in state docs.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [rocket](https://github.com/SergioBenitez/Rocket) from 0.5.0-rc.2 to 0.5.0-rc.3.
- [Release notes](https://github.com/SergioBenitez/Rocket/releases)
- [Changelog](https://github.com/SergioBenitez/Rocket/blob/master/CHANGELOG.md)
- [Commits](rwf2/Rocket@v0.5.0-rc.2...v0.5.0-rc.3)

---
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 the dependencies Pull requests that update a dependency file label Mar 27, 2023
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.

0 participants