Skip to content

Commit

Permalink
Version Packages (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 6, 2024
1 parent 0b6d821 commit 4706d43
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .changeset/tender-knives-compare.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/event-emitter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @hono/event-emitter

## 2.0.0

### Major Changes

- [#649](https://github.com/honojs/middleware/pull/649) [`0b6d821c110ff6ac71846cdd7ffad6e36050b4e7`](https://github.com/honojs/middleware/commit/0b6d821c110ff6ac71846cdd7ffad6e36050b4e7) Thanks [@DavidHavl](https://github.com/DavidHavl)! - ### Added:

- New `emitAsync` method to the EventEmitter to enable invoking asynchronous handlers.
- Added prevention for potential memory leak when adding handlers inside of middleware via `on` method.
- Introduced new option of EventEmitter `maxHandlers` that limits number of handlers that can be added to a single event.
- Significantly improved documentation.

### Changed:

- Moved context parameter to the first position in the `emit` method.

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/event-emitter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hono/event-emitter",
"version": "1.0.0",
"version": "2.0.0",
"description": "Event Emitter middleware for Hono",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 4706d43

Please sign in to comment.