diff --git a/contrib/db_pools/README.md b/contrib/db_pools/README.md index b5b1fde509..77f64633a8 100644 --- a/contrib/db_pools/README.md +++ b/contrib/db_pools/README.md @@ -17,7 +17,7 @@ full usage details. ```toml [dependencies.rocket_db_pools] - version = "0.1.0-rc.2" + version = "=0.1.0-rc.3" features = ["sqlx_sqlite"] ``` diff --git a/contrib/db_pools/codegen/Cargo.toml b/contrib/db_pools/codegen/Cargo.toml index efd2cb88ca..21ad699e2f 100644 --- a/contrib/db_pools/codegen/Cargo.toml +++ b/contrib/db_pools/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_db_pools_codegen" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Procedural macros for rocket_db_pools." repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" diff --git a/contrib/db_pools/lib/Cargo.toml b/contrib/db_pools/lib/Cargo.toml index 9db8baaa26..bfa1230c03 100644 --- a/contrib/db_pools/lib/Cargo.toml +++ b/contrib/db_pools/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_db_pools" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Rocket async database pooling support" repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" @@ -27,12 +27,12 @@ sqlx_macros = ["sqlx/macros"] [dependencies.rocket] path = "../../../core/lib" -version = "0.5.0-rc.2" +version = "=0.5.0-rc.3" default-features = false [dependencies.rocket_db_pools_codegen] path = "../codegen" -version = "0.1.0-rc.2" +version = "=0.1.0-rc.3" [dependencies.deadpool] version = "0.9" diff --git a/contrib/db_pools/lib/src/lib.rs b/contrib/db_pools/lib/src/lib.rs index 761bfae397..34469a6b25 100644 --- a/contrib/db_pools/lib/src/lib.rs +++ b/contrib/db_pools/lib/src/lib.rs @@ -7,7 +7,7 @@ //! //! ```toml //! [dependencies.rocket_db_pools] -//! version = "0.1.0-rc.2" +//! version = "=0.1.0-rc.3" //! features = ["sqlx_sqlite"] //! ``` //! @@ -156,7 +156,7 @@ //! features = ["macros", "offline", "migrate"] //! //! [dependencies.rocket_db_pools] -//! version = "0.1.0-rc.2" +//! version = "=0.1.0-rc.3" //! features = ["sqlx_sqlite"] //! ``` //! diff --git a/contrib/dyn_templates/Cargo.toml b/contrib/dyn_templates/Cargo.toml index f3afe8caef..6a226ac181 100644 --- a/contrib/dyn_templates/Cargo.toml +++ b/contrib/dyn_templates/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_dyn_templates" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" authors = ["Sergio Benitez "] description = "Dynamic templating engine integration for Rocket." documentation = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/" @@ -22,7 +22,7 @@ notify = "5.0.0" normpath = "1" [dependencies.rocket] -version = "0.5.0-rc.2" +version = "=0.5.0-rc.3" path = "../../core/lib" default-features = false diff --git a/contrib/dyn_templates/README.md b/contrib/dyn_templates/README.md index a01e891207..4bfd30cde8 100644 --- a/contrib/dyn_templates/README.md +++ b/contrib/dyn_templates/README.md @@ -22,7 +22,7 @@ supports [Handlebars] and [Tera]. ```toml [dependencies.rocket_dyn_templates] - version = "0.1.0-rc.2" + version = "=0.1.0-rc.3" features = ["handlebars", "tera"] ``` diff --git a/contrib/dyn_templates/src/lib.rs b/contrib/dyn_templates/src/lib.rs index 2b6519b462..4f25e5c902 100644 --- a/contrib/dyn_templates/src/lib.rs +++ b/contrib/dyn_templates/src/lib.rs @@ -12,7 +12,7 @@ //! //! ```toml //! [dependencies.rocket_dyn_templates] -//! version = "0.1.0-rc.2" +//! version = "=0.1.0-rc.3" //! features = ["handlebars", "tera"] //! ``` //! diff --git a/contrib/sync_db_pools/README.md b/contrib/sync_db_pools/README.md index 1eb5ea73c2..1e376eeb23 100644 --- a/contrib/sync_db_pools/README.md +++ b/contrib/sync_db_pools/README.md @@ -19,7 +19,7 @@ First, enable the feature corresponding to your database type: ```toml [dependencies.rocket_sync_db_pools] -version = "0.1.0-rc.2" +version = "=0.1.0-rc.3" features = ["diesel_sqlite_pool"] ``` diff --git a/contrib/sync_db_pools/codegen/Cargo.toml b/contrib/sync_db_pools/codegen/Cargo.toml index 5e08e89351..ad6a9818d9 100644 --- a/contrib/sync_db_pools/codegen/Cargo.toml +++ b/contrib/sync_db_pools/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_sync_db_pools_codegen" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" authors = ["Sergio Benitez "] description = "Procedural macros for rocket_sync_db_pools." repository = "https://github.com/SergioBenitez/Rocket/contrib/sync_db_pools" diff --git a/contrib/sync_db_pools/lib/Cargo.toml b/contrib/sync_db_pools/lib/Cargo.toml index 5c9238f93f..6ef7081d65 100644 --- a/contrib/sync_db_pools/lib/Cargo.toml +++ b/contrib/sync_db_pools/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_sync_db_pools" -version = "0.1.0-rc.2" +version = "0.1.0-rc.3" authors = ["Sergio Benitez "] description = "Rocket async database pooling support for sync database drivers." repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5-rc/contrib/sync_db_pools" @@ -35,11 +35,11 @@ memcache = { version = "0.15", optional = true } r2d2-memcache = { version = "0.6", optional = true } [dependencies.rocket_sync_db_pools_codegen] -version = "0.1.0-rc.2" +version = "=0.1.0-rc.3" path = "../codegen" [dependencies.rocket] -version = "0.5.0-rc.2" +version = "=0.5.0-rc.3" path = "../../../core/lib" default-features = false diff --git a/contrib/sync_db_pools/lib/src/lib.rs b/contrib/sync_db_pools/lib/src/lib.rs index dec2ce94a2..731b2230fd 100644 --- a/contrib/sync_db_pools/lib/src/lib.rs +++ b/contrib/sync_db_pools/lib/src/lib.rs @@ -30,7 +30,7 @@ //! //! ```toml //! [dependencies.rocket_sync_db_pools] -//! version = "0.1.0-rc.2" +//! version = "=0.1.0-rc.3" //! features = ["diesel_sqlite_pool"] //! ``` //! diff --git a/core/codegen/Cargo.toml b/core/codegen/Cargo.toml index 23389d7566..900fc4ad58 100644 --- a/core/codegen/Cargo.toml +++ b/core/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_codegen" -version = "0.5.0-rc.2" +version = "0.5.0-rc.3" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket web framework." documentation = "https://api.rocket.rs/v0.5-rc/rocket_codegen/" @@ -21,7 +21,7 @@ quote = "1.0" syn = { version = "2.0", features = ["full", "visit", "visit-mut", "extra-traits"] } proc-macro2 = "1.0.27" devise = "0.4" -rocket_http = { version = "0.5.0-rc.2", path = "../http/" } +rocket_http = { version = "=0.5.0-rc.3", path = "../http/" } unicode-xid = "0.2" glob = "0.3" diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index 4bfccc0657..08b06dea13 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0-rc.2" +//! rocket = "=0.5.0-rc.3" //! ``` //! //! 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 f8198299dd..5ad3bfd48f 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_http" -version = "0.5.0-rc.2" +version = "0.5.0-rc.3" authors = ["Sergio Benitez "] description = """ Types, traits, and parsers for HTTP requests, responses, and headers. diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index 838f1224ad..e007f102e7 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket" -version = "0.5.0-rc.2" +version = "0.5.0-rc.3" authors = ["Sergio Benitez "] description = """ Web framework with a focus on usability, security, extensibility, and speed. @@ -62,11 +62,11 @@ tokio-stream = { version = "0.1.6", features = ["signal", "time"] } state = "0.5.1" [dependencies.rocket_codegen] -version = "0.5.0-rc.2" +version = "=0.5.0-rc.3" path = "../codegen" [dependencies.rocket_http] -version = "0.5.0-rc.2" +version = "=0.5.0-rc.3" path = "../http" features = ["serde"] diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs index 6669b6f37e..e1b8a26085 100644 --- a/core/lib/src/lib.rs +++ b/core/lib/src/lib.rs @@ -29,7 +29,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "0.5.0-rc.2" +//! rocket = "=0.5.0-rc.3" //! ``` //! //! Note that development versions, tagged with `-dev`, are not published @@ -73,14 +73,14 @@ //! //! ```toml //! [dependencies] -//! rocket = { version = "0.5.0-rc.2", features = ["secrets", "tls", "json"] } +//! rocket = { version = "=0.5.0-rc.3", features = ["secrets", "tls", "json"] } //! ``` //! //! Conversely, HTTP/2 can be disabled: //! //! ```toml //! [dependencies] -//! rocket = { version = "0.5.0-rc.2", default-features = false } +//! rocket = { version = "=0.5.0-rc.3", default-features = false } //! ``` //! //! [JSON (de)serialization]: crate::serde::json diff --git a/core/lib/src/serde/json.rs b/core/lib/src/serde/json.rs index 8ce5f7f704..3f8ffe5f23 100644 --- a/core/lib/src/serde/json.rs +++ b/core/lib/src/serde/json.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0-rc.2" +//! version = "=0.5.0-rc.3" //! features = ["json"] //! ``` //! diff --git a/core/lib/src/serde/msgpack.rs b/core/lib/src/serde/msgpack.rs index acf7643329..bb9867e313 100644 --- a/core/lib/src/serde/msgpack.rs +++ b/core/lib/src/serde/msgpack.rs @@ -9,7 +9,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0-rc.2" +//! version = "=0.5.0-rc.3" //! features = ["msgpack"] //! ``` //! diff --git a/core/lib/src/serde/uuid.rs b/core/lib/src/serde/uuid.rs index 2a682218fe..8e66465710 100644 --- a/core/lib/src/serde/uuid.rs +++ b/core/lib/src/serde/uuid.rs @@ -7,7 +7,7 @@ //! //! ```toml //! [dependencies.rocket] -//! version = "0.5.0-rc.2" +//! version = "=0.5.0-rc.3" //! features = ["uuid"] //! ``` //! diff --git a/scripts/config.sh b/scripts/config.sh index 07c3ab65d5..9a3d8202fa 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -58,7 +58,7 @@ VERSION=$(git grep -h "^version" "${CORE_LIB_ROOT}" | head -n 1 | cut -d '"' -f2 MAJOR_VERSION=$(echo "${VERSION}" | cut -d'.' -f1-2) VIRTUAL_CODENAME="$(git branch --show-current)" PHYSICAL_CODENAME="v${MAJOR_VERSION}" -CURRENT_RELEASE=false +CURRENT_RELEASE=true PRE_RELEASE=true # A generated codename for this version. Use the git branch for pre-releases. diff --git a/site/guide/01-upgrading.md b/site/guide/01-upgrading.md index 7903612ac7..80dd3ab194 100644 --- a/site/guide/01-upgrading.md +++ b/site/guide/01-upgrading.md @@ -38,7 +38,7 @@ private cookies, you _must_ enable the `secrets` feature in `Cargo.toml`: ```toml [dependencies] -rocket = { version = "0.5.0-rc.2", features = ["secrets"] } +rocket = { version = "=0.5.0-rc.3", features = ["secrets"] } ``` ### Contrib Deprecation @@ -59,8 +59,8 @@ to `Cargo.toml`: [dependencies] - rocket = "0.4" - rocket_contrib = { version = "0.4", features = ["json"], default-features = false } -+ rocket = { version = "0.5.0-rc.2", features = ["json"] } -+ rocket_dyn_templates = { version = "0.1.0-rc.2", features = ["tera"] } ++ rocket = { version = "=0.5.0-rc.3", features = ["json"] } ++ rocket_dyn_templates = { version = "=0.1.0-rc.3", features = ["tera"] } ``` ! note: `rocket_dyn_templates` (and co.) _does not_ follow in version lock-step diff --git a/site/guide/10-pastebin-tutorial.md b/site/guide/10-pastebin-tutorial.md index 6bfa2e51d3..875c72ae3c 100644 --- a/site/guide/10-pastebin-tutorial.md +++ b/site/guide/10-pastebin-tutorial.md @@ -52,7 +52,7 @@ Then add the usual Rocket dependencies to the `Cargo.toml` file: ```toml [dependencies] -rocket = "0.5.0-rc.2" +rocket = "=0.5.0-rc.3" ``` And finally, create a skeleton Rocket application to work off of in diff --git a/site/guide/12-faq.md b/site/guide/12-faq.md index d7f77912d3..f91aa7a878 100644 --- a/site/guide/12-faq.md +++ b/site/guide/12-faq.md @@ -644,7 +644,7 @@ is to depend on a `contrib` library from git while also depending on a `crates.io` version of Rocket or vice-versa: ```toml -rocket = "0.5.0-rc.2" +rocket = "=0.5.0-rc.3" rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } ``` diff --git a/site/guide/2-getting-started.md b/site/guide/2-getting-started.md index 168fd8024b..368c2b56af 100644 --- a/site/guide/2-getting-started.md +++ b/site/guide/2-getting-started.md @@ -43,7 +43,7 @@ Now, add Rocket as a dependency in your `Cargo.toml`: ```toml [dependencies] -rocket = "0.5.0-rc.2" +rocket = "=0.5.0-rc.3" ``` ! warning: Development versions must be _git_ dependencies. diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md index 718dff3ec9..5aa1a4f795 100644 --- a/site/guide/4-requests.md +++ b/site/guide/4-requests.md @@ -527,7 +527,7 @@ feature: ```toml ## in Cargo.toml -rocket = { version = "0.5.0-rc.2", features = ["secrets"] } +rocket = { version = "=0.5.0-rc.3", features = ["secrets"] } ``` The API for retrieving, adding, and removing private cookies is identical except @@ -705,7 +705,7 @@ complete example. feature can be enabled in the `Cargo.toml`: ` - rocket = { version = "0.5.0-rc.2", features = ["json"] } + rocket = { version = "=0.5.0-rc.3", features = ["json"] } ` ### Temporary Files diff --git a/site/guide/6-state.md b/site/guide/6-state.md index b18fb15a88..e8d568c282 100644 --- a/site/guide/6-state.md +++ b/site/guide/6-state.md @@ -231,7 +231,7 @@ in three simple steps: ```toml [dependencies.rocket_db_pools] - version = "0.1.0-rc.2" + version = "=0.1.0-rc.3" features = ["sqlx_sqlite"] ``` @@ -299,7 +299,7 @@ default-features = false features = ["macros", "offline", "migrate"] [dependencies.rocket_db_pools] -version = "0.1.0-rc.2" +version = "=0.1.0-rc.3" features = ["sqlx_sqlite"] ``` diff --git a/site/guide/9-configuration.md b/site/guide/9-configuration.md index b0712222d6..c9f7130115 100644 --- a/site/guide/9-configuration.md +++ b/site/guide/9-configuration.md @@ -237,7 +237,7 @@ Security). To enable TLS support: ```toml,ignore [dependencies] - rocket = { version = "0.5.0-rc.2", features = ["tls"] } + rocket = { version = "=0.5.0-rc.3", features = ["tls"] } ``` 2. Configure a TLS certificate chain and private key via the `tls.key` and @@ -302,7 +302,7 @@ enabled and support configured via the `tls.mutual` config parameter: ```toml,ignore [dependencies] - rocket = { version = "0.5.0-rc.2", features = ["mtls"] } + rocket = { version = "=0.5.0-rc.3", features = ["mtls"] } ``` This implicitly enables the `tls` feature. diff --git a/site/tests/Cargo.toml b/site/tests/Cargo.toml index 05be94464a..c6861023c2 100644 --- a/site/tests/Cargo.toml +++ b/site/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_guide_tests" -version = "0.5.0-rc.2" +version = "0.5.0-rc.3" workspace = "../../" edition = "2021" publish = false