bump to 2.0.3
This commit is contained in:
parent
5eef432e2a
commit
f2b6ab69e2
3 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
# 2.0.3
|
||||||
|
* Patch up a bug caused by an upstream change to Dart's stream semantics.
|
||||||
|
See more: https://github.com/angel-dart/angel/issues/106#issuecomment-499564485
|
||||||
|
|
||||||
# 2.0.2+1
|
# 2.0.2+1
|
||||||
* Fix a bug in the implementation of `Controller.applyRoutes`.
|
* Fix a bug in the implementation of `Controller.applyRoutes`.
|
||||||
|
|
||||||
|
|
|
@ -320,7 +320,7 @@ abstract class ResponseContext<RawResponse>
|
||||||
: MediaType.parse(mimeType);
|
: MediaType.parse(mimeType);
|
||||||
|
|
||||||
if (correspondingRequest.method != 'HEAD') {
|
if (correspondingRequest.method != 'HEAD') {
|
||||||
return file.openRead().pipe(this);
|
return this.addStream(file.openRead()).then((_) => this.close());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_framework
|
name: angel_framework
|
||||||
version: 2.0.2+1
|
version: 2.0.3
|
||||||
description: A high-powered HTTP server with dependency injection, routing and much more.
|
description: A high-powered HTTP server with dependency injection, routing and much more.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_framework
|
homepage: https://github.com/angel-dart/angel_framework
|
||||||
|
|
Loading…
Reference in a new issue