New version: 0.1.3.

This commit is contained in:
Sergio Benitez 2016-12-31 01:31:11 -06:00
parent 0af01abe5f
commit 6fdc6f025f
4 changed files with 49 additions and 6 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
[package]
name = "rocket_codegen"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <sb@sergio.bz>"]
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]

View File

@ -1,6 +1,6 @@
[package]
name = "rocket_contrib"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <sb@sergio.bz>"]
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.

View File

@ -1,6 +1,6 @@
[package]
name = "rocket"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <sb@sergio.bz>"]
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 = []