@@ -5,10 +5,22 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
7
7
8
- ## [ 10.0.0] - 2025-05-02
9
-
10
- - Update dependency [ path-to-regexp] ( https://www.npmjs.com/package/path-to-regexp ) to version 8.2.0 from 6.2.0.
11
- - Primarily inlcluds [ major changes from 7.0] ( https://github.com/pillarjs/path-to-regexp/releases/tag/v7.0.0 )
8
+ ## [ 10.0.0] - 2025-05-05
9
+
10
+ - Updated [ path-to-regexp] ( https://www.npmjs.com/package/path-to-regexp ) from v6.2.0 to v8.2.0.
11
+ See [ changelog] ( https://github.com/pillarjs/path-to-regexp/releases )
12
+ (BREAKING CHANGE [ #218 ] ( https://github.com/kriasoft/universal-router/pull/218 ) )
13
+ - Since [ Path To RegExp does not provide an ESM version] ( https://github.com/pillarjs/path-to-regexp/issues/346 ) ,
14
+ it is now bundled into the Universal Router package:
15
+ ``` diff
16
+ - const pathToRegexp = require('path-to-regexp')
17
+ + import * as pathToRegexp from 'universal-router/path-to-regexp'
18
+ ```
19
+ - The import path for generating URLs has changed:
20
+ ``` diff
21
+ - import generateUrls from 'universal-router/generateUrls'
22
+ + import generateUrls from 'universal-router/generate-urls'
23
+ ```
12
24
13
25
## [ 9.2.1] - 2024-11-22
14
26
@@ -310,7 +322,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
310
322
311
323
- Small bug fixes and improvements
312
324
313
- [ unreleased ] : https://github.com/kriasoft/universal-router/compare/v9.2.1...HEAD
325
+ [ unreleased ] : https://github.com/kriasoft/universal-router/compare/v10.0.0...HEAD
326
+ [ 10.0.0 ] : https://github.com/kriasoft/universal-router/compare/v9.2.1...v10.0.0
314
327
[ 9.2.1 ] : https://github.com/kriasoft/universal-router/compare/v9.2.0...v9.2.1
315
328
[ 9.2.0 ] : https://github.com/kriasoft/universal-router/compare/v9.1.0...v9.2.0
316
329
[ 9.1.0 ] : https://github.com/kriasoft/universal-router/compare/v9.0.1...v9.1.0
0 commit comments