From f800d528d3e334347829542b75c7b149e18f4cac Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 23 Mar 2023 09:29:47 -0700 Subject: [PATCH] Update CHANGELOG, add news article for 0.5.0-rc.3. --- CHANGELOG.md | 12 +++++++-- site/index.toml | 4 +-- site/news/2023-03-23-version-0.5-rc.3.md | 31 ++++++++++++++++++++++++ site/news/index.toml | 12 +++++++++ 4 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 site/news/2023-03-23-version-0.5-rc.3.md diff --git a/CHANGELOG.md b/CHANGELOG.md index c9965799b6..f059b2a6e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Version 0.5.0-rc.3 (Mar 22, 2023) +# Version 0.5.0-rc.3 (Mar 23, 2023) ## Major Features and Improvements @@ -17,6 +17,8 @@ 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 @@ -29,6 +31,10 @@ * 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 @@ -44,6 +50,7 @@ * Implemented `Responder` for `Box`. * Implemented `FromForm` for `Arc`. + * Implemented `Fairing` for `Arc`. ### Updated Dependencies @@ -55,11 +62,12 @@ * Updated `deadpool-redis` to `0.11`. * Updated `normpath` from to `1`. * Updated `cookie` to `0.17`. + * Replaced `atty` with `is-terminal`. ## Infrastructure * UI tests are now allowed to fail by the CI to avoid false negatives. - * Fixed many typos, errors, and broken links throughout documentation and examples. + * Fixed many typos, errors, and broken links throughout docs and examples. * The GitHub CI workflow was updated to use maintained actions. [`Metadata::render()`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Metadata.html#method.render diff --git a/site/index.toml b/site/index.toml index 0148118185..64ad7b19b4 100644 --- a/site/index.toml +++ b/site/index.toml @@ -3,8 +3,8 @@ ############################################################################### [release] -version = "0.5.0-rc.2" -date = "May 09, 2022" +version = "0.5.0-rc.3" +date = "Mar 23, 2023" ############################################################################### # Top features: displayed in the header under the introductory text. diff --git a/site/news/2023-03-23-version-0.5-rc.3.md b/site/news/2023-03-23-version-0.5-rc.3.md new file mode 100644 index 0000000000..c7b86cfbb3 --- /dev/null +++ b/site/news/2023-03-23-version-0.5-rc.3.md @@ -0,0 +1,31 @@ +# Rocket's 3rd v0.5 Release Candidate + + + +Rocket `0.5.0-rc.3`, a release candidate for Rocket v0.5, is now available. + +This release builds on the previous release candidate and brings further +features, improvements, and fixes to Rocket. As before, this is an opportunity +to discover issues with Rocket v0.5 and its documentation before its general +release. We encourage all users to migrate their applications to the third +release candidate and report any issues to the [GitHub issue tracker]. Please +see the new [migration guide] for complete details on how to upgrade from Rocket +v0.4. For changes since Rocket v0.5.0-rc.2, please see the [CHANGELOG]. + +[GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues +[GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions +[migration guide]: ../../guide/upgrading +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc2-may-9-2022 + +## About Rocket + +Rocket is a web framework for Rust with a focus on usability, security, +extensibility, and speed. Rocket makes it simple to write fast, secure web +applications without sacrificing usability. + +Not already using Rocket? Join the tens of thousands of users and hundreds of +companies happily using Rocket today! Rocket's extensive documentation makes it +easy: get started by [reading through the guide](../../guide) or learning more +from [the overview](../../overview). diff --git a/site/news/index.toml b/site/news/index.toml index bd238b5a24..cd137e2a9e 100644 --- a/site/news/index.toml +++ b/site/news/index.toml @@ -1,3 +1,15 @@ +[[articles]] +title = """ + Rocket's 3rd v0.5 Release Candidate +""" +slug = "2023-03-23-version-0.5-rc.3" +author = "Sergio Benitez" +author_url = "https://sergio.bz" +date = "March 23, 2023" +snippet = """ +Rocket `0.5.0-rc.3`, a release candidate for Rocket v0.5, is now available. +""" + [[articles]] title = """ Rocket's 2nd v0.5 Release Candidate