Skip to content

Commit

Permalink
Release 0.1.1 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn authored Jul 2, 2021
1 parent 8779a39 commit e1252c2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions tower-http/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

- Add `AddAuthorizationLayer` for setting the `Authorization` header on
requests.
None.

## Breaking changes

None.

# 0.1.1 (July 2, 2021)

- Add example of using `SharedClassifier`.
- Add `StatusInRangeAsFailures` which is a response classifier that considers
responses with status code in a certain range as failures. Useful for HTTP
Expand All @@ -19,6 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `ClassifyResponse::map_failure_class` and `ClassifyEos::map_failure_class`
for transforming the failure classification using a function.
- Clarify exactly when each `Trace` callback is called.
- Add `AddAuthorizationLayer` for setting the `Authorization` header on
requests.

## Breaking changes

Expand Down
4 changes: 2 additions & 2 deletions tower-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "tower-http"
description = "Tower middleware and utilities for HTTP clients and servers"
version = "0.1.0"
version = "0.1.1"
authors = ["Tower Maintainers <team@tower-rs.com>"]
edition = "2018"
license = "MIT"
readme = "../README.md"
repository = "https://github.com/tower-rs/tower-http"
homepage = "https://github.com/tower-rs/tower-http"
documentation = "https://docs.rs/tower-http/0.1.0/tower_http/"
documentation = "https://docs.rs/tower-http/0.1.1/tower_http/"
categories = ["asynchronous", "network-programming", "web-programming"]
keywords = ["io", "async", "futures", "service", "http"]

Expand Down
6 changes: 3 additions & 3 deletions tower-http/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@
//! your `Cargo.toml`:
//!
//! ```toml
//! tower-http = { version = "0.1.0", features = ["trace"] }
//! tower-http = { version = "0.1", features = ["trace"] }
//! ```
//!
//! You can use `"full"` to enable everything:
//!
//! ```toml
//! tower-http = { version = "0.1.0", features = ["full"] }
//! tower-http = { version = "0.1", features = ["full"] }
//! ```
//!
//! # Getting Help
Expand All @@ -175,7 +175,7 @@
//! [`Trace`]: crate::trace::Trace
//! [examples]: https://github.com/tower-rs/tower-http/tree/master/examples
#![doc(html_root_url = "https://docs.rs/tower-http/0.1.0")]
#![doc(html_root_url = "https://docs.rs/tower-http/0.1.1")]
#![warn(
clippy::all,
clippy::dbg_macro,
Expand Down

0 comments on commit e1252c2

Please sign in to comment.