From fbb7c0f0c38f7602ff2f79626149e767015e2265 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Tue, 8 Dec 2020 16:21:22 +0100 Subject: [PATCH] Add 10.2.2 release notes (#3698) * Add 10.2.2 release notes * Review comments --- docs/src/main/paradox/release-notes/10.2.x.md | 117 +++++++++++++++++- 1 file changed, 115 insertions(+), 2 deletions(-) diff --git a/docs/src/main/paradox/release-notes/10.2.x.md b/docs/src/main/paradox/release-notes/10.2.x.md index 428c4737501..7f98ccfd178 100644 --- a/docs/src/main/paradox/release-notes/10.2.x.md +++ b/docs/src/main/paradox/release-notes/10.2.x.md @@ -1,5 +1,118 @@ # 10.2.x Release Notes +## 10.2.2 + +This release includes a number of improvements to the HTTP/2 server support, +while we continue to prepare for providing HTTP/2 support at the client as +well. + +As of this version, it is no longer strictly necessary to depend no a separate +'akka-http2-support' artifact to get HTTP/2 support in Akka HTTP. We will +continue to publish an empty artifact with that name to make it easy to +upgrade, however. + +### Changes since 10.2.1 + +#### akka-http-core + +* Allow illegal header keys to be ignored [#3133](https://github.com/akka/akka-http/pull/3133) +* `HttpCookie.copy` was calling itself recursively [#3670](https://github.com/akka/akka-http/pull/3670) +* Don't dispatch onResponseEntity... events for entities that don't have to be subscribed [#3574](https://github.com/akka/akka-http/pull/3574) +* Add modeled 'TE' header [#3616](https://github.com/akka/akka-http/pull/3616), [#3618](https://github.com/akka/akka-http/pull/3618) +* Add parens to deprecation messages for bind-methods [#3547](https://github.com/akka/akka-http/pull/3547) +* Use official version of SocketUtil in tests [#3558](https://github.com/akka/akka-http/pull/3558) +* Link to https rather than http [#3663](https://github.com/akka/akka-http/pull/3663) +* Avoid `temporaryServerHostnameAndPort` [#3691](https://github.com/akka/akka-http/pull/3691) + +#### akka-http + +* Optimize header directives by avoiding `HttpHeader.unapply` [#3591](https://github.com/akka/akka-http/pull/3591) + +#### akka-http-marshallers + +* Update jackson-dataformat-xml from 2.10.5 to 2.10.5.1 [#3695](https://github.com/akka/akka-http/pull/3695) + +#### akka-http-testkit + +* Fall through on AssertionErrors in testkit [#3512](https://github.com/akka/akka-http/pull/3512) +* Fail noisily if trying to use `~>` together with `transparent-head-requests` [#3569](https://github.com/akka/akka-http/pull/3569) + +#### docs + +* Add example for Get request with query parameters [#3624](https://github.com/akka/akka-http/pull/3624) +* Add akka-actor-typed dependency to introduction.md [#3565](https://github.com/akka/akka-http/pull/3565) +* Typo fix: "the onne" --> "the one" [#3521](https://github.com/akka/akka-http/pull/3521) +* Some docs gardening [#3544](https://github.com/akka/akka-http/pull/3544) +* Link project info to snapshots [#3681](https://github.com/akka/akka-http/pull/3681) +* Release notes for 10.1.13 [#3635](https://github.com/akka/akka-http/pull/3635) +* Add section about how to configure snapshots [#3642](https://github.com/akka/akka-http/pull/3642) +* Add example for `Get` request with query parameters [#3624](https://github.com/akka/akka-http/pull/3624) +* Update `formFields` example [#3650](https://github.com/akka/akka-http/pull/3650) +* Verify signatures from the markdown actually exist [#3654](https://github.com/akka/akka-http/pull/3654) +* Add link from `formFields` to `parameters` directive docs [#3655](https://github.com/akka/akka-http/pull/3655) +* Use explicit paths to snippets [#3653](https://github.com/akka/akka-http/pull/3653) +* Fix the `Bid` class. [#3661](https://github.com/akka/akka-http/pull/3661) + +#### akka-http2-support + +* Extract common rendering + add userAgent on requests [#3657](https://github.com/akka/akka-http/pull/3657) +* Continue accepting window updates even when done sending [#3619](https://github.com/akka/akka-http/pull/3619) +* Support custom HTTP methods for HTTP/2 [#3622](https://github.com/akka/akka-http/pull/3622) +* More robust handling of IncomingStreamBuffer.onPull [#3621](https://github.com/akka/akka-http/pull/3621) +* Simplify `Http2Substream` hierarchy trading a bit of type-safety for simplicity [#3605](https://github.com/akka/akka-http/pull/3605) +* More useful event info for stream state changes [#3643](https://github.com/akka/akka-http/pull/3643) +* Add some more basic HTTP/2 client tests [#3644](https://github.com/akka/akka-http/pull/3644) +* Configurable ping support through demuxer [#3617](https://github.com/akka/akka-http/pull/3617) +* Close the substreams earlier from the demuxer [#3647](https://github.com/akka/akka-http/pull/3647) +* HTTP/2 client test coverage (and support for) TLS session info [#3668](https://github.com/akka/akka-http/pull/3668) +* Handle RST while sending data + more tests [#3671](https://github.com/akka/akka-http/pull/3671) +* Fix lost 'pull' when closing while waiting for window [#3672](https://github.com/akka/akka-http/pull/3672) +* Send and enforce max concurrent streams setting [#3529](https://github.com/akka/akka-http/pull/3529) +* Unify incoming and outgoing state machine [#3552](https://github.com/akka/akka-http/pull/3552) +* Disable Push (send SETTING) [#3555](https://github.com/akka/akka-http/pull/3555) +* Fix Scala 2.12 compilation error [#3582](https://github.com/akka/akka-http/pull/3582) +* Remove explicit parallelism parameter in HTTP/2 [#3545](https://github.com/akka/akka-http/pull/3545) +* Respect remote max concurrent streams (reprise) [#3581](https://github.com/akka/akka-http/pull/3581) +* Also go through state machine for `resetStream` [#3584](https://github.com/akka/akka-http/pull/3584) +* Fix leakage of incoming substreams in edge cases [#3233](https://github.com/akka/akka-http/pull/3233) +* Run handler code in its own task on the server [#3593](https://github.com/akka/akka-http/pull/3593) +* Check HTTP2 headers for correctness [#3603](https://github.com/akka/akka-http/pull/3603) +* HTTP/2 connection level API [#3511](https://github.com/akka/akka-http/pull/3511) +* Accepting trailing headers in the HTTP/2 client [#3602](https://github.com/akka/akka-http/pull/3602) +* Protocol-level client specs [#3532](https://github.com/akka/akka-http/pull/3532) +* Move some public API bits to its final places and mark them as `@ApiMayChange`[#3526](https://github.com/akka/akka-http/pull/3526) +* Use LogHelper in demux classes [#3506](https://github.com/akka/akka-http/pull/3506) +* Remove some minor repetition in HTTP/2 rendering [#3229](https://github.com/akka/akka-http/pull/3229) +* Test server responses to invalid ping frames [#3523](https://github.com/akka/akka-http/pull/3523) +* Use scheme portion of target URI in `:scheme` pseudo-header [#3535](https://github.com/akka/akka-http/pull/3535) +* Add test for receiving `WINDOW_UPDATE` in `HalfClosedRemoteWaitingForOutgoingStream` state [#3554](https://github.com/akka/akka-http/pull/3554) +* Make 'network' and 'user' sides more explicit [#3638](https://github.com/akka/akka-http/pull/3638) +* `streamId` attribute is not needed / supported on client side [#3652](https://github.com/akka/akka-http/pull/3652) + +#### build + +* Akka HTTP BOM [#3665](https://github.com/akka/akka-http/pull/3665) +* Add 10.2.1 to MiMa [#3499](https://github.com/akka/akka-http/pull/3499) +* Increase paradox parsing timeout [#3508](https://github.com/akka/akka-http/pull/3508) +* Also aggregate akka-http-bench-jmh, to fail if benchs fail to compile [#3561](https://github.com/akka/akka-http/pull/3561) +* Exclude akka-http-bench-jmh from whitesource [#3562](https://github.com/akka/akka-http/pull/3562) +* Disable whitesource for submodules which are not to be published [#3564](https://github.com/akka/akka-http/pull/3564) +* Remove sbt-javaagent [#3598](https://github.com/akka/akka-http/pull/3598) +* Include stack traces in scalatest failures [#3612](https://github.com/akka/akka-http/pull/3612) +* Add 10.1.13 to mima [#3641](https://github.com/akka/akka-http/pull/3641) + +And various updates: + +* Update akka to 2.5.32 [#3558](https://github.com/akka/akka-http/pull/3558) +* Update caffeine from 2.8.5 to 2.8.7 [#3515](https://github.com/akka/akka-http/pull/3515) +* Update junit from 4.12 to 4.13.1 [#3517](https://github.com/akka/akka-http/pull/3517) +* Update paradox-theme-akka, ... from 0.35 to 0.36[#3697](https://github.com/akka/akka-http/pull/3697) +* Update sbt-bintray from 0.5.6 to 0.6.1 [#3572](https://github.com/akka/akka-http/pull/3572), [#3596](https://github.com/akka/akka-http/pull/3596) +* Update sbt-mima-plugin from 0.8.0 to 0.8.1 [#3548](https://github.com/akka/akka-http/pull/3548) +* Update sbt-scalafix, scalafix-core, ... from 0.9.21 to 0.9.23 [#3614](https://github.com/akka/akka-http/pull/3614) +* Update specs2-core from 4.10.3 to 4.10.5 [#3518](https://github.com/akka/akka-http/pull/3518), [#3550](https://github.com/akka/akka-http/pull/3550) +* Update spray-json from 1.3.5 to 1.3.6 [#3629](https://github.com/akka/akka-http/pull/3629) + ## 10.2.1 This release includes: @@ -313,11 +426,11 @@ more information about other changes which might need migration. #### akka-http2-support * Initial HTTP/2 client implementation bits [#3166](https://github.com/akka/akka-http/pull/3166) -* Potential fix for idle timeouts in http2 [#2776](https://github.com/akka/akka-http/pull/2776) +* Potential fix for idle timeouts in HTTP/2 [#2776](https://github.com/akka/akka-http/pull/2776) * Frame parsing: improve handling of unknown values [#3101](https://github.com/akka/akka-http/pull/3101) * Support native ALPN in JDK >=8u251 [#3117](https://github.com/akka/akka-http/pull/3117) * Fix HeaderCompression updating table size without giving notice to peer [#2891](https://github.com/akka/akka-http/pull/2891) -* Reduce http2 buffer debug logging [#3025](https://github.com/akka/akka-http/pull/3025) +* Reduce HTTP/2 buffer debug logging [#3025](https://github.com/akka/akka-http/pull/3025) * Accept RST on an already-half-closed HTTP/2 stream [#2976](https://github.com/akka/akka-http/pull/2976) * Gracefully discard unsupported h2 SETTINGS [#3053](https://github.com/akka/akka-http/pull/3053) * Make the HTTP/2 Stream ID an attribute [#3224](https://github.com/akka/akka-http/pull/3224)