@equinor/fusion-framework-dev-server 2.1.0 → 2.1.1

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.
package/CHANGELOG.md DELETED
@@ -1,773 +0,0 @@
1
- # @equinor/fusion-framework-dev-server
2
-
3
- ## 2.1.0
4
-
5
- ### Minor Changes
6
-
7
- - f663b46: Expose `DevServerOptions` as an interface so optional development tooling can add typed
8
- configuration through TypeScript module augmentation.
9
-
10
- ### Patch Changes
11
-
12
- - f663b46: Proxy mock services advertised through `<service>.localhost` via plain `localhost` while preserving
13
- the service-key path. This avoids `ENOTFOUND` failures on Linux runners without changing normal
14
- upstream service proxying.
15
- - Updated dependencies [f663b46]
16
- - Updated dependencies [f663b46]
17
- - Updated dependencies [f663b46]
18
- - @equinor/fusion-log@2.0.3
19
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.6
20
- - @equinor/fusion-framework-vite-plugin-spa@4.1.0
21
-
22
- ## 2.0.19
23
-
24
- ### Patch Changes
25
-
26
- - @equinor/fusion-framework-vite-plugin-spa@4.0.17
27
-
28
- ## 2.0.18
29
-
30
- ### Patch Changes
31
-
32
- - 0d9d876: Internal: bump transitive dependencies bundled into these packages' build output via `pnpm.overrides` — `undici` (`<7.29.0`), `brace-expansion` (`<2.1.4`), `fast-uri` (`<3.1.5`), and `postcss` (`<=8.5.22`) — to resolve Dependabot security alerts. These packages bundle their dependency tree (rollup/vite build) and are therefore always changesetted for dependency changes, even when only the root lockfile resolution moves.
33
- - @equinor/fusion-framework-vite-plugin-spa@4.0.16
34
-
35
- ## 2.0.17
36
-
37
- ### Patch Changes
38
-
39
- - Updated dependencies [12071a3]
40
- - Updated dependencies [6a3080a]
41
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.5
42
- - @equinor/fusion-framework-vite-plugin-spa@4.0.15
43
-
44
- ## 2.0.16
45
-
46
- ### Patch Changes
47
-
48
- - Updated dependencies [3dcaae6]
49
- - @equinor/fusion-log@2.0.2
50
-
51
- ## 2.0.15
52
-
53
- ### Patch Changes
54
-
55
- - 80c3e4a: Internal: add a clarifying intent comment to satisfy fusion-lint; no behavior changes.
56
- - Updated dependencies [80c3e4a]
57
- - Updated dependencies [80c3e4a]
58
- - Updated dependencies [80c3e4a]
59
- - Updated dependencies [80c3e4a]
60
- - @equinor/fusion-log@2.0.1
61
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.4
62
- - @equinor/fusion-framework-vite-plugin-spa@4.0.14
63
-
64
- ## 2.0.14
65
-
66
- ### Patch Changes
67
-
68
- - Updated dependencies [70268ab]
69
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.3
70
- - @equinor/fusion-framework-vite-plugin-spa@4.0.13
71
-
72
- ## 2.0.13
73
-
74
- ### Patch Changes
75
-
76
- - Updated dependencies [74beb1c]
77
- - @equinor/fusion-framework-vite-plugin-spa@4.0.12
78
-
79
- ## 2.0.12
80
-
81
- ### Patch Changes
82
-
83
- - @equinor/fusion-framework-vite-plugin-spa@4.0.11
84
-
85
- ## 2.0.11
86
-
87
- ### Patch Changes
88
-
89
- - @equinor/fusion-framework-vite-plugin-spa@4.0.10
90
-
91
- ## 2.0.10
92
-
93
- ### Patch Changes
94
-
95
- - @equinor/fusion-framework-vite-plugin-spa@4.0.9
96
-
97
- ## 2.0.9
98
-
99
- ### Patch Changes
100
-
101
- - @equinor/fusion-framework-vite-plugin-spa@4.0.8
102
-
103
- ## 2.0.8
104
-
105
- ### Patch Changes
106
-
107
- - Updated dependencies [806c623]
108
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.2
109
-
110
- ## 2.0.7
111
-
112
- ### Patch Changes
113
-
114
- - Updated dependencies [5c05455]
115
- - @equinor/fusion-framework-vite-plugin-spa@4.0.7
116
-
117
- ## 2.0.6
118
-
119
- ### Patch Changes
120
-
121
- - @equinor/fusion-framework-vite-plugin-spa@4.0.6
122
-
123
- ## 2.0.5
124
-
125
- ### Patch Changes
126
-
127
- - @equinor/fusion-framework-vite-plugin-spa@4.0.5
128
-
129
- ## 2.0.4
130
-
131
- ### Patch Changes
132
-
133
- - Updated dependencies [3005189]
134
- - @equinor/fusion-framework-vite-plugin-spa@4.0.4
135
-
136
- ## 2.0.3
137
-
138
- ### Patch Changes
139
-
140
- - @equinor/fusion-framework-vite-plugin-spa@4.0.3
141
-
142
- ## 2.0.2
143
-
144
- ### Patch Changes
145
-
146
- - Updated dependencies [4f71408]
147
- - Updated dependencies [ee9c669]
148
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.1
149
- - @equinor/fusion-framework-vite-plugin-spa@4.0.2
150
-
151
- ## 2.0.1
152
-
153
- ### Patch Changes
154
-
155
- - Updated dependencies [8f16c97]
156
- - @equinor/fusion-framework-vite-plugin-spa@4.0.1
157
-
158
- ## 2.0.0
159
-
160
- ### Major Changes
161
-
162
- - abffa53: Major version bump for Fusion Framework React 19 release.
163
-
164
- All packages are bumped to the next major version as part of the React 19 upgrade. This release drops support for React versions below 18 and includes breaking changes across the framework.
165
-
166
- **Breaking changes:**
167
- - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
168
- - React Router upgraded from v6 to v7
169
- - Navigation module refactored with new history API
170
- - `renderComponent` and `renderApp` now use `createRoot` API
171
-
172
- **Migration:**
173
- - Update your React version to 18.0.0 or higher before upgrading
174
- - Replace `NavigationProvider.createRouter()` with `@equinor/fusion-framework-react-router`
175
- - See individual package changelogs for package-specific migration steps
176
-
177
- ### Patch Changes
178
-
179
- - aa35c46: chore: bump @vitejs/plugin-react from 5.1.4 to 6.0.1
180
- - 32bcf83: Bump `vite` from `7.3.1` to `8.0.0`.
181
-
182
- Vite 8 replaces Rollup with Rolldown and esbuild with Oxc for faster builds.
183
- No breaking API changes affect this codebase. The `dev-server` peerDependency
184
- is widened to accept both Vite 7 and Vite 8.
185
-
186
- - Updated dependencies [abffa53]
187
- - Updated dependencies [32bcf83]
188
- - @equinor/fusion-framework-vite-plugin-api-service@2.0.0
189
- - @equinor/fusion-framework-vite-plugin-spa@4.0.0
190
- - @equinor/fusion-log@2.0.0
191
-
192
- ## 1.1.31
193
-
194
- ### Patch Changes
195
-
196
- - [#4157](https://github.com/equinor/fusion-framework/pull/4157) [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581) Thanks [@Noggling](https://github.com/Noggling)! - Internal: patch release to align TypeScript types across packages for consistent type compatibility.
197
-
198
- - Updated dependencies [[`9d4d520`](https://github.com/equinor/fusion-framework/commit/9d4d520e9d3c3a3c4ef68a96952fbbc6f6d34720), [`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581)]:
199
- - @equinor/fusion-framework-vite-plugin-spa@3.1.11
200
- - @equinor/fusion-log@1.1.8
201
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.5
202
-
203
- ## 1.1.30
204
-
205
- ### Patch Changes
206
-
207
- - Updated dependencies []:
208
- - @equinor/fusion-framework-vite-plugin-spa@3.1.10
209
-
210
- ## 1.1.29
211
-
212
- ### Patch Changes
213
-
214
- - Updated dependencies []:
215
- - @equinor/fusion-framework-vite-plugin-spa@3.1.9
216
-
217
- ## 1.1.28
218
-
219
- ### Patch Changes
220
-
221
- - Updated dependencies []:
222
- - @equinor/fusion-framework-vite-plugin-spa@3.1.8
223
-
224
- ## 1.1.27
225
-
226
- ### Patch Changes
227
-
228
- - Updated dependencies []:
229
- - @equinor/fusion-framework-vite-plugin-spa@3.1.7
230
-
231
- ## 1.1.26
232
-
233
- ### Patch Changes
234
-
235
- - Updated dependencies []:
236
- - @equinor/fusion-framework-vite-plugin-spa@3.1.6
237
-
238
- ## 1.1.25
239
-
240
- ### Patch Changes
241
-
242
- - Updated dependencies []:
243
- - @equinor/fusion-framework-vite-plugin-spa@3.1.5
244
-
245
- ## 1.1.24
246
-
247
- ### Patch Changes
248
-
249
- - Updated dependencies []:
250
- - @equinor/fusion-framework-vite-plugin-spa@3.1.4
251
-
252
- ## 1.1.23
253
-
254
- ### Patch Changes
255
-
256
- - Updated dependencies []:
257
- - @equinor/fusion-framework-vite-plugin-spa@3.1.3
258
-
259
- ## 1.1.22
260
-
261
- ### Patch Changes
262
-
263
- - Updated dependencies []:
264
- - @equinor/fusion-framework-vite-plugin-spa@3.1.2
265
-
266
- ## 1.1.21
267
-
268
- ### Patch Changes
269
-
270
- - Updated dependencies [[`122752b`](https://github.com/equinor/fusion-framework/commit/122752b075113b206583ec2c46240997162329b8)]:
271
- - @equinor/fusion-framework-vite-plugin-spa@3.1.1
272
-
273
- ## 1.1.20
274
-
275
- ### Patch Changes
276
-
277
- - Updated dependencies [[`d34ebd8`](https://github.com/equinor/fusion-framework/commit/d34ebd82c93acabc88f88e44a725f084af3af5ec)]:
278
- - @equinor/fusion-framework-vite-plugin-spa@3.1.0
279
-
280
- ## 1.1.19
281
-
282
- ### Patch Changes
283
-
284
- - Updated dependencies [[`15aaa87`](https://github.com/equinor/fusion-framework/commit/15aaa87e6a8b391c0672db0dcdca4c1cac3b50a7)]:
285
- - @equinor/fusion-framework-vite-plugin-spa@3.0.7
286
-
287
- ## 1.1.18
288
-
289
- ### Patch Changes
290
-
291
- - Updated dependencies []:
292
- - @equinor/fusion-framework-vite-plugin-spa@3.0.6
293
-
294
- ## 1.1.17
295
-
296
- ### Patch Changes
297
-
298
- - Updated dependencies []:
299
- - @equinor/fusion-framework-vite-plugin-spa@3.0.5
300
-
301
- ## 1.1.16
302
-
303
- ### Patch Changes
304
-
305
- - Updated dependencies []:
306
- - @equinor/fusion-framework-vite-plugin-spa@3.0.4
307
-
308
- ## 1.1.15
309
-
310
- ### Patch Changes
311
-
312
- - Updated dependencies [[`ee6aa77`](https://github.com/equinor/fusion-framework/commit/ee6aa7764776000edab9233ad9a4716b2d85c4eb)]:
313
- - @equinor/fusion-framework-vite-plugin-spa@3.0.3
314
-
315
- ## 1.1.14
316
-
317
- ### Patch Changes
318
-
319
- - Updated dependencies []:
320
- - @equinor/fusion-framework-vite-plugin-spa@3.0.2
321
-
322
- ## 1.1.13
323
-
324
- ### Patch Changes
325
-
326
- - Updated dependencies []:
327
- - @equinor/fusion-framework-vite-plugin-spa@3.0.1
328
-
329
- ## 1.1.12
330
-
331
- ### Patch Changes
332
-
333
- - Updated dependencies [[`11fe961`](https://github.com/equinor/fusion-framework/commit/11fe961794e4960ccb987bc320268cc9b263f1f8)]:
334
- - @equinor/fusion-framework-vite-plugin-spa@3.0.0
335
-
336
- ## 1.1.11
337
-
338
- ### Patch Changes
339
-
340
- - [#3686](https://github.com/equinor/fusion-framework/pull/3686) [`d6465bc`](https://github.com/equinor/fusion-framework/commit/d6465bc2787a37465e22964803501e44f6b19517) Thanks [@odinr](https://github.com/odinr)! - Update vite peerDependency version constraint from ^6.0.7 to ^7.0.0 to support the latest vite features and improvements.
341
-
342
- ## 1.1.10
343
-
344
- ### Patch Changes
345
-
346
- - [#3637](https://github.com/equinor/fusion-framework/pull/3637) [`f5b88e7`](https://github.com/equinor/fusion-framework/commit/f5b88e7ff8e896624de67bdf29091ba44bf8a628) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: bump rollup from 4.52.4 to 4.52.5 to fix sourcemap debugId generation; no public API changes.
347
-
348
- - Updated dependencies [[`f5b88e7`](https://github.com/equinor/fusion-framework/commit/f5b88e7ff8e896624de67bdf29091ba44bf8a628), [`1706e4c`](https://github.com/equinor/fusion-framework/commit/1706e4c503d8ef4db46a9572392d23e9c081c82c), [`581306b`](https://github.com/equinor/fusion-framework/commit/581306bb7ace1646548865ea1711255065e90570)]:
349
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.4
350
- - @equinor/fusion-framework-vite-plugin-spa@2.0.2
351
-
352
- ## 1.1.9
353
-
354
- ### Patch Changes
355
-
356
- - [#3652](https://github.com/equinor/fusion-framework/pull/3652) [`8d50adc`](https://github.com/equinor/fusion-framework/commit/8d50adc17e81fc46da81795125832af8add5f678) Thanks [@dependabot](https://github.com/apps/dependabot)! - **Security:** Update Vite to v7.1.12
357
-
358
- This update addresses a security vulnerability in Vite's development server and includes bug fixes for improved compatibility. The update ensures secure development environments and better plugin ecosystem compatibility.
359
-
360
- **Changes:**
361
- - Updated Vite from v7.1.10 to v7.1.12
362
- - Includes security fix for development server file system checks
363
- - Includes compatibility fix for CommonJS plugin
364
- - No breaking changes or API modifications
365
-
366
- **Security Fix (v7.1.11):**
367
- - **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
368
- - Prevents potential path traversal vulnerability in development server
369
- - Only affects development environment, not production builds
370
-
371
- **Bug Fix (v7.1.12):**
372
- - **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
373
- - Improves compatibility with Rollup plugin ecosystem
374
- - Prevents potential build issues
375
-
376
- All packages using Vite as a development dependency are updated to the latest secure version. This is a patch-level security and bug fix update that maintains full compatibility with existing functionality.
377
-
378
- closes: https://github.com/equinor/fusion/issues/723
379
-
380
- - Updated dependencies [[`8d50adc`](https://github.com/equinor/fusion-framework/commit/8d50adc17e81fc46da81795125832af8add5f678)]:
381
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.3
382
- - @equinor/fusion-framework-vite-plugin-spa@2.0.1
383
-
384
- ## 1.1.8
385
-
386
- ### Patch Changes
387
-
388
- - Updated dependencies [[`0dd31cd`](https://github.com/equinor/fusion-framework/commit/0dd31cd1078b383ddab4a8cf1bb03d502e214715), [`31e2581`](https://github.com/equinor/fusion-framework/commit/31e2581fca2765dc7caf54f74db3db51020b53b7)]:
389
- - @equinor/fusion-framework-vite-plugin-spa@2.0.0
390
-
391
- ## 1.1.7
392
-
393
- ### Patch Changes
394
-
395
- - Updated dependencies [[`dd560e7`](https://github.com/equinor/fusion-framework/commit/dd560e75683788c875c6ba1e78463ae18d57fce2)]:
396
- - @equinor/fusion-framework-vite-plugin-spa@1.2.2
397
-
398
- ## 1.1.6
399
-
400
- ### Patch Changes
401
-
402
- - Updated dependencies [[`b6a64d9`](https://github.com/equinor/fusion-framework/commit/b6a64d94bad7248c06b3aa7d65d7d698052437c7)]:
403
- - @equinor/fusion-framework-vite-plugin-spa@1.2.1
404
-
405
- ## 1.1.5
406
-
407
- ### Patch Changes
408
-
409
- - Updated dependencies [[`99a3c26`](https://github.com/equinor/fusion-framework/commit/99a3c26275c2089c3708124f5819ce383d8dc3dc)]:
410
- - @equinor/fusion-framework-vite-plugin-spa@1.2.0
411
-
412
- ## 1.1.4
413
-
414
- ### Patch Changes
415
-
416
- - [#3532](https://github.com/equinor/fusion-framework/pull/3532) [`63ecde5`](https://github.com/equinor/fusion-framework/commit/63ecde5c29e775b341c3fac0c1eeb7123db5e2db) Thanks [@dependabot](https://github.com/apps/dependabot)! - Bump vite from 7.1.8 to 7.1.9 across development tools and plugins.
417
-
418
- This patch update fixes bugs and improves stability in the vite dependency.
419
-
420
- - Updated dependencies [[`45954e5`](https://github.com/equinor/fusion-framework/commit/45954e5db471a2faa24e88e41fc6d6c18817d6d1), [`63ecde5`](https://github.com/equinor/fusion-framework/commit/63ecde5c29e775b341c3fac0c1eeb7123db5e2db), [`d1098f7`](https://github.com/equinor/fusion-framework/commit/d1098f7eeff04380c9e05e4a7a7d6b16e1d95884)]:
421
- - @equinor/fusion-framework-vite-plugin-spa@1.1.4
422
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.2
423
-
424
- ## 1.1.3
425
-
426
- ### Patch Changes
427
-
428
- - [`56c27ec`](https://github.com/equinor/fusion-framework/commit/56c27ec9de03e07e725eecfdf2c028a1e29b6ece) Thanks [@odinr](https://github.com/odinr)! - Updated workspace dependencies to use exact version specifiers for consistent release behavior.
429
- - Changed workspace dependencies from `workspace:^` to `workspace:*` across CLI, dev-server, and SPA vite plugin packages
430
- - Ensures exact version resolution within the monorepo for predictable builds and releases
431
- - Affects both dependencies and devDependencies where applicable
432
-
433
- - Updated dependencies [[`56c27ec`](https://github.com/equinor/fusion-framework/commit/56c27ec9de03e07e725eecfdf2c028a1e29b6ece)]:
434
- - @equinor/fusion-framework-vite-plugin-spa@1.1.3
435
-
436
- ## 1.1.2
437
-
438
- ### Patch Changes
439
-
440
- - [#3432](https://github.com/equinor/fusion-framework/pull/3432) [`528d72c`](https://github.com/equinor/fusion-framework/commit/528d72c04066f93fca1fa6469f33ec8d5383dcdc) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated vite from 7.1.5 to 7.1.7, including bug fixes for HMR, build system, and glob imports.
441
-
442
- - Updated dependencies [[`528d72c`](https://github.com/equinor/fusion-framework/commit/528d72c04066f93fca1fa6469f33ec8d5383dcdc)]:
443
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.1
444
- - @equinor/fusion-framework-vite-plugin-spa@1.1.1
445
-
446
- ## 1.1.1
447
-
448
- ### Patch Changes
449
-
450
- - [#3443](https://github.com/equinor/fusion-framework/pull/3443) [`2291483`](https://github.com/equinor/fusion-framework/commit/2291483b10ea288102155839dc47dcfe2addc22c) Thanks [@eikeland](https://github.com/eikeland)! - Fix OPTIONS requests missing Allow header after Vite 7 update
451
- - Disabled Vite's internal CORS handling by setting `server.cors: false`
452
- - This allows backend services to properly handle OPTIONS requests with correct headers
453
- - Resolves issue where OPTIONS requests were not forwarded to backend after Vite 7 upgrade
454
- - Backend services can now include Allow, Access-Control-Allow-Methods, and other CORS headers
455
-
456
- closes: #3436
457
-
458
- ## 1.1.0
459
-
460
- ### Minor Changes
461
-
462
- - [#3349](https://github.com/equinor/fusion-framework/pull/3349) [`c511123`](https://github.com/equinor/fusion-framework/commit/c511123c835e24e9ddefcc4c47c2455f5df12087) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vite from 6.x to 7.1.5
463
-
464
- Major version update of Vite build tool across all packages. This update includes:
465
- - Enhanced build performance and caching
466
- - Better error reporting with code frames
467
- - Improved TypeScript integration
468
- - Updated plugin ecosystem compatibility
469
- - New development server features
470
-
471
- ### Links
472
- - [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
473
- - [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
474
-
475
- ### Patch Changes
476
-
477
- - [#3391](https://github.com/equinor/fusion-framework/pull/3391) [`7792659`](https://github.com/equinor/fusion-framework/commit/7792659bf2ade10dba5e54c610d5abff522324b6) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump vitest from 2.0.1 to 3.2.4
478
-
479
- Major version update of Vitest testing framework for dev-server package.
480
-
481
- ### Breaking Changes
482
- - Updated from Vitest v2 to v3
483
- - Test runner behavior improvements
484
-
485
- ### New Features
486
- - Enhanced test performance
487
- - Better error handling and reporting
488
- - Updated Vite integration (v6.3.5)
489
-
490
- ### Links
491
- - [Vitest v3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
492
- - [Vitest v3 Migration Guide](https://vitest.dev/guide/migration.html)
493
-
494
- - Updated dependencies [[`c511123`](https://github.com/equinor/fusion-framework/commit/c511123c835e24e9ddefcc4c47c2455f5df12087)]:
495
- - @equinor/fusion-framework-vite-plugin-api-service@1.2.0
496
- - @equinor/fusion-framework-vite-plugin-spa@1.1.0
497
-
498
- ## 1.0.3
499
-
500
- ### Patch Changes
501
-
502
- - [#2910](https://github.com/equinor/fusion-framework/pull/2910) [`07cc985`](https://github.com/equinor/fusion-framework/commit/07cc9857e1427b574e011cc319518e701dba784d) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated vitest from 2.1.9 to 3.2.4 across all packages.
503
-
504
- ## Breaking Changes
505
- - **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
506
- - **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
507
- - **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
508
- - **Coverage API**: New coverage methods `enableCoverage()` and `disableCoverage()`
509
- - **TypeScript Support**: Enhanced TypeScript integration and type definitions
510
-
511
- ## Security Updates
512
- - CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
513
- - CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
514
-
515
- ## Migration Notes
516
- - Test snapshots may need regeneration due to quote format changes
517
- - Some test configurations might need updates for new TypeScript support
518
- - Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
519
-
520
- ## Links
521
- - [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
522
- - [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
523
-
524
- - Updated dependencies [[`bae9c95`](https://github.com/equinor/fusion-framework/commit/bae9c9554f335d0384b864436874bded47d00ed8), [`07cc985`](https://github.com/equinor/fusion-framework/commit/07cc9857e1427b574e011cc319518e701dba784d)]:
525
- - @equinor/fusion-framework-vite-plugin-spa@1.0.1
526
- - @equinor/fusion-log@1.1.7
527
- - @equinor/fusion-framework-vite-plugin-api-service@1.1.1
528
-
529
- ## 1.0.2
530
-
531
- ### Patch Changes
532
-
533
- - [#3330](https://github.com/equinor/fusion-framework/pull/3330) [`3590104`](https://github.com/equinor/fusion-framework/commit/3590104bdf3bba3386cdec7e2692078e6a92bd01) Thanks [@odinr](https://github.com/odinr)! - Enhanced dev server configuration by removing `vite-tsconfig-paths` plugin.
534
-
535
- > The responsibility for adding the `vite-tsconfig-paths` plugin has been moved to `@equinor/fusion-framework-cli`, which now provides it via the `overrides` parameter in `createDevServerConfig`. This ensures consistent TypeScript path resolution in both development and build environments.
536
- - Removed `vite-tsconfig-paths` dependency from package.json
537
- - Removed plugin usage from `create-dev-server-config.ts`
538
-
539
- **Breaking change:**
540
-
541
- If you use `@equinor/fusion-framework-dev-server` outside of the CLI, you must manually add the `vite-tsconfig-paths` plugin to your Vite config overrides to maintain the same TypeScript path resolution behavior.
542
-
543
- ## 1.0.1
544
-
545
- ### Patch Changes
546
-
547
- - [#3327](https://github.com/equinor/fusion-framework/pull/3327) [`22d6d3b`](https://github.com/equinor/fusion-framework/commit/22d6d3b7753da8ad30054839e8a6083850a208fa) Thanks [@odinr](https://github.com/odinr)! - Enhanced dev server configuration with improved React and TypeScript path resolution support.
548
- - Added `@vitejs/plugin-react` for better React development experience
549
- - Added `vite-tsconfig-paths` for improved TypeScript path resolution
550
- - Updated `create-dev-server-config.ts` to include both plugins in the vite configuration
551
-
552
- ## 1.0.0
553
-
554
- ### Major Changes
555
-
556
- - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253) Thanks [@odinr](https://github.com/odinr)! - Introduced a new package, `@equinor/fusion-framework-dev-server`, designed to provide a development server tailored for Fusion Framework applications. Built on top of Vite, it seamlessly integrates Vite and Fusion Framework configurations.
557
-
558
- For more details, visit the [GitHub repository](https://github.com/equinor/fusion-framework/tree/main/packages/dev-server/README.md).
559
-
560
- **Features**
561
- - _`createDevServer` Function_: Simplifies the creation of a development server using a configuration object.
562
- - _`createDevServerConfig` Function_: Generates a Vite-compatible configuration for the development server.
563
- - _SPA Support_: Includes `spa.templateEnv` for defining environment variables specific to Single Page Applications.
564
- - _API Service Discovery_: Enables proxying and route mapping for API services via `api.serviceDiscoveryUrl`.
565
- - _Dynamic Proxy Routes_: Introduced the `processServices` function to remap Fusion services' URIs and dynamically generate proxy routes.
566
- - _Logging_: Integrated `@equinor/fusion-log` for customizable logging, with dedicated sub-loggers for SPA and API services.
567
-
568
- **Dependencies**
569
-
570
- The following dependencies were added to support the new package:
571
- - `@equinor/fusion-framework-vite-plugin-api-service`
572
- - `@equinor/fusion-framework-vite-plugin-spa`
573
- - `@equinor/fusion-log`
574
-
575
- **Examples**
576
-
577
- _Using `createDevServer`_
578
-
579
- ```ts
580
- import { createDevServer } from "@equinor/fusion-framework-dev-server";
581
-
582
- const devServer = await createDevServer({
583
- spa: {
584
- templateEnv: {
585
- portal: {
586
- id: "dev-portal",
587
- },
588
- title: "My Test Dev Server",
589
- },
590
- },
591
- api: {
592
- serviceDiscoveryUrl: "https://location.of.your.service.discovery",
593
- processServices: (data, route) => {
594
- return {
595
- data: data.concat({
596
- key: "mock-service",
597
- name: "Mock Service",
598
- uri: "/mock-api",
599
- }),
600
- routes: [],
601
- };
602
- },
603
- },
604
- });
605
- ```
606
-
607
- ### Patch Changes
608
-
609
- - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253) Thanks [@odinr](https://github.com/odinr)! - update Vite to 6.3.5
610
-
611
- - Updated dependencies [[`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253), [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253), [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253)]:
612
- - @equinor/fusion-framework-vite-plugin-api-service@1.0.0
613
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0
614
- - @equinor/fusion-log@1.1.5
615
-
616
- ## 1.0.0-next.10
617
-
618
- ### Patch Changes
619
-
620
- - [#3137](https://github.com/equinor/fusion-framework/pull/3137) [`7c58c78`](https://github.com/equinor/fusion-framework/commit/7c58c7868c66b1fc0f720b4ed13d39e0fe505461) Thanks [@odinr](https://github.com/odinr)! - updates from main
621
-
622
- - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`db34d90`](https://github.com/equinor/fusion-framework/commit/db34d9003d64e4c7cb46cf0c95f0c7a0e7587128) Thanks [@odinr](https://github.com/odinr)! - merge with main
623
-
624
- - Updated dependencies [[`7c58c78`](https://github.com/equinor/fusion-framework/commit/7c58c7868c66b1fc0f720b4ed13d39e0fe505461), [`db34d90`](https://github.com/equinor/fusion-framework/commit/db34d9003d64e4c7cb46cf0c95f0c7a0e7587128)]:
625
- - @equinor/fusion-framework-vite-plugin-api-service@1.0.0-next.2
626
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.9
627
- - @equinor/fusion-log@1.1.5-next.0
628
-
629
- ## 1.0.0-next.9
630
-
631
- ### Patch Changes
632
-
633
- - Updated dependencies [[`5973182`](https://github.com/equinor/fusion-framework/commit/5973182b156adb56137f1fc683635ae15274cc57)]:
634
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.8
635
-
636
- ## 1.0.0-next.8
637
-
638
- ### Patch Changes
639
-
640
- - Updated dependencies [[`23fdc8a`](https://github.com/equinor/fusion-framework/commit/23fdc8a80d21ff063b17d8c596c0afc0a891305f)]:
641
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.7
642
-
643
- ## 1.0.0-next.7
644
-
645
- ### Patch Changes
646
-
647
- - Updated dependencies [[`713cb15`](https://github.com/equinor/fusion-framework/commit/713cb15c5f1607e7f7285940a58165d97d8e41df)]:
648
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.6
649
-
650
- ## 1.0.0-next.6
651
-
652
- ### Patch Changes
653
-
654
- - Updated dependencies [[`ea96493`](https://github.com/equinor/fusion-framework/commit/ea96493d95336f682e31a7b63161783ae7c99a63)]:
655
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.5
656
-
657
- ## 1.0.0-next.5
658
-
659
- ### Patch Changes
660
-
661
- - Updated dependencies [[`8870e73`](https://github.com/equinor/fusion-framework/commit/8870e73bd6d4141142c69c11c67b5b154bc80023)]:
662
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.4
663
-
664
- ## 1.0.0-next.4
665
-
666
- ### Patch Changes
667
-
668
- - Updated dependencies []:
669
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.3
670
-
671
- ## 1.0.0-next.3
672
-
673
- ### Patch Changes
674
-
675
- - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`2ed792a`](https://github.com/equinor/fusion-framework/commit/2ed792a1118f3726f811c4dbdf8d25c69d7bb756) Thanks [@odinr](https://github.com/odinr)! - removed options for server options for `createDevServerConfig`, use overrides instead on `createDevServer`
676
-
677
- - Updated dependencies [[`ca8d6c8`](https://github.com/equinor/fusion-framework/commit/ca8d6c834f9df35041ce8c7e2563c452d8b19276), [`7878f59`](https://github.com/equinor/fusion-framework/commit/7878f591c528d463bfbe558094c2c31004db8586)]:
678
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.2
679
-
680
- ## 1.0.0-next.2
681
-
682
- ### Patch Changes
683
-
684
- - Updated dependencies [[`96ad5d3`](https://github.com/equinor/fusion-framework/commit/96ad5d3a3aafe7adf5bd7f8e48e58bb19aa95ba8)]:
685
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.1
686
- - @equinor/fusion-framework-vite-plugin-api-service@1.0.0-next.1
687
-
688
- ## 1.0.0-next.1
689
-
690
- ### Patch Changes
691
-
692
- - [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`84c16d7`](https://github.com/equinor/fusion-framework/commit/84c16d74c3235f809ce4c3e75868be12010ed695) Thanks [@odinr](https://github.com/odinr)! - Add `prepack` script to `dev-portal` and `dev-server` packages
693
- - Added a `prepack` script to `@equinor/fusion-framework-dev-portal` and `@equinor/fusion-framework-dev-server` to ensure the build runs before packaging.
694
- - This helps guarantee that the latest build artifacts are included when publishing these packages.
695
-
696
- ## 1.0.0-next.0
697
-
698
- ### Major Changes
699
-
700
- - [#3074](https://github.com/equinor/fusion-framework/pull/3074) [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13) Thanks [@odinr](https://github.com/odinr)! - Introduced a new package, `@equinor/fusion-framework-dev-server`, designed to provide a development server tailored for Fusion Framework applications. Built on top of Vite, it seamlessly integrates Vite and Fusion Framework configurations.
701
-
702
- **Features**
703
- - _`createDevServer` Function_: Simplifies the creation of a development server using a configuration object.
704
- - _`createDevServerConfig` Function_: Generates a Vite-compatible configuration for the development server.
705
- - _SPA Support_: Includes `spa.templateEnv` for defining environment variables specific to Single Page Applications.
706
- - _API Service Discovery_: Enables proxying and route mapping for API services via `api.serviceDiscoveryUrl`.
707
- - _Dynamic Proxy Routes_: Introduced the `processServices` function to remap Fusion services' URIs and dynamically generate proxy routes.
708
- - _Logging_: Integrated `@equinor/fusion-log` for customizable logging, with dedicated sub-loggers for SPA and API services.
709
-
710
- **Dependencies**
711
-
712
- The following dependencies were added to support the new package:
713
- - `@equinor/fusion-framework-vite-plugin-api-service`
714
- - `@equinor/fusion-framework-vite-plugin-spa`
715
- - `@equinor/fusion-log`
716
-
717
- **Examples**
718
-
719
- _Using `createDevServer`_
720
-
721
- ```ts
722
- import { createDevServer } from "@equinor/fusion-framework-dev-server";
723
-
724
- const devServer = await createDevServer({
725
- spa: {
726
- templateEnv: {
727
- portal: {
728
- id: "dev-portal",
729
- },
730
- title: "My Test Dev Server",
731
- },
732
- },
733
- api: {
734
- serviceDiscoveryUrl: "https://location.of.your.service.discovery",
735
- processServices: (data, route) => {
736
- return {
737
- data: data.concat({
738
- key: "mock-service",
739
- name: "Mock Service",
740
- uri: "/mock-api",
741
- }),
742
- routes: [],
743
- };
744
- },
745
- },
746
- });
747
- ```
748
-
749
- _Using `createDevServerConfig`_
750
-
751
- ```ts
752
- import { createDevServerConfig } from "@equinor/fusion-framework-dev-server";
753
-
754
- const config = createDevServerConfig({
755
- spa: {
756
- templateEnv: { API_URL: "https://api.example.com" },
757
- },
758
- api: {
759
- serviceDiscoveryUrl: "https://discovery.example.com",
760
- routes: ["/api"],
761
- },
762
- });
763
- ```
764
-
765
- ### Patch Changes
766
-
767
- - [#3074](https://github.com/equinor/fusion-framework/pull/3074) [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13) Thanks [@odinr](https://github.com/odinr)! - update Vite to 6.3.5
768
-
769
- - [#3074](https://github.com/equinor/fusion-framework/pull/3074) [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13) Thanks [@odinr](https://github.com/odinr)! - exported UserConfig interface from vite
770
-
771
- - Updated dependencies [[`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13), [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13), [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13), [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13)]:
772
- - @equinor/fusion-framework-vite-plugin-spa@1.0.0-next.0
773
- - @equinor/fusion-framework-vite-plugin-api-service@1.0.0-next.0