From b67bd8be907bee3ba93eb48c0efa860451710675 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 9 Feb 2021 17:41:40 -0800 Subject: [PATCH] New version: 0.4.7. --- CHANGELOG.md | 10 ++++++++++ contrib/codegen/Cargo.toml | 6 +++--- contrib/lib/Cargo.toml | 6 +++--- contrib/lib/src/databases.rs | 2 +- contrib/lib/src/helmet/mod.rs | 2 +- contrib/lib/src/json.rs | 2 +- contrib/lib/src/lib.rs | 2 +- contrib/lib/src/msgpack.rs | 2 +- contrib/lib/src/serve.rs | 2 +- contrib/lib/src/templates/mod.rs | 4 ++-- contrib/lib/src/uuid.rs | 4 ++-- core/codegen/Cargo.toml | 6 +++--- core/codegen/src/lib.rs | 2 +- core/http/Cargo.toml | 4 ++-- core/lib/Cargo.toml | 6 +++--- core/lib/src/lib.rs | 2 +- site/guide/1-quickstart.md | 2 +- site/guide/10-pastebin.md | 2 +- site/guide/2-getting-started.md | 2 +- site/guide/4-requests.md | 2 +- site/guide/6-state.md | 2 +- site/guide/9-configuration.md | 2 +- site/index.toml | 4 ++-- 23 files changed, 44 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 692a182c1e..998a6b2c16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# Version 0.4.7 (Feb 09, 2020) + +## Core + + * [[#1534], [`2059a6`]] Fixed a low-severity, minimal impact soundness issue + in `uri::Formatter`. + +[#1534]: https://github.com/SergioBenitez/Rocket/issues/1534 +[`2059a6`]: https://github.com/SergioBenitez/Rocket/commit/2059a6 + # Version 0.4.6 (Nov 09, 2020) ## Core diff --git a/contrib/codegen/Cargo.toml b/contrib/codegen/Cargo.toml index 266d6f3f35..e074bf990f 100644 --- a/contrib/codegen/Cargo.toml +++ b/contrib/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_contrib_codegen" -version = "0.4.6" +version = "0.4.7" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket contrib libraries." documentation = "https://api.rocket.rs/v0.4/rocket_contrib/" @@ -26,6 +26,6 @@ yansi = "0.5" version_check = "0.9.1" [dev-dependencies] -rocket = { version = "0.4.6", path = "../../core/lib" } -rocket_contrib = { version = "0.4.6", path = "../lib", features = ["diesel_sqlite_pool"] } +rocket = { version = "0.4.7", path = "../../core/lib" } +rocket_contrib = { version = "0.4.7", path = "../lib", features = ["diesel_sqlite_pool"] } trybuild = "1.0" diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index 1b190a0d71..a62701bc5d 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_contrib" -version = "0.4.6" +version = "0.4.7" authors = ["Sergio Benitez "] description = "Community contributed libraries for the Rocket web framework." documentation = "https://api.rocket.rs/v0.4/rocket_contrib/" @@ -38,8 +38,8 @@ memcache_pool = ["databases", "memcache", "r2d2-memcache"] [dependencies] # Global dependencies. -rocket_contrib_codegen = { version = "0.4.6", path = "../codegen", optional = true } -rocket = { version = "0.4.6", path = "../../core/lib/", default-features = false } +rocket_contrib_codegen = { version = "0.4.7", path = "../codegen", optional = true } +rocket = { version = "0.4.7", path = "../../core/lib/", default-features = false } log = "0.4" # Serialization and templating dependencies. diff --git a/contrib/lib/src/databases.rs b/contrib/lib/src/databases.rs index f5a5d8c4de..2819d52407 100644 --- a/contrib/lib/src/databases.rs +++ b/contrib/lib/src/databases.rs @@ -32,7 +32,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["diesel_sqlite_pool"] //! ``` diff --git a/contrib/lib/src/helmet/mod.rs b/contrib/lib/src/helmet/mod.rs index bda030186b..4d3c288f36 100644 --- a/contrib/lib/src/helmet/mod.rs +++ b/contrib/lib/src/helmet/mod.rs @@ -16,7 +16,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["helmet"] //! ``` diff --git a/contrib/lib/src/json.rs b/contrib/lib/src/json.rs index bad9db64e3..8c30cfd894 100644 --- a/contrib/lib/src/json.rs +++ b/contrib/lib/src/json.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["json"] //! ``` diff --git a/contrib/lib/src/lib.rs b/contrib/lib/src/lib.rs index 659ef2ed01..28323a3101 100644 --- a/contrib/lib/src/lib.rs +++ b/contrib/lib/src/lib.rs @@ -33,7 +33,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["json"] //! ``` diff --git a/contrib/lib/src/msgpack.rs b/contrib/lib/src/msgpack.rs index f5bc2c1c99..9a8bb7484f 100644 --- a/contrib/lib/src/msgpack.rs +++ b/contrib/lib/src/msgpack.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["msgpack"] //! ``` diff --git a/contrib/lib/src/serve.rs b/contrib/lib/src/serve.rs index 064a20327e..2161cbd67b 100644 --- a/contrib/lib/src/serve.rs +++ b/contrib/lib/src/serve.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["serve"] //! ``` diff --git a/contrib/lib/src/templates/mod.rs b/contrib/lib/src/templates/mod.rs index 62ed801061..b602ed7bb9 100644 --- a/contrib/lib/src/templates/mod.rs +++ b/contrib/lib/src/templates/mod.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["handlebars_templates", "tera_templates"] //! ``` @@ -158,7 +158,7 @@ const DEFAULT_TEMPLATE_DIR: &str = "templates"; /// /// ```toml /// [dependencies.rocket_contrib] -/// version = "0.4.6" +/// version = "0.4.7" /// default-features = false /// features = ["handlebars_templates", "tera_templates"] /// ``` diff --git a/contrib/lib/src/uuid.rs b/contrib/lib/src/uuid.rs index 9ca226bd89..ca9432d96e 100644 --- a/contrib/lib/src/uuid.rs +++ b/contrib/lib/src/uuid.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket_contrib] -//! version = "0.4.6" +//! version = "0.4.7" //! default-features = false //! features = ["uuid"] //! ``` @@ -34,7 +34,7 @@ pub use self::uuid_crate::parser::ParseError; /// /// ```toml /// [dependencies.rocket_contrib] -/// version = "0.4.6" +/// version = "0.4.7" /// default-features = false /// features = ["uuid"] /// ``` diff --git a/core/codegen/Cargo.toml b/core/codegen/Cargo.toml index 2ac89a5e92..b14692bdc5 100644 --- a/core/codegen/Cargo.toml +++ b/core/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_codegen" -version = "0.4.6" +version = "0.4.7" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket web framework." documentation = "https://api.rocket.rs/v0.4/rocket_codegen/" @@ -17,7 +17,7 @@ proc-macro = true [dependencies] indexmap = "1.0" quote = "0.6.1" -rocket_http = { version = "0.4.6", path = "../http/" } +rocket_http = { version = "0.4.7", path = "../http/" } devise = "0.2" glob = "0.3" @@ -26,5 +26,5 @@ yansi = "0.5" version_check = "0.9.1" [dev-dependencies] -rocket = { version = "0.4.6", path = "../lib" } +rocket = { version = "0.4.7", path = "../lib" } trybuild = "1.0" diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index a9b5689365..eb9f115296 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.4.6" +//! rocket = "0.4.7" //! ``` //! //! And to import all macros, attributes, and derives via `#[macro_use]` in the diff --git a/core/http/Cargo.toml b/core/http/Cargo.toml index f9a576a7e9..c43cd0c9be 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_http" -version = "0.4.6" +version = "0.4.7" authors = ["Sergio Benitez "] description = """ Types, traits, and parsers for HTTP requests, responses, and headers. @@ -36,4 +36,4 @@ features = ["server"] optional = true [dev-dependencies] -rocket = { version = "0.4.6", path = "../lib" } +rocket = { version = "0.4.7", path = "../lib" } diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 50c8529526..246dc308d3 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket" -version = "0.4.6" +version = "0.4.7" authors = ["Sergio Benitez "] description = """ Web framework for nightly with a focus on ease-of-use, expressibility, and speed. @@ -24,8 +24,8 @@ sse = [] private-cookies = ["rocket_http/private-cookies"] [dependencies] -rocket_codegen = { version = "0.4.6", path = "../codegen" } -rocket_http = { version = "0.4.6", path = "../http" } +rocket_codegen = { version = "0.4.7", path = "../codegen" } +rocket_http = { version = "0.4.7", path = "../http" } yansi = "0.5" log = "0.4" toml = "0.4.7" diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs index 747ed7766e..0d8f3451c3 100644 --- a/core/lib/src/lib.rs +++ b/core/lib/src/lib.rs @@ -46,7 +46,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.4.6" +//! rocket = "0.4.7" //! ``` //! //! Then, add the following to the top of your `main.rs` file: diff --git a/site/guide/1-quickstart.md b/site/guide/1-quickstart.md index 5ea0ec1fc8..345ecbe6bd 100644 --- a/site/guide/1-quickstart.md +++ b/site/guide/1-quickstart.md @@ -15,7 +15,7 @@ For instance, the following set of commands runs the `hello_world` example: ```sh git clone https://github.com/SergioBenitez/Rocket cd Rocket -git checkout v0.4.6 +git checkout v0.4.7 cd examples/hello_world cargo run ``` diff --git a/site/guide/10-pastebin.md b/site/guide/10-pastebin.md index 8d93b7ecca..4aa0ef7323 100644 --- a/site/guide/10-pastebin.md +++ b/site/guide/10-pastebin.md @@ -43,7 +43,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file: ```toml [dependencies] -rocket = "0.4.6" +rocket = "0.4.7" ``` And finally, create a skeleton Rocket application to work off of in diff --git a/site/guide/2-getting-started.md b/site/guide/2-getting-started.md index fd97c9198d..10dd45767c 100644 --- a/site/guide/2-getting-started.md +++ b/site/guide/2-getting-started.md @@ -50,7 +50,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`: ```toml [dependencies] -rocket = "0.4.6" +rocket = "0.4.7" ``` Modify `src/main.rs` so that it contains the code for the Rocket `Hello, world!` diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md index 2bd230ed71..13f4596d80 100644 --- a/site/guide/4-requests.md +++ b/site/guide/4-requests.md @@ -659,7 +659,7 @@ so that you depend on `rocket` as follows: ```toml [dependencies] -rocket = { version = "0.4.6", default-features = false } +rocket = { version = "0.4.7", default-features = false } ``` [`ring`]: https://github.com/briansmith/ring diff --git a/site/guide/6-state.md b/site/guide/6-state.md index 03c458c719..436c8ec867 100644 --- a/site/guide/6-state.md +++ b/site/guide/6-state.md @@ -272,7 +272,7 @@ databases, you'd write in `Cargo.toml`: ```toml [dependencies.rocket_contrib] -version = "0.4.6" +version = "0.4.7" default-features = false features = ["diesel_sqlite_pool"] ``` diff --git a/site/guide/9-configuration.md b/site/guide/9-configuration.md index 6386fdeafc..95f2a9fbe5 100644 --- a/site/guide/9-configuration.md +++ b/site/guide/9-configuration.md @@ -307,7 +307,7 @@ dependency in your `Cargo.toml` file: ```toml [dependencies] -rocket = { version = "0.4.6", features = ["tls"] } +rocket = { version = "0.4.7", features = ["tls"] } ``` TLS is configured through the `tls` configuration parameter. The value of `tls` diff --git a/site/index.toml b/site/index.toml index f8f7aa85b7..0f86e16348 100644 --- a/site/index.toml +++ b/site/index.toml @@ -3,8 +3,8 @@ ############################################################################### [release] -version = "0.4.6" -date = "Nov 09, 2020" +version = "0.4.7" +date = "Feb 09, 2021" ############################################################################### # Top features: displayed in the header under the introductory text.