CHANGELOG, bump to 1.1.4+8
This commit is contained in:
parent
8fabcef9bc
commit
d5e3791c55
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
# 1.1.4+8
|
||||
* Finalizers can now write to the response buffer or send headers,
|
||||
because said getter now only returns an unmodifiable Map when using
|
||||
`streaming`.
|
||||
* Tracked down an annoying line that printed many, many `null` messages.
|
||||
|
||||
# 1.1.4+7
|
||||
* Remove `cast` for Dart 1.x.
|
||||
* `RequestContext.injections` is no longer cached or read-only.
|
||||
|
|
|
@ -60,7 +60,7 @@ abstract class ResponseContext implements StreamSink<List<int>>, StringSink {
|
|||
/// Headers that will be sent to the user.
|
||||
Map<String, String> get headers {
|
||||
/// If the response is closed, then this getter will return an immutable `Map`.
|
||||
if (!isOpen)
|
||||
if (streaming)
|
||||
return new Map<String, String>.unmodifiable(_headers);
|
||||
else
|
||||
return _headers;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_framework
|
||||
version: 1.1.4+7
|
||||
version: 1.1.4+8
|
||||
description: A high-powered HTTP server with DI, routing and more.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_framework
|
||||
|
|
Loading…
Reference in a new issue