Skip to content

Commit

Permalink
doc: updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kolbma committed Jan 31, 2024
1 parent 5d44429 commit 92a8611
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changes

## Unreleased
* MSRV is 1.60 for --no-default-features --features log and/or (ssl-native-tls or ssl)
* MSRV is 1.60 for --default-features --features log and/or (ssl-native-tls or ssl)
- For successful build of feature ssl-rustls Rust version >=1.61 is required
- For successful build of feature socket2 (default) Rust version >=1.63 is required
- For successful build of feature socket2 Rust version >=1.63 is required
- Feature content-type requires Rust >=1.70

* CI is testing features with different minimum Rust versions

Expand All @@ -15,13 +16,27 @@
- 431 Request Header Fields Too Large when line is over 2048 bytes
- complete header is limited to 8192 bytes

* Allowed byte range of Header restricted to HTTP standards

* Improvements in performance

* BREAKING CHANGE: Response-header-methods return a Result with HeaderError if the header got not added.

Affected methods are add_header(), add_headers(), filter_header(), with_header(), with_headers().
Response.filter_header(HeaderField) prevents the HeaderField to be sent in the Response.

* BREAKING CHANGE: Header.value is of type HeaderFieldValue

Can be constructed similar to Header.field or Header.

* BREAKING CHANGE: Request::body_length is deprecated and renamed to Request::content_length

* BREAKING CHANGE: Response: some methods return an `Option<Vec>` with `None` instead of empty `Vec`

* BREAKING CHANGE: ServerConfig has field ssl for SslConfig only when any ssl feature is enabled.

* BREAKING CHANGE: `ServerConfig` got a field limits `LimitsConfig` to configure these limits.

* New feature _native-tls_

_native-tls_ is a crate that will pick the platforms native TLS implementation depending on the chosen build target.
Expand All @@ -34,6 +49,8 @@

* New example _socket-config-server_ to configure socket

* Working Websockets example

## 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.
Expand Down

0 comments on commit 92a8611

Please sign in to comment.