Releases: kriasoft/universal-router
Releases · kriasoft/universal-router
v10.0.0 - 2025-05-05
- Updated path-to-regexp from v6.2.0 to v8.2.0. See changelog (BREAKING CHANGE #218)
- Since Path To RegExp does not provide an ESM version, it is now bundled into the Universal Router package:
- const pathToRegexp = require('path-to-regexp') + import * as pathToRegexp from 'universal-router/path-to-regexp'
- The import path for generating URLs has changed:
- import generateUrls from 'universal-router/generateUrls' + import generateUrls from 'universal-router/generate-urls'
9.2.1 - 2024-11-22
- Enable
noPropertyAccessFromIndexSignature
andnoUncheckedIndexedAccess
checks (#216)
9.2.0 - 2023-06-23
- Bump TypeScript to 4.9.5 and fix types (#215)
9.1.0 - 2021-06-23
- Add
uniqueRouteNameSep
option togenerateUrls(router, options)
to allow non-unique route names among different branches of nested routes and access them by uniquely generated name (#194)
9.0.1 - 2020-03-11
- Fix typings:
router.resolve()
andcontext.next()
always return a promise now (#187)
9.0.0 - 2020-02-27
- Update path-to-regexp from v3 to v6, see changelog (BREAKING CHANGE)
- Remove
context.keys
(BREAKING CHANGE) - Migrate to TypeScript (#183)
8.3.0 - 2019-09-17
- Make
generateUrls
compatible withUniversalRouterSync
(#172)
8.2.1 - 2019-07-20
- Fix
context.next()
to throwRoute not found
instead ofTypeError
(#169)
8.2.0 - 2019-05-10
- Improve TypeScript typings (#167)
8.1.0 - 2019-02-20
- Add synchronous mode as an add-on (#164)