2.0.0-alpha.18

This commit is contained in:
Tobe O 2018-12-31 12:04:02 -05:00
parent 1f83c4acb2
commit f1d3808828
3 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
# 2.0.0-alpha.18
* Upgrade `http2` dependency.
* Upgrade `uuid` dependency.
* Fixed a bug that prevented body parsing from ever completing with `http2`.
# 2.0.0-alpha.17
* Revert the migration to `lumberjack` for now. In the future, when it's more
stable, there'll be a conversion, perhaps.

View file

@ -112,6 +112,7 @@ class Http2RequestContext extends RequestContext<ServerTransportStream> {
}
}, onDone: () {
finalize();
req._body.close();
}, cancelOnError: true, onError: c.completeError);
// Apply session
@ -119,7 +120,7 @@ class Http2RequestContext extends RequestContext<ServerTransportStream> {
cookies.firstWhere((c) => c.name == 'DARTSESSID', orElse: () => null);
if (dartSessId == null) {
dartSessId = new Cookie('DARTSESSID', uuid.v4() as String);
dartSessId = new Cookie('DARTSESSID', uuid.v4());
}
req._session = sessions.putIfAbsent(

View file

@ -1,5 +1,5 @@
name: angel_framework
version: 2.0.0-alpha.17
version: 2.0.0-alpha.18
description: A high-powered HTTP server with dependency injection, routing and much more.
author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_framework
@ -15,7 +15,7 @@ dependencies:
file: ^5.0.0
http_parser: ^3.0.0
http_server: ^0.9.0
http2: ">=0.1.7 <2.0.0"
http2: "^1.0.0"
logging: ">=0.11.3 <1.0.0"
matcher: ^0.12.0
merge_map: ^1.0.0
@ -25,7 +25,7 @@ dependencies:
path: ^1.0.0
stack_trace: ^1.0.0
tuple: ^1.0.0
uuid: ^1.0.0
uuid: ^2.0.0-rc.1
dev_dependencies:
http: ^0.11.3
io: ^0.3.0