Skip to content

Commit 2ea54b6

Browse files
committed
docs: rename migration notes to v2-to-v3
1 parent 833bb7d commit 2ea54b6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ for await (const event of await client.events()) {
139139

140140
## Documentation
141141

142-
- [Concepts, API selection, and v2.0.1 migration notes](docs/context.md)
142+
- [Concepts, API selection, and v2->v3 migration notes](docs/context.md)
143143
- [Runnable shared-route example](examples/basic-usage.ts)
144144
- [Runnable NDJSON response-stream example](examples/ndjson-stream.ts)
145145
- Generated declarations in the published package provide the exact signatures

docs/context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ the thrown `Error`.
329329
response helper as-is; Rouzer does not automatically parse a returned `Response`
330330
from `onJsonError`.
331331

332-
### Update code written for v2.0.1
332+
### v2->v3 migration
333333

334334
Rouzer now uses action/resource route trees for router registration and client
335-
shorthands. A v2.0.1 method-map route such as this:
335+
shorthands. In the v2->v3 migration, a method-map route such as this:
336336

337337
```ts
338338
export const profileRoute = route('profiles/:id', {

0 commit comments

Comments
 (0)