Skip to content

Commit bec13ec

Browse files
authored
Release 3.0.0-alpha.0 (#1720)
publish with experimental tag
1 parent 14dec59 commit bec13ec

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

History.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11

2-
3.0.0 /
2+
3.0.0-alpha.0 / 2023-01-02
33
==================
44

55
## Breaking Changes
66

77
- Supports node@12+ only.
8-
- Removes generator deprecation messages.
8+
- Removes generator deprecation messages.
99
Generators are no longer supported.
1010
Koa no longer asserts if generators are used.
1111
- Set `content-length: 0` if body is explicitly set to `null` @ognjenjevremovic #1528
1212

13+
## Features
14+
15+
- Use asyncLocalStorage to get current context from app, e.g.: `const ctx = app.currentContext`.
16+
1317
## Fixes
1418

1519
- fix: Do not response Content-Length if Transfer-Encoding is defined #1562 @charlyzeng

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"name": "koa",
3-
"version": "2.13.1",
3+
"version": "3.0.0-alpha.0",
4+
"publishConfig": {
5+
"tag": "experimental"
6+
},
47
"description": "Koa web app framework",
58
"main": "lib/application.js",
69
"exports": {

0 commit comments

Comments
 (0)