@thi.ng/router 4.1.14 → 4.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -150
  2. package/package.json +7 -8
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-04T21:07:38Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -127,152 +129,3 @@ and/or version bumps of transitive dependencies.
127
129
  #### ♻️ Refactoring
128
130
 
129
131
  - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
130
-
131
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.1.0) (2021-11-17)
132
-
133
- #### 🚀 Features
134
-
135
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
136
- Improving the overall build ergonomics
137
- - introduced a tools workspaces
138
- - imported it in all needed packages/examples
139
- - inclusive project root
140
-
141
- #### ♻️ Refactoring
142
-
143
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
144
- this commit reverts (partly) changes made in:
145
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
146
- overall purpose is better testament ergonomics:
147
- instead of having to pass NODE_OPTIONS with every invocation
148
- having a binary to handle this for us.
149
-
150
- ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.0.1) (2021-10-13)
151
-
152
- #### ♻️ Refactoring
153
-
154
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
155
- - add .js suffix for all relative imports
156
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
157
-
158
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@3.0.0) (2021-10-12)
159
-
160
- #### 🛑 Breaking changes
161
-
162
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
163
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
164
- - only ESM modules will be published from now on
165
- - CJS obsolete due to ESM support in recent versions of node:
166
- - i.e. launch NodeJS via:
167
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
168
- - in the node REPL use `await import(...)` instead of `require()`
169
- - UMD obsolete due to widespread browser support for ESM
170
- Also:
171
- - normalize/restructure/reorg all package.json files
172
- - cleanup all build scripts, remove obsolete
173
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
174
-
175
- #### ♻️ Refactoring
176
-
177
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
178
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
179
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
180
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
181
- - largely related to recent updates/restructuring of these packages:
182
- - api
183
- - defmulti
184
- - errors
185
- - logger
186
-
187
- ### [2.0.54](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.54) (2021-09-03)
188
-
189
- #### ♻️ Refactoring
190
-
191
- - fix up TS4.4 changes ([04a93a6](https://github.com/thi-ng/umbrella/commit/04a93a6))
192
-
193
- ### [2.0.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.36) (2020-12-07)
194
-
195
- #### ♻️ Refactoring
196
-
197
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
198
-
199
- ### [2.0.33](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.33) (2020-09-22)
200
-
201
- #### ♻️ Refactoring
202
-
203
- - extract matchRoutes() ([d5917ec](https://github.com/thi-ng/umbrella/commit/d5917ec))
204
-
205
- ### [2.0.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.31) (2020-09-13)
206
-
207
- #### ♻️ Refactoring
208
-
209
- - update imports ([22cf5c6](https://github.com/thi-ng/umbrella/commit/22cf5c6))
210
-
211
- ### [2.0.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.10) (2020-02-25)
212
-
213
- #### ♻️ Refactoring
214
-
215
- - update imports, internal restruct ([bb2d60e](https://github.com/thi-ng/umbrella/commit/bb2d60e))
216
-
217
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@2.0.0) (2019-07-07)
218
-
219
- #### 🛑 Breaking changes
220
-
221
- - address TS strictNullChecks, update types, add checks ([c7ff9a4](https://github.com/thi-ng/umbrella/commit/c7ff9a4))
222
- - BREAKING CHANGE: Route & RouteMatch IDs MUST be strings now
223
- - update config fields from PropertyKey => string
224
- - add initial & default route checks in ctor
225
-
226
- #### 🚀 Features
227
-
228
- - enable TS strict compiler flags (refactor) ([d3ecae3](https://github.com/thi-ng/umbrella/commit/d3ecae3))
229
-
230
- ### [1.0.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@1.0.5) (2019-03-10)
231
-
232
- #### ♻️ Refactoring
233
-
234
- - re-use type aliases from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) ([0d2fdff](https://github.com/thi-ng/umbrella/commit/0d2fdff))
235
-
236
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@1.0.0) (2019-01-21)
237
-
238
- #### 🛑 Breaking changes
239
-
240
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
241
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
242
- - build scripts now first build ES6 modules in package root, then call
243
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
244
- - all imports MUST be updated to only refer to package level
245
- (not individual files anymore). tree shaking in user land will get rid of
246
- all unused imported symbols.
247
-
248
- ### [0.1.28](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.28) (2018-11-13)
249
-
250
- #### ♻️ Refactoring
251
-
252
- - update Route, RouteMatch & minor optimizations ([1d085bf](https://github.com/thi-ng/umbrella/commit/1d085bf))
253
-
254
- ### [0.1.20](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.20) (2018-08-01)
255
-
256
- #### ♻️ Refactoring
257
-
258
- - TS3.0 PropertyKey handling ([2ecd538](https://github.com/thi-ng/umbrella/commit/2ecd538))
259
-
260
- ### [0.1.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.11) (2018-05-10)
261
-
262
- #### ♻️ Refactoring
263
-
264
- - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
265
-
266
- ### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.1) (2018-03-21)
267
-
268
- #### ♻️ Refactoring
269
-
270
- - update INotify dummy impl ([b328780](https://github.com/thi-ng/umbrella/commit/b328780))
271
- - reflecting INotify updates in [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api)
272
- - update error handling ([adc559a](https://github.com/thi-ng/umbrella/commit/adc559a))
273
-
274
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/router@0.1.0) (2018-03-11)
275
-
276
- #### 🚀 Features
277
-
278
- - re-import router package (MBP2010), minor refactor & fixes ([07b4e06](https://github.com/thi-ng/umbrella/commit/07b4e06))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/router",
3
- "version": "4.1.14",
3
+ "version": "4.1.16",
4
4
  "description": "Generic trie-based router with support for wildcards, route param validation/coercion, auth",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,17 +40,16 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.11.16",
44
- "@thi.ng/checks": "^3.6.19",
45
- "@thi.ng/equiv": "^2.1.72",
46
- "@thi.ng/errors": "^2.5.22",
43
+ "@thi.ng/api": "^8.11.18",
44
+ "@thi.ng/checks": "^3.6.21",
45
+ "@thi.ng/equiv": "^2.1.74",
46
+ "@thi.ng/errors": "^2.5.24",
47
47
  "tslib": "^2.8.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.48.1",
51
50
  "esbuild": "^0.24.2",
52
51
  "typedoc": "^0.27.6",
53
- "typescript": "^5.7.2"
52
+ "typescript": "^5.7.3"
54
53
  },
55
54
  "keywords": [
56
55
  "browser",
@@ -101,5 +100,5 @@
101
100
  ],
102
101
  "year": 2014
103
102
  },
104
- "gitHead": "6542b842120bef47cc18d45a1b1db68307a7f04b\n"
103
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
105
104
  }