diff --git a/CHANGELOG.md b/CHANGELOG.md index daba64de..b49b5707 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ This release introduces the following major features and improvements: * A rewritten, fully asynchronous core with support for [`async`/`await`]. * WebSocket support via [`rocket_ws`]. * [Feature-complete forms support] including multipart, collections, [ad-hoc validation], and - [context](https://rocket.rs/v0.5-rc/guide/requests/#context). + [context](https://rocket.rs/v0.5/guide/requests/#context). * [Sentinels]: automatic verification of application state at start-up to prevent runtime errors. * [Graceful shutdown] with configurable signaling, grace periods, [notification], and [shutdown fairings]. @@ -28,8 +28,8 @@ This release introduces the following major features and improvements: * [Ignorable segments]: wildcard route matching with no typing restrictions. * First-class [support for `serde`] for built-in guards and types. * New application launch attributes: - [`#[launch]`](https://api.rocket.rs/v0.5-rc/rocket/attr.launch.html) and - [`#[rocket::main]`](https://api.rocket.rs/v0.5-rc/rocket/attr.main.html). + [`#[launch]`](https://api.rocket.rs/v0.5/rocket/attr.launch.html) and + [`#[rocket::main]`](https://api.rocket.rs/v0.5/rocket/attr.main.html). * [Default catchers] via `#[catch(default)]`, which handle _any_ status code. * [Catcher scoping] to narrow the scope of a catcher to a URI prefix. * Built-in libraries and support for [asynchronous testing]. @@ -48,7 +48,7 @@ This release introduces the following major features and improvements: * Borrowed byte slices as data and form guards. * Fail-fast behavior for [misconfigured secrets], file serving paths. * Support for generics and custom generic bounds in - [`#[derive(Responder)]`](https://api.rocket.rs/v0.5-rc/rocket/derive.Responder.html). + [`#[derive(Responder)]`](https://api.rocket.rs/v0.5/rocket/derive.Responder.html). * [Default ranking colors], which prevent more routing collisions automatically. * Improved error logging with suggestions when common errors are detected. * Completely rewritten examples including a new real-time [`chat`] application. @@ -172,7 +172,7 @@ The `rocket_contrib` crate is deprecated and the functionality moved to other `r - These crates are versioned and released independently of `rocket`. - `rocket_contrib::databases::DbError` is now `rocket_sync_db_pools::Error`. - Removed `redis`, `mongodb`, and `mysql` integrations which have upstream `async` drivers. - - The [`#[database]`](https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/attr.database.html) + - The [`#[database]`](https://api.rocket.rs/v0.5/rocket_sync_db_pools/attr.database.html) attribute generates an [`async run()`] method instead of `Deref` implementations. ### General @@ -441,7 +441,7 @@ In addition to new features and changes, Rocket saw the following improvements: * Added support for the `X-DNS-Prefetch-Control` header to `Shield`. * Added support for manually-set `expires` values for private cookies. * Added support for type generics and custom generic bounds to - [`#[derive(Responder)]`](https://api.rocket.rs/v0.5-rc/rocket/derive.Responder.html). + [`#[derive(Responder)]`](https://api.rocket.rs/v0.5/rocket/derive.Responder.html). * The `Server` header is only set if one isn't already set. * Accurate `Content-Length` headers are sent even for partially read `Body`s. * [`Redirect`] now accepts a `TryFrom`, allowing fragment parts. @@ -548,178 +548,178 @@ The following changes were made to the project's infrastructure: * The CI now frees disk space before proceeding to avoid out-of-disk errors. * All workspaces now use `resolver = 2`. -[phase]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#phases -[`async`/`await`]: https://rocket.rs/v0.5-rc/guide/overview/#async-routes -[compilation on Rust's stable]: https://rocket.rs/v0.5-rc/guide/getting-started/#installing-rust -[Feature-complete forms support]: https://rocket.rs/v0.5-rc/guide/requests/#forms -[configuration system]: https://rocket.rs/v0.5-rc/guide/configuration/#configuration -[graceful shutdown]: https://api.rocket.rs/v0.5-rc/rocket/config/struct.Shutdown.html#summary -[asynchronous testing]: https://rocket.rs/v0.5-rc/guide/testing/#asynchronous-testing -[UTF-8 characters]: https://rocket.rs/v0.5-rc/guide/requests/#static-parameters -[ignorable segments]: https://rocket.rs/v0.5-rc/guide/requests/#ignored-segments -[Catcher scoping]: https://rocket.rs/v0.5-rc/guide/requests/#scoping -[ad-hoc validation]: https://rocket.rs/v0.5-rc/guide/requests#ad-hoc-validation -[incoming data limits]: https://rocket.rs/v0.5-rc/guide/requests/#streaming -[build phases]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#phases -[Singleton fairings]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html#singletons -[features into core]: https://api.rocket.rs/v0.5-rc/rocket/index.html#features -[features of `rocket`]: https://api.rocket.rs/v0.5-rc/rocket/index.html#features -[Data limit declaration in SI units]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.ByteUnit.html -[support for `serde`]: https://api.rocket.rs/v0.5-rc/rocket/serde/index.html -[automatic typed config extraction]: https://api.rocket.rs/v0.5-rc/rocket/fairing/struct.AdHoc.html#method.config -[misconfigured secrets]: https://api.rocket.rs/v0.5-rc/rocket/config/struct.SecretKey.html -[default ranking colors]: https://rocket.rs/v0.5-rc/guide/requests/#default-ranking -[`chat`]: https://github.com/SergioBenitez/Rocket/tree/v0.5-rc/examples/chat -[`Form` guard]: https://api.rocket.rs/v0.5-rc/rocket/form/struct.Form.html -[`Strict`]: https://api.rocket.rs/v0.5-rc/rocket/form/struct.Strict.html -[`CookieJar`#pending]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html#pending -[`rocket::serde::json`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/index.html -[`rocket::serde::msgpack`]: https://api.rocket.rs/v0.5-rc/rocket/serde/msgpack/index.html -[`rocket::serde::uuid`]: https://api.rocket.rs/v0.5-rc/rocket/serde/uuid/index.html -[`rocket::shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/index.html -[`rocket::fs`]: https://api.rocket.rs/v0.5-rc/rocket/fs/index.html -[`async run()`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/index.html#handlers -[`LocalRequest::json()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.json -[`LocalRequest::msgpack()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.msgpack -[`LocalResponse::json()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalResponse.html#method.json -[`LocalResponse::msgpack()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalResponse.html#method.msgpack -[hierarchical data limits]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Limits.html#hierarchy -[default form field values]: https://rocket.rs/v0.5-rc/guide/requests/#defaults +[phase]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#phases +[`async`/`await`]: https://rocket.rs/v0.5/guide/overview/#async-routes +[compilation on Rust's stable]: https://rocket.rs/v0.5/guide/getting-started/#installing-rust +[Feature-complete forms support]: https://rocket.rs/v0.5/guide/requests/#forms +[configuration system]: https://rocket.rs/v0.5/guide/configuration/#configuration +[graceful shutdown]: https://api.rocket.rs/v0.5/rocket/config/struct.Shutdown.html#summary +[asynchronous testing]: https://rocket.rs/v0.5/guide/testing/#asynchronous-testing +[UTF-8 characters]: https://rocket.rs/v0.5/guide/requests/#static-parameters +[ignorable segments]: https://rocket.rs/v0.5/guide/requests/#ignored-segments +[Catcher scoping]: https://rocket.rs/v0.5/guide/requests/#scoping +[ad-hoc validation]: https://rocket.rs/v0.5/guide/requests#ad-hoc-validation +[incoming data limits]: https://rocket.rs/v0.5/guide/requests/#streaming +[build phases]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#phases +[Singleton fairings]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html#singletons +[features into core]: https://api.rocket.rs/v0.5/rocket/index.html#features +[features of `rocket`]: https://api.rocket.rs/v0.5/rocket/index.html#features +[Data limit declaration in SI units]: https://api.rocket.rs/v0.5/rocket/data/struct.ByteUnit.html +[support for `serde`]: https://api.rocket.rs/v0.5/rocket/serde/index.html +[automatic typed config extraction]: https://api.rocket.rs/v0.5/rocket/fairing/struct.AdHoc.html#method.config +[misconfigured secrets]: https://api.rocket.rs/v0.5/rocket/config/struct.SecretKey.html +[default ranking colors]: https://rocket.rs/v0.5/guide/requests/#default-ranking +[`chat`]: https://github.com/SergioBenitez/Rocket/tree/v0.5/examples/chat +[`Form` guard]: https://api.rocket.rs/v0.5/rocket/form/struct.Form.html +[`Strict`]: https://api.rocket.rs/v0.5/rocket/form/struct.Strict.html +[`CookieJar`#pending]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html#pending +[`rocket::serde::json`]: https://api.rocket.rs/v0.5/rocket/serde/json/index.html +[`rocket::serde::msgpack`]: https://api.rocket.rs/v0.5/rocket/serde/msgpack/index.html +[`rocket::serde::uuid`]: https://api.rocket.rs/v0.5/rocket/serde/uuid/index.html +[`rocket::shield`]: https://api.rocket.rs/v0.5/rocket/shield/index.html +[`rocket::fs`]: https://api.rocket.rs/v0.5/rocket/fs/index.html +[`async run()`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/index.html#handlers +[`LocalRequest::json()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.json +[`LocalRequest::msgpack()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.msgpack +[`LocalResponse::json()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalResponse.html#method.json +[`LocalResponse::msgpack()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalResponse.html#method.msgpack +[hierarchical data limits]: https://api.rocket.rs/v0.5/rocket/data/struct.Limits.html#hierarchy +[default form field values]: https://rocket.rs/v0.5/guide/requests/#defaults [`Config::ident`]: https://api.rocket.rs/rocket/struct.Config.html#structfield.ident [`tokio`]: https://tokio.rs/ [Figment]: https://docs.rs/figment/0.10/figment/ -[`TempFile`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html -[`Contextual`]: https://rocket.rs/v0.5-rc/guide/requests/#context -[`Capped`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Capped.html -[default catchers]: https://rocket.rs/v0.5-rc/guide/requests/#default-catchers -[URI types]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/index.html -[`uri!`]: https://api.rocket.rs/v0.5-rc/rocket/macro.uri.html -[`Reference`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Reference.html -[`Asterisk`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Asterisk.html -[`Redirect`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Redirect.html -[`UriDisplayQuery`]: https://api.rocket.rs/v0.5-rc/rocket/derive.UriDisplayQuery.html -[`Shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/struct.Shield.html -[Sentinels]: https://api.rocket.rs/v0.5-rc/rocket/trait.Sentinel.html -[`local_cache!`]: https://api.rocket.rs/v0.5-rc/rocket/request/macro.local_cache.html -[`local_cache_once!`]: https://api.rocket.rs/v0.5-rc/rocket/request/macro.local_cache_once.html -[`CookieJar`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html -[asynchronous streams]: https://rocket.rs/v0.5-rc/guide/responses/#async-streams -[Server-Sent Events]: https://api.rocket.rs/v0.5-rc/rocket/response/stream/struct.EventStream.html -[`fs::relative!`]: https://api.rocket.rs/v0.5-rc/rocket/fs/macro.relative.html -[notification]: https://api.rocket.rs/v0.5-rc/rocket/struct.Shutdown.html -[`Rocket`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html -[`rocket::build()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.build -[`Rocket::ignite()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.ignite -[`Rocket::launch()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.launch -[`Request::rocket()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.rocket -[Fairings]: https://rocket.rs/v0.5-rc/guide/fairings/ -[configuration system]: https://rocket.rs/v0.5-rc/guide/configuration/ -[`Poolable`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/trait.Poolable.html -[`Config`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html -[`Error`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html -[`LogLevel`]: https://api.rocket.rs/v0.5-rc/rocket/config/enum.LogLevel.html -[`Rocket::register()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.register -[`NamedFile::open`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.NamedFile.html#method.open -[`Request::local_cache_async()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.local_cache_async -[`FromRequest`]: https://api.rocket.rs/v0.5-rc/rocket/request/trait.FromRequest.html -[`Fairing`]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html -[`catcher::Handler`]: https://api.rocket.rs/v0.5-rc/rocket/catcher/trait.Handler.html -[`route::Handler`]: https://api.rocket.rs/v0.5-rc/rocket/route/trait.Handler.html -[`FromData`]: https://api.rocket.rs/v0.5-rc/rocket/data/trait.FromData.html +[`TempFile`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html +[`Contextual`]: https://rocket.rs/v0.5/guide/requests/#context +[`Capped`]: https://api.rocket.rs/v0.5/rocket/data/struct.Capped.html +[default catchers]: https://rocket.rs/v0.5/guide/requests/#default-catchers +[URI types]: https://api.rocket.rs/v0.5/rocket/http/uri/index.html +[`uri!`]: https://api.rocket.rs/v0.5/rocket/macro.uri.html +[`Reference`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Reference.html +[`Asterisk`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Asterisk.html +[`Redirect`]: https://api.rocket.rs/v0.5/rocket/response/struct.Redirect.html +[`UriDisplayQuery`]: https://api.rocket.rs/v0.5/rocket/derive.UriDisplayQuery.html +[`Shield`]: https://api.rocket.rs/v0.5/rocket/shield/struct.Shield.html +[Sentinels]: https://api.rocket.rs/v0.5/rocket/trait.Sentinel.html +[`local_cache!`]: https://api.rocket.rs/v0.5/rocket/request/macro.local_cache.html +[`local_cache_once!`]: https://api.rocket.rs/v0.5/rocket/request/macro.local_cache_once.html +[`CookieJar`]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html +[asynchronous streams]: https://rocket.rs/v0.5/guide/responses/#async-streams +[Server-Sent Events]: https://api.rocket.rs/v0.5/rocket/response/stream/struct.EventStream.html +[`fs::relative!`]: https://api.rocket.rs/v0.5/rocket/fs/macro.relative.html +[notification]: https://api.rocket.rs/v0.5/rocket/struct.Shutdown.html +[`Rocket`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html +[`rocket::build()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.build +[`Rocket::ignite()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.ignite +[`Rocket::launch()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.launch +[`Request::rocket()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.rocket +[Fairings]: https://rocket.rs/v0.5/guide/fairings/ +[configuration system]: https://rocket.rs/v0.5/guide/configuration/ +[`Poolable`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/trait.Poolable.html +[`Config`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html +[`Error`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html +[`LogLevel`]: https://api.rocket.rs/v0.5/rocket/config/enum.LogLevel.html +[`Rocket::register()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.register +[`NamedFile::open`]: https://api.rocket.rs/v0.5/rocket/fs/struct.NamedFile.html#method.open +[`Request::local_cache_async()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.local_cache_async +[`FromRequest`]: https://api.rocket.rs/v0.5/rocket/request/trait.FromRequest.html +[`Fairing`]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html +[`catcher::Handler`]: https://api.rocket.rs/v0.5/rocket/catcher/trait.Handler.html +[`route::Handler`]: https://api.rocket.rs/v0.5/rocket/route/trait.Handler.html +[`FromData`]: https://api.rocket.rs/v0.5/rocket/data/trait.FromData.html [`AsyncRead`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncRead.html [`AsyncSeek`]: https://docs.rs/tokio/1/tokio/io/trait.AsyncSeek.html -[`rocket::local::asynchronous`]: https://api.rocket.rs/v0.5-rc/rocket/local/asynchronous/index.html -[`rocket::local::blocking`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/index.html -[`Outcome`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/enum.Outcome.html -[`rocket::outcome::try_outcome!`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/macro.try_outcome.html -[`Result` implements `Responder`]: https://api.rocket.rs/v0.5-rc/rocket/response/trait.Responder.html#provided-implementations -[`Debug`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Debug.html +[`rocket::local::asynchronous`]: https://api.rocket.rs/v0.5/rocket/local/asynchronous/index.html +[`rocket::local::blocking`]: https://api.rocket.rs/v0.5/rocket/local/blocking/index.html +[`Outcome`]: https://api.rocket.rs/v0.5/rocket/outcome/enum.Outcome.html +[`rocket::outcome::try_outcome!`]: https://api.rocket.rs/v0.5/rocket/outcome/macro.try_outcome.html +[`Result` implements `Responder`]: https://api.rocket.rs/v0.5/rocket/response/trait.Responder.html#provided-implementations +[`Debug`]: https://api.rocket.rs/v0.5/rocket/response/struct.Debug.html [`std::convert::Infallible`]: https://doc.rust-lang.org/stable/std/convert/enum.Infallible.html -[`ErrorKind::Collisions`]: https://api.rocket.rs/v0.5-rc/rocket/error/enum.ErrorKind.html#variant.Collisions -[`rocket::http::uri::fmt`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/fmt/index.html -[`Data::open()`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.Data.html#method.open -[`DataStream`]: https://api.rocket.rs/v0.5-rc/rocket/data/struct.DataStream.html -[`rocket::form`]: https://api.rocket.rs/v0.5-rc/rocket/form/index.html -[`FromFormField`]: https://api.rocket.rs/v0.5-rc/rocket/form/trait.FromFormField.html -[`FromForm`]: https://api.rocket.rs/v0.5-rc/rocket/form/trait.FromForm.html -[`FlashMessage`]: https://api.rocket.rs/v0.5-rc/rocket/request/type.FlashMessage.html -[`Flash`]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Flash.html -[`rocket::State`]: https://api.rocket.rs/v0.5-rc/rocket/struct.State.html -[`Segments` and `Segments`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Segments.html -[`Route::map_base()`]: https://api.rocket.rs/v0.5-rc/rocket/route/struct.Route.html#method.map_base -[`uuid` support]: https://api.rocket.rs/v0.5-rc/rocket/serde/uuid/index.html -[`json`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/index.html -[`msgpack`]: https://api.rocket.rs/v0.5-rc/rocket/serde/msgpack/index.html -[`rocket::serde::json::json!`]: https://api.rocket.rs/v0.5-rc/rocket/serde/json/macro.json.html -[`rocket::shield::Shield`]: https://api.rocket.rs/v0.5-rc/rocket/shield/struct.Shield.html -[`rocket::fs::FileServer`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.FileServer.html -[`rocket_dyn_templates`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/index.html -[`rocket_sync_db_pools`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/index.html -[multitasking]: https://rocket.rs/v0.5-rc/guide/overview/#multitasking -[`Created`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/struct.Created.html -[`Created::tagged_body`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/struct.Created.html#method.tagged_body +[`ErrorKind::Collisions`]: https://api.rocket.rs/v0.5/rocket/error/enum.ErrorKind.html#variant.Collisions +[`rocket::http::uri::fmt`]: https://api.rocket.rs/v0.5/rocket/http/uri/fmt/index.html +[`Data::open()`]: https://api.rocket.rs/v0.5/rocket/data/struct.Data.html#method.open +[`DataStream`]: https://api.rocket.rs/v0.5/rocket/data/struct.DataStream.html +[`rocket::form`]: https://api.rocket.rs/v0.5/rocket/form/index.html +[`FromFormField`]: https://api.rocket.rs/v0.5/rocket/form/trait.FromFormField.html +[`FromForm`]: https://api.rocket.rs/v0.5/rocket/form/trait.FromForm.html +[`FlashMessage`]: https://api.rocket.rs/v0.5/rocket/request/type.FlashMessage.html +[`Flash`]: https://api.rocket.rs/v0.5/rocket/response/struct.Flash.html +[`rocket::State`]: https://api.rocket.rs/v0.5/rocket/struct.State.html +[`Segments` and `Segments`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Segments.html +[`Route::map_base()`]: https://api.rocket.rs/v0.5/rocket/route/struct.Route.html#method.map_base +[`uuid` support]: https://api.rocket.rs/v0.5/rocket/serde/uuid/index.html +[`json`]: https://api.rocket.rs/v0.5/rocket/serde/json/index.html +[`msgpack`]: https://api.rocket.rs/v0.5/rocket/serde/msgpack/index.html +[`rocket::serde::json::json!`]: https://api.rocket.rs/v0.5/rocket/serde/json/macro.json.html +[`rocket::shield::Shield`]: https://api.rocket.rs/v0.5/rocket/shield/struct.Shield.html +[`rocket::fs::FileServer`]: https://api.rocket.rs/v0.5/rocket/fs/struct.FileServer.html +[`rocket_dyn_templates`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/index.html +[`rocket_sync_db_pools`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/index.html +[multitasking]: https://rocket.rs/v0.5/guide/overview/#multitasking +[`Created`]: https://api.rocket.rs/v0.5/rocket/response/status/struct.Created.html +[`Created::tagged_body`]: https://api.rocket.rs/v0.5/rocket/response/status/struct.Created.html#method.tagged_body [raw identifiers]: https://doc.rust-lang.org/1.51.0/book/appendix-01-keywords.html#raw-identifiers -[`Rocket::config()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.config -[`Rocket::figment()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.figment -[`Rocket::state()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.state -[`Rocket::catchers()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.catchers -[`LocalRequest::inner_mut()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.inner_mut -[`RawStrBuf`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStrBuf.html -[`RawStr`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html -[`RawStr::percent_encode()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.percent_encode -[`RawStr::percent_encode_bytes()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.percent_encode_bytes -[`RawStr::strip()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.RawStr.html#method.strip_prefix -[`rocket::catcher`]: https://api.rocket.rs/v0.5-rc/rocket/catcher/index.html -[`rocket::route`]: https://api.rocket.rs/v0.5-rc/rocket/route/index.html -[`Segments::prefix_of()`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Segments.html#method.prefix_of -[`Template::try_custom()`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Template.html#method.try_custom -[`Template::custom`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Template.html#method.custom -[`FileServer::new()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/struct.FileServer.html#method.new -[`content`]: https://api.rocket.rs/v0.5-rc/rocket/response/content/index.html -[`rocket_db_pools`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html -[mutual TLS]: https://rocket.rs/v0.5-rc/guide/configuration/#mutual-tls -[`Certificate`]: https://api.rocket.rs/v0.5-rc/rocket/mtls/struct.Certificate.html -[`MediaType::with_params()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html#method.with_params -[`ContentType::with_params()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.ContentType.html#method.with_params -[`Host`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Host.html -[`&Host`]: https://api.rocket.rs/v0.5-rc/rocket/http/uri/struct.Host.html -[`Request::host()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.host -[`context!`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/macro.context.html -[`MediaType`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html -[`ContentType`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.ContentType.html -[`Method`]: https://api.rocket.rs/v0.5-rc/rocket/http/enum.Method.html -[`(ContentType, T)`]: https://api.rocket.rs/v0.5-rc/rocket/response/content/index.html#usage -[v0.4 to v0.5 migration guide]: https://rocket.rs/v0.5-rc/guide/upgrading/ -[contrib deprecation upgrade guide]: https://rocket.rs/v0.5-rc/guide/upgrading/#contrib-deprecation -[FAQ]: https://rocket.rs/v0.5-rc/guide/faq/ -[`Rocket::launch()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Rocket.html#method.launch -[`ErrorKind::Shutdown`]: https://api.rocket.rs/v0.5-rc/rocket/error/enum.ErrorKind.html#variant.Shutdown -[shutdown fairings]: https://api.rocket.rs/v0.5-rc/rocket/fairing/trait.Fairing.html#shutdown -[`Client::terminate()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.Client.html#method.terminate -[`rocket::execute()`]: https://api.rocket.rs/v0.5-rc/rocket/fn.execute.html -[`CookieJar::get_pending()`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.CookieJar.html#method.get_pending -[`Metadata::render()`]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/struct.Metadata.html#method.render -[`pool()`]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools/example/struct.ExampleDb.html#method.pool -[`Request::client_ip()`]: https://api.rocket.rs/v0.5-rc/rocket/request/struct.Request.html#method.client_ip -[`max_blocking`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html#structfield.max_blocking -[`ip_header`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Config.html#structfield.ip_header -[`LocalRequest::identity()`]: https://api.rocket.rs/v0.5-rc/rocket/local/blocking/struct.LocalRequest.html#method.identity -[`TempFile::open()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html#method.open -[`Error::pretty_print()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html#method.pretty_print -[Request connection upgrade APIs]: https://api.rocket.rs/v0.5-rc/rocket/struct.Response.html#upgrading -[`rocket_ws`]: https://api.rocket.rs/v0.5-rc/rocket_ws/ -[registering]: https://api.rocket.rs/v0.5-rc/rocket/response/struct.Response.html#method.add_upgrade -[`IoHandler`]: https://api.rocket.rs/v0.5-rc/rocket/data/trait.IoHandler.html -[`response::status`]: https://api.rocket.rs/v0.5-rc/rocket/response/status/index.html -[Custom form errors]: https://api.rocket.rs/v0.5-rc/rocket/form/error/enum.ErrorKind.html#variant.Custom -[`request::Outcome`]: https://api.rocket.rs/v0.5-rc/rocket/request/type.Outcome.html#variant.Forward -[Route `Forward` outcomes]: https://api.rocket.rs/v0.5-rc/rocket/request/type.Outcome.html#variant.Forward -[`Outcome::Error`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/enum.Outcome.html#variant.Error -[`IntoOutcome`]: https://api.rocket.rs/v0.5-rc/rocket/outcome/trait.IntoOutcome.html -[`MediaType::JavaScript`]: https://api.rocket.rs/v0.5-rc/rocket/http/struct.MediaType.html#associatedconstant.JavaScript -[`TempFile::open()`]: https://api.rocket.rs/v0.5-rc/rocket/fs/enum.TempFile.html#method.open -[`Error::pretty_print()`]: https://api.rocket.rs/v0.5-rc/rocket/struct.Error.html#method.pretty_print -[`RouteUri`]: https://api.rocket.rs/v0.5-rc/rocket/route/struct.RouteUri.html +[`Rocket::config()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.config +[`Rocket::figment()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.figment +[`Rocket::state()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.state +[`Rocket::catchers()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.catchers +[`LocalRequest::inner_mut()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.inner_mut +[`RawStrBuf`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStrBuf.html +[`RawStr`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html +[`RawStr::percent_encode()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.percent_encode +[`RawStr::percent_encode_bytes()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.percent_encode_bytes +[`RawStr::strip()`]: https://api.rocket.rs/v0.5/rocket/http/struct.RawStr.html#method.strip_prefix +[`rocket::catcher`]: https://api.rocket.rs/v0.5/rocket/catcher/index.html +[`rocket::route`]: https://api.rocket.rs/v0.5/rocket/route/index.html +[`Segments::prefix_of()`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Segments.html#method.prefix_of +[`Template::try_custom()`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Template.html#method.try_custom +[`Template::custom`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Template.html#method.custom +[`FileServer::new()`]: https://api.rocket.rs/v0.5/rocket/fs/struct.FileServer.html#method.new +[`content`]: https://api.rocket.rs/v0.5/rocket/response/content/index.html +[`rocket_db_pools`]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html +[mutual TLS]: https://rocket.rs/v0.5/guide/configuration/#mutual-tls +[`Certificate`]: https://api.rocket.rs/v0.5/rocket/mtls/struct.Certificate.html +[`MediaType::with_params()`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html#method.with_params +[`ContentType::with_params()`]: https://api.rocket.rs/v0.5/rocket/http/struct.ContentType.html#method.with_params +[`Host`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Host.html +[`&Host`]: https://api.rocket.rs/v0.5/rocket/http/uri/struct.Host.html +[`Request::host()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.host +[`context!`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/macro.context.html +[`MediaType`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html +[`ContentType`]: https://api.rocket.rs/v0.5/rocket/http/struct.ContentType.html +[`Method`]: https://api.rocket.rs/v0.5/rocket/http/enum.Method.html +[`(ContentType, T)`]: https://api.rocket.rs/v0.5/rocket/response/content/index.html#usage +[v0.4 to v0.5 migration guide]: https://rocket.rs/v0.5/guide/upgrading/ +[contrib deprecation upgrade guide]: https://rocket.rs/v0.5/guide/upgrading/#contrib-deprecation +[FAQ]: https://rocket.rs/v0.5/guide/faq/ +[`Rocket::launch()`]: https://api.rocket.rs/v0.5/rocket/struct.Rocket.html#method.launch +[`ErrorKind::Shutdown`]: https://api.rocket.rs/v0.5/rocket/error/enum.ErrorKind.html#variant.Shutdown +[shutdown fairings]: https://api.rocket.rs/v0.5/rocket/fairing/trait.Fairing.html#shutdown +[`Client::terminate()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.Client.html#method.terminate +[`rocket::execute()`]: https://api.rocket.rs/v0.5/rocket/fn.execute.html +[`CookieJar::get_pending()`]: https://api.rocket.rs/v0.5/rocket/http/struct.CookieJar.html#method.get_pending +[`Metadata::render()`]: https://api.rocket.rs/v0.5/rocket_dyn_templates/struct.Metadata.html#method.render +[`pool()`]: https://api.rocket.rs/v0.5/rocket_sync_db_pools/example/struct.ExampleDb.html#method.pool +[`Request::client_ip()`]: https://api.rocket.rs/v0.5/rocket/request/struct.Request.html#method.client_ip +[`max_blocking`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html#structfield.max_blocking +[`ip_header`]: https://api.rocket.rs/v0.5/rocket/struct.Config.html#structfield.ip_header +[`LocalRequest::identity()`]: https://api.rocket.rs/v0.5/rocket/local/blocking/struct.LocalRequest.html#method.identity +[`TempFile::open()`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html#method.open +[`Error::pretty_print()`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html#method.pretty_print +[Request connection upgrade APIs]: https://api.rocket.rs/v0.5/rocket/struct.Response.html#upgrading +[`rocket_ws`]: https://api.rocket.rs/v0.5/rocket_ws/ +[registering]: https://api.rocket.rs/v0.5/rocket/response/struct.Response.html#method.add_upgrade +[`IoHandler`]: https://api.rocket.rs/v0.5/rocket/data/trait.IoHandler.html +[`response::status`]: https://api.rocket.rs/v0.5/rocket/response/status/index.html +[Custom form errors]: https://api.rocket.rs/v0.5/rocket/form/error/enum.ErrorKind.html#variant.Custom +[`request::Outcome`]: https://api.rocket.rs/v0.5/rocket/request/type.Outcome.html#variant.Forward +[Route `Forward` outcomes]: https://api.rocket.rs/v0.5/rocket/request/type.Outcome.html#variant.Forward +[`Outcome::Error`]: https://api.rocket.rs/v0.5/rocket/outcome/enum.Outcome.html#variant.Error +[`IntoOutcome`]: https://api.rocket.rs/v0.5/rocket/outcome/trait.IntoOutcome.html +[`MediaType::JavaScript`]: https://api.rocket.rs/v0.5/rocket/http/struct.MediaType.html#associatedconstant.JavaScript +[`TempFile::open()`]: https://api.rocket.rs/v0.5/rocket/fs/enum.TempFile.html#method.open +[`Error::pretty_print()`]: https://api.rocket.rs/v0.5/rocket/struct.Error.html#method.pretty_print +[`RouteUri`]: https://api.rocket.rs/v0.5/rocket/route/struct.RouteUri.html # Version 0.4.10 (May 21, 2021) diff --git a/contrib/db_pools/README.md b/contrib/db_pools/README.md index 9ec29d18..6ccaa1ff 100644 --- a/contrib/db_pools/README.md +++ b/contrib/db_pools/README.md @@ -3,7 +3,7 @@ [crates.io]: https://img.shields.io/crates/v/rocket_db_pools.svg [crate]: https://crates.io/crates/rocket_db_pools [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 -[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_db_pools +[crate docs]: https://api.rocket.rs/v0.5/rocket_db_pools [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci]: https://github.com/SergioBenitez/Rocket/actions @@ -17,7 +17,7 @@ full usage details. ```toml [dependencies.rocket_db_pools] - version = "=0.1.0-rc.4" + version = "0.1.0" features = ["sqlx_sqlite"] ``` @@ -60,8 +60,8 @@ full usage details. } ``` -[database driver features]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#supported-drivers -[`Pool`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#supported-drivers -[Configure]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/index.html#configuration -[Derive `Database`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/derive.Database.html -[`Connection`]: https://api.rocket.rs/v0.5-rc/rocket_db_pools/struct.Connection.html +[database driver features]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers +[`Pool`]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#supported-drivers +[Configure]: https://api.rocket.rs/v0.5/rocket_db_pools/index.html#configuration +[Derive `Database`]: https://api.rocket.rs/v0.5/rocket_db_pools/derive.Database.html +[`Connection`]: https://api.rocket.rs/v0.5/rocket_db_pools/struct.Connection.html diff --git a/contrib/db_pools/codegen/Cargo.toml b/contrib/db_pools/codegen/Cargo.toml index 3d23598b..0fd1f13e 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.4" +version = "0.1.0" 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 598fc827..0d7284cf 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.4" +version = "0.1.0" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Rocket async database pooling support" repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" @@ -29,12 +29,12 @@ diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "diesel", "deadpo [dependencies.rocket] path = "../../../core/lib" -version = "=0.5.0-rc.4" +version = "0.5.0" default-features = false [dependencies.rocket_db_pools_codegen] path = "../codegen" -version = "=0.1.0-rc.4" +version = "0.1.0" [dependencies.deadpool] version = "0.9" diff --git a/contrib/db_pools/lib/src/diesel.rs b/contrib/db_pools/lib/src/diesel.rs index 65974d3a..911ba776 100644 --- a/contrib/db_pools/lib/src/diesel.rs +++ b/contrib/db_pools/lib/src/diesel.rs @@ -8,11 +8,11 @@ //! //! ```toml //! [dependencies] -//! rocket = "=0.5.0-rc.4" +//! rocket = "0.5.0" //! diesel = "2" //! //! [dependencies.rocket_db_pools] -//! version = "=0.1.0-rc.4" +//! version = "0.1.0" //! features = ["diesel_mysql"] //! ``` //! diff --git a/contrib/db_pools/lib/src/lib.rs b/contrib/db_pools/lib/src/lib.rs index 05259e16..6e6b886a 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.4" +//! version = "0.1.0" //! features = ["sqlx_sqlite"] //! ``` //! @@ -165,7 +165,7 @@ //! features = ["macros", "migrate"] //! //! [dependencies.rocket_db_pools] -//! version = "=0.1.0-rc.4" +//! version = "0.1.0" //! features = ["sqlx_sqlite"] //! ``` //! diff --git a/contrib/dyn_templates/Cargo.toml b/contrib/dyn_templates/Cargo.toml index 1fe40ef6..92e61f8d 100644 --- a/contrib/dyn_templates/Cargo.toml +++ b/contrib/dyn_templates/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rocket_dyn_templates" -version = "0.1.0-rc.4" +version = "0.1.0" authors = ["Sergio Benitez "] description = "Dynamic templating engine integration for Rocket." -documentation = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates/" +documentation = "https://api.rocket.rs/v0.5/rocket_dyn_templates/" homepage = "https://rocket.rs" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/dyn_templates" readme = "README.md" @@ -22,7 +22,7 @@ notify = "6" normpath = "1" [dependencies.rocket] -version = "=0.5.0-rc.4" +version = "0.5.0" path = "../../core/lib" default-features = false diff --git a/contrib/dyn_templates/README.md b/contrib/dyn_templates/README.md index 810f4846..fad858ce 100644 --- a/contrib/dyn_templates/README.md +++ b/contrib/dyn_templates/README.md @@ -3,7 +3,7 @@ [crates.io]: https://img.shields.io/crates/v/rocket_dyn_templates.svg [crate]: https://crates.io/crates/rocket_dyn_templates [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 -[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_dyn_templates +[crate docs]: https://api.rocket.rs/v0.5/rocket_dyn_templates [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci]: https://github.com/SergioBenitez/Rocket/actions @@ -22,7 +22,7 @@ supports [Handlebars] and [Tera]. ```toml [dependencies.rocket_dyn_templates] - version = "=0.1.0-rc.4" + version = "0.1.0" features = ["handlebars", "tera"] ``` diff --git a/contrib/dyn_templates/src/lib.rs b/contrib/dyn_templates/src/lib.rs index 7202a3a6..2dfb474d 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.4" +//! version = "0.1.0" //! features = ["handlebars", "tera"] //! ``` //! @@ -66,7 +66,7 @@ //! template directory is configured via the `template_dir` configuration //! parameter and defaults to `templates/`. The path set in `template_dir` is //! relative to the Rocket configuration file. See the [configuration -//! chapter](https://rocket.rs/v0.5-rc/guide/configuration) of the guide for more +//! chapter](https://rocket.rs/v0.5/guide/configuration) of the guide for more //! information on configuration. //! //! The corresponding templating engine used for a given template is based on a @@ -132,7 +132,7 @@ //! the templates directory since the previous request. In release builds, //! template reloading is disabled to improve performance and cannot be enabled. -#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_dyn_templates")] +#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_dyn_templates")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] diff --git a/contrib/sync_db_pools/README.md b/contrib/sync_db_pools/README.md index 9cfa24d0..04edf74d 100644 --- a/contrib/sync_db_pools/README.md +++ b/contrib/sync_db_pools/README.md @@ -3,7 +3,7 @@ [crates.io]: https://img.shields.io/crates/v/rocket_sync_db_pools.svg [crate]: https://crates.io/crates/rocket_sync_db_pools [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 -[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools +[crate docs]: https://api.rocket.rs/v0.5/rocket_sync_db_pools [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci]: https://github.com/SergioBenitez/Rocket/actions @@ -19,7 +19,7 @@ First, enable the feature corresponding to your database type: ```toml [dependencies.rocket_sync_db_pools] -version = "=0.1.0-rc.4" +version = "0.1.0" features = ["diesel_sqlite_pool"] ``` diff --git a/contrib/sync_db_pools/codegen/Cargo.toml b/contrib/sync_db_pools/codegen/Cargo.toml index c3319e9f..a78b3310 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.4" +version = "0.1.0" 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 3f65e3c2..32854eab 100644 --- a/contrib/sync_db_pools/lib/Cargo.toml +++ b/contrib/sync_db_pools/lib/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rocket_sync_db_pools" -version = "0.1.0-rc.4" +version = "0.1.0" 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" +repository = "https://github.com/SergioBenitez/Rocket/tree/v0.5/contrib/sync_db_pools" readme = "../README.md" keywords = ["rocket", "framework", "database", "pools"] license = "MIT OR Apache-2.0" @@ -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.4" +version = "0.1.0" path = "../codegen" [dependencies.rocket] -version = "=0.5.0-rc.4" +version = "0.5.0" 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 e390d725..1d83073c 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.4" +//! version = "0.1.0" //! features = ["diesel_sqlite_pool"] //! ``` //! @@ -166,7 +166,7 @@ //! Lastly, databases can be configured via environment variables by specifying //! the `databases` table as detailed in the [Environment Variables //! configuration -//! guide](https://rocket.rs/v0.5-rc/guide/configuration/#environment-variables): +//! guide](https://rocket.rs/v0.5/guide/configuration/#environment-variables): //! //! ```bash //! ROCKET_DATABASES='{my_db={url="db.sqlite"}}' @@ -349,7 +349,7 @@ //! [request guards]: rocket::request::FromRequest //! [`Poolable`]: crate::Poolable -#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_sync_db_pools")] +#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_sync_db_pools")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![cfg_attr(nightly, feature(doc_cfg))] diff --git a/contrib/ws/Cargo.toml b/contrib/ws/Cargo.toml index d4ae211f..573427df 100644 --- a/contrib/ws/Cargo.toml +++ b/contrib/ws/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rocket_ws" -version = "0.1.0-rc.4" +version = "0.1.0" authors = ["Sergio Benitez "] description = "WebSocket support for Rocket." -documentation = "https://api.rocket.rs/v0.5-rc/rocket_ws/" +documentation = "https://api.rocket.rs/v0.5/rocket_ws/" homepage = "https://rocket.rs" repository = "https://github.com/SergioBenitez/Rocket/tree/master/contrib/ws" readme = "README.md" @@ -20,7 +20,7 @@ tungstenite = ["tokio-tungstenite"] tokio-tungstenite = { version = "0.20", optional = true } [dependencies.rocket] -version = "=0.5.0-rc.4" +version = "0.5.0" path = "../../core/lib" default-features = false diff --git a/contrib/ws/README.md b/contrib/ws/README.md index d7e94725..27da59a4 100644 --- a/contrib/ws/README.md +++ b/contrib/ws/README.md @@ -3,7 +3,7 @@ [crates.io]: https://img.shields.io/crates/v/rocket_ws.svg [crate]: https://crates.io/crates/rocket_ws [docs.svg]: https://img.shields.io/badge/web-master-red.svg?style=flat&label=docs&colorB=d33847 -[crate docs]: https://api.rocket.rs/v0.5-rc/rocket_ws +[crate docs]: https://api.rocket.rs/v0.5/rocket_ws [ci.svg]: https://github.com/SergioBenitez/Rocket/workflows/CI/badge.svg [ci]: https://github.com/SergioBenitez/Rocket/actions @@ -16,7 +16,7 @@ This crate provides WebSocket support for Rocket via integration with Rocket's ```toml [dependencies] - ws = { package = "rocket_ws", version ="=0.1.0-rc.4" } + ws = { package = "rocket_ws", version = "0.1.0" } ``` 2. Use it! diff --git a/contrib/ws/src/lib.rs b/contrib/ws/src/lib.rs index 06affb00..4768a043 100644 --- a/contrib/ws/src/lib.rs +++ b/contrib/ws/src/lib.rs @@ -10,7 +10,7 @@ //! //! ```toml //! [dependencies] -//! ws = { package = "rocket_ws", version ="=0.1.0-rc.4" } +//! ws = { package = "rocket_ws", version = "0.1.0" } //! ``` //! //! Then, use [`WebSocket`] as a request guard in any route and either call @@ -70,7 +70,7 @@ //! } //! ``` -#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc/rocket_ws")] +#![doc(html_root_url = "https://api.rocket.rs/v0.5/rocket_ws")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] diff --git a/core/codegen/Cargo.toml b/core/codegen/Cargo.toml index c0d4f0b1..d11974c1 100644 --- a/core/codegen/Cargo.toml +++ b/core/codegen/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rocket_codegen" -version = "0.5.0-rc.4" +version = "0.5.0" authors = ["Sergio Benitez "] description = "Procedural macros for the Rocket web framework." -documentation = "https://api.rocket.rs/v0.5-rc/rocket_codegen/" +documentation = "https://api.rocket.rs/v0.5/rocket_codegen/" homepage = "https://rocket.rs" repository = "https://github.com/SergioBenitez/Rocket" readme = "../../README.md" @@ -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.4", path = "../http/" } +rocket_http = { version = "0.5.0", path = "../http/" } unicode-xid = "0.2" version_check = "0.9" glob = "0.3" diff --git a/core/codegen/src/lib.rs b/core/codegen/src/lib.rs index 4f9a6b2f..1d22fe43 100644 --- a/core/codegen/src/lib.rs +++ b/core/codegen/src/lib.rs @@ -1,6 +1,6 @@ #![recursion_limit="128"] -#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc")] +#![doc(html_root_url = "https://api.rocket.rs/v0.5")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] @@ -11,7 +11,7 @@ //! This crate implements the code generation portions of Rocket. This includes //! custom derives, custom attributes, and procedural macros. The documentation //! here is purely technical. The code generation facilities are documented -//! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5-rc/guide). +//! thoroughly in the [Rocket programming guide](https://rocket.rs/v0.5/guide). //! //! # Usage //! @@ -21,7 +21,7 @@ //! //! ```toml //! [dependencies] -//! rocket = "=0.5.0-rc.4" +//! rocket = "0.5.0" //! ``` //! //! 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 8994e704..a5664ce4 100644 --- a/core/http/Cargo.toml +++ b/core/http/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "rocket_http" -version = "0.5.0-rc.4" +version = "0.5.0" authors = ["Sergio Benitez "] description = """ Types, traits, and parsers for HTTP requests, responses, and headers. """ -documentation = "https://api.rocket.rs/v0.5-rc/rocket_http/" +documentation = "https://api.rocket.rs/v0.5/rocket_http/" homepage = "https://rocket.rs" repository = "https://github.com/SergioBenitez/Rocket" readme = "../../README.md" diff --git a/core/lib/Cargo.toml b/core/lib/Cargo.toml index c29d1d96..2203ee1a 100644 --- a/core/lib/Cargo.toml +++ b/core/lib/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "rocket" -version = "0.5.0-rc.4" +version = "0.5.0" authors = ["Sergio Benitez "] description = """ Web framework with a focus on usability, security, extensibility, and speed. """ -documentation = "https://api.rocket.rs/v0.5-rc/rocket/" +documentation = "https://api.rocket.rs/v0.5/rocket/" homepage = "https://rocket.rs" repository = "https://github.com/SergioBenitez/Rocket" readme = "../../README.md" @@ -61,11 +61,11 @@ tokio-stream = { version = "0.1.6", features = ["signal", "time"] } state = "0.6" [dependencies.rocket_codegen] -version = "=0.5.0-rc.4" +version = "0.5.0" path = "../codegen" [dependencies.rocket_http] -version = "=0.5.0-rc.4" +version = "0.5.0" path = "../http" features = ["serde"] diff --git a/core/lib/src/config/config.rs b/core/lib/src/config/config.rs index 4a23bf4f..3856e228 100644 --- a/core/lib/src/config/config.rs +++ b/core/lib/src/config/config.rs @@ -23,7 +23,7 @@ use crate::config::SecretKey; /// See the [module level docs](crate::config) as well as the [configuration /// guide] for further details. /// -/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ +/// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ /// /// # Defaults /// diff --git a/core/lib/src/config/mod.rs b/core/lib/src/config/mod.rs index a811cf99..6bd2de3f 100644 --- a/core/lib/src/config/mod.rs +++ b/core/lib/src/config/mod.rs @@ -2,7 +2,7 @@ //! //! See the [configuration guide] for full details. //! -//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ +//! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ //! //! ## Extracting Configuration Parameters //! diff --git a/core/lib/src/config/secret_key.rs b/core/lib/src/config/secret_key.rs index 02947e70..8302c7f4 100644 --- a/core/lib/src/config/secret_key.rs +++ b/core/lib/src/config/secret_key.rs @@ -71,8 +71,8 @@ enum Kind { /// assert!(matches!(error.kind(), ErrorKind::InsecureSecretKey(profile))); /// ``` /// -/// [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies -/// [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/#secret-key +/// [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies +/// [configuration guide]: https://rocket.rs/v0.5/guide/configuration/#secret-key #[derive(Clone)] #[cfg_attr(nightly, doc(cfg(feature = "secrets")))] pub struct SecretKey { diff --git a/core/lib/src/fairing/mod.rs b/core/lib/src/fairing/mod.rs index 1439d8f4..be179595 100644 --- a/core/lib/src/fairing/mod.rs +++ b/core/lib/src/fairing/mod.rs @@ -423,7 +423,7 @@ pub type Result, E = Rocket> = std::result::Result { /// The value, if it was successfully parsed, or `None` otherwise. diff --git a/core/lib/src/form/form.rs b/core/lib/src/form/form.rs index 12b1c40c..cd80db44 100644 --- a/core/lib/src/form/form.rs +++ b/core/lib/src/form/form.rs @@ -12,7 +12,7 @@ use crate::form::prelude::*; /// This type implements the [`FromData`] trait. It provides a generic means to /// parse arbitrary structures from incoming form data. /// -/// See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for +/// See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for /// general form support documentation. /// /// # Leniency diff --git a/core/lib/src/form/from_form.rs b/core/lib/src/form/from_form.rs index 347b62d8..0f04803d 100644 --- a/core/lib/src/form/from_form.rs +++ b/core/lib/src/form/from_form.rs @@ -65,7 +65,7 @@ use crate::http::uncased::AsUncased; /// [FromFormField]: crate::form::FromFormField /// [`shift()`ed]: NameView::shift() /// [`key()`]: NameView::key() -/// [forms guide]: https://rocket.rs/v0.5-rc/guide/requests/#forms +/// [forms guide]: https://rocket.rs/v0.5/guide/requests/#forms /// /// # Parsing Strategy /// diff --git a/core/lib/src/form/mod.rs b/core/lib/src/form/mod.rs index 44487876..1d1c21b7 100644 --- a/core/lib/src/form/mod.rs +++ b/core/lib/src/form/mod.rs @@ -1,6 +1,6 @@ //! Parsing and validation of HTTP forms and fields. //! -//! See the [forms guide](https://rocket.rs/v0.5-rc/guide/requests#forms) for +//! See the [forms guide](https://rocket.rs/v0.5/guide/requests#forms) for //! general form support documentation. //! //! # Field Wire Format diff --git a/core/lib/src/lib.rs b/core/lib/src/lib.rs index 8ac0f994..33874a7f 100644 --- a/core/lib/src/lib.rs +++ b/core/lib/src/lib.rs @@ -1,6 +1,6 @@ #![recursion_limit="256"] -#![doc(html_root_url = "https://api.rocket.rs/v0.5-rc")] +#![doc(html_root_url = "https://api.rocket.rs/v0.5")] #![doc(html_favicon_url = "https://rocket.rs/images/favicon.ico")] #![doc(html_logo_url = "https://rocket.rs/images/logo-boxed.png")] #![cfg_attr(nightly, feature(doc_cfg))] @@ -18,10 +18,10 @@ //! detailed guide]. If you'd like pointers on getting started, see the //! [quickstart] or [getting started] chapters of the guide. //! -//! [overview]: https://rocket.rs/v0.5-rc/overview -//! [full, detailed guide]: https://rocket.rs/v0.5-rc/guide -//! [quickstart]: https://rocket.rs/v0.5-rc/guide/quickstart -//! [getting started]: https://rocket.rs/v0.5-rc/guide/getting-started +//! [overview]: https://rocket.rs/v0.5/overview +//! [full, detailed guide]: https://rocket.rs/v0.5/guide +//! [quickstart]: https://rocket.rs/v0.5/guide/quickstart +//! [getting started]: https://rocket.rs/v0.5/guide/getting-started //! //! ## Usage //! @@ -29,13 +29,13 @@ //! //! ```toml //! [dependencies] -//! rocket = "=0.5.0-rc.4" +//! rocket = "0.5.0" //! ``` //! //! Note that development versions, tagged with `-dev`, are not published //! and need to be specified as [git dependencies]. //! -//! See the [guide](https://rocket.rs/v0.5-rc/guide) for more information on how +//! See the [guide](https://rocket.rs/v0.5/guide) for more information on how //! to write Rocket applications. Here's a simple example to get you started: //! //! [git dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories @@ -73,21 +73,21 @@ //! //! ```toml //! [dependencies] -//! rocket = { version = "=0.5.0-rc.4", features = ["secrets", "tls", "json"] } +//! rocket = { version = "0.5.0", features = ["secrets", "tls", "json"] } //! ``` //! //! Conversely, HTTP/2 can be disabled: //! //! ```toml //! [dependencies] -//! rocket = { version = "=0.5.0-rc.4", default-features = false } +//! rocket = { version = "0.5.0", default-features = false } //! ``` //! //! [JSON (de)serialization]: crate::serde::json //! [MessagePack (de)serialization]: crate::serde::msgpack //! [UUID value parsing and (de)serialization]: crate::serde::uuid -//! [private cookies]: https://rocket.rs/v0.5-rc/guide/requests/#private-cookies -//! [TLS]: https://rocket.rs/v0.5-rc/guide/configuration/#tls +//! [private cookies]: https://rocket.rs/v0.5/guide/requests/#private-cookies +//! [TLS]: https://rocket.rs/v0.5/guide/configuration/#tls //! [mutual TLS]: crate::mtls //! //! ## Configuration @@ -103,8 +103,8 @@ //! integration testing of a Rocket application. The top-level [`local`] module //! documentation and the [testing guide] include detailed examples. //! -//! [configuration guide]: https://rocket.rs/v0.5-rc/guide/configuration/ -//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/#testing +//! [configuration guide]: https://rocket.rs/v0.5/guide/configuration/ +//! [testing guide]: https://rocket.rs/v0.5/guide/testing/#testing //! [Figment]: https://docs.rs/figment /// These are public dependencies! Update docs if these are changed, especially diff --git a/core/lib/src/local/mod.rs b/core/lib/src/local/mod.rs index 78668aa1..4a2bed5e 100644 --- a/core/lib/src/local/mod.rs +++ b/core/lib/src/local/mod.rs @@ -80,7 +80,7 @@ //! //! For more details on testing, see the [testing guide]. //! -//! [testing guide]: https://rocket.rs/v0.5-rc/guide/testing/ +//! [testing guide]: https://rocket.rs/v0.5/guide/testing/ //! [`Client`]: crate::local::asynchronous::Client //! //! # `Client` diff --git a/core/lib/src/mtls.rs b/core/lib/src/mtls.rs index 5910bb52..93e79945 100644 --- a/core/lib/src/mtls.rs +++ b/core/lib/src/mtls.rs @@ -2,7 +2,7 @@ //! //! For details on how to configure mutual TLS, see //! [`MutualTls`](crate::config::MutualTls) and the [TLS -//! guide](https://rocket.rs/v0.5-rc/guide/configuration/#tls). See +//! guide](https://rocket.rs/v0.5/guide/configuration/#tls). See //! [`Certificate`] for a request guard that validated, verifies, and retrieves //! client certificates. diff --git a/core/lib/src/request/from_request.rs b/core/lib/src/request/from_request.rs index a0776aaa..1dacb4d2 100644 --- a/core/lib/src/request/from_request.rs +++ b/core/lib/src/request/from_request.rs @@ -368,7 +368,7 @@ pub type Outcome = outcome::Outcome; /// Notice that these request guards provide access to *borrowed* data (`&'a /// User` and `Admin<'a>`) as the data is now owned by the request's cache. /// -/// [request-local state]: https://rocket.rs/v0.5-rc/guide/state/#request-local-state +/// [request-local state]: https://rocket.rs/v0.5/guide/state/#request-local-state #[crate::async_trait] pub trait FromRequest<'r>: Sized { /// The associated error to be returned if derivation fails. diff --git a/core/lib/src/serde/json.rs b/core/lib/src/serde/json.rs index 3a22f822..677b20e7 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.4" +//! version = "0.5.0" //! features = ["json"] //! ``` //! diff --git a/core/lib/src/serde/msgpack.rs b/core/lib/src/serde/msgpack.rs index ff2381dc..7af49700 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.4" +//! version = "0.5.0" //! features = ["msgpack"] //! ``` //! diff --git a/core/lib/src/serde/uuid.rs b/core/lib/src/serde/uuid.rs index 03c5f781..f834932a 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.4" +//! version = "0.5.0" //! features = ["uuid"] //! ``` //! diff --git a/core/lib/src/shield/mod.rs b/core/lib/src/shield/mod.rs index 09fe3e4d..b893c6c8 100644 --- a/core/lib/src/shield/mod.rs +++ b/core/lib/src/shield/mod.rs @@ -4,7 +4,7 @@ //! security and privacy headers into all outgoing responses. It takes some //! inspiration from [helmetjs], a similar piece of middleware for [express]. //! -//! [fairing]: https://rocket.rs/v0.5-rc/guide/fairings/ +//! [fairing]: https://rocket.rs/v0.5/guide/fairings/ //! [helmetjs]: https://helmetjs.github.io/ //! [express]: https://expressjs.com //! diff --git a/scripts/config.sh b/scripts/config.sh index bfae2413..a9dc777a 100755 --- a/scripts/config.sh +++ b/scripts/config.sh @@ -58,8 +58,8 @@ 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 -PRE_RELEASE=true +CURRENT_RELEASE=true +PRE_RELEASE=false # A generated codename for this version. Use the git branch for pre-releases. case $PRE_RELEASE in diff --git a/site/README.md b/site/README.md index 1bd8a684..d56b05ea 100644 --- a/site/README.md +++ b/site/README.md @@ -13,7 +13,7 @@ This directory contains the following: * `news/*.md` - News articles linked to from `news/index.toml`. * `guide/*.md` - Guide pages linked to from `guide.md`. -[Rocket Programming Guide]: https://rocket.rs/v0.5-rc/guide/ +[Rocket Programming Guide]: https://rocket.rs/v0.5/guide/ ### Guide Links diff --git a/site/guide/01-upgrading.md b/site/guide/01-upgrading.md index cdee2af4..f833aa7c 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.4", features = ["secrets"] } +rocket = { version = "0.5.0", 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.4", features = ["json"] } -+ rocket_dyn_templates = { version = "=0.1.0-rc.4", features = ["tera"] } ++ rocket = { version = "0.5.0", features = ["json"] } ++ rocket_dyn_templates = { version = "0.1.0", features = ["tera"] } ``` ! note: `rocket_dyn_templates` (and co.) _does not_ follow in version lock-step diff --git a/site/guide/1-quickstart.md b/site/guide/1-quickstart.md index 5d43c100..51f3d5ef 100644 --- a/site/guide/1-quickstart.md +++ b/site/guide/1-quickstart.md @@ -14,7 +14,7 @@ For instance, the following set of commands runs the `hello` example: ```sh git clone https://github.com/SergioBenitez/Rocket cd Rocket -git checkout v0.5-rc +git checkout v0.5 cd examples/hello cargo run ``` diff --git a/site/guide/10-pastebin-tutorial.md b/site/guide/10-pastebin-tutorial.md index e0a6d222..ac44d064 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.4" +rocket = "0.5.0" ``` 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 a11078fd..29854f43 100644 --- a/site/guide/12-faq.md +++ b/site/guide/12-faq.md @@ -54,7 +54,7 @@ looks like: | Framework | Dependencies | Build Time | |----------------------|--------------|------------| -| Rocket 0.5-rc.2 | 151 | 50s | +| Rocket 0.5 | 151 | 50s | | Actix-Web 4.0.1 | 155 | 40s | | Tide 0.16 | 202 | 37s | | Warp 0.3.2 | 132 | 30s | @@ -646,7 +646,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.4" +rocket = "0.5.0" 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 74d601a4..0f485ca1 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.4" +rocket = "0.5.0" ``` ! warning: Development versions must be _git_ dependencies. diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md index fcdf6fb3..8569ed72 100644 --- a/site/guide/4-requests.md +++ b/site/guide/4-requests.md @@ -606,7 +606,7 @@ feature: ```toml ## in Cargo.toml -rocket = { version = "=0.5.0-rc.4", features = ["secrets"] } +rocket = { version = "0.5.0", features = ["secrets"] } ``` The API for retrieving, adding, and removing private cookies is identical except @@ -784,7 +784,7 @@ complete example. feature can be enabled in the `Cargo.toml`: ` - rocket = { version = "=0.5.0-rc.4", features = ["json"] } + rocket = { version = "0.5.0", features = ["json"] } ` ### Temporary Files diff --git a/site/guide/6-state.md b/site/guide/6-state.md index fb70b883..20ae3a04 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.4" + version = "0.1.0" features = ["sqlx_sqlite"] ``` @@ -299,7 +299,7 @@ default-features = false features = ["macros", "migrate"] [dependencies.rocket_db_pools] -version = "=0.1.0-rc.4" +version = "0.1.0" features = ["sqlx_sqlite"] ``` diff --git a/site/guide/9-configuration.md b/site/guide/9-configuration.md index 19a0d8d6..b2f47c00 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.4", features = ["tls"] } + rocket = { version = "0.5.0", 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.4", features = ["mtls"] } + rocket = { version = "0.5.0", features = ["mtls"] } ``` This implicitly enables the `tls` feature. diff --git a/site/index.toml b/site/index.toml index 87bad8ce..a8846e53 100644 --- a/site/index.toml +++ b/site/index.toml @@ -3,8 +3,8 @@ ############################################################################### [release] -version = "0.5.0-rc.4" -date = "Nov 1, 2023" +version = "0.5.0" +date = "Nov XX, 2023" ############################################################################### # Top features: displayed in the header under the introductory text. diff --git a/site/news/2021-06-09-version-0.5-rc.1.md b/site/news/2021-06-09-version-0.5-rc.1.md index 18792e43..0044b4e8 100644 --- a/site/news/2021-06-09-version-0.5-rc.1.md +++ b/site/news/2021-06-09-version-0.5-rc.1.md @@ -27,7 +27,7 @@ to your feedback! [GitHub issue tracker]: https://github.com/SergioBenitez/Rocket/issues [GitHub discussions]: https://github.com/SergioBenitez/Rocket/discussions -[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5-rc/CHANGELOG.md#version-050-rc1-jun-9-2021 +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc1-jun-9-2021 [API docs]: @api [guide]: ../../guide diff --git a/site/news/2022-05-09-version-0.5-rc.2.md b/site/news/2022-05-09-version-0.5-rc.2.md index c3d9c00e..58fd3dc7 100644 --- a/site/news/2022-05-09-version-0.5-rc.2.md +++ b/site/news/2022-05-09-version-0.5-rc.2.md @@ -27,7 +27,7 @@ for the general release! [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 +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022 [API docs]: @api [guide]: ../../guide 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 index c7b86cfb..cec4823b 100644 --- a/site/news/2023-03-23-version-0.5-rc.3.md +++ b/site/news/2023-03-23-version-0.5-rc.3.md @@ -17,7 +17,7 @@ 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 +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022 ## About Rocket diff --git a/site/news/2023-05-26-version-0.5.md b/site/news/2023-05-26-version-0.5.md index 8249b1f3..d4f3c886 100644 --- a/site/news/2023-05-26-version-0.5.md +++ b/site/news/2023-05-26-version-0.5.md @@ -176,7 +176,7 @@ For complete usage details, see the [`rocket_ws`] documentation. [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 +[CHANGELOG]: https://github.com/SergioBenitez/Rocket/blob/v0.5/CHANGELOG.md#version-050-rc2-may-9-2022 ## Thank You diff --git a/site/tests/Cargo.toml b/site/tests/Cargo.toml index 11269a58..61d6ff50 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.4" +version = "0.5.0" workspace = "../../" edition = "2021" publish = false @@ -22,4 +22,4 @@ path = "../../contrib/db_pools/lib" features = ["sqlx_sqlite"] [dev-dependencies.rocket_ws] -path = "../../contrib/ws/lib" +path = "../../contrib/ws"