@equinor/fusion-framework-vite-plugin-spa 3.1.11 → 3.1.12-next.0
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 +13 -35
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/html/bootstrap.js +10 -10
- package/dist/html/bootstrap.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/html/index.html.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -6
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @equinor/fusion-framework-vite-plugin-spa
|
|
2
2
|
|
|
3
|
+
## 3.1.12-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78)]:
|
|
10
|
+
- @equinor/fusion-framework-module-telemetry@4.6.5-next.0
|
|
11
|
+
- @equinor/fusion-framework-module-http@7.0.9-next.0
|
|
12
|
+
- @equinor/fusion-framework-module@5.0.7-next.0
|
|
13
|
+
- @equinor/fusion-framework-module-msal@7.3.2-next.0
|
|
14
|
+
- @equinor/fusion-framework-module-service-discovery@9.1.2-next.0
|
|
15
|
+
|
|
3
16
|
## 3.1.11
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -95,7 +108,6 @@
|
|
|
95
108
|
- [#3922](https://github.com/equinor/fusion-framework/pull/3922) [`d34ebd8`](https://github.com/equinor/fusion-framework/commit/d34ebd82c93acabc88f88e44a725f084af3af5ec) Thanks [@odinr](https://github.com/odinr)! - Enable AG Grid Enterprise license injection for the dev-portal by setting a global window key produced from the SPA template environment. The portal reads `window.FUSION_AG_GRID_KEY` to configure the AG Grid module and silence license warnings when a valid key is present. CLI docs now mention the license key setup.
|
|
96
109
|
|
|
97
110
|
**Usage:**
|
|
98
|
-
|
|
99
111
|
- In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
|
|
100
112
|
- The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
|
|
101
113
|
|
|
@@ -118,7 +130,6 @@
|
|
|
118
130
|
- [#3932](https://github.com/equinor/fusion-framework/pull/3932) [`15aaa87`](https://github.com/equinor/fusion-framework/commit/15aaa87e6a8b391c0672db0dcdca4c1cac3b50a7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: update rollup build dependency from 4.52.5 to 4.55.2.
|
|
119
131
|
|
|
120
132
|
This update includes:
|
|
121
|
-
|
|
122
133
|
- Improved circular dependency handling for manual chunks
|
|
123
134
|
- Enhanced tree-shaking for Symbol properties
|
|
124
135
|
- Performance improvements via variable name caching
|
|
@@ -175,7 +186,6 @@
|
|
|
175
186
|
### Patch Changes
|
|
176
187
|
|
|
177
188
|
- [#3714](https://github.com/equinor/fusion-framework/pull/3714) [`11fe961`](https://github.com/equinor/fusion-framework/commit/11fe961794e4960ccb987bc320268cc9b263f1f8) Thanks [@odinr](https://github.com/odinr)! - Fix MSAL v4 compatibility issues in SPA plugin.
|
|
178
|
-
|
|
179
189
|
- Update MSAL client configuration to use nested auth object structure
|
|
180
190
|
- Replace deprecated defaultAccount with account property
|
|
181
191
|
- Update acquireToken calls to use MSAL v4 request structure
|
|
@@ -213,20 +223,17 @@
|
|
|
213
223
|
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.
|
|
214
224
|
|
|
215
225
|
**Changes:**
|
|
216
|
-
|
|
217
226
|
- Updated Vite from v7.1.10 to v7.1.12
|
|
218
227
|
- Includes security fix for development server file system checks
|
|
219
228
|
- Includes compatibility fix for CommonJS plugin
|
|
220
229
|
- No breaking changes or API modifications
|
|
221
230
|
|
|
222
231
|
**Security Fix (v7.1.11):**
|
|
223
|
-
|
|
224
232
|
- **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
|
|
225
233
|
- Prevents potential path traversal vulnerability in development server
|
|
226
234
|
- Only affects development environment, not production builds
|
|
227
235
|
|
|
228
236
|
**Bug Fix (v7.1.12):**
|
|
229
|
-
|
|
230
237
|
- **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
|
|
231
238
|
- Improves compatibility with Rollup plugin ecosystem
|
|
232
239
|
- Prevents potential build issues
|
|
@@ -242,19 +249,16 @@
|
|
|
242
249
|
- [#3584](https://github.com/equinor/fusion-framework/pull/3584) [`0dd31cd`](https://github.com/equinor/fusion-framework/commit/0dd31cd1078b383ddab4a8cf1bb03d502e214715) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @rollup/plugin-node-resolve from 16.0.1 to 16.0.3
|
|
243
250
|
|
|
244
251
|
Bug fixes:
|
|
245
|
-
|
|
246
252
|
- fix: resolve bare targets of package "imports" using export maps; avoid fileURLToPath(null)
|
|
247
253
|
- fix: error thrown with empty entry
|
|
248
254
|
|
|
249
255
|
- [#3604](https://github.com/equinor/fusion-framework/pull/3604) [`31e2581`](https://github.com/equinor/fusion-framework/commit/31e2581fca2765dc7caf54f74db3db51020b53b7) Thanks [@odinr](https://github.com/odinr)! - Update SPA bootstrap telemetry configuration to use proper adapter identifiers.
|
|
250
256
|
|
|
251
257
|
**Changes:**
|
|
252
|
-
|
|
253
258
|
- Refactor console adapter setup for cleaner conditional logic
|
|
254
259
|
- Update setAdapter calls to include required identifier parameter
|
|
255
260
|
|
|
256
261
|
**Migration:**
|
|
257
|
-
|
|
258
262
|
- No breaking changes for SPA consumers - internal implementation update only
|
|
259
263
|
|
|
260
264
|
- Updated dependencies [[`6900d98`](https://github.com/equinor/fusion-framework/commit/6900d98142c84f4703095f8d03b09af57a1d7d2e), [`e1a94c5`](https://github.com/equinor/fusion-framework/commit/e1a94c5a1df4ac2ec92ed25b75648397a3dbfa7b), [`e1a94c5`](https://github.com/equinor/fusion-framework/commit/e1a94c5a1df4ac2ec92ed25b75648397a3dbfa7b), [`31e2581`](https://github.com/equinor/fusion-framework/commit/31e2581fca2765dc7caf54f74db3db51020b53b7), [`0bc6b38`](https://github.com/equinor/fusion-framework/commit/0bc6b38e61c98a2f9dea7b55fa9983f268f860be), [`a13de68`](https://github.com/equinor/fusion-framework/commit/a13de68b2f196a779ea850af055d8db7926941ce)]:
|
|
@@ -273,7 +277,6 @@
|
|
|
273
277
|
Previously, the plugin was using direct `.pathname` access on URL objects which could cause issues on Windows due to path separator differences. This change replaces the direct pathname access with `fileURLToPath()` and `normalizePath()` from Vite to ensure proper cross-platform path handling.
|
|
274
278
|
|
|
275
279
|
**Changes:**
|
|
276
|
-
|
|
277
280
|
- Import `normalizePath` from Vite for consistent path normalization
|
|
278
281
|
- Use `fileURLToPath()` to properly convert file URLs to paths
|
|
279
282
|
- Apply `normalizePath()` to ensure consistent path separators across platforms
|
|
@@ -287,7 +290,6 @@
|
|
|
287
290
|
- [#3579](https://github.com/equinor/fusion-framework/pull/3579) [`b6a64d9`](https://github.com/equinor/fusion-framework/commit/b6a64d94bad7248c06b3aa7d65d7d698052437c7) Thanks [@Noggling](https://github.com/Noggling)! - Add peer dependencies to SPA Vite plugin
|
|
288
291
|
|
|
289
292
|
Added peer dependencies to ensure proper dependency resolution for the SPA Vite plugin. This change declares the Fusion Framework modules that the plugin expects to be available in the consuming application:
|
|
290
|
-
|
|
291
293
|
- `@equinor/fusion-framework-module`
|
|
292
294
|
- `@equinor/fusion-framework-module-http`
|
|
293
295
|
- `@equinor/fusion-framework-module-msal`
|
|
@@ -301,7 +303,6 @@
|
|
|
301
303
|
### Minor Changes
|
|
302
304
|
|
|
303
305
|
- [#3547](https://github.com/equinor/fusion-framework/pull/3547) [`99a3c26`](https://github.com/equinor/fusion-framework/commit/99a3c26275c2089c3708124f5819ce383d8dc3dc) Thanks [@odinr](https://github.com/odinr)! - Enhanced SPA plugin with portal proxy support for testing apps in real portal environments ([Issue #3546](https://github.com/equinor/fusion-framework/issues/3546)).
|
|
304
|
-
|
|
305
306
|
- Added `proxy` option to portal configuration to enable `/portal-proxy` routing
|
|
306
307
|
- Added `FUSION_SPA_PORTAL_PROXY` environment variable support
|
|
307
308
|
- Updated TypeScript types to include portal proxy configuration
|
|
@@ -327,7 +328,6 @@
|
|
|
327
328
|
### Patch Changes
|
|
328
329
|
|
|
329
330
|
- [#3490](https://github.com/equinor/fusion-framework/pull/3490) [`45954e5`](https://github.com/equinor/fusion-framework/commit/45954e5db471a2faa24e88e41fc6d6c18817d6d1) Thanks [@odinr](https://github.com/odinr)! - Remove logger level configuration from bootstrap template.
|
|
330
|
-
|
|
331
331
|
- Removed `configurator.logger.level` assignment from `bootstrap.ts`
|
|
332
332
|
- Logger level configuration should be handled elsewhere or is no longer needed
|
|
333
333
|
|
|
@@ -338,7 +338,6 @@
|
|
|
338
338
|
This patch update fixes bugs and improves stability in the vite dependency.
|
|
339
339
|
|
|
340
340
|
- [#3521](https://github.com/equinor/fusion-framework/pull/3521) [`d1098f7`](https://github.com/equinor/fusion-framework/commit/d1098f7eeff04380c9e05e4a7a7d6b16e1d95884) Thanks [@odinr](https://github.com/odinr)! - Add comprehensive telemetry integration to SPA bootstrap and service worker.
|
|
341
|
-
|
|
342
341
|
- Enable telemetry in SPA bootstrap with ConsoleAdapter
|
|
343
342
|
- Add configurable console logging levels via FUSION_SPA_TELEMETRY_CONSOLE_LEVEL environment variable
|
|
344
343
|
- Track bootstrap performance for portal loading operations
|
|
@@ -348,7 +347,6 @@
|
|
|
348
347
|
- Fix console level filtering logic to properly respect environment variable settings
|
|
349
348
|
|
|
350
349
|
**Implementation Notes:**
|
|
351
|
-
|
|
352
350
|
- Console level filtering defaults to `TelemetryLevel.Information` (1) when env var not set
|
|
353
351
|
- Invalid env var values fallback to logging all telemetry (robust error handling)
|
|
354
352
|
- Backward compatible: existing behavior unchanged when no FUSION_SPA_TELEMETRY_CONSOLE_LEVEL specified
|
|
@@ -361,7 +359,6 @@
|
|
|
361
359
|
### Patch Changes
|
|
362
360
|
|
|
363
361
|
- [`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.
|
|
364
|
-
|
|
365
362
|
- Changed workspace dependencies from `workspace:^` to `workspace:*` across CLI, dev-server, and SPA vite plugin packages
|
|
366
363
|
- Ensures exact version resolution within the monorepo for predictable builds and releases
|
|
367
364
|
- Affects both dependencies and devDependencies where applicable
|
|
@@ -375,19 +372,16 @@
|
|
|
375
372
|
**Problem**: During hard refresh, the service worker would not intercept fetch requests, causing authenticated API requests to fail. The service worker could be stuck in "waiting" state or already active but not controlling the page (`navigator.serviceWorker.controller` was `undefined`).
|
|
376
373
|
|
|
377
374
|
**Root Cause**: Two related issues in the service worker lifecycle during hard refresh:
|
|
378
|
-
|
|
379
375
|
1. **Waiting state**: When code changes, the new service worker enters "waiting" state, but `skipWaiting()` only runs in the `install` event (which already fired)
|
|
380
376
|
2. **No controller**: Even when active, `clients.claim()` only runs in the `activate` event, which doesn't fire again if the service worker is already active
|
|
381
377
|
|
|
382
378
|
**Solution**:
|
|
383
|
-
|
|
384
379
|
- **Force activation on config receipt**: When receiving `INIT_CONFIG`, immediately call both `skipWaiting()` and `clients.claim()` to ensure the service worker activates and takes control regardless of its current state
|
|
385
380
|
- **Wait for controller**: Registration now waits for `navigator.serviceWorker.controller` to be set before proceeding, ensuring fetch interception is ready
|
|
386
381
|
- **Disable service worker caching**: Added `updateViaCache: 'none'` to always fetch fresh service worker code during development
|
|
387
382
|
- **Comprehensive state handling**: Handle service workers in installing, waiting, and active states
|
|
388
383
|
|
|
389
384
|
**Changes**:
|
|
390
|
-
|
|
391
385
|
1. **sw.ts**: Call `skipWaiting()` and `clients.claim()` when receiving `INIT_CONFIG` message
|
|
392
386
|
2. **register-service-worker.ts**: Wait for controller with polling and timeout fallback; disable service worker HTTP caching
|
|
393
387
|
|
|
@@ -411,7 +405,6 @@
|
|
|
411
405
|
- [#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
|
|
412
406
|
|
|
413
407
|
Major version update of Vite build tool across all packages. This update includes:
|
|
414
|
-
|
|
415
408
|
- Enhanced build performance and caching
|
|
416
409
|
- Better error reporting with code frames
|
|
417
410
|
- Improved TypeScript integration
|
|
@@ -419,7 +412,6 @@
|
|
|
419
412
|
- New development server features
|
|
420
413
|
|
|
421
414
|
### Links
|
|
422
|
-
|
|
423
415
|
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
424
416
|
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
425
417
|
|
|
@@ -428,7 +420,6 @@
|
|
|
428
420
|
### Patch Changes
|
|
429
421
|
|
|
430
422
|
- [#3381](https://github.com/equinor/fusion-framework/pull/3381) [`bae9c95`](https://github.com/equinor/fusion-framework/commit/bae9c9554f335d0384b864436874bded47d00ed8) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update rollup from 4.49.0 to 4.50.2
|
|
431
|
-
|
|
432
423
|
- Updated rollup dependency via vite transitive dependency
|
|
433
424
|
- Includes bug fixes for tree-shaking array destructuring patterns
|
|
434
425
|
- Performance improvements and platform support updates
|
|
@@ -437,7 +428,6 @@
|
|
|
437
428
|
- [#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.
|
|
438
429
|
|
|
439
430
|
## Breaking Changes
|
|
440
|
-
|
|
441
431
|
- **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
|
|
442
432
|
- **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
|
|
443
433
|
- **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
|
|
@@ -445,18 +435,15 @@
|
|
|
445
435
|
- **TypeScript Support**: Enhanced TypeScript integration and type definitions
|
|
446
436
|
|
|
447
437
|
## Security Updates
|
|
448
|
-
|
|
449
438
|
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
|
|
450
439
|
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
|
|
451
440
|
|
|
452
441
|
## Migration Notes
|
|
453
|
-
|
|
454
442
|
- Test snapshots may need regeneration due to quote format changes
|
|
455
443
|
- Some test configurations might need updates for new TypeScript support
|
|
456
444
|
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
|
|
457
445
|
|
|
458
446
|
## Links
|
|
459
|
-
|
|
460
447
|
- [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
|
|
461
448
|
- [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
462
449
|
|
|
@@ -471,7 +458,6 @@
|
|
|
471
458
|
This plugin represents a strategic modularization of the Fusion Framework CLI codebase. By extracting the SPA functionality into its own dedicated package, we've simplified the CLI's architecture while enabling greater flexibility. This modular design allows the SPA component to be replaced or reused by third-party developers independently of the CLI. The primary goal is to maintain a cleaner, more maintainable codebase through proper separation of concerns, with the CLI using this plugin rather than containing this functionality directly.
|
|
472
459
|
|
|
473
460
|
**Key Features**:
|
|
474
|
-
|
|
475
461
|
- **Fusion Framework Bootstrap**: Automatically initializes core modules and renders configured portals
|
|
476
462
|
- **Service Discovery**: Enables dynamic service routing and eliminates hardcoded service endpoints
|
|
477
463
|
- **MSAL Authentication**: Provides seamless Azure AD integration with configurable authentication flows
|
|
@@ -499,7 +485,6 @@
|
|
|
499
485
|
### Patch Changes
|
|
500
486
|
|
|
501
487
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`5973182`](https://github.com/equinor/fusion-framework/commit/5973182b156adb56137f1fc683635ae15274cc57) Thanks [@odinr](https://github.com/odinr)! - Update portal config and manifest API routes and types for consistency:
|
|
502
|
-
|
|
503
488
|
- Change dev server API route for portal manifest/config from `/portals/portals/...` to `/portal-config/portals/...` for alignment with client usage.
|
|
504
489
|
- Make portal config optional in dev server route and type definitions.
|
|
505
490
|
- Update SPA bootstrap to use `portal-config` as the service discovery client key.
|
|
@@ -513,7 +498,6 @@
|
|
|
513
498
|
### Patch Changes
|
|
514
499
|
|
|
515
500
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`23fdc8a`](https://github.com/equinor/fusion-framework/commit/23fdc8a80d21ff063b17d8c596c0afc0a891305f) Thanks [@odinr](https://github.com/odinr)! - Fix dependency and devDependency declarations for lodash.mergewith:
|
|
516
|
-
|
|
517
501
|
- Move "lodash.mergewith" to dependencies and ensure correct version for @types/lodash.mergewith in devDependencies.
|
|
518
502
|
- Remove duplicate and misplaced entries for lodash.mergewith and its types.
|
|
519
503
|
- Remove unused @equinor/fusion-framework-vite-plugin-api-service from devDependencies.
|
|
@@ -526,7 +510,6 @@
|
|
|
526
510
|
### Patch Changes
|
|
527
511
|
|
|
528
512
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`713cb15`](https://github.com/equinor/fusion-framework/commit/713cb15c5f1607e7f7285940a58165d97d8e41df) Thanks [@odinr](https://github.com/odinr)! - Refactor plugin internals for improved Vite compatibility and maintainability:
|
|
529
|
-
|
|
530
513
|
- Made `resolveId` and `config` hooks async to support dynamic import resolution for virtual modules.
|
|
531
514
|
- Improved resource alias resolution for `/@fusion-spa-bootstrap.js` and `/@fusion-spa-sw.js` using `import.meta.resolve` and `fileURLToPath`.
|
|
532
515
|
- Enhanced environment variable handling by merging plugin and loaded environments, and defining them on `config.define`.
|
|
@@ -538,7 +521,6 @@
|
|
|
538
521
|
### Minor Changes
|
|
539
522
|
|
|
540
523
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`ea96493`](https://github.com/equinor/fusion-framework/commit/ea96493d95336f682e31a7b63161783ae7c99a63) Thanks [@odinr](https://github.com/odinr)! - Refactor build output and entrypoints for SPA Vite plugin:
|
|
541
|
-
|
|
542
524
|
- Change main export entrypoint to `./dist/bin/index.js` (was `./dist/esm/index.js`).
|
|
543
525
|
- Remove the `./html` export subpath.
|
|
544
526
|
- Update Rollup config to bundle from `dist/esm` to `dist/bin` and adjust input/output accordingly.
|
|
@@ -552,7 +534,6 @@
|
|
|
552
534
|
### Patch Changes
|
|
553
535
|
|
|
554
536
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8870e73`](https://github.com/equinor/fusion-framework/commit/8870e73bd6d4141142c69c11c67b5b154bc80023) Thanks [@odinr](https://github.com/odinr)! - Update build system and dependencies:
|
|
555
|
-
|
|
556
537
|
- Switch build script to use Rollup with a new `rollup.config.js` for ESM output
|
|
557
538
|
- Add postbuild script to emit TypeScript declarations
|
|
558
539
|
- Move all dependencies to devDependencies for clarity
|
|
@@ -608,7 +589,6 @@
|
|
|
608
589
|
This plugin enables building single-page applications (SPAs) with Vite. It provides features such as service discovery, MSAL authentication, and service worker configuration.
|
|
609
590
|
|
|
610
591
|
**Features**:
|
|
611
|
-
|
|
612
592
|
- **Service Discovery**: Fetch service discovery configurations and authenticate requests.
|
|
613
593
|
- **MSAL Authentication**: Authenticate users with Azure AD.
|
|
614
594
|
- **Service Worker**: Intercept fetch requests, apply authentication headers, and rewrite URLs.
|
|
@@ -657,7 +637,6 @@
|
|
|
657
637
|
```
|
|
658
638
|
|
|
659
639
|
**Additional Details**:
|
|
660
|
-
|
|
661
640
|
- **Custom Bootstrap**: Allows defining custom bootloader scripts.
|
|
662
641
|
- **Dynamic Proxy**: Supports dynamic proxy services using `@equinor/fusion-framework-vite-plugin-api-service`.
|
|
663
642
|
- **Environment Variables**: Automatically maps `.env` variables to `import.meta.env`.
|
|
@@ -667,7 +646,6 @@
|
|
|
667
646
|
### Patch Changes
|
|
668
647
|
|
|
669
648
|
- [#3074](https://github.com/equinor/fusion-framework/pull/3074) [`6b034e5`](https://github.com/equinor/fusion-framework/commit/6b034e5459094cea0c0f2490335eef3092390a13) Thanks [@odinr](https://github.com/odinr)! - Fetch and pass portal config to portal render function in bootstrap.ts
|
|
670
|
-
|
|
671
649
|
- The SPA bootstrap script now fetches the portal config from `/portals/{portalId}@{portalTag}/config` and passes it as `config` to the portal's render function.
|
|
672
650
|
- This enables portals to receive their runtime configuration directly at startup.
|
|
673
651
|
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC"}
|
package/dist/html/bootstrap.js
CHANGED
|
@@ -153,8 +153,8 @@ function requireRe () {
|
|
|
153
153
|
|
|
154
154
|
// ## Pre-release Version Identifier
|
|
155
155
|
// A numeric identifier, or a non-numeric identifier.
|
|
156
|
-
// Non-
|
|
157
|
-
// Therefore non-
|
|
156
|
+
// Non-numberic identifiers include numberic identifiers but can be longer.
|
|
157
|
+
// Therefore non-numberic identifiers must go first.
|
|
158
158
|
|
|
159
159
|
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
|
|
160
160
|
}|${src[t.NUMERICIDENTIFIER]})`);
|
|
@@ -850,7 +850,7 @@ function requireDiff () {
|
|
|
850
850
|
return prefix + 'patch'
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
// high and low are
|
|
853
|
+
// high and low are preleases
|
|
854
854
|
return 'prerelease'
|
|
855
855
|
};
|
|
856
856
|
|
|
@@ -2409,7 +2409,7 @@ function requireSubset () {
|
|
|
2409
2409
|
// - If LT
|
|
2410
2410
|
// - If LT.semver is greater than any < or <= comp in C, return false
|
|
2411
2411
|
// - If LT is <=, and LT.semver does not satisfy every C, return false
|
|
2412
|
-
// - If
|
|
2412
|
+
// - If GT.semver has a prerelease, and not in prerelease mode
|
|
2413
2413
|
// - If no C has a prerelease and the LT.semver tuple, return false
|
|
2414
2414
|
// - Else return true
|
|
2415
2415
|
|
|
@@ -5294,7 +5294,7 @@ class BaseModuleProvider {
|
|
|
5294
5294
|
}
|
|
5295
5295
|
|
|
5296
5296
|
// Generated by genversion.
|
|
5297
|
-
const version$8 = '5.0.
|
|
5297
|
+
const version$8 = '5.0.7-next.0';
|
|
5298
5298
|
|
|
5299
5299
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5300
5300
|
/**
|
|
@@ -20714,7 +20714,7 @@ class HttpClientConfigurator {
|
|
|
20714
20714
|
}
|
|
20715
20715
|
|
|
20716
20716
|
// Generated by genversion.
|
|
20717
|
-
const version$6 = '7.0.
|
|
20717
|
+
const version$6 = '7.0.9-next.0';
|
|
20718
20718
|
|
|
20719
20719
|
/**
|
|
20720
20720
|
* Exception thrown when a client cannot be found.
|
|
@@ -23158,7 +23158,7 @@ class TelemetryConfigurator extends BaseConfigBuilder {
|
|
|
23158
23158
|
}
|
|
23159
23159
|
|
|
23160
23160
|
// Generated by genversion.
|
|
23161
|
-
const version$5 = '4.6.
|
|
23161
|
+
const version$5 = '4.6.5-next.0';
|
|
23162
23162
|
|
|
23163
23163
|
/**
|
|
23164
23164
|
* Enum representing the severity levels of telemetry items.
|
|
@@ -40555,7 +40555,7 @@ const createClientLogCallback = (provider, metadata, scope) => {
|
|
|
40555
40555
|
};
|
|
40556
40556
|
|
|
40557
40557
|
// Generated by genversion.
|
|
40558
|
-
const version$2 = '7.3.
|
|
40558
|
+
const version$2 = '7.3.2-next.0';
|
|
40559
40559
|
|
|
40560
40560
|
/**
|
|
40561
40561
|
* Zod schema for telemetry configuration validation.
|
|
@@ -44534,7 +44534,7 @@ class ServiceDiscoveryConfigurator extends BaseConfigBuilder {
|
|
|
44534
44534
|
}
|
|
44535
44535
|
|
|
44536
44536
|
// Generated by genversion.
|
|
44537
|
-
const version$1 = '9.1.
|
|
44537
|
+
const version$1 = '9.1.2-next.0';
|
|
44538
44538
|
|
|
44539
44539
|
class ServiceDiscoveryProvider extends BaseModuleProvider {
|
|
44540
44540
|
config;
|
|
@@ -45053,7 +45053,7 @@ async function registerServiceWorker(framework) {
|
|
|
45053
45053
|
}
|
|
45054
45054
|
|
|
45055
45055
|
// Generated by genversion.
|
|
45056
|
-
const version = '3.1.
|
|
45056
|
+
const version = '3.1.12-next.0';
|
|
45057
45057
|
|
|
45058
45058
|
// Allow dynamic import without vite
|
|
45059
45059
|
const importWithoutVite = (path) => import(/* @vite-ignore */ path);
|