Skip to content

Commit

Permalink
release notes for 10.1.3 (#2077)
Browse files Browse the repository at this point in the history
* release notes for 10.1.3

* slight docs improvement in HttpServerExampleDocTest
  • Loading branch information
ktoso authored Jun 15, 2018
1 parent 928db61 commit 92e9868
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
26 changes: 26 additions & 0 deletions docs/src/main/paradox/release-notes/10.1.x.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# 10.1.x Release Notes

## 10.1.3

10.1.3 is the fourth release in the 10.1.x series of Akka HTTP.

This release addresses a critical memory leak issue introduced by the graceful termination infrastructure added in 10.1.2.
No other risky changes are made in this release, in order to make it a trustworthy fix drop-in replacement of 10.1.2.

### **Changes since 10.1.2**

For a full overview you can also see the [https://github.com/akka/akka-http/milestone/41?closed=1](Milestone):

#### Fixes in akka-http-core

* ServerTerminator memory leak in 10.1.2 ([#2067](https://github.com/akka/akka-http/issues/2067))
* Avoid eagerly failing connections when request closes ([#2066](https://github.com/akka/akka-http/issues/2066))

#### Fixes in docs

* Correct pipelining-limit flag name ([#2059](https://github.com/akka/akka-http/issues/2059))
* Fix link to compatibility rules section ([#2062](https://github.com/akka/akka-http/issues/2062))

#### Improvements in docs

* 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,8 @@ public static void gracefulTerminationExample() throws Exception {
serverBinding.terminate(Duration.ofSeconds(3));

// once all connections are terminated,
HttpTerminated httpTerminated = onceAllConnectionsTerminated.toCompletableFuture().get();

// - you can invoke coordinated shutdown to tear down the rest of the system:
CoordinatedShutdown.get(system).run();

// - or terminate the system explicitly:
// system.terminate();
onceAllConnectionsTerminated.toCompletableFuture().
thenAccept(terminated -> system.terminate());

//#graceful-termination
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,12 +777,8 @@ class HttpServerExampleSpec extends WordSpec with Matchers
// once all connections are terminated,
// - you can invoke coordinated shutdown to tear down the rest of the system:
onceAllConnectionsTerminated.flatMap { _
CoordinatedShutdown(system).run(UnknownReason)
system.terminate()
}
// - or terminate the system explicitly:
// onceAllConnectionsTerminated.flatMap { _ ⇒
// system.terminate()
// }

//#graceful-termination
}
Expand Down

0 comments on commit 92e9868

Please sign in to comment.