File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
- 3.0.0 /
2
+ 3.0.0-alpha.0 / 2023-01-02
3
3
==================
4
4
5
5
## Breaking Changes
6
6
7
7
- Supports node@12+ only.
8
- - Removes generator deprecation messages.
8
+ - Removes generator deprecation messages.
9
9
Generators are no longer supported.
10
10
Koa no longer asserts if generators are used.
11
11
- Set ` content-length: 0 ` if body is explicitly set to ` null ` @ognjenjevremovic #1528
12
12
13
+ ## Features
14
+
15
+ - Use asyncLocalStorage to get current context from app, e.g.: ` const ctx = app.currentContext ` .
16
+
13
17
## Fixes
14
18
15
19
- fix: Do not response Content-Length if Transfer-Encoding is defined #1562 @charlyzeng
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " koa" ,
3
- "version" : " 2.13.1" ,
3
+ "version" : " 3.0.0-alpha.0" ,
4
+ "publishConfig" : {
5
+ "tag" : " experimental"
6
+ },
4
7
"description" : " Koa web app framework" ,
5
8
"main" : " lib/application.js" ,
6
9
"exports" : {
You can’t perform that action at this time.
0 commit comments