diff --git a/CHANGELOG.md b/CHANGELOG.md index e07bafe1..ecba3489 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,46 @@ +# Version 0.1.3 (Dec 31, 2016) + +## Core + + * Typo in `Outcome` formatting fixed (Succcess -> Success). + * Added `ContentType::CSV`. + * Dynamic segments parameters are properly resolved, even when mounted. + * Request methods are only overridden via `_method` field on POST. + * Form value `String`s are properly decoded. + +## Codegen + + * The `_method` field is now properly ignored in `FromForm` derivation. + * Unknown Content-Types in `format` no longer result in an error. + * Deriving `FromForm` no longer results in a deprecation warning. + * Codegen will refuse to build with incompatible rustc, presenting error + message and suggestion. + * Added `head` as a valid decorator for `HEAD` requests. + * Added `route(OPTIONS)` is a valid decorator for `OPTIONS` requests. + +## Contrib + + * Files with the `.tera` extension are properly autoescaped. + * Nested template names are properly resolved on Windows. + * Template implements `Display`. + * Tera dependency updated to version 0.6. + +## Docs + + * Todo example requirements clarified in its `README`. + +## Testing + + * Tests added for `config`, `optional_result`, `optional_redirect`, and + `query_params` examples. + * Testing script checks for and disallows tab characters. + +## Infrastructure + + * New script (`bump_version.sh`) automates version bumps. + * Config script emits error when readlink/readpath support is bad. + * Travis badge points to public builds. + # Version 0.1.2 (Dec 24, 2016) ## Codegen diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 0b3031b9..a428513f 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_codegen" -version = "0.1.2" +version = "0.1.3" authors = ["Sergio Benitez "] description = "Code generation for the Rocket web framework." documentation = "https://api.rocket.rs/rocket_codegen/" @@ -15,7 +15,7 @@ build = "build.rs" plugin = true [dependencies] -rocket = { version = "0.1.2", path = "../lib/" } +rocket = { version = "0.1.3", path = "../lib/" } log = "^0.3" [dev-dependencies] diff --git a/contrib/Cargo.toml b/contrib/Cargo.toml index e07a6719..0da08d61 100644 --- a/contrib/Cargo.toml +++ b/contrib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket_contrib" -version = "0.1.2" +version = "0.1.3" authors = ["Sergio Benitez "] description = "Community contributed libraries for the Rocket web framework." documentation = "https://api.rocket.rs/rocket_contrib/" @@ -21,7 +21,7 @@ templates = ["serde", "serde_json", "lazy_static_macro", "glob"] lazy_static_macro = ["lazy_static"] [dependencies] -rocket = { version = "0.1.2", path = "../lib/" } +rocket = { version = "0.1.3", path = "../lib/" } log = "^0.3" # JSON and templating dependencies. diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 550d6f9a..798416fe 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rocket" -version = "0.1.2" +version = "0.1.3" authors = ["Sergio Benitez "] description = """ Web framework for nightly with a focus on ease-of-use, expressability, and @@ -26,7 +26,7 @@ default-features = false [dev-dependencies] lazy_static = "0.2" -rocket_codegen = { version = "0.1.2", path = "../codegen" } +rocket_codegen = { version = "0.1.3", path = "../codegen" } [features] testing = []