@equinor/fusion-framework-dev-portal 1.2.6 → 2.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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @equinor/fusion-framework-dev-portal
2
2
 
3
+ ## 2.0.0-next.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1) Thanks [@odinr](https://github.com/odinr)! - Upgrade to React 19 and remove support for React versions lower than 18.
8
+
9
+ **Breaking changes:**
10
+ - Peer dependencies now require React 18 or 19 (`^18.0.0 || ^19.0.0`)
11
+ - React 16 and 17 are no longer supported
12
+ - Dev dependencies upgraded to React 19.2.1 and @types/react 19.2.7
13
+
14
+ **Migration:**
15
+ - Update your React version to 18.0.0 or higher before upgrading these packages
16
+ - If using React 16 or 17, upgrade to React 18 or 19 first
17
+
18
+ ### Patch Changes
19
+
20
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`7ccaec2`](https://github.com/equinor/fusion-framework/commit/7ccaec2a59e7f17505ea6537f594665fe978a5b6) Thanks [@odinr](https://github.com/odinr)! - Upgrade to React 19 compatible versions of fusion-react components
21
+
22
+ Updated the following dependencies to their React 19 compatible versions:
23
+ - `@equinor/fusion-react-styles`: `^0.6.4` → `2.0.0` - Material-UI dependency removed
24
+ - `@equinor/fusion-react-context-selector`: `^1.0.6` → `2.0.1`
25
+
26
+ The `@equinor/fusion-react-styles` upgrade removes the deprecated `@material-ui/styles@^4.11.5` dependency which was incompatible with React 19.
27
+
28
+ This resolves the React 19 blocker identified in issue https://github.com/equinor/fusion-framework/issues/3698
29
+
30
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8) Thanks [@odinr](https://github.com/odinr)! - Upgrade `react-router-dom` from v6 to v7.9.5 for React 19 compatibility.
31
+
32
+ This is a backward-compatible upgrade - all existing Router 6 patterns continue to work with Router 7. No code changes required.
33
+
34
+ - [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b) Thanks [@odinr](https://github.com/odinr)! - relase next
35
+
3
36
  ## 1.2.6
4
37
 
5
38
  ### Patch Changes
@@ -17,20 +50,17 @@
17
50
  ## New Features
18
51
 
19
52
  ### App Tag/Version Support
20
-
21
53
  - **App Client**: Added `getAppBuild` method to fetch build manifests by app key and tag
22
54
  - **App Module Provider**: Enhanced `getAppManifest` to accept optional tag parameter
23
55
  - **App Loading**: Modified `setCurrentApp` to support `AppReference` objects with tag specification
24
56
  - **URL Integration**: Added `getAppTagFromUrl` utility to extract app tags from URL parameters
25
57
 
26
58
  ### Enhanced Type System
27
-
28
59
  - Added `AppReference` type for specifying app key and optional tag
29
60
  - Extended `AppBundleState` to include optional `tag` property
30
61
  - Updated `AppBuildManifest` type definition for build-specific metadata
31
62
 
32
63
  ### API Improvements
33
-
34
64
  - **AppClient**: Updated interface to support tag-based manifest and build fetching
35
65
  - **App Class**: Added `tag` getter property for accessing current app tag
36
66
  - **Action System**: Enhanced `fetchManifest` action to handle tag parameters
@@ -38,7 +68,6 @@
38
68
  ## Changes by Package
39
69
 
40
70
  ### `@equinor/fusion-framework-module-app`
41
-
42
71
  - **AppClient.ts**: Added `getAppBuild` method with tag support and updated `getAppManifest` signature
43
72
  - **AppModuleProvider.ts**: Enhanced `setCurrentApp` method to handle `AppReference` objects with tags
44
73
  - **App.ts**: Added `tag` getter and improved error handling in initialization
@@ -47,7 +76,6 @@
47
76
  - **flows.ts**: Modified manifest fetching flow to handle tag-based requests
48
77
 
49
78
  ### `@equinor/fusion-framework-dev-portal`
50
-
51
79
  - **AppLoader.tsx**: Added `getAppTagFromUrl` utility function and integrated tag-based app loading
52
80
 
53
81
  ## Usage Examples
@@ -80,17 +108,14 @@
80
108
  ## Migration Guide
81
109
 
82
110
  ### For App Consumers
83
-
84
111
  - No breaking changes - existing code continues to work
85
112
  - Optionally use new tag-based loading for version-specific deployments
86
113
 
87
114
  ### For App Developers
88
-
89
115
  - Consider adding `&tag` URL parameter support for testing different versions
90
116
  - Use new `AppReference` type when programmatically setting current apps with tags
91
117
 
92
118
  ## Technical Details
93
-
94
119
  - **Backward Compatibility**: All changes are backward compatible
95
120
  - **Caching**: Tag-based manifests and builds are cached separately
96
121
  - **Error Handling**: Enhanced error handling for build and manifest loading failures
@@ -116,20 +141,17 @@
116
141
  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.
117
142
 
118
143
  **Changes:**
119
-
120
144
  - Updated Vite from v7.1.10 to v7.1.12
121
145
  - Includes security fix for development server file system checks
122
146
  - Includes compatibility fix for CommonJS plugin
123
147
  - No breaking changes or API modifications
124
148
 
125
149
  **Security Fix (v7.1.11):**
126
-
127
150
  - **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
128
151
  - Prevents potential path traversal vulnerability in development server
129
152
  - Only affects development environment, not production builds
130
153
 
131
154
  **Bug Fix (v7.1.12):**
132
-
133
155
  - **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
134
156
  - Improves compatibility with Rollup plugin ecosystem
135
157
  - Prevents potential build issues
@@ -149,12 +171,10 @@
149
171
  ### Patch Changes
150
172
 
151
173
  - [#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.
152
-
153
174
  - Updated `@equinor/fusion-react-person` from `^0.10.3` to `^0.10.10` in app-react-people cookbook
154
175
  - Updated `@equinor/fusion-wc-person` from `^3.1.8` to `^3.2.4` in dev-portal and people-resolver packages
155
176
 
156
177
  - [#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)).
157
-
158
178
  - Added `/portal-proxy` service worker resource configuration in dev-server.ts
159
179
  - Routes portal proxy requests to Fusion portal service API (`/@fusion-api/portals`)
160
180
  - Enables portal proxy functionality for testing against real portal environments
@@ -168,14 +188,12 @@
168
188
  - [#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.
169
189
 
170
190
  **New Features:**
171
-
172
191
  - Enable telemetry tracking for portal usage analytics and monitoring
173
192
  - Configure portal-specific metadata including version and name identification
174
193
  - Set up telemetry event scoping for portal-specific tracking
175
194
  - Attach framework configurator events for comprehensive telemetry coverage
176
195
 
177
196
  **Technical Implementation:**
178
-
179
197
  - Integrate `@equinor/fusion-framework-module-telemetry` module
180
198
  - Configure telemetry with portal metadata (`type: 'portal-telemetry'`)
181
199
  - Set default scope to `['portal']` for event categorization
@@ -183,7 +201,6 @@
183
201
  - Add TypeScript path references for telemetry module
184
202
 
185
203
  **Configuration Updates:**
186
-
187
204
  - Enhanced `config.ts` with detailed telemetry setup and documentation
188
205
  - Updated dependency versions to use `workspace:*` for better monorepo compatibility
189
206
  - Improved code documentation and developer experience features
@@ -195,14 +212,12 @@
195
212
  - [#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
196
213
 
197
214
  **Workspace-wide changes:**
198
-
199
215
  - Remove 19 rule overrides from `biome.json` to use Biome's strict "error" defaults
200
216
  - Enable `correctness/useUniqueElementIds` accessibility rule globally
201
217
  - Reduce configuration size by 40% (60+ → ~35 lines)
202
218
  - Eliminate all custom linting rule customizations
203
219
 
204
220
  **Package-specific changes:**
205
-
206
221
  - Replace static IDs with React `useId()` hooks in bookmark and dev-portal components
207
222
  - Fix `suspicious/noAssignInExpressions` violations in context, legacy-interopt, and observable packages
208
223
  - Update 11 React components for accessibility compliance
@@ -249,7 +264,6 @@
249
264
  - [#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
250
265
 
251
266
  Major version update of Vite build tool across all packages. This update includes:
252
-
253
267
  - Enhanced build performance and caching
254
268
  - Better error reporting with code frames
255
269
  - Improved TypeScript integration
@@ -257,14 +271,12 @@
257
271
  - New development server features
258
272
 
259
273
  ### Links
260
-
261
274
  - [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
262
275
  - [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
263
276
 
264
277
  ### Patch Changes
265
278
 
266
279
  - [#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
267
-
268
280
  - Added support for CSS custom properties via variables-static.css and variables-dynamic.css
269
281
  - Improved design token integration for better CSS compatibility
270
282
  - Updated dependencies and internal tooling (pnpm v10, node v22)
@@ -274,7 +286,6 @@
274
286
  - [#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
275
287
 
276
288
  ### New Features
277
-
278
289
  - ✨ Always show "add new option" in Autocomplete when onAddNewOption is provided
279
290
  - ✨ Tabs call onChange with provided value if present
280
291
  - ✨ Add disabled prop to Tooltip
@@ -282,7 +293,6 @@
282
293
  - ✨ Add support for adding new options in Autocomplete
283
294
 
284
295
  ### Bug Fixes
285
-
286
296
  - 🐛 Autocomplete - Don't call onOptionsChange when clicking "Add new"
287
297
  - 🐛 Table - Fix Firefox table header wrapping issue
288
298
  - 🐛 Tabs documentation type mismatch - update onChange parameter from number to number | string
@@ -294,28 +304,24 @@
294
304
  - 🐛 Menu: Ensure onClose is called when a MenuItem without onClick is clicked
295
305
 
296
306
  ### Links
297
-
298
307
  - [GitHub releases](https://github.com/equinor/design-system/releases/tag/eds-core-react%400.49.0)
299
308
  - [npm changelog](https://www.npmjs.com/package/@equinor/eds-core-react?activeTab=versions)
300
309
 
301
310
  - [#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
302
311
 
303
312
  ### Changes
304
-
305
313
  - Updated @equinor/eds-core-react dependency to latest version across all packages
306
314
  - Fixed peerDependencies version mismatch in bookmark package
307
315
  - Includes bug fixes for Autocomplete and Table components
308
316
  - Adds new Autocomplete features for "add new option" functionality
309
317
 
310
318
  ### Affected Packages
311
-
312
319
  - packages/dev-portal
313
320
  - packages/react/components/bookmark
314
321
  - cookbooks/app-react-feature-flag
315
322
  - cookbooks/app-react-people
316
323
 
317
324
  ### Links
318
-
319
325
  - [GitHub releases](https://github.com/equinor/design-system/releases)
320
326
  - [Full Changelog](https://github.com/equinor/design-system/compare/eds-core-react@0.48.0...eds-core-react@0.49.0)
321
327
 
@@ -324,7 +330,6 @@
324
330
  ### Patch Changes
325
331
 
326
332
  - [#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
327
-
328
333
  - Updated rollup dependency via vite transitive dependency
329
334
  - Includes bug fixes for tree-shaking array destructuring patterns
330
335
  - Performance improvements and platform support updates
@@ -352,7 +357,6 @@
352
357
  The refactor moves specific functionality and code related to the development portal into its own dedicated package to improve modularity and maintainability.
353
358
 
354
359
  **Features**
355
-
356
360
  - Development portal for the Fusion framework
357
361
  - Support for MSAL authentication
358
362
  - Integration with service discovery
@@ -387,7 +391,6 @@
387
391
  ### Patch Changes
388
392
 
389
393
  - [#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
390
-
391
394
  - Added a `prepack` script to `@equinor/fusion-framework-dev-portal` and `@equinor/fusion-framework-dev-server` to ensure the build runs before packaging.
392
395
  - This helps guarantee that the latest build artifacts are included when publishing these packages.
393
396