Skip to content

Commit

Permalink
chore(deploy): Release (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
willybrauner and github-actions[bot] authored Jan 12, 2024
1 parent c98cc80 commit 4963c82
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .changeset/dirty-cycles-love.md

This file was deleted.

25 changes: 25 additions & 0 deletions packages/low-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @wbe/low-router

## 0.2.0

### Minor Changes

- c98cc80: ## breaking change: Improve `resolve` and `onResolve` params.

`router.resolve()` and `onResolve()` option return now `{response, context}` object of the matching route.

before:

```js
router.resolve("/").then((res) => {
// res: "Hello home!"
})
```

after:

```js
router.resolve("/").then(({ response, context }) => {
// response: "Hello home!"
// context: RouteContext interface
})
```

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/low-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wbe/low-router",
"author": "Willy Brauner",
"license": "MIT",
"version": "0.1.1",
"version": "0.2.0",
"type": "module",
"files": [
"dist"
Expand Down

0 comments on commit 4963c82

Please sign in to comment.