@equinor/fusion-framework-dev-portal 4.0.4 → 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 +32 -31
- package/dist/main.js +52870 -44770
- 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,37 @@
|
|
|
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
|
+
|
|
3
35
|
## 4.0.4
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
|
@@ -144,7 +176,6 @@
|
|
|
144
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.
|
|
145
177
|
|
|
146
178
|
**Usage:**
|
|
147
|
-
|
|
148
179
|
- In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
|
|
149
180
|
- The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
|
|
150
181
|
|
|
@@ -182,20 +213,17 @@
|
|
|
182
213
|
## New Features
|
|
183
214
|
|
|
184
215
|
### App Tag/Version Support
|
|
185
|
-
|
|
186
216
|
- **App Client**: Added `getAppBuild` method to fetch build manifests by app key and tag
|
|
187
217
|
- **App Module Provider**: Enhanced `getAppManifest` to accept optional tag parameter
|
|
188
218
|
- **App Loading**: Modified `setCurrentApp` to support `AppReference` objects with tag specification
|
|
189
219
|
- **URL Integration**: Added `getAppTagFromUrl` utility to extract app tags from URL parameters
|
|
190
220
|
|
|
191
221
|
### Enhanced Type System
|
|
192
|
-
|
|
193
222
|
- Added `AppReference` type for specifying app key and optional tag
|
|
194
223
|
- Extended `AppBundleState` to include optional `tag` property
|
|
195
224
|
- Updated `AppBuildManifest` type definition for build-specific metadata
|
|
196
225
|
|
|
197
226
|
### API Improvements
|
|
198
|
-
|
|
199
227
|
- **AppClient**: Updated interface to support tag-based manifest and build fetching
|
|
200
228
|
- **App Class**: Added `tag` getter property for accessing current app tag
|
|
201
229
|
- **Action System**: Enhanced `fetchManifest` action to handle tag parameters
|
|
@@ -203,7 +231,6 @@
|
|
|
203
231
|
## Changes by Package
|
|
204
232
|
|
|
205
233
|
### `@equinor/fusion-framework-module-app`
|
|
206
|
-
|
|
207
234
|
- **AppClient.ts**: Added `getAppBuild` method with tag support and updated `getAppManifest` signature
|
|
208
235
|
- **AppModuleProvider.ts**: Enhanced `setCurrentApp` method to handle `AppReference` objects with tags
|
|
209
236
|
- **App.ts**: Added `tag` getter and improved error handling in initialization
|
|
@@ -212,7 +239,6 @@
|
|
|
212
239
|
- **flows.ts**: Modified manifest fetching flow to handle tag-based requests
|
|
213
240
|
|
|
214
241
|
### `@equinor/fusion-framework-dev-portal`
|
|
215
|
-
|
|
216
242
|
- **AppLoader.tsx**: Added `getAppTagFromUrl` utility function and integrated tag-based app loading
|
|
217
243
|
|
|
218
244
|
## Usage Examples
|
|
@@ -245,17 +271,14 @@
|
|
|
245
271
|
## Migration Guide
|
|
246
272
|
|
|
247
273
|
### For App Consumers
|
|
248
|
-
|
|
249
274
|
- No breaking changes - existing code continues to work
|
|
250
275
|
- Optionally use new tag-based loading for version-specific deployments
|
|
251
276
|
|
|
252
277
|
### For App Developers
|
|
253
|
-
|
|
254
278
|
- Consider adding `&tag` URL parameter support for testing different versions
|
|
255
279
|
- Use new `AppReference` type when programmatically setting current apps with tags
|
|
256
280
|
|
|
257
281
|
## Technical Details
|
|
258
|
-
|
|
259
282
|
- **Backward Compatibility**: All changes are backward compatible
|
|
260
283
|
- **Caching**: Tag-based manifests and builds are cached separately
|
|
261
284
|
- **Error Handling**: Enhanced error handling for build and manifest loading failures
|
|
@@ -281,20 +304,17 @@
|
|
|
281
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.
|
|
282
305
|
|
|
283
306
|
**Changes:**
|
|
284
|
-
|
|
285
307
|
- Updated Vite from v7.1.10 to v7.1.12
|
|
286
308
|
- Includes security fix for development server file system checks
|
|
287
309
|
- Includes compatibility fix for CommonJS plugin
|
|
288
310
|
- No breaking changes or API modifications
|
|
289
311
|
|
|
290
312
|
**Security Fix (v7.1.11):**
|
|
291
|
-
|
|
292
313
|
- **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
|
|
293
314
|
- Prevents potential path traversal vulnerability in development server
|
|
294
315
|
- Only affects development environment, not production builds
|
|
295
316
|
|
|
296
317
|
**Bug Fix (v7.1.12):**
|
|
297
|
-
|
|
298
318
|
- **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
|
|
299
319
|
- Improves compatibility with Rollup plugin ecosystem
|
|
300
320
|
- Prevents potential build issues
|
|
@@ -314,12 +334,10 @@
|
|
|
314
334
|
### Patch Changes
|
|
315
335
|
|
|
316
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.
|
|
317
|
-
|
|
318
337
|
- Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
|
|
319
338
|
- Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
|
|
320
339
|
|
|
321
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)).
|
|
322
|
-
|
|
323
341
|
- Added `/portal-proxy` service worker resource configuration in dev-server.ts
|
|
324
342
|
- Routes portal proxy requests to Fusion portal service API (`/@fusion-api/portals`)
|
|
325
343
|
- Enables portal proxy functionality for testing against real portal environments
|
|
@@ -333,14 +351,12 @@
|
|
|
333
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.
|
|
334
352
|
|
|
335
353
|
**New Features:**
|
|
336
|
-
|
|
337
354
|
- Enable telemetry tracking for portal usage analytics and monitoring
|
|
338
355
|
- Configure portal-specific metadata including version and name identification
|
|
339
356
|
- Set up telemetry event scoping for portal-specific tracking
|
|
340
357
|
- Attach framework configurator events for comprehensive telemetry coverage
|
|
341
358
|
|
|
342
359
|
**Technical Implementation:**
|
|
343
|
-
|
|
344
360
|
- Integrate `@equinor/fusion-framework-module-telemetry` module
|
|
345
361
|
- Configure telemetry with portal metadata (`type: 'portal-telemetry'`)
|
|
346
362
|
- Set default scope to `['portal']` for event categorization
|
|
@@ -348,7 +364,6 @@
|
|
|
348
364
|
- Add TypeScript path references for telemetry module
|
|
349
365
|
|
|
350
366
|
**Configuration Updates:**
|
|
351
|
-
|
|
352
367
|
- Enhanced `config.ts` with detailed telemetry setup and documentation
|
|
353
368
|
- Updated dependency versions to use `workspace:*` for better monorepo compatibility
|
|
354
369
|
- Improved code documentation and developer experience features
|
|
@@ -360,14 +375,12 @@
|
|
|
360
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
|
|
361
376
|
|
|
362
377
|
**Workspace-wide changes:**
|
|
363
|
-
|
|
364
378
|
- Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
|
|
365
379
|
- Enable `correctness/useUniqueElementIds` accessibility rule globally
|
|
366
380
|
- Reduce configuration size by 40% (60+ → ~35 lines)
|
|
367
381
|
- Eliminate all custom linting rule customizations
|
|
368
382
|
|
|
369
383
|
**Package-specific changes:**
|
|
370
|
-
|
|
371
384
|
- Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
|
|
372
385
|
- Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
|
|
373
386
|
- Update 11 React components for accessibility compliance
|
|
@@ -414,7 +427,6 @@
|
|
|
414
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
|
|
415
428
|
|
|
416
429
|
Major version update of Vite build tool across all packages. This update includes:
|
|
417
|
-
|
|
418
430
|
- Enhanced build performance and caching
|
|
419
431
|
- Better error reporting with code frames
|
|
420
432
|
- Improved TypeScript integration
|
|
@@ -422,14 +434,12 @@
|
|
|
422
434
|
- New development server features
|
|
423
435
|
|
|
424
436
|
### Links
|
|
425
|
-
|
|
426
437
|
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
427
438
|
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
428
439
|
|
|
429
440
|
### Patch Changes
|
|
430
441
|
|
|
431
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
|
|
432
|
-
|
|
433
443
|
- Added support for CSS custom properties via variables-static.css and variables-dynamic.css
|
|
434
444
|
- Improved design token integration for better CSS compatibility
|
|
435
445
|
- Updated dependencies and internal tooling (pnpm v10, node v22)
|
|
@@ -439,7 +449,6 @@
|
|
|
439
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
|
|
440
450
|
|
|
441
451
|
### New Features
|
|
442
|
-
|
|
443
452
|
- ✨ Always show "add new option" in Autocomplete when onAddNewOption is provided
|
|
444
453
|
- ✨ Tabs call onChange with provided value if present
|
|
445
454
|
- ✨ Add disabled prop to Tooltip
|
|
@@ -447,7 +456,6 @@
|
|
|
447
456
|
- ✨ Add support for adding new options in Autocomplete
|
|
448
457
|
|
|
449
458
|
### Bug Fixes
|
|
450
|
-
|
|
451
459
|
- 🐛 Autocomplete - Don't call onOptionsChange when clicking "Add new"
|
|
452
460
|
- 🐛 Table - Fix Firefox table header wrapping issue
|
|
453
461
|
- 🐛 Tabs documentation type mismatch - update onChange parameter from number to number | string
|
|
@@ -459,28 +467,24 @@
|
|
|
459
467
|
- 🐛 Menu: Ensure onClose is called when a MenuItem without onClick is clicked
|
|
460
468
|
|
|
461
469
|
### Links
|
|
462
|
-
|
|
463
470
|
- [GitHub releases](https://github.com/equinor/design-system/releases/tag/eds-core-react%400.49.0)
|
|
464
471
|
- [npm changelog](https://www.npmjs.com/package/@equinor/eds-core-react?activeTab=versions)
|
|
465
472
|
|
|
466
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
|
|
467
474
|
|
|
468
475
|
### Changes
|
|
469
|
-
|
|
470
476
|
- Updated @equinor/eds-core-react dependency to latest version across all packages
|
|
471
477
|
- Fixed peerDependencies version mismatch in bookmark package
|
|
472
478
|
- Includes bug fixes for Autocomplete and Table components
|
|
473
479
|
- Adds new Autocomplete features for "add new option" functionality
|
|
474
480
|
|
|
475
481
|
### Affected Packages
|
|
476
|
-
|
|
477
482
|
- packages/dev-portal
|
|
478
483
|
- packages/react/components/bookmark
|
|
479
484
|
- cookbooks/app-react-feature-flag
|
|
480
485
|
- cookbooks/app-react-people
|
|
481
486
|
|
|
482
487
|
### Links
|
|
483
|
-
|
|
484
488
|
- [GitHub releases](https://github.com/equinor/design-system/releases)
|
|
485
489
|
- [Full Changelog](https://github.com/equinor/design-system/compare/eds-core-react@0.48.0...eds-core-react@0.49.0)
|
|
486
490
|
|
|
@@ -489,7 +493,6 @@
|
|
|
489
493
|
### Patch Changes
|
|
490
494
|
|
|
491
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
|
|
492
|
-
|
|
493
496
|
- Updated rollup dependency via vite transitive dependency
|
|
494
497
|
- Includes bug fixes for tree-shaking array destructuring patterns
|
|
495
498
|
- Performance improvements and platform support updates
|
|
@@ -517,7 +520,6 @@
|
|
|
517
520
|
The refactor moves specific functionality and code related to the development portal into its own dedicated package to improve modularity and maintainability.
|
|
518
521
|
|
|
519
522
|
**Features**
|
|
520
|
-
|
|
521
523
|
- Development portal for the Fusion framework
|
|
522
524
|
- Support for MSAL authentication
|
|
523
525
|
- Integration with service discovery
|
|
@@ -552,7 +554,6 @@
|
|
|
552
554
|
### Patch Changes
|
|
553
555
|
|
|
554
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
|
|
555
|
-
|
|
556
557
|
- Added a `prepack` script to `@equinor/fusion-framework-dev-portal` and `@equinor/fusion-framework-dev-server` to ensure the build runs before packaging.
|
|
557
558
|
- This helps guarantee that the latest build artifacts are included when publishing these packages.
|
|
558
559
|
|