Releases: kriasoft/universal-router
Releases · kriasoft/universal-router
v10.0.2 - 2026-01-02
v10.0.1 - 2025-08-08
- Add
cjs/package.jsonfor CommonJS target (#220)
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
noPropertyAccessFromIndexSignatureandnoUncheckedIndexedAccesschecks (#216)
9.2.0 - 2023-06-23
- Bump TypeScript to 4.9.5 and fix types (#215)
9.1.0 - 2021-06-23
- Add
uniqueRouteNameSepoption 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
generateUrlscompatible withUniversalRouterSync(#172)
8.2.1 - 2019-07-20
- Fix
context.next()to throwRoute not foundinstead ofTypeError(#169)