Skip to content

Commit

Permalink
New version: 0.1.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Dec 31, 2016
1 parent 0af01ab commit 6fdc6f0
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 6 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rocket_codegen"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <[email protected]>"]
description = "Code generation for the Rocket web framework."
documentation = "https://api.rocket.rs/rocket_codegen/"
Expand All @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions contrib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rocket_contrib"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <[email protected]>"]
description = "Community contributed libraries for the Rocket web framework."
documentation = "https://api.rocket.rs/rocket_contrib/"
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rocket"
version = "0.1.2"
version = "0.1.3"
authors = ["Sergio Benitez <[email protected]>"]
description = """
Web framework for nightly with a focus on ease-of-use, expressability, and
Expand All @@ -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 = []

0 comments on commit 6fdc6f0

Please sign in to comment.