Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspoehls committed Nov 3, 2023
1 parent e34f413 commit 472ec44
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,20 @@
- `@supercharge/http`
- the `RequestHeaderBag` extends the `InputBag` which changes the behavior of the `has(key)` method: it returns `false` if the stored value is `undefined` and returns `true` otherwise

This pull request switches the parameters of the error report, handle, render method:
- `@supercharge/core`
- switch the parameters of the error’s and error handler’s `report`, `handle`, `render` methods:
```ts
// before
handle(ctx: HttpContext, error: Error)
report(ctx: HttpContext, error: Error)
render(ctx: HttpContext, error: Error)

// now
handle(error: Error, ctx: HttpContext)
report(error: Error, ctx: HttpContext)
render(error: Error, ctx: HttpContext)
```


## [3.20.4](https://github.com/supercharge/framework/compare/v3.20.3...v3.20.4) - 2023-10-15
Expand Down

0 comments on commit 472ec44

Please sign in to comment.