diff --git a/docs/src/main/paradox/release-notes/10.1.x.md b/docs/src/main/paradox/release-notes/10.1.x.md index a32bfd29d44..b4630f7c1fb 100644 --- a/docs/src/main/paradox/release-notes/10.1.x.md +++ b/docs/src/main/paradox/release-notes/10.1.x.md @@ -1,5 +1,66 @@ # 10.1.x Release Notes +## 10.1.0-RC2 + +See the [announcement](https://akka.io/blog/news/2018/02/12/akka-http-10.1.0-RC2-released.html) and +closed tickets on the [10.1.0-RC2 milestone](https://github.com/akka/akka-http/milestone/34?closed=1). + +10.1.0-RC2 is the second release candidate for the upcoming Akka HTTP 10.1.0. We focused on stabilizing the new +client connection pool. Over the last month our test suite caught lots of edge cases that were fixed for this release. +Also, we improved logging output for the new pool. + +### List of changes + +#### Improvements + +##### akka-http-core + + * Add HTTP status code `421` ([#1749](https://github.com/akka/akka-http/issues/1749)) + * Add HTTP status code `103` ([#1803](https://github.com/akka/akka-http/issues/1803)) + * Add `Uri.Path` `?/` operator #1793 ([#1794](https://github.com/akka/akka-http/issues/1794)) + * Add `UserAgent` header parse Java Api ([#1807](https://github.com/akka/akka-http/issues/1807)) + * Optimization: Avoid creation of async callback per request in RequestTimeoutStage ([#1848](https://github.com/akka/akka-http/issues/1848)) + * Add `application/grpc+proto` content type / media type ([#1844](https://github.com/akka/akka-http/issues/1844)) + * LogByteStringTools now logs errors on debug log (it's a debug feature after all) ([#1780](https://github.com/akka/akka-http/issues/1780)) + * Suggest valid max-open-requests values on config error ([#1806](https://github.com/akka/akka-http/issues/1806)) + * Log the timed out request on server ([#1813](https://github.com/akka/akka-http/issues/1813)) + * Be more lenient to allow trailing whitespace after chunk size ([#1812](https://github.com/akka/akka-http/issues/1812)) + * In `Http().serverLayer` use `delayCancellation` to make behavior consistent with other server entry points ([#1822](https://github.com/akka/akka-http/issues/1822)) + * Add `HttpMessage.withProtocol` overload to return Scala type ([#1730](https://github.com/akka/akka-http/issues/1730)) + +##### akka-http2-support + + * Add `Tls-session-info` header for http/2 ([#1432](https://github.com/akka/akka-http/issues/1432)) + +##### akka-http + + * Add Java onSuccess overload to take a strict value ([#1821](https://github.com/akka/akka-http/issues/1821)) + +##### Infrastructure + + * Lots of small documentation fixes + * Use sbt-header to manage copyright headers + * Introduce `WithLogCapturing` trait for suppressing log output for successful tests which allows more aggressive + logging by default (which will be shown only for failures) + * Fix search on documentation pages to return only one version of each page + * Disable parallel testing on Jenkins to reduce spurious failures + +#### Bug Fixes + +##### akka-http-core + + * New client pool: Fix double registration for dispatch ([#1726](https://github.com/akka/akka-http/issues/1726)) + * New client pool: Automatically close connection when slot state -> Unconnected ([#1724](https://github.com/akka/akka-http/issues/1724)) + * New client pool: Make sure that failed and retryable requests are re-dispatched immediately ([#1735](https://github.com/akka/akka-http/issues/1735)) + * New client pool: Ignore "request entity completed" in state WaitingForResponseDispatch ([#1774](https://github.com/akka/akka-http/issues/1774)) + * New client pool: After slot failures remove slot from response dispatching queue ([#1775](https://github.com/akka/akka-http/issues/1775)) + * New client pool: Log retried request info ([#1781](https://github.com/akka/akka-http/issues/1781)) + * Parse and render token correctly for HttpChallenge and GenericHttpCredentials ([#1353](https://github.com/akka/akka-http/issues/1353)) + * Fix utf16 surrogate pair decoding in utf8 encoder ([#1760](https://github.com/akka/akka-http/issues/1760)) + * Use `431` status code when header exceeds max length for name or value ([#1800](https://github.com/akka/akka-http/issues/1800)) + * Fix customMediaTypes disabling predefined media type parsing ([#1786](https://github.com/akka/akka-http/issues/1786)) + * TLS should close connection when instructed by stream completion ([#380](https://github.com/akka/akka-http/issues/380)) + ## 10.1.0-RC1 See the [announcement](https://akka.io/blog/news/2017/12/22/akka-http-10.1.0-RC1-released.html) and diff --git a/scripts/commits-for-release-notes.sh b/scripts/commits-for-release-notes.sh index 78600ac69c9..015baef08fa 100755 --- a/scripts/commits-for-release-notes.sh +++ b/scripts/commits-for-release-notes.sh @@ -8,40 +8,40 @@ LAST_VERSION=$1 echo "Changes in akka-http-core" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-core +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-core echo echo "Changes in akka-http" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http echo echo "Changes in akka-http-marshallers" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-marshallers* +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-marshallers* echo echo "Changes in akka-http-testkit" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-testkit +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-testkit echo echo "Changes in docs" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/docs +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/docs echo echo "Changes in akka-http2-support" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http2-support +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http2-support echo echo "Changes in akka-http-caching" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-caching +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/akka-http-caching echo echo "Changes in build" echo -git log --no-merges --oneline ${LAST_VERSION}.. -- $ROOT_DIR/project $ROOT_DIR/*.sbt +git log --no-merges --reverse --oneline ${LAST_VERSION}.. -- $ROOT_DIR/project $ROOT_DIR/*.sbt