@equinor/fusion-framework-cli 12.4.5 → 12.5.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 +81 -114
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +3 -3
- package/dist/esm/lib/app/app-manifest.js.map +1 -1
- package/dist/esm/lib/app/index.js +1 -1
- package/dist/esm/lib/app/index.js.map +1 -1
- package/dist/esm/lib/app/load-app-manifest.js +3 -2
- package/dist/esm/lib/app/load-app-manifest.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/app-serve.d.ts +49 -0
- package/dist/types/bin/index.d.ts +1 -0
- package/dist/types/cli/commands/app/serve.d.ts +34 -0
- package/dist/types/lib/app/app-manifest.d.ts +19 -7
- package/dist/types/lib/app/index.d.ts +2 -1
- package/dist/types/lib/legacy.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/docs/application.md +36 -0
- package/package.json +11 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.5.0-next.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8) Thanks [@odinr](https://github.com/odinr)! - Add automatic support for `?raw` imports in Vite builds.
|
|
8
|
+
|
|
9
|
+
The CLI now automatically includes the `rawImportsPlugin` in Vite configurations, enabling `?raw` imports for markdown files (and other configured extensions) without manual plugin configuration.
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import readmeContent from "../../README.md?raw";
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This ensures consistent behavior across all Fusion Framework CLI builds.
|
|
16
|
+
|
|
17
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8) Thanks [@odinr](https://github.com/odinr)! - Add `app serve` command to serve built applications with the dev-portal.
|
|
18
|
+
|
|
19
|
+
The new `serve` command provides a production-like preview environment for testing built applications locally. It serves your built application through the dev-portal, similar to the `dev` command but using production-built files.
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pnpm fusion-framework-cli app serve
|
|
23
|
+
pnpm fusion-framework-cli app serve --port 5000
|
|
24
|
+
pnpm fusion-framework-cli app serve --dir ./dist --host 0.0.0.0
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The command automatically detects the build directory from your Vite configuration and provides options for custom port, host, directory, manifest, and config files. The application must be built first using `ffc app build` before serving.
|
|
28
|
+
|
|
29
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8) Thanks [@odinr](https://github.com/odinr)! - Add route schema support to app manifests for documentation and API schema generation.
|
|
30
|
+
|
|
31
|
+
**New Features:**
|
|
32
|
+
- **module-app**: Added `RouteSchemaEntry` type and `routes` field to `AppManifest` interface
|
|
33
|
+
- **cli**: Added `RouteSchemaEntry` and `AppManifestWithRoutes` type exports for app manifest generation
|
|
34
|
+
|
|
35
|
+
Route schemas allow applications to document their routes in app manifests, enabling automatic API documentation and schema generation. The `RouteSchemaEntry` type represents a route with its path, description, and optional parameter/search schemas.
|
|
36
|
+
|
|
37
|
+
```typescript
|
|
38
|
+
import type {
|
|
39
|
+
RouteSchemaEntry,
|
|
40
|
+
AppManifest,
|
|
41
|
+
} from "@equinor/fusion-framework-module-app";
|
|
42
|
+
import type { AppManifestWithRoutes } from "@equinor/fusion-framework-cli/app";
|
|
43
|
+
|
|
44
|
+
const manifest: AppManifest = {
|
|
45
|
+
appKey: "my-app",
|
|
46
|
+
displayName: "My App",
|
|
47
|
+
description: "My app description",
|
|
48
|
+
type: "standalone",
|
|
49
|
+
routes: [
|
|
50
|
+
["/", "Home page"],
|
|
51
|
+
["/products", "Products listing page"],
|
|
52
|
+
["/products/:id", "Product detail page", { id: "Product ID" }],
|
|
53
|
+
],
|
|
54
|
+
};
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
The CLI package also exports `AppManifestWithRoutes` which allows RouteNode objects (from the router package) to be used in manifest definitions, which are then serialized to RouteSchemaEntry arrays.
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- [#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
|
|
62
|
+
|
|
63
|
+
- Updated dependencies [[`7ccaec2`](https://github.com/equinor/fusion-framework/commit/7ccaec2a59e7f17505ea6537f594665fe978a5b6), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`265bb76`](https://github.com/equinor/fusion-framework/commit/265bb767249989eeb1971e83f3fba94879e0813b), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8), [`75c068f`](https://github.com/equinor/fusion-framework/commit/75c068fea13c32435ac26bd9043cc156482bfaf1), [`d252b0d`](https://github.com/equinor/fusion-framework/commit/d252b0d442b7c8c1b50bf2768cf9ecbbb55a76f8)]:
|
|
64
|
+
- @equinor/fusion-framework-dev-portal@2.0.0-next.0
|
|
65
|
+
- @equinor/fusion-framework-vite-plugin-raw-imports@1.1.0-next.0
|
|
66
|
+
- @equinor/fusion-imports@1.2.0-next.0
|
|
67
|
+
- @equinor/fusion-framework-dev-server@1.1.19-next.0
|
|
68
|
+
- @equinor/fusion-framework-module-msal-node@2.0.2-next.0
|
|
69
|
+
|
|
70
|
+
## 12.4.6
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- [`41f8e9b`](https://github.com/equinor/fusion-framework/commit/41f8e9b7a9b2680553e089d04095a9db7821567e) Thanks [@odinr](https://github.com/odinr)! - Internal: upgrade build tooling dependency `esbuild` to 0.27.0 in `@equinor/fusion-imports`. No public API changes and no runtime impact to consumers.
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [[`41f8e9b`](https://github.com/equinor/fusion-framework/commit/41f8e9b7a9b2680553e089d04095a9db7821567e)]:
|
|
77
|
+
- @equinor/fusion-imports@1.1.8
|
|
78
|
+
- @equinor/fusion-framework-dev-server@1.1.18
|
|
79
|
+
- @equinor/fusion-framework-dev-portal@1.2.6
|
|
80
|
+
|
|
3
81
|
## 12.4.5
|
|
4
82
|
|
|
5
83
|
### Patch Changes
|
|
@@ -57,7 +135,6 @@
|
|
|
57
135
|
Portal tagging functionality has been enhanced to accept any string value for tags instead of being restricted to predefined enum values.
|
|
58
136
|
|
|
59
137
|
**Breaking Changes**
|
|
60
|
-
|
|
61
138
|
- **Removed `AllowedPortalTags` enum**: The enum that previously restricted portal tags to only `'latest'` and `'preview'` has been removed.
|
|
62
139
|
- **No longer exported**: `AllowedPortalTags` is no longer exported from `@equinor/fusion-framework-cli/bin`.
|
|
63
140
|
|
|
@@ -92,13 +169,11 @@
|
|
|
92
169
|
```
|
|
93
170
|
|
|
94
171
|
**Enhanced Documentation**
|
|
95
|
-
|
|
96
172
|
- Updated CLI help text with practical examples
|
|
97
173
|
- Added common tag examples (`latest`, `preview`, `next`, `stable`) in documentation
|
|
98
174
|
- Maintained guidance while showing flexibility
|
|
99
175
|
|
|
100
176
|
**Validation**
|
|
101
|
-
|
|
102
177
|
- Tags must be non-empty strings
|
|
103
178
|
- No other restrictions on tag format or content
|
|
104
179
|
- Backward compatibility maintained for existing tag values
|
|
@@ -168,20 +243,17 @@
|
|
|
168
243
|
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.
|
|
169
244
|
|
|
170
245
|
**Changes:**
|
|
171
|
-
|
|
172
246
|
- Updated Vite from v7.1.10 to v7.1.12
|
|
173
247
|
- Includes security fix for development server file system checks
|
|
174
248
|
- Includes compatibility fix for CommonJS plugin
|
|
175
249
|
- No breaking changes or API modifications
|
|
176
250
|
|
|
177
251
|
**Security Fix (v7.1.11):**
|
|
178
|
-
|
|
179
252
|
- **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
|
|
180
253
|
- Prevents potential path traversal vulnerability in development server
|
|
181
254
|
- Only affects development environment, not production builds
|
|
182
255
|
|
|
183
256
|
**Bug Fix (v7.1.12):**
|
|
184
|
-
|
|
185
257
|
- **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
|
|
186
258
|
- Improves compatibility with Rollup plugin ecosystem
|
|
187
259
|
- Prevents potential build issues
|
|
@@ -203,12 +275,10 @@
|
|
|
203
275
|
Fixed a bug in the `app config` command where the `config` parameter was incorrectly referenced as `options.config` when calling `publishAppConfig`. This was causing the publish functionality to fail when a custom config file path was provided.
|
|
204
276
|
|
|
205
277
|
### What Changed
|
|
206
|
-
|
|
207
278
|
- Corrected parameter passing in `packages/cli/src/cli/commands/app/config.ts`
|
|
208
279
|
- Changed `config: options.config` to `config` in the `publishAppConfig` call
|
|
209
280
|
|
|
210
281
|
### Impact
|
|
211
|
-
|
|
212
282
|
- The `ffc app config --publish` command now correctly uses the provided config file argument
|
|
213
283
|
- Fixes the issue where custom config files were not being passed to the publish function
|
|
214
284
|
- No breaking changes to the CLI interface
|
|
@@ -223,7 +293,6 @@
|
|
|
223
293
|
- [#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
|
|
224
294
|
|
|
225
295
|
Bug fixes:
|
|
226
|
-
|
|
227
296
|
- fix: resolve bare targets of package "imports" using export maps; avoid fileURLToPath(null)
|
|
228
297
|
- fix: error thrown with empty entry
|
|
229
298
|
|
|
@@ -257,11 +326,9 @@
|
|
|
257
326
|
Added `is-mergeable-object` as a direct dependency to resolve runtime errors when using the CLI's app development features. This package is required by `deepmerge` but was not explicitly declared as a dependency, causing module resolution failures during app development.
|
|
258
327
|
|
|
259
328
|
**Changes:**
|
|
260
|
-
|
|
261
329
|
- Added `is-mergeable-object@^1.1.1` to dependencies in `packages/cli/package.json`
|
|
262
330
|
|
|
263
331
|
**Impact:**
|
|
264
|
-
|
|
265
332
|
- Fixes "Cannot find module 'is-mergeable-object'" errors during app development
|
|
266
333
|
- Ensures proper dependency resolution for CLI tools that use deepmerge functionality
|
|
267
334
|
- No breaking changes - this is purely a dependency fix
|
|
@@ -271,13 +338,11 @@
|
|
|
271
338
|
### Patch Changes
|
|
272
339
|
|
|
273
340
|
- [#3559](https://github.com/equinor/fusion-framework/pull/3559) [`6667a4e`](https://github.com/equinor/fusion-framework/commit/6667a4ee24a5374a02ec76952f440d495d62dbc3) Thanks [@eikeland](https://github.com/eikeland)! - Added default headers to CLI REST API requests for better identification and tracking.
|
|
274
|
-
|
|
275
341
|
- Created new `defaultHeaders` utility that includes CLI name, version, and user-agent
|
|
276
342
|
- Updated app upload/tag operations to include default headers
|
|
277
343
|
- Updated portal upload/tag operations to include default headers
|
|
278
344
|
|
|
279
345
|
All HTTP requests from the CLI now include:
|
|
280
|
-
|
|
281
346
|
- `X-Fusion-CLI-Name`: Identifies the CLI tool name
|
|
282
347
|
- `X-Fusion-CLI-Version`: Specifies the CLI version making the request
|
|
283
348
|
- `User-Agent`: Standard user agent header with CLI name and version
|
|
@@ -287,7 +352,6 @@
|
|
|
287
352
|
Closes: #3539
|
|
288
353
|
|
|
289
354
|
- [#3552](https://github.com/equinor/fusion-framework/pull/3552) [`8694e5b`](https://github.com/equinor/fusion-framework/commit/8694e5bb9bb1249dc52853dc6a5048f81ed9ab9c) Thanks [@eikeland](https://github.com/eikeland)! - Fixed release annotations to always include CLI version and required metadata.
|
|
290
|
-
|
|
291
355
|
- Added `cliVersion` property to `ReleaseAnnotations` type
|
|
292
356
|
- Ensured annotations are always returned (removed undefined return type)
|
|
293
357
|
- Added fallback annotations for local builds with default values
|
|
@@ -305,7 +369,6 @@
|
|
|
305
369
|
### Minor Changes
|
|
306
370
|
|
|
307
371
|
- [#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 CLI with portal proxy support for testing apps in real portal environments ([Issue #3546](https://github.com/equinor/fusion-framework/issues/3546)).
|
|
308
|
-
|
|
309
372
|
- Added `/portal-proxy` service worker resource configuration to CLI dev server
|
|
310
373
|
- Routes portal proxy requests to Fusion portal service API (`/@fusion-api/portal-config`)
|
|
311
374
|
- Enhanced dev server creation with improved logging and error handling
|
|
@@ -317,7 +380,6 @@
|
|
|
317
380
|
### Patch Changes
|
|
318
381
|
|
|
319
382
|
- [`4717aab`](https://github.com/equinor/fusion-framework/commit/4717aab6b50d0a795255f7615bb334eae8dc9d3f) Thanks [@Noggling](https://github.com/Noggling)! - Enhanced dev server host configuration to respect Vite config settings.
|
|
320
|
-
|
|
321
383
|
- Modified `startAppDevServer` function in `app-dev.ts` to use host configuration from local Vite config
|
|
322
384
|
- Changed hardcoded 'localhost' host to respect `localViteConfig.server?.host` with 'localhost' as fallback
|
|
323
385
|
- Improved configuration loading by storing `localViteConfig` in a variable to avoid duplicate loading
|
|
@@ -342,7 +404,6 @@
|
|
|
342
404
|
ref: [3548](https://github.com/equinor/fusion-framework/issues/3548)
|
|
343
405
|
|
|
344
406
|
- [#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 CLI documentation with comprehensive portal proxy configuration guide.
|
|
345
|
-
|
|
346
407
|
- Added detailed portal proxy configuration section in dev-server-config.md
|
|
347
408
|
- Documented portal proxy behavior, use cases, and benefits
|
|
348
409
|
- Provided complete code examples for portal proxy setup
|
|
@@ -360,7 +421,6 @@
|
|
|
360
421
|
### Minor Changes
|
|
361
422
|
|
|
362
423
|
- [#3512](https://github.com/equinor/fusion-framework/pull/3512) [`6f17817`](https://github.com/equinor/fusion-framework/commit/6f17817d3e1290d0befca8bb528728128612f8f1) Thanks [@eikeland](https://github.com/eikeland)! - Enhanced app management commands with pre-flight registration checks.
|
|
363
|
-
|
|
364
424
|
- Modified `checkApp` function to return boolean values instead of log results for better programmatic usage
|
|
365
425
|
- Added handling for HTTP 410 status (deleted apps) in app registration checks
|
|
366
426
|
- Added pre-flight app registration validation to `publish` and `upload` commands
|
|
@@ -376,7 +436,6 @@
|
|
|
376
436
|
### Patch Changes
|
|
377
437
|
|
|
378
438
|
- [#3534](https://github.com/equinor/fusion-framework/pull/3534) [`8049b43`](https://github.com/equinor/fusion-framework/commit/8049b43847370c73814939f258a86723329b6b3c) Thanks [@odinr](https://github.com/odinr)! - Enhanced dev-server documentation with comprehensive configuration guide.
|
|
379
|
-
|
|
380
439
|
- Added detailed `dev-server-config.md` documentation covering configuration options, API mocking, service discovery customization, and template environment overrides
|
|
381
440
|
- Updated main `dev-server.md` documentation with improved architecture overview and configuration reference
|
|
382
441
|
- Provided practical examples and troubleshooting guidance for dev-server configuration
|
|
@@ -403,7 +462,6 @@
|
|
|
403
462
|
### Patch Changes
|
|
404
463
|
|
|
405
464
|
- [`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.
|
|
406
|
-
|
|
407
465
|
- Changed workspace dependencies from `workspace:^` to `workspace:*` across CLI, dev-server, and SPA vite plugin packages
|
|
408
466
|
- Ensures exact version resolution within the monorepo for predictable builds and releases
|
|
409
467
|
- Affects both dependencies and devDependencies where applicable
|
|
@@ -424,7 +482,6 @@
|
|
|
424
482
|
### Minor Changes
|
|
425
483
|
|
|
426
484
|
- [#3459](https://github.com/equinor/fusion-framework/pull/3459) [`58b5cee`](https://github.com/equinor/fusion-framework/commit/58b5ceeba5c6488a459ecaa22013823d3310ebc9) Thanks [@odinr](https://github.com/odinr)! - Enhanced Git repository cloning with user-controlled protocol selection.
|
|
427
|
-
|
|
428
485
|
- Added interactive prompt for users to choose between HTTPS and SSH protocols
|
|
429
486
|
- Implemented intelligent SSH detection using both git config and filesystem checks
|
|
430
487
|
- Removed automatic SSH-to-HTTPS fallback in favor of explicit user choice
|
|
@@ -452,7 +509,6 @@
|
|
|
452
509
|
- [#3425](https://github.com/equinor/fusion-framework/pull/3425) [`41cc520`](https://github.com/equinor/fusion-framework/commit/41cc520707c37672c59855ed53a0d4cedae0ec61) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated pretty-bytes from 7.0.1 to 7.1.0, adding `fixedWidth` and `nonBreakingSpace` options for enhanced CLI output formatting.
|
|
453
510
|
|
|
454
511
|
- [#3428](https://github.com/equinor/fusion-framework/pull/3428) [`1700ca8`](https://github.com/equinor/fusion-framework/commit/1700ca8851fa108e55e9729fd24f595272766e63) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update zod from 4.1.9 to 4.1.11
|
|
455
|
-
|
|
456
512
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
457
513
|
- **v4.1.11**: Maintenance release with general improvements
|
|
458
514
|
|
|
@@ -473,7 +529,6 @@
|
|
|
473
529
|
Updated source code to migrate from zod v3 to v4. Updated zod dependency from v3.25.76 to v4.1.8 and modified schema definitions in the CLI package to use explicit key and value types for records, updated error message format, and changed ZodError `.errors` property to `.issues` for zod v4 compatibility.
|
|
474
530
|
|
|
475
531
|
Key changes in source code:
|
|
476
|
-
|
|
477
532
|
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.any())`)
|
|
478
533
|
- Updated portal manifest schemas to use `message` instead of `description` for error messages
|
|
479
534
|
- Simplified error message options format (removed `required_error`, `invalid_type_error` from options object)
|
|
@@ -483,14 +538,12 @@
|
|
|
483
538
|
Breaking changes: Record schemas must specify both key and value types explicitly. Error message format has changed from zod v3 to v4 format. Function schema definitions now require explicit typing.
|
|
484
539
|
|
|
485
540
|
Links:
|
|
486
|
-
|
|
487
541
|
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
488
542
|
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
489
543
|
|
|
490
544
|
### Patch Changes
|
|
491
545
|
|
|
492
546
|
- [#3418](https://github.com/equinor/fusion-framework/pull/3418) [`6426d40`](https://github.com/equinor/fusion-framework/commit/6426d4051d153a01f2bc37ba7e7f4d0e85a82753) Thanks [@odinr](https://github.com/odinr)! - Improve publish command documentation clarity
|
|
493
|
-
|
|
494
547
|
- Update app publish command description to clearly explain conditional building behavior
|
|
495
548
|
- Add prominent note explaining when building occurs vs when it doesn't
|
|
496
549
|
- Add complete portal publish command documentation (was missing)
|
|
@@ -511,24 +564,20 @@
|
|
|
511
564
|
- [#3369](https://github.com/equinor/fusion-framework/pull/3369) [`bd8360e`](https://github.com/equinor/fusion-framework/commit/bd8360e6b93704b3f8ba4eb0d7fd142e27c01ef9) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated commander from v13 to v14 with improved help system and Node.js v20+ requirement.
|
|
512
565
|
|
|
513
566
|
### Breaking Changes
|
|
514
|
-
|
|
515
567
|
- Commander 14 requires Node.js v20 or higher (compatible with existing project requirements)
|
|
516
568
|
|
|
517
569
|
### New Features
|
|
518
|
-
|
|
519
570
|
- Support for groups of options and commands in help
|
|
520
571
|
- Support for unescaped negative numbers as arguments
|
|
521
572
|
- Enhanced TypeScript support with parseArg property
|
|
522
573
|
|
|
523
574
|
### Links
|
|
524
|
-
|
|
525
575
|
- [GitHub releases](https://github.com/tj/commander.js/releases/tag/v14.0.1)
|
|
526
576
|
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
|
|
527
577
|
|
|
528
578
|
- [#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
|
|
529
579
|
|
|
530
580
|
Major version update of Vite build tool across all packages. This update includes:
|
|
531
|
-
|
|
532
581
|
- Enhanced build performance and caching
|
|
533
582
|
- Better error reporting with code frames
|
|
534
583
|
- Improved TypeScript integration
|
|
@@ -536,7 +585,6 @@
|
|
|
536
585
|
- New development server features
|
|
537
586
|
|
|
538
587
|
### Links
|
|
539
|
-
|
|
540
588
|
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
541
589
|
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
542
590
|
|
|
@@ -545,17 +593,14 @@
|
|
|
545
593
|
- [#3389](https://github.com/equinor/fusion-framework/pull/3389) [`db19291`](https://github.com/equinor/fusion-framework/commit/db192912ec35b41a10f0324ee70ecc85a686d4fa) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: bump ora from 8.2.0 to 9.0.0
|
|
546
594
|
|
|
547
595
|
### Breaking Changes
|
|
548
|
-
|
|
549
596
|
- ora v9.0.0 now requires Node.js 20+ (previously supported older versions)
|
|
550
597
|
|
|
551
598
|
### New Features
|
|
552
|
-
|
|
553
599
|
- Fix clearing in some cases
|
|
554
600
|
- Fix `frame()` not displaying dynamic `prefixText`/`suffixText` from functions
|
|
555
601
|
- Fix multiline text exceeding console height leaving garbage when scrolling
|
|
556
602
|
|
|
557
603
|
### Links
|
|
558
|
-
|
|
559
604
|
- [GitHub releases](https://github.com/sindresorhus/ora/releases/tag/v9.0.0)
|
|
560
605
|
- [npm changelog](https://www.npmjs.com/package/ora?activeTab=versions)
|
|
561
606
|
|
|
@@ -564,18 +609,15 @@
|
|
|
564
609
|
Major version update of Vitest coverage package for CLI testing.
|
|
565
610
|
|
|
566
611
|
### Breaking Changes
|
|
567
|
-
|
|
568
612
|
- Updated from @vitest/coverage-v8 v2 to v3
|
|
569
613
|
- Coverage reporting may have configuration changes
|
|
570
614
|
|
|
571
615
|
### New Features
|
|
572
|
-
|
|
573
616
|
- Enhanced coverage reporting capabilities
|
|
574
617
|
- Improved test performance
|
|
575
618
|
- Better error handling and reporting
|
|
576
619
|
|
|
577
620
|
### Links
|
|
578
|
-
|
|
579
621
|
- [Vitest v3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
580
622
|
- [Vitest v3 Migration Guide](https://vitest.dev/guide/migration.html)
|
|
581
623
|
- [Coverage v8 Documentation](https://vitest.dev/guide/coverage.html)
|
|
@@ -590,13 +632,11 @@
|
|
|
590
632
|
### Patch Changes
|
|
591
633
|
|
|
592
634
|
- [#3379](https://github.com/equinor/fusion-framework/pull/3379) [`96d319c`](https://github.com/equinor/fusion-framework/commit/96d319c64e2ccb0ad080d633b74b76cbc4f48083) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated inquirer dependency from 12.9.4 to 12.9.6
|
|
593
|
-
|
|
594
635
|
- Updated inquirer to latest patch version 12.9.6
|
|
595
636
|
- Includes bug fixes and performance improvements
|
|
596
637
|
- No breaking changes in this patch update
|
|
597
638
|
|
|
598
639
|
- [#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.46.3 to 4.50.2
|
|
599
|
-
|
|
600
640
|
- Updated rollup dependency to latest patch version
|
|
601
641
|
- Includes bug fixes for tree-shaking array destructuring patterns
|
|
602
642
|
- Performance improvements and platform support updates
|
|
@@ -605,7 +645,6 @@
|
|
|
605
645
|
- [#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.
|
|
606
646
|
|
|
607
647
|
## Breaking Changes
|
|
608
|
-
|
|
609
648
|
- **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
|
|
610
649
|
- **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
|
|
611
650
|
- **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
|
|
@@ -613,18 +652,15 @@
|
|
|
613
652
|
- **TypeScript Support**: Enhanced TypeScript integration and type definitions
|
|
614
653
|
|
|
615
654
|
## Security Updates
|
|
616
|
-
|
|
617
655
|
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
|
|
618
656
|
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
|
|
619
657
|
|
|
620
658
|
## Migration Notes
|
|
621
|
-
|
|
622
659
|
- Test snapshots may need regeneration due to quote format changes
|
|
623
660
|
- Some test configurations might need updates for new TypeScript support
|
|
624
661
|
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
|
|
625
662
|
|
|
626
663
|
## Links
|
|
627
|
-
|
|
628
664
|
- [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
|
|
629
665
|
- [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
630
666
|
|
|
@@ -641,7 +677,6 @@
|
|
|
641
677
|
- [#3377](https://github.com/equinor/fusion-framework/pull/3377) [`70638da`](https://github.com/equinor/fusion-framework/commit/70638da56c0dad3f349a2d063e8d8bcea3b71b12) Thanks [@odinr](https://github.com/odinr)! - Add comprehensive create app command for generating Fusion applications from templates.
|
|
642
678
|
|
|
643
679
|
**New Features**
|
|
644
|
-
|
|
645
680
|
- Added `ffc create app <name>` command with interactive template selection
|
|
646
681
|
- Supports both `ffc create app` and `ffc app create` command patterns for improved flexibility
|
|
647
682
|
- Includes template validation and interactive prompts using inquirer
|
|
@@ -649,13 +684,11 @@
|
|
|
649
684
|
- Implemented modular helper functions for each step of app creation
|
|
650
685
|
|
|
651
686
|
**Template Support**
|
|
652
|
-
|
|
653
687
|
- Supports both bare and basic application templates from fusion-app-template repository
|
|
654
688
|
- Includes template validation and interactive prompts using inquirer
|
|
655
689
|
- Added comprehensive template repository system with schema validation
|
|
656
690
|
|
|
657
691
|
**Developer Experience**
|
|
658
|
-
|
|
659
692
|
- Added IDE integration with automatic project opening
|
|
660
693
|
- Includes dependency management and dev server startup
|
|
661
694
|
- Added comprehensive documentation with examples and best practices
|
|
@@ -663,7 +696,6 @@
|
|
|
663
696
|
- Added GitHub template integration links for alternative app creation methods
|
|
664
697
|
|
|
665
698
|
**Error Handling & Reliability**
|
|
666
|
-
|
|
667
699
|
- Enhanced error handling for spawn operations in IDE opening and dev server startup
|
|
668
700
|
- Migrated to execa for automatic process cleanup and better signal handling
|
|
669
701
|
- Fixed misleading success messages by wrapping template copy operations in try-catch blocks
|
|
@@ -672,14 +704,12 @@
|
|
|
672
704
|
- Enhanced TSDoc documentation and inline comments across helper functions
|
|
673
705
|
|
|
674
706
|
**Dependencies**
|
|
675
|
-
|
|
676
707
|
- Added new dependencies: `inquirer`, `@types/inquirer`, and `execa` for enhanced CLI experience
|
|
677
708
|
- Migrated process spawning from native child_process to execa for better process management
|
|
678
709
|
|
|
679
710
|
The new command provides an intuitive way for developers to bootstrap new Fusion applications using predefined templates from the ecosystem while maintaining backward compatibility and providing robust error handling.
|
|
680
711
|
|
|
681
712
|
- [#3377](https://github.com/equinor/fusion-framework/pull/3377) [`70638da`](https://github.com/equinor/fusion-framework/commit/70638da56c0dad3f349a2d063e8d8bcea3b71b12) Thanks [@odinr](https://github.com/odinr)! - Add workspace dependency resolution to create app command
|
|
682
|
-
|
|
683
713
|
- Added `updatePackageJson` helper for updating package.json with app name and resolving workspace dependencies
|
|
684
714
|
- Added `resolve-workspace-dependencies` helper to convert workspace:^ dependencies to npm versions
|
|
685
715
|
- Added `package-info` utility for fetching package metadata from npm registry
|
|
@@ -694,25 +724,21 @@
|
|
|
694
724
|
- [#3377](https://github.com/equinor/fusion-framework/pull/3377) [`70638da`](https://github.com/equinor/fusion-framework/commit/70638da56c0dad3f349a2d063e8d8bcea3b71b12) Thanks [@odinr](https://github.com/odinr)! - Enhanced CLI security with path validation and improved error handling for create command.
|
|
695
725
|
|
|
696
726
|
## New Features
|
|
697
|
-
|
|
698
727
|
- **Path Security Validation**: Added `validateSafePath()` function to prevent path traversal attacks
|
|
699
728
|
- **Safe Directory Operations**: Added `safeRmSync()` function for secure directory removal
|
|
700
729
|
- **Enhanced Error Messages**: Improved user-friendly error messages with visual indicators
|
|
701
730
|
|
|
702
731
|
## Security Improvements
|
|
703
|
-
|
|
704
732
|
- **Path Traversal Protection**: Prevents users from specifying paths outside the current working directory
|
|
705
733
|
- **Input Validation**: Validates target paths before performing file system operations
|
|
706
734
|
- **Safe Cleanup**: Directory removal operations now validate paths before execution
|
|
707
735
|
|
|
708
736
|
## User Experience
|
|
709
|
-
|
|
710
737
|
- **Better Error Messages**: Clear, actionable error messages with ❌ and 💡 indicators
|
|
711
738
|
- **Helpful Guidance**: Users get specific suggestions when path validation fails
|
|
712
739
|
- **Clean Error Handling**: No more messy stack traces for path-related errors
|
|
713
740
|
|
|
714
741
|
## Technical Details
|
|
715
|
-
|
|
716
742
|
- Uses `is-path-inside` library for robust path validation
|
|
717
743
|
- Integrates path security into `checkTargetDirectory` helper
|
|
718
744
|
- Maintains backward compatibility with existing functionality
|
|
@@ -721,7 +747,6 @@
|
|
|
721
747
|
- [`7983d30`](https://github.com/equinor/fusion-framework/commit/7983d302f5269d70646c3c5231944b8081844e86) Thanks [@odinr](https://github.com/odinr)! - **Note:** This changeset documents changes that were already implemented and released in [PR #3341](https://github.com/equinor/fusion-framework/pull/3341) (merged 2025-09-05) and included in the [🤖 Bip Bop - Fusion Framework Release](https://github.com/equinor/fusion-framework/pull/3342) (merged 2025-09-08). This changeset serves as a historical record and comprehensive documentation of the CLI tag command improvements, ensuring the changelog contains detailed information about the breaking changes, migration path, and technical details that may be referenced by users upgrading or troubleshooting CLI issues.
|
|
722
748
|
|
|
723
749
|
Fixed `--version` flag conflict in CLI tag commands and improved API consistency.
|
|
724
|
-
|
|
725
750
|
- **Fixed:** Resolved conflict between custom `--version` option and Commander's built-in `--version` flag that displays CLI version
|
|
726
751
|
- **Refactored:** Replaced separate `--appKey`/`--version` options with unified `--package name@version` syntax for both `app tag` and `portal tag` commands
|
|
727
752
|
- **Improved:** Enhanced error handling with clear validation messages for package format
|
|
@@ -730,7 +755,6 @@
|
|
|
730
755
|
|
|
731
756
|
**Breaking Changes:**
|
|
732
757
|
This introduces a breaking change to the CLI API by removing the `--version` and `--appKey` options in favor of the `--package` option. However, we're releasing this as a patch since:
|
|
733
|
-
|
|
734
758
|
1. The `--version` flag never worked properly due to the conflict with Commander's built-in version flag
|
|
735
759
|
2. The old API was fundamentally broken and unusable
|
|
736
760
|
3. Limited adoption in production environments means minimal impact
|
|
@@ -739,7 +763,6 @@
|
|
|
739
763
|
- The Fusion App Admin UI (graphical interface for release management)
|
|
740
764
|
|
|
741
765
|
**Migration:**
|
|
742
|
-
|
|
743
766
|
- Old: `fusion-framework-cli app tag --appKey my-app --version 1.2.3 latest`
|
|
744
767
|
- New: `fusion-framework-cli app tag --package my-app@1.2.3 latest`
|
|
745
768
|
|
|
@@ -750,7 +773,6 @@
|
|
|
750
773
|
**Fixes:** https://github.com/equinor/fusion/issues/652
|
|
751
774
|
|
|
752
775
|
- [#3377](https://github.com/equinor/fusion-framework/pull/3377) [`70638da`](https://github.com/equinor/fusion-framework/commit/70638da56c0dad3f349a2d063e8d8bcea3b71b12) Thanks [@odinr](https://github.com/odinr)! - Add git repository validation utilities to CLI package.
|
|
753
|
-
|
|
754
776
|
- Added `isGitDir` utility function to check if a directory is a valid git repository
|
|
755
777
|
- Added `assertGitRepository` assertion function for git repository validation
|
|
756
778
|
- Enhanced assert utilities with git repository checking capabilities
|
|
@@ -762,7 +784,6 @@
|
|
|
762
784
|
### Minor Changes
|
|
763
785
|
|
|
764
786
|
- [#3362](https://github.com/equinor/fusion-framework/pull/3362) [`6151ff4`](https://github.com/equinor/fusion-framework/commit/6151ff429fc5dc221a4cb43f11362cf39c2a3136) Thanks [@odinr](https://github.com/odinr)! - Added comprehensive dev-server documentation with architecture overview and configuration guide.
|
|
765
|
-
|
|
766
787
|
- Added new `docs/dev-server.md` with complete dev-server documentation
|
|
767
788
|
- Updated README.md to include dev-server documentation link
|
|
768
789
|
- Covers dev-server features, architecture, configuration, and troubleshooting
|
|
@@ -770,7 +791,6 @@
|
|
|
770
791
|
### Patch Changes
|
|
771
792
|
|
|
772
793
|
- [#3345](https://github.com/equinor/fusion-framework/pull/3345) [`0b53fa8`](https://github.com/equinor/fusion-framework/commit/0b53fa8dcd31b0b333a172bfcc15b342c5548bf9) Thanks [@odinr](https://github.com/odinr)! - Documented missing breaking change for Vite configuration file naming in CLI v11 migration guide and changelog.
|
|
773
|
-
|
|
774
794
|
- Added detailed explanation of `app.vite.config.ts` → `vite.config.ts` file naming change
|
|
775
795
|
- Emphasized that `vite.config.ts` should be a last resort for custom setups
|
|
776
796
|
- Recommended using `dev-server.config.js` instead to avoid unexpected behavior
|
|
@@ -787,7 +807,6 @@
|
|
|
787
807
|
### Patch Changes
|
|
788
808
|
|
|
789
809
|
- [#3356](https://github.com/equinor/fusion-framework/pull/3356) [`2e47652`](https://github.com/equinor/fusion-framework/commit/2e47652aba8ab14dea62307953666d8f136d7ca0) Thanks [@odinr](https://github.com/odinr)! - Fix SemVer 2.0 compliance issue where build metadata was stripped from package versions.
|
|
790
|
-
|
|
791
810
|
- Disabled built-in normalization in `read-package-up` to preserve version build metadata
|
|
792
811
|
- Added manual package data normalization using `normalize-package-data` library
|
|
793
812
|
- Preserves original version with build metadata (e.g., `11.8.0+commit`) in app manifests
|
|
@@ -805,7 +824,6 @@
|
|
|
805
824
|
### Patch Changes
|
|
806
825
|
|
|
807
826
|
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Added `--silent` option to the `disco resolve` command to disable CLI logger output and only output structured JSON results for piping.
|
|
808
|
-
|
|
809
827
|
- Added `--silent` flag that completely disables the CLI logger and all logging output
|
|
810
828
|
- Only outputs the resolved service details as JSON when silent mode is enabled
|
|
811
829
|
- Enables piping the command output to other tools (e.g., `jq`, `grep`, etc.)
|
|
@@ -813,31 +831,26 @@
|
|
|
813
831
|
- Cleaned up debug console.log statements
|
|
814
832
|
|
|
815
833
|
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Aligned portal dev command options with app dev command for consistency.
|
|
816
|
-
|
|
817
834
|
- Standardized option format from short flags to long flags (--debug, --port)
|
|
818
835
|
- Added --env option support for runtime environment configuration
|
|
819
836
|
- Updated logging message to be portal-specific ("Starting portal in development mode...")
|
|
820
837
|
- Enhanced startPortalDevServer function call to include env parameter
|
|
821
838
|
|
|
822
839
|
- [#3343](https://github.com/equinor/fusion-framework/pull/3343) [`33054ac`](https://github.com/equinor/fusion-framework/commit/33054ac27b309e9d0301dd1f1d63639dac27f00b) Thanks [@odinr](https://github.com/odinr)! - Reorganized authentication documentation to improve maintainability and user experience.
|
|
823
|
-
|
|
824
840
|
- Removed local `libsecret.md` documentation file
|
|
825
841
|
- Updated all libsecret references to point to centralized MSAL Node module documentation
|
|
826
842
|
- Enhanced authentication guide with cross-references to underlying module documentation
|
|
827
843
|
- Improved documentation structure by consolidating authentication docs in the appropriate module packages
|
|
828
844
|
|
|
829
845
|
**Migration Notes:**
|
|
830
|
-
|
|
831
846
|
- libsecret installation guide is now available at: https://equinor.github.io/fusion-framework/modules/auth/msal-node/docs/libsecret.html
|
|
832
847
|
- All authentication-related documentation is now centralized in the MSAL Node module package
|
|
833
848
|
|
|
834
849
|
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Fixed missing `env` parameter in `buildApplication` call within `bundleApp` function.
|
|
835
|
-
|
|
836
850
|
- Added the required `env` parameter to the `buildApplication` function call in `packages/cli/src/bin/app-pack.ts`
|
|
837
851
|
- This ensures the build process receives the correct runtime environment configuration
|
|
838
852
|
|
|
839
853
|
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Fixed stdout concatenation issues in CLI commands that output JSON to stdout.
|
|
840
|
-
|
|
841
854
|
- Replaced `stdout.write()` with `console.log()` for proper newline handling in:
|
|
842
855
|
- `ffc app manifest` command
|
|
843
856
|
- `ffc app config` command
|
|
@@ -849,7 +862,6 @@
|
|
|
849
862
|
These changes ensure that shell prompts no longer concatenate to JSON output, making the commands safe to pipe to tools like `jq`.
|
|
850
863
|
|
|
851
864
|
- [#3341](https://github.com/equinor/fusion-framework/pull/3341) [`cd09bef`](https://github.com/equinor/fusion-framework/commit/cd09befcdab4162a38d4dfd14f280ce228ea97d9) Thanks [@odinr](https://github.com/odinr)! - Enhanced CLI command documentation and help text across all commands.
|
|
852
|
-
|
|
853
865
|
- Updated command examples to use `ffc` (alias) instead of `fusion-framework-cli`
|
|
854
866
|
- Improved TSDoc comments with comprehensive descriptions and examples
|
|
855
867
|
- Streamlined help text by removing redundant information and improving formatting
|
|
@@ -869,7 +881,6 @@
|
|
|
869
881
|
### Patch Changes
|
|
870
882
|
|
|
871
883
|
- [#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 Vite configuration with improved TypeScript path resolution and centralized config loading.
|
|
872
|
-
|
|
873
884
|
- Added `vite-tsconfig-paths` plugin for better TypeScript path resolution in development
|
|
874
885
|
- Refactored app and portal dev servers to use centralized `loadViteConfig` function
|
|
875
886
|
- Improved Vite config merging with `mergeConfigVite` for better configuration management
|
|
@@ -968,14 +979,12 @@
|
|
|
968
979
|
### Patch Changes
|
|
969
980
|
|
|
970
981
|
- [#3271](https://github.com/equinor/fusion-framework/pull/3271) [`7832bd7`](https://github.com/equinor/fusion-framework/commit/7832bd78843621ca95373596761bec29d4bdbbb8) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependency `chalk` to ^5.6.0
|
|
971
|
-
|
|
972
982
|
- Updated `chalk` to version ^5.6.0 in root, CLI, and log utils packages.
|
|
973
983
|
- No breaking changes expected.
|
|
974
984
|
|
|
975
985
|
See [chalk changelog](https://github.com/chalk/chalk/releases) for details.
|
|
976
986
|
|
|
977
987
|
- [#3309](https://github.com/equinor/fusion-framework/pull/3309) [`29efd10`](https://github.com/equinor/fusion-framework/commit/29efd10c48f9d11ba5aa7246d3217c5ea81ddc14) Thanks [@odinr](https://github.com/odinr)! - - Removed all YAML/Markdown frontmatter blocks from CLI documentation files in `/packages/cli/docs` and `/packages/cli/README.md` for a cleaner, more maintainable documentation source.
|
|
978
|
-
|
|
979
988
|
- Updated all internal documentation links to use relative paths without leading `./` for consistency and compatibility with VuePress.
|
|
980
989
|
- Updated the `TODO.md` file to remove completed or obsolete tasks and clarify remaining todos.
|
|
981
990
|
|
|
@@ -990,7 +999,6 @@
|
|
|
990
999
|
### Major Changes
|
|
991
1000
|
|
|
992
1001
|
- [#3075](https://github.com/equinor/fusion-framework/pull/3075) [`8fffbfb`](https://github.com/equinor/fusion-framework/commit/8fffbfb12daa9748bf5290e5084cd4d409aed253) Thanks [@odinr](https://github.com/odinr)! - **Major Changes**
|
|
993
|
-
|
|
994
1002
|
- **Rewrite:** The CLI has been rewritten to use Fusion Framework internally, minimizing dependencies and improving performance. It is now a first-class citizen in the Fusion Framework ecosystem, providing a more consistent and integrated experience.
|
|
995
1003
|
- **Dev Portal Modularization:** The dev portal has been moved to a separate package `@equinor/fusion-framework-dev-server`, enabling modular architecture and independent updates. The dev portal can be configured via `dev-server.config.js` and supports live preview and API mocking.
|
|
996
1004
|
- **Command Structure:** CLI is now divided into three main groups: `bin` (executable functions), `commands` (CLI commands), and `lib` (for consumers, config, and utilities). This improves organization and modularity.
|
|
@@ -1002,22 +1010,18 @@
|
|
|
1002
1010
|
- **New Utility Functions:** The CLI now includes new utility modules for resolving CI/CD metadata (GitHub Actions, Azure DevOps), git commit and remote info, and package metadata. These utilities support advanced scripting and automation scenarios.
|
|
1003
1011
|
|
|
1004
1012
|
**Minor Changes**
|
|
1005
|
-
|
|
1006
1013
|
- **Portal Config Support:** Added helpers for loading and resolving portal configuration files, with new types and utilities for authoring static or dynamic portal configs. Dev server logic updated to use resolved portal config.
|
|
1007
1014
|
- **Manifest Refactor:** Portal manifest now uses `name` and `templateEntry` for consistency with app manifests. Dev server config and routing updated. Asset paths now use `/@fs` for local development. Improved type safety and schema validation.
|
|
1008
1015
|
- **ESM Modernization:** Refactored CLI to use deepmerge instead of lodash.mergewith, updated all imports to use explicit `.js` extensions, and re-exported all bin entrypoints for ESM compatibility. Updated package.json and tsconfig.json for ESM.
|
|
1009
1016
|
|
|
1010
1017
|
**Patch Changes**
|
|
1011
|
-
|
|
1012
1018
|
- **Dev Server Config:** Refactored config loading and merging, added `RecursivePartial` type, custom array merge strategy, and improved documentation. Arrays of route objects are now merged by `match` property to ensure uniqueness.
|
|
1013
1019
|
- **Node Version Check:** Added Node.js version check and LTS recommendation to CLI entrypoint. Build config injects version info via environment variables.
|
|
1014
1020
|
|
|
1015
1021
|
**Other**
|
|
1016
|
-
|
|
1017
1022
|
- Improved maintainability, type safety, and developer experience throughout the CLI and dev server packages.
|
|
1018
1023
|
|
|
1019
1024
|
**Note:**
|
|
1020
|
-
|
|
1021
1025
|
- The removal of Vite config and schema utilities is a breaking change for users who previously relied on CLI-provided defaults. Please migrate to custom configuration as needed.
|
|
1022
1026
|
- The new utility modules are available for advanced use cases and automation, but do not affect most standard CLI usage.
|
|
1023
1027
|
- If you are authoring an `app.config.ts` file, you now need to import the config helper as follows:
|
|
@@ -1031,14 +1035,12 @@
|
|
|
1031
1035
|
|
|
1032
1036
|
+- See the CLI's [README](https://github.com/equinor/fusion-framework/blob/main/packages/cli/README.md) for a full overview, installation, and command reference.
|
|
1033
1037
|
+- The [docs folder](https://github.com/equinor/fusion-framework/tree/main/packages/cli/docs) contains:
|
|
1034
|
-
|
|
1035
1038
|
- - [Developing Apps](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/application.md): Step-by-step guide to app setup, config, CI/CD, and best practices.
|
|
1036
1039
|
- - [Developing Portals](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/portal.md): Portal template development, manifest/schema, and deployment.
|
|
1037
1040
|
- - [Authentication](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/auth.md): Local and CI/CD authentication, MSAL, and secure token storage.
|
|
1038
1041
|
- - [Migration Guide: v10 to v11](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/migration-v10-to-v11.md): Breaking changes, deprecated commands, and upgrade steps.
|
|
1039
1042
|
- - [libsecret setup](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/libsecret.md): Secure credential storage for Linux users.
|
|
1040
1043
|
+- For real-world examples, see the [cookbooks/](https://github.com/equinor/fusion-framework/tree/main/cookbooks) directory.
|
|
1041
|
-
|
|
1042
1044
|
* Key usage notes:
|
|
1043
1045
|
- All config and manifest files must use helpers from `@equinor/fusion-framework-cli/app`.
|
|
1044
1046
|
- Use `fusion-framework-cli auth login` for local authentication; use `FUSION_TOKEN` for CI/CD.
|
|
@@ -1065,7 +1067,6 @@
|
|
|
1065
1067
|
### Patch Changes
|
|
1066
1068
|
|
|
1067
1069
|
- [#3268](https://github.com/equinor/fusion-framework/pull/3268) [`7ef5afc`](https://github.com/equinor/fusion-framework/commit/7ef5afc96a8c2cebecedc85703be820d84e3885a) Thanks [@odinr](https://github.com/odinr)! - Fix: Improve type safety and error handling in `AppAssetExportPlugin` (app-assets plugin).
|
|
1068
|
-
|
|
1069
1070
|
- Use `unknown as PluginContext` for type casting in `resolveId` and `emitAssetSync` calls.
|
|
1070
1071
|
- Add null check and warning if asset emission fails.
|
|
1071
1072
|
- Minor code style and safety improvements.
|
|
@@ -1112,18 +1113,15 @@
|
|
|
1112
1113
|
### Minor Changes
|
|
1113
1114
|
|
|
1114
1115
|
- [#2930](https://github.com/equinor/fusion-framework/pull/2930) [`5da6b2d`](https://github.com/equinor/fusion-framework/commit/5da6b2d4cb7fb93ff3784753a0052d3362ab828d) Thanks [@odinr](https://github.com/odinr)! - **@equinor/fusion-framework-react:**
|
|
1115
|
-
|
|
1116
1116
|
- Enhanced `useAppContextNavigation` to support custom context path extraction and generation. This allows for more flexible navigation handling based on application-specific requirements.
|
|
1117
1117
|
|
|
1118
1118
|
**@equinor/fusion-framework-module-context:**
|
|
1119
|
-
|
|
1120
1119
|
- Added support for custom context path extraction and generation in `ContextConfigBuilder`, `ContextProvider`, and `ContextModuleConfigurator`.
|
|
1121
1120
|
- Introduced `setContextPathExtractor` and `setContextPathGenerator` methods in `ContextConfigBuilder` to allow developers to define custom logic for extracting and generating context paths.
|
|
1122
1121
|
- Updated `ContextProvider` to utilize `extractContextIdFromPath` and `generatePathFromContext` from the configuration, enabling dynamic path handling.
|
|
1123
1122
|
- Enhanced `ContextModuleConfigurator` to include `extractContextIdFromPath` and `generatePathFromContext` in the module configuration.
|
|
1124
1123
|
|
|
1125
1124
|
If you are using `@equinor/fusion-framework-module-context` and need custom logic for context path handling:
|
|
1126
|
-
|
|
1127
1125
|
1. Use `setContextPathExtractor` to define how to extract context IDs from paths.
|
|
1128
1126
|
2. Use `setContextPathGenerator` to define how to generate paths based on context items.
|
|
1129
1127
|
|
|
@@ -1150,11 +1148,11 @@
|
|
|
1150
1148
|
// Custom logic to generate path from context
|
|
1151
1149
|
const path = contextProvider.generatePathFromContext?.(
|
|
1152
1150
|
context,
|
|
1153
|
-
location.pathname
|
|
1151
|
+
location.pathname,
|
|
1154
1152
|
);
|
|
1155
1153
|
return path ?? fallbackPathGenerator(context, location.pathname);
|
|
1156
1154
|
}),
|
|
1157
|
-
filter(Boolean)
|
|
1155
|
+
filter(Boolean),
|
|
1158
1156
|
)
|
|
1159
1157
|
.subscribe((path) => history.push(path));
|
|
1160
1158
|
```
|
|
@@ -1178,7 +1176,6 @@
|
|
|
1178
1176
|
- [#2885](https://github.com/equinor/fusion-framework/pull/2885) [`abb3560`](https://github.com/equinor/fusion-framework/commit/abb3560a22ad8830df19904272035458433f4237) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update he `Typescript` version `^5.7.3` to `^5.8.2`
|
|
1179
1177
|
|
|
1180
1178
|
- [#2890](https://github.com/equinor/fusion-framework/pull/2890) [`1ad39f5`](https://github.com/equinor/fusion-framework/commit/1ad39f509a33627f2ad877a4125386a80ab8f510) Thanks [@odinr](https://github.com/odinr)! - refactor: adhere to self-closing tags for components
|
|
1181
|
-
|
|
1182
1179
|
- Updated `SelectorPage.tsx` to use self-closing tags for `PersonSelect` components.
|
|
1183
1180
|
- Updated `Header.Actions.tsx` to use self-closing tags for `fwc-person-avatar` component.
|
|
1184
1181
|
- Updated `FeatureSheetContent.tsx` to use self-closing tags for `Icon` and `Divider` components.
|
|
@@ -1288,12 +1285,10 @@
|
|
|
1288
1285
|
- [#2661](https://github.com/equinor/fusion-framework/pull/2661) [`f60748b`](https://github.com/equinor/fusion-framework/commit/f60748b4f3980f00fa3aed131fef97513f1424c6) Thanks [@eikeland](https://github.com/eikeland)! - Added `noOpen` option to the development server configuration.
|
|
1289
1286
|
|
|
1290
1287
|
**Modified files:**
|
|
1291
|
-
|
|
1292
1288
|
- `packages/cli/src/bin/create-dev-serve.ts`
|
|
1293
1289
|
- `packages/cli/src/bin/main.app.ts`
|
|
1294
1290
|
|
|
1295
1291
|
**Changes:**
|
|
1296
|
-
|
|
1297
1292
|
- Added `noOpen` boolean option to `createDevServer` function.
|
|
1298
1293
|
- Updated the server configuration to conditionally open the app in the default browser based on the `noOpen` option.
|
|
1299
1294
|
- Added `-n, --noOpen` option to the CLI command for starting the development server.
|
|
@@ -1339,7 +1334,6 @@
|
|
|
1339
1334
|
### Patch Changes
|
|
1340
1335
|
|
|
1341
1336
|
- [#2612](https://github.com/equinor/fusion-framework/pull/2612) [`1f9da67`](https://github.com/equinor/fusion-framework/commit/1f9da67df85f466763788039c9f0df67164eb391) Thanks [@eikeland](https://github.com/eikeland)! - ### Changes
|
|
1342
|
-
|
|
1343
1337
|
- Stopped using node:path join in app-proxy-plugin since it caused issues on windows
|
|
1344
1338
|
|
|
1345
1339
|
## 10.2.4
|
|
@@ -1351,7 +1345,6 @@
|
|
|
1351
1345
|
`AppLoader.tsx`
|
|
1352
1346
|
|
|
1353
1347
|
### Changes
|
|
1354
|
-
|
|
1355
1348
|
- Added import for last operator from rxjs/operators.
|
|
1356
1349
|
- Updated the initialize subscription to use the last operator.
|
|
1357
1350
|
|
|
@@ -1360,7 +1353,6 @@
|
|
|
1360
1353
|
### Patch Changes
|
|
1361
1354
|
|
|
1362
1355
|
- [#2591](https://github.com/equinor/fusion-framework/pull/2591) [`445760c`](https://github.com/equinor/fusion-framework/commit/445760ce73e1d76303c83c367a394adfb5b7a479) Thanks [@eikeland](https://github.com/eikeland)! - ### Updated Dependencies:
|
|
1363
|
-
|
|
1364
1356
|
- Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
|
|
1365
1357
|
|
|
1366
1358
|
## 10.2.2
|
|
@@ -1380,14 +1372,11 @@
|
|
|
1380
1372
|
### Minor Changes
|
|
1381
1373
|
|
|
1382
1374
|
- [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Updated Bookmark Integration in Dev Portal
|
|
1383
|
-
|
|
1384
1375
|
- **Refactored `BookMarkSideSheet.tsx`:**
|
|
1385
|
-
|
|
1386
1376
|
- Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration.
|
|
1387
1377
|
- Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`.
|
|
1388
1378
|
|
|
1389
1379
|
- **Updated `Header.tsx`:**
|
|
1390
|
-
|
|
1391
1380
|
- Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state.
|
|
1392
1381
|
- Disabled bookmark button if `bookmarkProvider` is not available.
|
|
1393
1382
|
- Passed `bookmarkProvider` to `BookmarkProvider` component.
|
|
@@ -1419,7 +1408,6 @@
|
|
|
1419
1408
|
### Patch Changes
|
|
1420
1409
|
|
|
1421
1410
|
- [#2523](https://github.com/equinor/fusion-framework/pull/2523) [`e188193`](https://github.com/equinor/fusion-framework/commit/e188193a09802cfb74bd8aeaa8713b75b10a0638) Thanks [@eikeland](https://github.com/eikeland)! - ## changes:
|
|
1422
|
-
|
|
1423
1411
|
- changing ci urls to new domain
|
|
1424
1412
|
|
|
1425
1413
|
## 10.0.2
|
|
@@ -1427,7 +1415,6 @@
|
|
|
1427
1415
|
### Patch Changes
|
|
1428
1416
|
|
|
1429
1417
|
- [#2521](https://github.com/equinor/fusion-framework/pull/2521) [`65f03fa`](https://github.com/equinor/fusion-framework/commit/65f03fa01b71d387874dbe8ae21163c7c1c3d4b8) Thanks [@eikeland](https://github.com/eikeland)! - ### Adds CHANGELOG.md to app zip package
|
|
1430
|
-
|
|
1431
1418
|
- Removed individual file additions for package.json, LICENSE.md, and README.md.
|
|
1432
1419
|
- Added a loop to handle multiple files (package.json, LICENSE.md, README.md, CHANGELOG.md) in a more concise manner.
|
|
1433
1420
|
- Updated the spinner messages accordingly.
|
|
@@ -1447,7 +1434,6 @@
|
|
|
1447
1434
|
Introduces new parameters to the `build-config` command for publishing the app config to a build version.
|
|
1448
1435
|
|
|
1449
1436
|
Commands:
|
|
1450
|
-
|
|
1451
1437
|
- `build-pack` - Bundle the app for distribution
|
|
1452
1438
|
- `-o, --output <output>` - Output directory for the packed app
|
|
1453
1439
|
- `-a, --archive` - Archive name for the packed app
|
|
@@ -1508,7 +1494,6 @@
|
|
|
1508
1494
|
```
|
|
1509
1495
|
|
|
1510
1496
|
**breaking changes:**
|
|
1511
|
-
|
|
1512
1497
|
- renaming all commands accociated with build.
|
|
1513
1498
|
- The app-config endpoints is now an object containing url and scopes, where name is the object key:
|
|
1514
1499
|
|
|
@@ -1529,12 +1514,10 @@
|
|
|
1529
1514
|
### Minor Changes
|
|
1530
1515
|
|
|
1531
1516
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Introduced `proxyRequestLogger` to log proxy requests in the CLI.
|
|
1532
|
-
|
|
1533
1517
|
- Show the request URL and method in the console when a proxy request is made.
|
|
1534
1518
|
- Show proxy response status code
|
|
1535
1519
|
|
|
1536
1520
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Create a plugin `externalPublicPlugin` to fix the issue with serving the `index.html` file from the specified external public directory. Vite mode `spa` will not serve the `index.html` file from the specified external public directory.
|
|
1537
|
-
|
|
1538
1521
|
- Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
|
|
1539
1522
|
- Transformed the HTML using Vite's `transformIndexHtml` method.
|
|
1540
1523
|
- Applied appropriate content headers and additional configured headers before sending the response.
|
|
@@ -1551,7 +1534,6 @@
|
|
|
1551
1534
|
```
|
|
1552
1535
|
|
|
1553
1536
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updated commands in CLI to reflect purpose of the command:
|
|
1554
|
-
|
|
1555
1537
|
- renamed `config` to `build-config` to generate build config of an application.
|
|
1556
1538
|
- renamed `pack`to `build-pack` to bundle an application.
|
|
1557
1539
|
- added `build-manifest` command to generate build manifest of an application.
|
|
@@ -1567,16 +1549,13 @@
|
|
|
1567
1549
|
It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version.
|
|
1568
1550
|
|
|
1569
1551
|
Key Features:
|
|
1570
|
-
|
|
1571
1552
|
1. Proxy Configuration:
|
|
1572
|
-
|
|
1573
1553
|
- Proxies API calls to the Fusion apps backend.
|
|
1574
1554
|
- Proxies bundle requests to the Fusion apps backend.
|
|
1575
1555
|
- Uses a base path `proxyPath` for proxying.
|
|
1576
1556
|
- Captures and reuses authorization tokens for asset requests.
|
|
1577
1557
|
|
|
1578
1558
|
2. **App Configuration and Manifest**:
|
|
1579
|
-
|
|
1580
1559
|
- Serves the app configuration if the request matches the current app and version.
|
|
1581
1560
|
- Serves the app manifest if the request matches the current app.
|
|
1582
1561
|
|
|
@@ -1653,7 +1632,6 @@
|
|
|
1653
1632
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
1654
1633
|
|
|
1655
1634
|
Updated the following dependencies
|
|
1656
|
-
|
|
1657
1635
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
1658
1636
|
|
|
1659
1637
|
- [#2494](https://github.com/equinor/fusion-framework/pull/2494) [`e11ad64`](https://github.com/equinor/fusion-framework/commit/e11ad64a42210443bdfd9ab9eb2fb95e7e345251) Thanks [@odinr](https://github.com/odinr)! - Generated base manifest from package will now include `StandardIncludeAssetExtensions` as `allowedExtensions`
|
|
@@ -1665,7 +1643,6 @@
|
|
|
1665
1643
|
- [#2493](https://github.com/equinor/fusion-framework/pull/2493) [`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81) Thanks [@eikeland](https://github.com/eikeland)! - Updating fusion-wc-person to fix issues when using selectedPerson = null in PersonSelect component.
|
|
1666
1644
|
|
|
1667
1645
|
Updated the following dependencies
|
|
1668
|
-
|
|
1669
1646
|
- `@equinor/fusion-wc-person` from `^3.0.1` to `^3.0.3` in `packages/cli/package.json` and `packages/react/components/people-resolver/package.json`.
|
|
1670
1647
|
|
|
1671
1648
|
- Updated dependencies [[`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81)]:
|
|
@@ -1685,7 +1662,6 @@
|
|
|
1685
1662
|
|
|
1686
1663
|
> [!NOTE]
|
|
1687
1664
|
> This is a quick fix until the new major version of the CLI is released.
|
|
1688
|
-
|
|
1689
1665
|
- Updated the `baseUri` to use a more specific URL path for service discovery.
|
|
1690
1666
|
- Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
|
|
1691
1667
|
- Changed parsing of service discovery response to match new API format.
|
|
@@ -1747,7 +1723,6 @@
|
|
|
1747
1723
|
- [#2350](https://github.com/equinor/fusion-framework/pull/2350) [`960ca34`](https://github.com/equinor/fusion-framework/commit/960ca34cae26f386e28c16bac00e7932f4f9199a) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.38.0 to 0.40.1
|
|
1748
1724
|
|
|
1749
1725
|
- [#2360](https://github.com/equinor/fusion-framework/pull/2360) [`1c7ac1b`](https://github.com/equinor/fusion-framework/commit/1c7ac1b42213f33a668e79d750e0b12b227a7052) Thanks [@eikeland](https://github.com/eikeland)! - Enhanced ContextSelector component in the CLI package:
|
|
1750
|
-
|
|
1751
1726
|
- Implemented responsive context clearing mechanism
|
|
1752
1727
|
- Improved handling of context selection and clearing events
|
|
1753
1728
|
- Optimized component rendering with useMemo and useCallback hooks
|
|
@@ -1791,7 +1766,6 @@
|
|
|
1791
1766
|
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file.
|
|
1792
1767
|
|
|
1793
1768
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
1794
|
-
|
|
1795
1769
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
1796
1770
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
1797
1771
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -1910,7 +1884,6 @@
|
|
|
1910
1884
|
### Patch Changes
|
|
1911
1885
|
|
|
1912
1886
|
- [#2107](https://github.com/equinor/fusion-framework/pull/2107) [`491c2e0`](https://github.com/equinor/fusion-framework/commit/491c2e05a2383dc7aa310f11ba6f7325a69e7197) Thanks [@odinr](https://github.com/odinr)! - Fixed issue with missing process env `FUSION_LOG_LEVEL`
|
|
1913
|
-
|
|
1914
1887
|
- added default resolve value when generating base vite configuration
|
|
1915
1888
|
- moved default query log level resolve outside class
|
|
1916
1889
|
|
|
@@ -2078,7 +2051,6 @@
|
|
|
2078
2051
|
### Patch Changes
|
|
2079
2052
|
|
|
2080
2053
|
- [#1878](https://github.com/equinor/fusion-framework/pull/1878) [`fe1a239`](https://github.com/equinor/fusion-framework/commit/fe1a239e9ce9fc0e39b4faf67ffda40d287d5bd2) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - - Add error icon for errors
|
|
2081
|
-
|
|
2082
2054
|
- Add info icon for no result
|
|
2083
2055
|
|
|
2084
2056
|
- [#1875](https://github.com/equinor/fusion-framework/pull/1875) [`e018c6e`](https://github.com/equinor/fusion-framework/commit/e018c6e5b5f8676b642ded1bb8b5b41bc65f674f) Thanks [@asbjornhaland](https://github.com/asbjornhaland)! - Show message when unhandled error occurs in context selector
|
|
@@ -2414,7 +2386,6 @@
|
|
|
2414
2386
|
### Patch Changes
|
|
2415
2387
|
|
|
2416
2388
|
- [#1348](https://github.com/equinor/fusion-framework/pull/1348) [`0acc8827`](https://github.com/equinor/fusion-framework/commit/0acc8827e5e2df8b5b2aeac5e1a2cd29c4384e78) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump @equinor/eds-core-react from 0.32.4 to 0.33.0
|
|
2417
|
-
|
|
2418
2389
|
- support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
|
|
2419
2390
|
|
|
2420
2391
|
## 9.1.3
|
|
@@ -2512,7 +2483,6 @@
|
|
|
2512
2483
|
> the CLI was thrown together as a proof of concept, but grown un-manageable, because of lack of structure
|
|
2513
2484
|
|
|
2514
2485
|
**Main Features**
|
|
2515
|
-
|
|
2516
2486
|
- Separate logic and utilities from program (app/cli commands)
|
|
2517
2487
|
- allow user to provide config files `app.{config,manifest,vite}.{ts,js,json}`
|
|
2518
2488
|
- the cli will try to resolve from `.ts` then `.js` then `.json`
|
|
@@ -2545,7 +2515,7 @@
|
|
|
2545
2515
|
},
|
|
2546
2516
|
},
|
|
2547
2517
|
},
|
|
2548
|
-
})
|
|
2518
|
+
}),
|
|
2549
2519
|
);
|
|
2550
2520
|
```
|
|
2551
2521
|
|
|
@@ -2622,7 +2592,6 @@
|
|
|
2622
2592
|
|
|
2623
2593
|
align CLI with EDS and use style components instead of emotion 🥲
|
|
2624
2594
|
prevent conflict of react types dependent on both emotion and eds
|
|
2625
|
-
|
|
2626
2595
|
- remove @emotion/\*
|
|
2627
2596
|
- convert emotion to styled-components
|
|
2628
2597
|
- fix styling of cli
|
|
@@ -2658,7 +2627,6 @@
|
|
|
2658
2627
|
see [react changelog](https://github.com/facebook/react/releases) for details
|
|
2659
2628
|
|
|
2660
2629
|
- [#1122](https://github.com/equinor/fusion-framework/pull/1122) [`1a055b21`](https://github.com/equinor/fusion-framework/commit/1a055b21e07f84bc5d35cc891586aa9aa0bdf661) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update styled-components to [^6.0.7](https://github.com/styled-components/styled-components/releases/tag/v6.0.7)
|
|
2661
|
-
|
|
2662
2630
|
- upgraded dev deps of `@equinor/fusion-framework-react-components-bookmark` to react 18, see style-components [changelog](https://github.com/styled-components/styled-components/releases/tag/v6.0.0)
|
|
2663
2631
|
- removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
|
|
2664
2632
|
|
|
@@ -2736,7 +2704,6 @@
|
|
|
2736
2704
|
both `"main": "src/index.ts"` and `"main": "/src/index.ts"` will resolve.
|
|
2737
2705
|
|
|
2738
2706
|
- [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
|
|
2739
|
-
|
|
2740
2707
|
- align all versions of typescript
|
|
2741
2708
|
- update types to build
|
|
2742
2709
|
- a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
|