Updated README

This commit is contained in:
thomashii 2021-12-01 15:10:58 +08:00
parent 5e3abdad74
commit f0c629ceb8
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