@equinor/fusion-framework-dev-portal 4.0.3 → 5.0.0-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 +60 -31
- package/dist/main.js +54366 -46241
- package/package.json +48 -31
- package/src/ContextSelector/ContextSelector.tsx +3 -3
- package/src/EquinorLoader.tsx +1 -1
- package/src/config.ts +10 -2
- package/src/version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
# @equinor/fusion-framework-dev-portal
|
|
2
2
|
|
|
3
|
+
## 5.0.0-next.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`fa89ed8`](https://github.com/equinor/fusion-framework/commit/fa89ed8aeed919950ef6a6775e60eb6904ec7946) Thanks [@odinr](https://github.com/odinr)! - Update EDS (Equinor Design System) packages to latest versions: `@equinor/eds-core-react` to ^2.2.0, `@equinor/eds-icons` to ^1.1.0, `@equinor/eds-tokens` to ^2.1.1, and `@equinor/eds-utils` to ^2.0.0.
|
|
8
|
+
|
|
9
|
+
These are major version updates from the 0.x series. Consumers should verify compatibility with their applications, particularly if using `@equinor/fusion-react-side-sheet` which may require updates to support the new EDS versions.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78), [`fa89ed8`](https://github.com/equinor/fusion-framework/commit/fa89ed8aeed919950ef6a6775e60eb6904ec7946)]:
|
|
16
|
+
- @equinor/fusion-framework-react-components-people-provider@1.6.4-next.0
|
|
17
|
+
- @equinor/fusion-framework-react-components-bookmark@1.2.0-next.0
|
|
18
|
+
- @equinor/fusion-framework-react-module-bookmark@5.0.3-next.0
|
|
19
|
+
- @equinor/fusion-framework-module-feature-flag@1.1.29-next.0
|
|
20
|
+
- @equinor/fusion-framework-module-navigation@7.0.0-next.2
|
|
21
|
+
- @equinor/fusion-framework-module-telemetry@4.6.5-next.0
|
|
22
|
+
- @equinor/fusion-observable@8.5.9-next.0
|
|
23
|
+
- @equinor/fusion-framework-react@7.4.21-next.0
|
|
24
|
+
- @equinor/fusion-framework-module-app@7.4.2-next.0
|
|
25
|
+
- @equinor/fusion-query@6.0.5-next.0
|
|
26
|
+
- @equinor/fusion-framework-app@10.4.10-next.0
|
|
27
|
+
- @equinor/fusion-framework-dev-server@1.1.32-next.0
|
|
28
|
+
- @equinor/fusion-framework@7.4.14-next.0
|
|
29
|
+
- @equinor/fusion-framework-module-ag-grid@35.1.0-next.0
|
|
30
|
+
- @equinor/fusion-framework-module-bookmark@3.0.7-next.0
|
|
31
|
+
- @equinor/fusion-framework-module-context@7.0.4-next.0
|
|
32
|
+
- @equinor/fusion-framework-module-services@7.2.2-next.0
|
|
33
|
+
- @equinor/fusion-framework-module-analytics@1.0.3-next.0
|
|
34
|
+
|
|
35
|
+
## 4.0.4
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- [#4100](https://github.com/equinor/fusion-framework/pull/4100) [`9d4d520`](https://github.com/equinor/fusion-framework/commit/9d4d520e9d3c3a3c4ef68a96952fbbc6f6d34720) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: rebuild the CLI, dev portal, and SPA plugin with Rollup 4.59.0 to address a security advisory affecting packaged build output. No public API changes.
|
|
40
|
+
|
|
41
|
+
- [#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.
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [[`6aa8e1f`](https://github.com/equinor/fusion-framework/commit/6aa8e1f5c9d852b25e97aa7d98a63008c64d4581), [`390b1b3`](https://github.com/equinor/fusion-framework/commit/390b1b3f014a8af9900a6589911f65f068a1e9c0)]:
|
|
44
|
+
- @equinor/fusion-framework-app@10.4.9
|
|
45
|
+
- @equinor/fusion-framework-dev-server@1.1.31
|
|
46
|
+
- @equinor/fusion-framework@7.4.13
|
|
47
|
+
- @equinor/fusion-framework-module-ag-grid@35.0.2
|
|
48
|
+
- @equinor/fusion-framework-module-analytics@1.0.2
|
|
49
|
+
- @equinor/fusion-framework-module-app@7.4.1
|
|
50
|
+
- @equinor/fusion-framework-module-bookmark@3.0.6
|
|
51
|
+
- @equinor/fusion-framework-module-context@7.0.3
|
|
52
|
+
- @equinor/fusion-framework-module-feature-flag@1.1.28
|
|
53
|
+
- @equinor/fusion-framework-module-navigation@6.0.1
|
|
54
|
+
- @equinor/fusion-framework-module-services@7.2.1
|
|
55
|
+
- @equinor/fusion-framework-module-telemetry@4.6.4
|
|
56
|
+
- @equinor/fusion-framework-react-components-bookmark@1.1.3
|
|
57
|
+
- @equinor/fusion-framework-react-components-people-provider@1.6.3
|
|
58
|
+
- @equinor/fusion-framework-react@7.4.20
|
|
59
|
+
- @equinor/fusion-framework-react-module-bookmark@5.0.2
|
|
60
|
+
- @equinor/fusion-observable@8.5.8
|
|
61
|
+
- @equinor/fusion-query@6.0.4
|
|
62
|
+
|
|
3
63
|
## 4.0.3
|
|
4
64
|
|
|
5
65
|
### Patch Changes
|
|
@@ -116,7 +176,6 @@
|
|
|
116
176
|
- [#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.
|
|
117
177
|
|
|
118
178
|
**Usage:**
|
|
119
|
-
|
|
120
179
|
- In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
|
|
121
180
|
- The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
|
|
122
181
|
|
|
@@ -154,20 +213,17 @@
|
|
|
154
213
|
## New Features
|
|
155
214
|
|
|
156
215
|
### App Tag/Version Support
|
|
157
|
-
|
|
158
216
|
- **App Client**: Added `getAppBuild` method to fetch build manifests by app key and tag
|
|
159
217
|
- **App Module Provider**: Enhanced `getAppManifest` to accept optional tag parameter
|
|
160
218
|
- **App Loading**: Modified `setCurrentApp` to support `AppReference` objects with tag specification
|
|
161
219
|
- **URL Integration**: Added `getAppTagFromUrl` utility to extract app tags from URL parameters
|
|
162
220
|
|
|
163
221
|
### Enhanced Type System
|
|
164
|
-
|
|
165
222
|
- Added `AppReference` type for specifying app key and optional tag
|
|
166
223
|
- Extended `AppBundleState` to include optional `tag` property
|
|
167
224
|
- Updated `AppBuildManifest` type definition for build-specific metadata
|
|
168
225
|
|
|
169
226
|
### API Improvements
|
|
170
|
-
|
|
171
227
|
- **AppClient**: Updated interface to support tag-based manifest and build fetching
|
|
172
228
|
- **App Class**: Added `tag` getter property for accessing current app tag
|
|
173
229
|
- **Action System**: Enhanced `fetchManifest` action to handle tag parameters
|
|
@@ -175,7 +231,6 @@
|
|
|
175
231
|
## Changes by Package
|
|
176
232
|
|
|
177
233
|
### `@equinor/fusion-framework-module-app`
|
|
178
|
-
|
|
179
234
|
- **AppClient.ts**: Added `getAppBuild` method with tag support and updated `getAppManifest` signature
|
|
180
235
|
- **AppModuleProvider.ts**: Enhanced `setCurrentApp` method to handle `AppReference` objects with tags
|
|
181
236
|
- **App.ts**: Added `tag` getter and improved error handling in initialization
|
|
@@ -184,7 +239,6 @@
|
|
|
184
239
|
- **flows.ts**: Modified manifest fetching flow to handle tag-based requests
|
|
185
240
|
|
|
186
241
|
### `@equinor/fusion-framework-dev-portal`
|
|
187
|
-
|
|
188
242
|
- **AppLoader.tsx**: Added `getAppTagFromUrl` utility function and integrated tag-based app loading
|
|
189
243
|
|
|
190
244
|
## Usage Examples
|
|
@@ -217,17 +271,14 @@
|
|
|
217
271
|
## Migration Guide
|
|
218
272
|
|
|
219
273
|
### For App Consumers
|
|
220
|
-
|
|
221
274
|
- No breaking changes - existing code continues to work
|
|
222
275
|
- Optionally use new tag-based loading for version-specific deployments
|
|
223
276
|
|
|
224
277
|
### For App Developers
|
|
225
|
-
|
|
226
278
|
- Consider adding `&tag` URL parameter support for testing different versions
|
|
227
279
|
- Use new `AppReference` type when programmatically setting current apps with tags
|
|
228
280
|
|
|
229
281
|
## Technical Details
|
|
230
|
-
|
|
231
282
|
- **Backward Compatibility**: All changes are backward compatible
|
|
232
283
|
- **Caching**: Tag-based manifests and builds are cached separately
|
|
233
284
|
- **Error Handling**: Enhanced error handling for build and manifest loading failures
|
|
@@ -253,20 +304,17 @@
|
|
|
253
304
|
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.
|
|
254
305
|
|
|
255
306
|
**Changes:**
|
|
256
|
-
|
|
257
307
|
- Updated Vite from v7.1.10 to v7.1.12
|
|
258
308
|
- Includes security fix for development server file system checks
|
|
259
309
|
- Includes compatibility fix for CommonJS plugin
|
|
260
310
|
- No breaking changes or API modifications
|
|
261
311
|
|
|
262
312
|
**Security Fix (v7.1.11):**
|
|
263
|
-
|
|
264
313
|
- **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
|
|
265
314
|
- Prevents potential path traversal vulnerability in development server
|
|
266
315
|
- Only affects development environment, not production builds
|
|
267
316
|
|
|
268
317
|
**Bug Fix (v7.1.12):**
|
|
269
|
-
|
|
270
318
|
- **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
|
|
271
319
|
- Improves compatibility with Rollup plugin ecosystem
|
|
272
320
|
- Prevents potential build issues
|
|
@@ -286,12 +334,10 @@
|
|
|
286
334
|
### Patch Changes
|
|
287
335
|
|
|
288
336
|
- [#3542](https://github.com/equinor/fusion-framework/pull/3542) [`2d4fd18`](https://github.com/equinor/fusion-framework/commit/2d4fd18394e8545b4616140a93a369d5ae77ccbc) Thanks [@eikeland](https://github.com/eikeland)! - Updated person component dependencies for improved functionality and bug fixes.
|
|
289
|
-
|
|
290
337
|
- Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
|
|
291
338
|
- Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
|
|
292
339
|
|
|
293
340
|
- [#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 dev-portal with portal proxy service worker configuration ([Issue #3546](https://github.com/equinor/fusion-framework/issues/3546)).
|
|
294
|
-
|
|
295
341
|
- Added `/portal-proxy` service worker resource configuration in dev-server.ts
|
|
296
342
|
- Routes portal proxy requests to Fusion portal service API (`/@fusion-api/portals`)
|
|
297
343
|
- Enables portal proxy functionality for testing against real portal environments
|
|
@@ -305,14 +351,12 @@
|
|
|
305
351
|
- [#3522](https://github.com/equinor/fusion-framework/pull/3522) [`63ac6a1`](https://github.com/equinor/fusion-framework/commit/63ac6a1178fc6f6b0702f51a9c36a67db76b92cd) Thanks [@odinr](https://github.com/odinr)! - Add comprehensive telemetry integration to the Fusion Dev Portal.
|
|
306
352
|
|
|
307
353
|
**New Features:**
|
|
308
|
-
|
|
309
354
|
- Enable telemetry tracking for portal usage analytics and monitoring
|
|
310
355
|
- Configure portal-specific metadata including version and name identification
|
|
311
356
|
- Set up telemetry event scoping for portal-specific tracking
|
|
312
357
|
- Attach framework configurator events for comprehensive telemetry coverage
|
|
313
358
|
|
|
314
359
|
**Technical Implementation:**
|
|
315
|
-
|
|
316
360
|
- Integrate `@equinor/fusion-framework-module-telemetry` module
|
|
317
361
|
- Configure telemetry with portal metadata (`type: 'portal-telemetry'`)
|
|
318
362
|
- Set default scope to `['portal']` for event categorization
|
|
@@ -320,7 +364,6 @@
|
|
|
320
364
|
- Add TypeScript path references for telemetry module
|
|
321
365
|
|
|
322
366
|
**Configuration Updates:**
|
|
323
|
-
|
|
324
367
|
- Enhanced `config.ts` with detailed telemetry setup and documentation
|
|
325
368
|
- Updated dependency versions to use `workspace:*` for better monorepo compatibility
|
|
326
369
|
- Improved code documentation and developer experience features
|
|
@@ -332,14 +375,12 @@
|
|
|
332
375
|
- [#3515](https://github.com/equinor/fusion-framework/pull/3515) [`6cb288b`](https://github.com/equinor/fusion-framework/commit/6cb288b9e1ec4fae68ae6899735c176837bb4275) Thanks [@odinr](https://github.com/odinr)! - ## Global Biome Configuration Modernization
|
|
333
376
|
|
|
334
377
|
**Workspace-wide changes:**
|
|
335
|
-
|
|
336
378
|
- Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
|
|
337
379
|
- Enable `correctness/useUniqueElementIds` accessibility rule globally
|
|
338
380
|
- Reduce configuration size by 40% (60+ → ~35 lines)
|
|
339
381
|
- Eliminate all custom linting rule customizations
|
|
340
382
|
|
|
341
383
|
**Package-specific changes:**
|
|
342
|
-
|
|
343
384
|
- Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
|
|
344
385
|
- Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
|
|
345
386
|
- Update 11 React components for accessibility compliance
|
|
@@ -386,7 +427,6 @@
|
|
|
386
427
|
- [#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
|
|
387
428
|
|
|
388
429
|
Major version update of Vite build tool across all packages. This update includes:
|
|
389
|
-
|
|
390
430
|
- Enhanced build performance and caching
|
|
391
431
|
- Better error reporting with code frames
|
|
392
432
|
- Improved TypeScript integration
|
|
@@ -394,14 +434,12 @@
|
|
|
394
434
|
- New development server features
|
|
395
435
|
|
|
396
436
|
### Links
|
|
397
|
-
|
|
398
437
|
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
399
438
|
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
400
439
|
|
|
401
440
|
### Patch Changes
|
|
402
441
|
|
|
403
442
|
- [#3365](https://github.com/equinor/fusion-framework/pull/3365) [`6eeef2f`](https://github.com/equinor/fusion-framework/commit/6eeef2f2033dfacf7c972295c8c2cc2d4cd83976) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated @equinor/eds-tokens from 0.9.2 to 0.10.0
|
|
404
|
-
|
|
405
443
|
- Added support for CSS custom properties via variables-static.css and variables-dynamic.css
|
|
406
444
|
- Improved design token integration for better CSS compatibility
|
|
407
445
|
- Updated dependencies and internal tooling (pnpm v10, node v22)
|
|
@@ -411,7 +449,6 @@
|
|
|
411
449
|
- [#3400](https://github.com/equinor/fusion-framework/pull/3400) [`aed6c53`](https://github.com/equinor/fusion-framework/commit/aed6c5385df496a86d06dc0af9dacafc255ea605) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump @equinor/eds-core-react from 0.45.1 to 0.49.0
|
|
412
450
|
|
|
413
451
|
### New Features
|
|
414
|
-
|
|
415
452
|
- ✨ Always show "add new option" in Autocomplete when onAddNewOption is provided
|
|
416
453
|
- ✨ Tabs call onChange with provided value if present
|
|
417
454
|
- ✨ Add disabled prop to Tooltip
|
|
@@ -419,7 +456,6 @@
|
|
|
419
456
|
- ✨ Add support for adding new options in Autocomplete
|
|
420
457
|
|
|
421
458
|
### Bug Fixes
|
|
422
|
-
|
|
423
459
|
- 🐛 Autocomplete - Don't call onOptionsChange when clicking "Add new"
|
|
424
460
|
- 🐛 Table - Fix Firefox table header wrapping issue
|
|
425
461
|
- 🐛 Tabs documentation type mismatch - update onChange parameter from number to number | string
|
|
@@ -431,28 +467,24 @@
|
|
|
431
467
|
- 🐛 Menu: Ensure onClose is called when a MenuItem without onClick is clicked
|
|
432
468
|
|
|
433
469
|
### Links
|
|
434
|
-
|
|
435
470
|
- [GitHub releases](https://github.com/equinor/design-system/releases/tag/eds-core-react%400.49.0)
|
|
436
471
|
- [npm changelog](https://www.npmjs.com/package/@equinor/eds-core-react?activeTab=versions)
|
|
437
472
|
|
|
438
473
|
- [#3366](https://github.com/equinor/fusion-framework/pull/3366) [`daa362e`](https://github.com/equinor/fusion-framework/commit/daa362e7d92ad362e46d666c434d0f09687abad5) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update @equinor/eds-core-react from 0.48.0 to 0.49.0
|
|
439
474
|
|
|
440
475
|
### Changes
|
|
441
|
-
|
|
442
476
|
- Updated @equinor/eds-core-react dependency to latest version across all packages
|
|
443
477
|
- Fixed peerDependencies version mismatch in bookmark package
|
|
444
478
|
- Includes bug fixes for Autocomplete and Table components
|
|
445
479
|
- Adds new Autocomplete features for "add new option" functionality
|
|
446
480
|
|
|
447
481
|
### Affected Packages
|
|
448
|
-
|
|
449
482
|
- packages/dev-portal
|
|
450
483
|
- packages/react/components/bookmark
|
|
451
484
|
- cookbooks/app-react-feature-flag
|
|
452
485
|
- cookbooks/app-react-people
|
|
453
486
|
|
|
454
487
|
### Links
|
|
455
|
-
|
|
456
488
|
- [GitHub releases](https://github.com/equinor/design-system/releases)
|
|
457
489
|
- [Full Changelog](https://github.com/equinor/design-system/compare/eds-core-react@0.48.0...eds-core-react@0.49.0)
|
|
458
490
|
|
|
@@ -461,7 +493,6 @@
|
|
|
461
493
|
### Patch Changes
|
|
462
494
|
|
|
463
495
|
- [#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
|
|
464
|
-
|
|
465
496
|
- Updated rollup dependency via vite transitive dependency
|
|
466
497
|
- Includes bug fixes for tree-shaking array destructuring patterns
|
|
467
498
|
- Performance improvements and platform support updates
|
|
@@ -489,7 +520,6 @@
|
|
|
489
520
|
The refactor moves specific functionality and code related to the development portal into its own dedicated package to improve modularity and maintainability.
|
|
490
521
|
|
|
491
522
|
**Features**
|
|
492
|
-
|
|
493
523
|
- Development portal for the Fusion framework
|
|
494
524
|
- Support for MSAL authentication
|
|
495
525
|
- Integration with service discovery
|
|
@@ -524,7 +554,6 @@
|
|
|
524
554
|
### Patch Changes
|
|
525
555
|
|
|
526
556
|
- [#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
|
|
527
|
-
|
|
528
557
|
- Added a `prepack` script to `@equinor/fusion-framework-dev-portal` and `@equinor/fusion-framework-dev-server` to ensure the build runs before packaging.
|
|
529
558
|
- This helps guarantee that the latest build artifacts are included when publishing these packages.
|
|
530
559
|
|