2016-10-04 22:27:58 +00:00
|
|
|
# Version 0.0.10 (Oct 03, 2016)
|
|
|
|
|
|
|
|
## Breaking
|
|
|
|
|
|
|
|
* Remove `Rocket::new` in favor of `ignite` method.
|
2016-10-04 22:34:44 +00:00
|
|
|
* Remove `Rocket::mount_and_launch` in favor of chaining `mount(..).launch()`.
|
2016-10-04 22:27:58 +00:00
|
|
|
* `mount` and `catch` take `Rocket` type by value.
|
|
|
|
* All types related to HTTP have been moved into `http` module.
|
2016-10-04 22:34:44 +00:00
|
|
|
* `Template::render` in `contrib` now takes context by reference.
|
2016-10-04 22:27:58 +00:00
|
|
|
|
|
|
|
## Core
|
|
|
|
|
2016-10-04 22:34:44 +00:00
|
|
|
* Rocket now parses option `Rocket.toml` for configuration, defaulting to sane
|
2016-10-04 22:27:58 +00:00
|
|
|
values.
|
|
|
|
* `ROCKET_ENV` environment variable can be used to specify running environment.
|
|
|
|
|
|
|
|
## Docs
|
|
|
|
|
|
|
|
* Document `ContentType`.
|
|
|
|
* Document `Request`.
|
|
|
|
* Add script that builds docs.
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
2016-10-04 22:34:44 +00:00
|
|
|
* Scripts can now be run from any directory.
|
2016-10-04 22:27:58 +00:00
|
|
|
* Cache Cargo directories in Travis for faster testing.
|
2016-10-04 22:34:44 +00:00
|
|
|
* Check that library version numbers match in testing script.
|
2016-10-04 22:27:58 +00:00
|
|
|
|
|
|
|
# Version 0.0.9 (Sep 29, 2016)
|
|
|
|
|
|
|
|
## Breaking
|
|
|
|
|
2016-10-04 22:32:10 +00:00
|
|
|
* Rename `response::data_type` to `response::data`.
|
2016-10-04 22:27:58 +00:00
|
|
|
|
|
|
|
## Core
|
|
|
|
|
|
|
|
* Rocket interprets `_method` field in forms as the incoming request's method.
|
2016-10-04 22:34:44 +00:00
|
|
|
* Add `Outcome::Bad` to signify responses that failed internally.
|
2016-10-04 22:27:58 +00:00
|
|
|
* Add a `NamedFile` `Responder` type that uses a file's extension for the
|
|
|
|
response's content type.
|
|
|
|
* Add a `Stream` `Responder` for streaming responses.
|
|
|
|
|
|
|
|
## Contrib
|
|
|
|
|
|
|
|
* Introduce the `contrib` crate.
|
|
|
|
* Add JSON support via `JSON`, which implements `FromRequest` and `Responder`.
|
|
|
|
* Add templating support via `Template` which implements `Responder`.
|
|
|
|
|
|
|
|
## Docs
|
|
|
|
|
|
|
|
* Initial guide-like documentation.
|
|
|
|
* Add documentation, testing, and contributing sections to README.
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
|
|
|
* Add a significant number of codegen tests.
|
|
|
|
|