Skip to content

Commit

Permalink
3.0.0-alpha.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Nov 4, 2024
1 parent 4c34546 commit 71902b1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
28 changes: 28 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@

3.0.0-alpha.2 / 2024-11-04
==================

**breaking changes**
- Update `http-errors` to `v2.0.0` [#1486](https://github.com/koajs/koa/pull/1486)
- `ctx.throw` now requires a format of `ctx.throw(status, error, properties)`. See: https://www.npmjs.com/package/http-errors
- Remove `res.redirect('back')`, add `back()` method to `ctx` [#1115](https://github.com/koajs/koa/pull/1115)
- Replace node querystring with `URLSearchParams` [#1828](https://github.com/koajs/koa/pull/1828)
- Remove obsolete `createAsyncCtxStorageMiddleware` [#1817](https://github.com/koajs/koa/pull/1817)

**features**
- Add support for web WHATWG [#1830](https://github.com/koajs/koa/pull/1830)

**updates**
- Update `cookies` to `~0.9.1` [#1846](https://github.com/koajs/koa/pull/1846)
- Update `statuses` to `^2.0.1`
- Update `supertest` to `^7.0.0` [#1841](https://github.com/koajs/koa/pull/1841)

**fixes**
- Fix `exports.defaults` in `package.json` [#1630](https://github.com/koajs/koa/pull/1630)
- Fix leaky handles in tests [#1838](https://github.com/koajs/koa/pull/1838)
- Fix body null checks [#1814](https://github.com/koajs/koa/pull/1814)
- Fix reformatting redirect URLs [#1805](https://github.com/koajs/koa/pull/1805) [#1804](https://github.com/koajs/koa/pull/1804)
- Fix passing `ctx` in error handler [#1758](https://github.com/koajs/koa/pull/1758)

**migrations**
- Migrate from `jest` to the native node test runner [#1845](https://github.com/koajs/koa/pull/1845)

3.0.0-alpha.1 / 2023-04-12
==================

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "koa",
"version": "3.0.0-alpha.1",
"version": "3.0.0-alpha.2",
"publishConfig": {
"tag": "experimental"
},
Expand Down

0 comments on commit 71902b1

Please sign in to comment.