From b4769013b5e873c87adf0059604ef2b2b659a89d Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Tue, 18 Dec 2018 17:01:15 +0100 Subject: [PATCH] Release notes for 10.1.6 (#2327) --- docs/src/main/paradox/release-notes/10.1.x.md | 74 ++++++++++++++++--- 1 file changed, 64 insertions(+), 10 deletions(-) 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 8c14b61c6a8..9740d2f479c 100644 --- a/docs/src/main/paradox/release-notes/10.1.x.md +++ b/docs/src/main/paradox/release-notes/10.1.x.md @@ -2,18 +2,72 @@ ## 10.1.6 -10.1.6 is the seventh release in the 10.1.x series of Akka HTTP. +10.1.6 is the seventh release in the 10.1.x series of Akka HTTP. See the full list of changes below. -### **Changes since 10.1.5** +### Migration Notes + + * akka-http now requires to be run with Akka 2.5.19+. + * `RoutingSettings` were moved to `akka-http` from `akka-http-core` (where they logically belong). Make sure to depend + on `akka-http` when referencing this class (which is very likely because it couldn't be used otherwise). + * `akka-stream-testkit` is now a only a provided dependency for `akka-http-testkit`, if you use `akka-http-testkit` also + add a dependency to `akka-stream-testkit` into the mix + +### Changes since 10.1.5 For a full overview you can also see the [10.1.6 milestone](https://github.com/akka/akka-http/milestone/44?closed=1): -#### Fixes in akka-http-core +#### Improvements + +##### akka-http-core + + * Move RoutingSettings to akka-http module ([#2307](https://github.com/akka/akka-http/issues/2307)) + * Use collision-resistant maps in header parsing ([#2276](https://github.com/akka/akka-http/issues/2276)) + * Depend on Scala 2.12.8 to allow Java usage from JDK 11 ([#2305](https://github.com/akka/akka-http/issues/2305)) + * Add application/merge-patch+json ([#2190](https://github.com/akka/akka-http/issues/2190)) + * Require Akka 2.5.19 and use the new version checker utility ([#1880](https://github.com/akka/akka-http/issues/1880)) + * Add HttpEntity.isStrict ([#2228](https://github.com/akka/akka-http/issues/2228)) + * Log time spent in a pool slot for simpler spotting of slow transition periods ([#2226](https://github.com/akka/akka-http/issues/2226)) + * Replace existing HTTP Status Code 425 with TOO_EARLY ([#2255](https://github.com/akka/akka-http/issues/2255)) + * Java API - call scala HttpEntity.toStrict that respects maxBytes ([#2287](https://github.com/akka/akka-http/issues/2287)) + * Override `getForKeyCaseInsensitive` in `HttpMethods` ([#2303](https://github.com/akka/akka-http/issues/2303)) + * Fix several warnings across all the modules ([#2292](https://github.com/akka/akka-http/issues/2292)) + * Deprecate unofficial Microsoft media-types and add the official ones ([#2264](https://github.com/akka/akka-http/issues/2264)) + +##### akka-http + + * Use collision-resistant maps for formFieldMaps ([#2274](https://github.com/akka/akka-http/issues/2274)) + * Add Directive#tcollect and Directive1#collect ([#2253](https://github.com/akka/akka-http/issues/2253)) + * Do not set dispatcher for file directives and remove file-io-dispatcher config ([#1879](https://github.com/akka/akka-http/issues/1879)) + * Add new method for routes chaining in Java DSL ([#1170](https://github.com/akka/akka-http/issues/1170)) + * Fail with unwrapped exception when using CompletionStage ([#2054](https://github.com/akka/akka-http/issues/2054)) + * Return RequestEntityTooLarge status code in case of EntityStreamSizeException ([#2279](https://github.com/akka/akka-http/issues/2279)) + +##### akka-http-testkit + * `akka-stream-testkit` is now a provided dependency for `akka-http-testkit` ([#2262](https://github.com/akka/akka-http/issues/2262)) + +#### Bug Fixes + +##### akka-http-core + + * Client pool: exponential backoff after failed connection attempts ([#1391](https://github.com/akka/akka-http/issues/1391)) + * Fix broken multi-byte UTF-8 decoding in HeaderParser if UTF-8 sequence is cut in the middle ([#1484](https://github.com/akka/akka-http/issues/1484)) + * Fix limiting of chunk size in the NoCode encoder ([#2252](https://github.com/akka/akka-http/issues/2252)) + * Allow chunked responses in HttpMessage with protocol = HTTP/2, fixes ([#2217](https://github.com/akka/akka-http/issues/2217)) + +##### akka-http + * Default exception handlers do now discard entity bytes when completing a request that ended in error ([#2084](https://github.com/akka/akka-http/issues/2084)) + * Fix cancellation and head-of-line blocking in fileUpload directive ([#2224](https://github.com/akka/akka-http/issues/2224)) + * toStrict the entity when parsing multiple form fields ([#2283](https://github.com/akka/akka-http/issues/2283)) + * Fix CsvSeq unmarshaller to include trailing empty string values in the result `Seq[T]` ([#2249](https://github.com/akka/akka-http/issues/2249)) -#### Improvements in akka-http-testkit - * `akka-stream-testkit` is now a provided dependency for `akka-http-testkit` [#2262](https://github.com/akka/akka-http/issues/2262) +##### akka-http2-support + + * Handle stream cancellation while outgoing data is buffered ([#2237](https://github.com/akka/akka-http/issues/2237)) +##### akka-http-caching + + * Fix that LfuCache ttl can be equal to tti ([#2188](https://github.com/akka/akka-http/issues/2188)) ## 10.1.5 @@ -110,7 +164,7 @@ For a full overview you can also see the [10.1.3 milestone]( https://github.com/ * Reference documentation for Graceful Termination ([#2072](https://github.com/akka/akka-http/issues/2072)) * Enhance Caching Documentation ([#2060](https://github.com/akka/akka-http/issues/2060)) - + ## 10.1.2 10.1.2 is the third release in the 10.1.x series of Akka HTTP. @@ -180,12 +234,12 @@ closed tickets on the [10.1.1 milestone](https://github.com/akka/akka-http/miles 10.1.1 is the second release in the 10.1.x series of Akka HTTP. -This release brings a number of small, yet long requested features, including: +This release brings a number of small, yet long requested features, including: * automatic WebSocket keep-alive using `Ping` frames, * removing the need for implicit parameters in order to call `Route.seal` (in Scala DSL) -As usual, the release is backwards compatible as outlined in our [binary compatibility guidelines](https://doc.akka.io/docs/akka-http/current/compatibility-guidelines.html). +As usual, the release is backwards compatible as outlined in our [binary compatibility guidelines](https://doc.akka.io/docs/akka-http/current/compatibility-guidelines.html). ### **List of changes (since 10.1.0)** @@ -216,13 +270,13 @@ As usual, the release is backwards compatible as outlined in our [binary compati * Fix paradox error for discard entity bytes ([#1944](https://github.com/akka/akka-http/issues/1944)) * Minor correction in rejections.md ([#1924](https://github.com/akka/akka-http/issues/1924)) * Cache docs: more explicit imports, create cache once ([#1955](https://github.com/akka/akka-http/issues/1955)) - * Better caching example for Java + * Better caching example for Java #### Infrastructure and build fixes * Fully remove OSGi support ([#1943](https://github.com/akka/akka-http/issues/1943)) * Which was already removed and discussed in 10.1.0 - + ## 10.1.0