Merge pull request #16 from dukefirehawk/feature/publish-framework

Published angel3_framework 4.2.3
This commit is contained in:
Thomas Hii 2021-12-01 15:15:18 +08:00 committed by GitHub
commit d34c335090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 12 deletions

View file

@ -37,16 +37,9 @@ Branch: `master`
* Dart version : 2.12.x and above.
* Publish : Yes. Refer to packages with `angel3_` prefix on [pub.dev](https://pub.dev/publishers/dukefirehawk.com/packages).
* NNBD Support : Yes
* Status : Release
* Notes : Use this for PR
Branch: `angel3`
* Dart version : 2.12.x and above.
* NNBD Support : Yes
* Status : Development
* Notes : This branch is under active development. Features maybe broken from time to time.
* Null Safety : Yes
* Status : Production
* Notes : Use this branch for all PR submission
For more details, checkout [Project Status](https://github.com/dukefirehawk/angel/wiki/Project-Status)

View file

@ -1,5 +1,9 @@
# Change Log
## 4.2.3
* Fixed `res.json()` throwing bad state exception
## 4.2.2
* Added `Date` to response header

View file

@ -170,7 +170,7 @@ abstract class ResponseContext<RawResponse>
/// Serializes JSON to the response.
Future<bool> json(value) =>
this.serialize(value, contentType: MediaType('application', 'json'));
serialize(value, contentType: MediaType('application', 'json'));
/// Returns a JSONP response.
///

View file

@ -1,5 +1,5 @@
name: angel3_framework
version: 4.2.2
version: 4.2.3
description: A high-powered HTTP server extensible framework with dependency injection, routing and much more.
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/master/packages/framework