Skip to content

Commit

Permalink
Prepare for 0.12.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfier committed Oct 6, 2022
1 parent 87b00a8 commit 212b1c4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -38,7 +38,7 @@ jobs:
rust:
- stable
- nightly
- 1.53
- 1.56
features:
- default
- ssl-openssl
Expand Down
61 changes: 0 additions & 61 deletions .travis-bench

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,27 @@
# Changes

## 0.12.0
* Bumped the minimum compiler version tested by CI to 1.56 - this is necessary due to an increasing number of dependencies
introducing Cargo manifest features only supported on newer versions of Rust.

* [Add support for UNIX sockets](https://github.com/tiny-http/tiny-http/pull/224)

Thanks to @ColonelThirtyTwo for adding support for binding to UNIX sockets when creating a tiny-http server. This change
makes a few small breaking API modifications, if you are constructing `ServerConfig` manually you will need to use the new `ListenAddr`
type rather than directly supplying a `net::SocketAddr`. Likewise `Server::server_addr()` will now return an enum that can
represent either a TCP socket or a UNIX socket.

Finally `Request::remote_addr()` now returns an `Option<&SocketAddr>` as UNIX sockets don't ever have a remote host.

* [Reduce required dependencies by switching to `httpdate`](https://github.com/tiny-http/tiny-http/pull/228)

@esheppa replaced our internal HTTPDate type with the `httpdate` library (used extensively in the community by Hyper, Tokio and others)
which reduces our baseline dependency tree from 18 crates to 5!

* `TestRequest::path` no longer has a `'static` bound, allowing for fuzzers to generate test request paths at runtime.

* Unpinned `zeroize` so it can float around any stable `^1` version.

## 0.11.0

* [Add support for Rustls](https://github.com/tiny-http/tiny-http/pull/218)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "tiny_http"
version = "0.11.0"
version = "0.12.0"
authors = ["pierre.krieger1708@gmail.com",
"Corey Farwell <coreyf@rwell.org>"]
description = "Low level HTTP server library"
Expand Down

0 comments on commit 212b1c4

Please sign in to comment.