@equinor/fusion-framework-cli 13.3.17 → 13.3.19-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 +22 -123
- 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/lib/portal/portal-manifest.schema.js +3 -3
- package/dist/esm/lib/portal/portal-manifest.schema.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/bin/portal-build.d.ts +1 -1
- package/dist/types/bin/portal-manifest.d.ts +1 -1
- package/dist/types/bin/portal-pack.d.ts +1 -1
- 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/lib/portal/portal-manifest.schema.d.ts +6 -6
- package/dist/types/version.d.ts +1 -1
- package/docs/application.md +36 -0
- package/package.json +15 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 13.3.19-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3820](https://github.com/equinor/fusion-framework/pull/3820) [`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78) Thanks [@odinr](https://github.com/odinr)! - relase next
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`f647825`](https://github.com/equinor/fusion-framework/commit/f647825cb5712763b09dafda21fd996211c78b78), [`fa89ed8`](https://github.com/equinor/fusion-framework/commit/fa89ed8aeed919950ef6a6775e60eb6904ec7946)]:
|
|
10
|
+
- @equinor/fusion-framework-vite-plugin-raw-imports@1.1.0-next.1
|
|
11
|
+
- @equinor/fusion-imports@1.1.12-next.0
|
|
12
|
+
- @equinor/fusion-framework-dev-portal@5.0.0-next.0
|
|
13
|
+
- @equinor/fusion-framework-dev-server@1.1.32-next.0
|
|
14
|
+
- @equinor/fusion-framework-module-msal-node@3.0.2-next.0
|
|
15
|
+
|
|
16
|
+
## 13.3.18
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#4167](https://github.com/equinor/fusion-framework/pull/4167) [`35afdc9`](https://github.com/equinor/fusion-framework/commit/35afdc9d818818f86d2dc8f985466771cd05e7e5) Thanks [@Noggling](https://github.com/Noggling)! - Internal: update portal manifest build annotation validation to accept `null` values (`string | null | undefined`) and document the nullish handling behavior.
|
|
21
|
+
|
|
3
22
|
## 13.3.17
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -164,7 +183,6 @@
|
|
|
164
183
|
This streamlines the deployment workflow by combining bundle upload and config upload in a single command.
|
|
165
184
|
|
|
166
185
|
**Internal changes:**
|
|
167
|
-
|
|
168
186
|
- Refactored `publishAppConfig` to accept pre-resolved config and framework instance, improving modularity and reusability
|
|
169
187
|
- Updated `generateApplicationConfig` to return both config and package metadata, with graceful fallback when package resolution fails
|
|
170
188
|
- Simplified `app config` command flow by handling config generation and manifest loading before publishing
|
|
@@ -196,7 +214,6 @@
|
|
|
196
214
|
The CLI publish command now supports validating applications using metadata extracted from bundle artifacts instead of requiring local package.json and manifest files. This enables publishing applications from any directory in CI/CD pipelines without maintaining the full project structure.
|
|
197
215
|
|
|
198
216
|
**New capabilities:**
|
|
199
|
-
|
|
200
217
|
- Extract app information from bundle's `metadata.json`
|
|
201
218
|
- Validate app registration using artifact metadata when bundle path is provided
|
|
202
219
|
- Maintain backward compatibility with existing package.json-based validation
|
|
@@ -229,7 +246,6 @@
|
|
|
229
246
|
- [#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.
|
|
230
247
|
|
|
231
248
|
**Usage:**
|
|
232
|
-
|
|
233
249
|
- In your SPA environment file, set `FUSION_SPA_AG_GRID_KEY=your-license-key-here`.
|
|
234
250
|
- The SPA HTML template injects `window.FUSION_AG_GRID_KEY` before bootstrap runs, and the dev-portal picks it up automatically.
|
|
235
251
|
|
|
@@ -275,7 +291,6 @@
|
|
|
275
291
|
- [#3932](https://github.com/equinor/fusion-framework/pull/3932) [`15aaa87`](https://github.com/equinor/fusion-framework/commit/15aaa87e6a8b391c0672db0dcdca4c1cac3b50a7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Internal: update rollup build dependency from 4.52.5 to 4.55.2.
|
|
276
292
|
|
|
277
293
|
This update includes:
|
|
278
|
-
|
|
279
294
|
- Improved circular dependency handling for manual chunks
|
|
280
295
|
- Enhanced tree-shaking for Symbol properties
|
|
281
296
|
- Performance improvements via variable name caching
|
|
@@ -307,7 +322,6 @@
|
|
|
307
322
|
- [`e2d2a76`](https://github.com/equinor/fusion-framework/commit/e2d2a76d08b86c3a9d8783fed1606551df9d5633) Thanks [@odinr](https://github.com/odinr)! - Add plugin system for extensible CLI architecture and new framework configuration utilities.
|
|
308
323
|
|
|
309
324
|
**Plugin System:**
|
|
310
|
-
|
|
311
325
|
- Support for optional plugins via `fusion-cli.config.ts` configuration file
|
|
312
326
|
- Automatic plugin discovery and loading from project root or CLI package directory
|
|
313
327
|
- Plugin registration via package name or direct function imports
|
|
@@ -315,23 +329,19 @@
|
|
|
315
329
|
- Multiple plugin resolution strategies for different installation methods
|
|
316
330
|
|
|
317
331
|
**New Exports:**
|
|
318
|
-
|
|
319
332
|
- `configureFramework` - Separated framework configuration from initialization for advanced use cases
|
|
320
333
|
- `defineFusionCli` - Type-safe utility for defining CLI plugin configurations
|
|
321
334
|
|
|
322
335
|
**Enhancements:**
|
|
323
|
-
|
|
324
336
|
- Non-interactive mode support for `create app` command with `--git-protocol`, `--cleanup`/`--no-cleanup`, and `--no-open` options
|
|
325
337
|
- Automatic `.env` file loading via dotenv for environment variable support
|
|
326
338
|
- Improved error handling and plugin resolution strategies
|
|
327
339
|
|
|
328
340
|
**Documentation:**
|
|
329
|
-
|
|
330
341
|
- Added comprehensive AI commands documentation (internal use only)
|
|
331
342
|
- Updated README with plugin system usage instructions
|
|
332
343
|
|
|
333
344
|
**Quick Usage:**
|
|
334
|
-
|
|
335
345
|
1. Install a plugin package:
|
|
336
346
|
|
|
337
347
|
```sh
|
|
@@ -455,7 +465,6 @@
|
|
|
455
465
|
Portal tagging functionality has been enhanced to accept any string value for tags instead of being restricted to predefined enum values.
|
|
456
466
|
|
|
457
467
|
**Breaking Changes**
|
|
458
|
-
|
|
459
468
|
- **Removed `AllowedPortalTags` enum**: The enum that previously restricted portal tags to only `'latest'` and `'preview'` has been removed.
|
|
460
469
|
- **No longer exported**: `AllowedPortalTags` is no longer exported from `@equinor/fusion-framework-cli/bin`.
|
|
461
470
|
|
|
@@ -490,13 +499,11 @@
|
|
|
490
499
|
```
|
|
491
500
|
|
|
492
501
|
**Enhanced Documentation**
|
|
493
|
-
|
|
494
502
|
- Updated CLI help text with practical examples
|
|
495
503
|
- Added common tag examples (`latest`, `preview`, `next`, `stable`) in documentation
|
|
496
504
|
- Maintained guidance while showing flexibility
|
|
497
505
|
|
|
498
506
|
**Validation**
|
|
499
|
-
|
|
500
507
|
- Tags must be non-empty strings
|
|
501
508
|
- No other restrictions on tag format or content
|
|
502
509
|
- Backward compatibility maintained for existing tag values
|
|
@@ -566,20 +573,17 @@
|
|
|
566
573
|
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.
|
|
567
574
|
|
|
568
575
|
**Changes:**
|
|
569
|
-
|
|
570
576
|
- Updated Vite from v7.1.10 to v7.1.12
|
|
571
577
|
- Includes security fix for development server file system checks
|
|
572
578
|
- Includes compatibility fix for CommonJS plugin
|
|
573
579
|
- No breaking changes or API modifications
|
|
574
580
|
|
|
575
581
|
**Security Fix (v7.1.11):**
|
|
576
|
-
|
|
577
582
|
- **dev**: trim trailing slash before `server.fs.deny` check ([#20968](https://github.com/vitejs/vite/issues/20968))
|
|
578
583
|
- Prevents potential path traversal vulnerability in development server
|
|
579
584
|
- Only affects development environment, not production builds
|
|
580
585
|
|
|
581
586
|
**Bug Fix (v7.1.12):**
|
|
582
|
-
|
|
583
587
|
- **deps**: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins issues ([#20990](https://github.com/vitejs/vite/issues/20990))
|
|
584
588
|
- Improves compatibility with Rollup plugin ecosystem
|
|
585
589
|
- Prevents potential build issues
|
|
@@ -601,12 +605,10 @@
|
|
|
601
605
|
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.
|
|
602
606
|
|
|
603
607
|
### What Changed
|
|
604
|
-
|
|
605
608
|
- Corrected parameter passing in `packages/cli/src/cli/commands/app/config.ts`
|
|
606
609
|
- Changed `config: options.config` to `config` in the `publishAppConfig` call
|
|
607
610
|
|
|
608
611
|
### Impact
|
|
609
|
-
|
|
610
612
|
- The `ffc app config --publish` command now correctly uses the provided config file argument
|
|
611
613
|
- Fixes the issue where custom config files were not being passed to the publish function
|
|
612
614
|
- No breaking changes to the CLI interface
|
|
@@ -621,7 +623,6 @@
|
|
|
621
623
|
- [#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
|
|
622
624
|
|
|
623
625
|
Bug fixes:
|
|
624
|
-
|
|
625
626
|
- fix: resolve bare targets of package "imports" using export maps; avoid fileURLToPath(null)
|
|
626
627
|
- fix: error thrown with empty entry
|
|
627
628
|
|
|
@@ -655,11 +656,9 @@
|
|
|
655
656
|
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.
|
|
656
657
|
|
|
657
658
|
**Changes:**
|
|
658
|
-
|
|
659
659
|
- Added `is-mergeable-object@^1.1.1` to dependencies in `packages/cli/package.json`
|
|
660
660
|
|
|
661
661
|
**Impact:**
|
|
662
|
-
|
|
663
662
|
- Fixes "Cannot find module 'is-mergeable-object'" errors during app development
|
|
664
663
|
- Ensures proper dependency resolution for CLI tools that use deepmerge functionality
|
|
665
664
|
- No breaking changes - this is purely a dependency fix
|
|
@@ -669,13 +668,11 @@
|
|
|
669
668
|
### Patch Changes
|
|
670
669
|
|
|
671
670
|
- [#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.
|
|
672
|
-
|
|
673
671
|
- Created new `defaultHeaders` utility that includes CLI name, version, and user-agent
|
|
674
672
|
- Updated app upload/tag operations to include default headers
|
|
675
673
|
- Updated portal upload/tag operations to include default headers
|
|
676
674
|
|
|
677
675
|
All HTTP requests from the CLI now include:
|
|
678
|
-
|
|
679
676
|
- `X-Fusion-CLI-Name`: Identifies the CLI tool name
|
|
680
677
|
- `X-Fusion-CLI-Version`: Specifies the CLI version making the request
|
|
681
678
|
- `User-Agent`: Standard user agent header with CLI name and version
|
|
@@ -685,7 +682,6 @@
|
|
|
685
682
|
Closes: #3539
|
|
686
683
|
|
|
687
684
|
- [#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.
|
|
688
|
-
|
|
689
685
|
- Added `cliVersion` property to `ReleaseAnnotations` type
|
|
690
686
|
- Ensured annotations are always returned (removed undefined return type)
|
|
691
687
|
- Added fallback annotations for local builds with default values
|
|
@@ -703,7 +699,6 @@
|
|
|
703
699
|
### Minor Changes
|
|
704
700
|
|
|
705
701
|
- [#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)).
|
|
706
|
-
|
|
707
702
|
- Added `/portal-proxy` service worker resource configuration to CLI dev server
|
|
708
703
|
- Routes portal proxy requests to Fusion portal service API (`/@fusion-api/portal-config`)
|
|
709
704
|
- Enhanced dev server creation with improved logging and error handling
|
|
@@ -715,7 +710,6 @@
|
|
|
715
710
|
### Patch Changes
|
|
716
711
|
|
|
717
712
|
- [`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.
|
|
718
|
-
|
|
719
713
|
- Modified `startAppDevServer` function in `app-dev.ts` to use host configuration from local Vite config
|
|
720
714
|
- Changed hardcoded 'localhost' host to respect `localViteConfig.server?.host` with 'localhost' as fallback
|
|
721
715
|
- Improved configuration loading by storing `localViteConfig` in a variable to avoid duplicate loading
|
|
@@ -740,7 +734,6 @@
|
|
|
740
734
|
ref: [3548](https://github.com/equinor/fusion-framework/issues/3548)
|
|
741
735
|
|
|
742
736
|
- [#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.
|
|
743
|
-
|
|
744
737
|
- Added detailed portal proxy configuration section in dev-server-config.md
|
|
745
738
|
- Documented portal proxy behavior, use cases, and benefits
|
|
746
739
|
- Provided complete code examples for portal proxy setup
|
|
@@ -758,7 +751,6 @@
|
|
|
758
751
|
### Minor Changes
|
|
759
752
|
|
|
760
753
|
- [#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.
|
|
761
|
-
|
|
762
754
|
- Modified `checkApp` function to return boolean values instead of log results for better programmatic usage
|
|
763
755
|
- Added handling for HTTP 410 status (deleted apps) in app registration checks
|
|
764
756
|
- Added pre-flight app registration validation to `publish` and `upload` commands
|
|
@@ -774,7 +766,6 @@
|
|
|
774
766
|
### Patch Changes
|
|
775
767
|
|
|
776
768
|
- [#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.
|
|
777
|
-
|
|
778
769
|
- Added detailed `dev-server-config.md` documentation covering configuration options, API mocking, service discovery customization, and template environment overrides
|
|
779
770
|
- Updated main `dev-server.md` documentation with improved architecture overview and configuration reference
|
|
780
771
|
- Provided practical examples and troubleshooting guidance for dev-server configuration
|
|
@@ -801,7 +792,6 @@
|
|
|
801
792
|
### Patch Changes
|
|
802
793
|
|
|
803
794
|
- [`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.
|
|
804
|
-
|
|
805
795
|
- Changed workspace dependencies from `workspace:^` to `workspace:*` across CLI, dev-server, and SPA vite plugin packages
|
|
806
796
|
- Ensures exact version resolution within the monorepo for predictable builds and releases
|
|
807
797
|
- Affects both dependencies and devDependencies where applicable
|
|
@@ -822,7 +812,6 @@
|
|
|
822
812
|
### Minor Changes
|
|
823
813
|
|
|
824
814
|
- [#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.
|
|
825
|
-
|
|
826
815
|
- Added interactive prompt for users to choose between HTTPS and SSH protocols
|
|
827
816
|
- Implemented intelligent SSH detection using both git config and filesystem checks
|
|
828
817
|
- Removed automatic SSH-to-HTTPS fallback in favor of explicit user choice
|
|
@@ -850,7 +839,6 @@
|
|
|
850
839
|
- [#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.
|
|
851
840
|
|
|
852
841
|
- [#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
|
|
853
|
-
|
|
854
842
|
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
855
843
|
- **v4.1.11**: Maintenance release with general improvements
|
|
856
844
|
|
|
@@ -871,7 +859,6 @@
|
|
|
871
859
|
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.
|
|
872
860
|
|
|
873
861
|
Key changes in source code:
|
|
874
|
-
|
|
875
862
|
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.any())`)
|
|
876
863
|
- Updated portal manifest schemas to use `message` instead of `description` for error messages
|
|
877
864
|
- Simplified error message options format (removed `required_error`, `invalid_type_error` from options object)
|
|
@@ -881,14 +868,12 @@
|
|
|
881
868
|
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.
|
|
882
869
|
|
|
883
870
|
Links:
|
|
884
|
-
|
|
885
871
|
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
886
872
|
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
887
873
|
|
|
888
874
|
### Patch Changes
|
|
889
875
|
|
|
890
876
|
- [#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
|
|
891
|
-
|
|
892
877
|
- Update app publish command description to clearly explain conditional building behavior
|
|
893
878
|
- Add prominent note explaining when building occurs vs when it doesn't
|
|
894
879
|
- Add complete portal publish command documentation (was missing)
|
|
@@ -909,24 +894,20 @@
|
|
|
909
894
|
- [#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.
|
|
910
895
|
|
|
911
896
|
### Breaking Changes
|
|
912
|
-
|
|
913
897
|
- Commander 14 requires Node.js v20 or higher (compatible with existing project requirements)
|
|
914
898
|
|
|
915
899
|
### New Features
|
|
916
|
-
|
|
917
900
|
- Support for groups of options and commands in help
|
|
918
901
|
- Support for unescaped negative numbers as arguments
|
|
919
902
|
- Enhanced TypeScript support with parseArg property
|
|
920
903
|
|
|
921
904
|
### Links
|
|
922
|
-
|
|
923
905
|
- [GitHub releases](https://github.com/tj/commander.js/releases/tag/v14.0.1)
|
|
924
906
|
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
|
|
925
907
|
|
|
926
908
|
- [#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
|
|
927
909
|
|
|
928
910
|
Major version update of Vite build tool across all packages. This update includes:
|
|
929
|
-
|
|
930
911
|
- Enhanced build performance and caching
|
|
931
912
|
- Better error reporting with code frames
|
|
932
913
|
- Improved TypeScript integration
|
|
@@ -934,7 +915,6 @@
|
|
|
934
915
|
- New development server features
|
|
935
916
|
|
|
936
917
|
### Links
|
|
937
|
-
|
|
938
918
|
- [Vite 7.1.5 Release Notes](https://github.com/vitejs/vite/releases/tag/v7.1.5)
|
|
939
919
|
- [Vite 7.x Migration Guide](https://vitejs.dev/guide/migration)
|
|
940
920
|
|
|
@@ -943,17 +923,14 @@
|
|
|
943
923
|
- [#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
|
|
944
924
|
|
|
945
925
|
### Breaking Changes
|
|
946
|
-
|
|
947
926
|
- ora v9.0.0 now requires Node.js 20+ (previously supported older versions)
|
|
948
927
|
|
|
949
928
|
### New Features
|
|
950
|
-
|
|
951
929
|
- Fix clearing in some cases
|
|
952
930
|
- Fix `frame()` not displaying dynamic `prefixText`/`suffixText` from functions
|
|
953
931
|
- Fix multiline text exceeding console height leaving garbage when scrolling
|
|
954
932
|
|
|
955
933
|
### Links
|
|
956
|
-
|
|
957
934
|
- [GitHub releases](https://github.com/sindresorhus/ora/releases/tag/v9.0.0)
|
|
958
935
|
- [npm changelog](https://www.npmjs.com/package/ora?activeTab=versions)
|
|
959
936
|
|
|
@@ -962,18 +939,15 @@
|
|
|
962
939
|
Major version update of Vitest coverage package for CLI testing.
|
|
963
940
|
|
|
964
941
|
### Breaking Changes
|
|
965
|
-
|
|
966
942
|
- Updated from @vitest/coverage-v8 v2 to v3
|
|
967
943
|
- Coverage reporting may have configuration changes
|
|
968
944
|
|
|
969
945
|
### New Features
|
|
970
|
-
|
|
971
946
|
- Enhanced coverage reporting capabilities
|
|
972
947
|
- Improved test performance
|
|
973
948
|
- Better error handling and reporting
|
|
974
949
|
|
|
975
950
|
### Links
|
|
976
|
-
|
|
977
951
|
- [Vitest v3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
978
952
|
- [Vitest v3 Migration Guide](https://vitest.dev/guide/migration.html)
|
|
979
953
|
- [Coverage v8 Documentation](https://vitest.dev/guide/coverage.html)
|
|
@@ -988,13 +962,11 @@
|
|
|
988
962
|
### Patch Changes
|
|
989
963
|
|
|
990
964
|
- [#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
|
|
991
|
-
|
|
992
965
|
- Updated inquirer to latest patch version 12.9.6
|
|
993
966
|
- Includes bug fixes and performance improvements
|
|
994
967
|
- No breaking changes in this patch update
|
|
995
968
|
|
|
996
969
|
- [#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
|
|
997
|
-
|
|
998
970
|
- Updated rollup dependency to latest patch version
|
|
999
971
|
- Includes bug fixes for tree-shaking array destructuring patterns
|
|
1000
972
|
- Performance improvements and platform support updates
|
|
@@ -1003,7 +975,6 @@
|
|
|
1003
975
|
- [#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.
|
|
1004
976
|
|
|
1005
977
|
## Breaking Changes
|
|
1006
|
-
|
|
1007
978
|
- **Node.js Requirements**: Requires Node.js 18+ (already satisfied)
|
|
1008
979
|
- **Vite Compatibility**: Updated to work with Vite 7.x (already using Vite 7.1.5)
|
|
1009
980
|
- **Snapshot Format**: Snapshots now use backtick quotes (\`) instead of single quotes
|
|
@@ -1011,18 +982,15 @@
|
|
|
1011
982
|
- **TypeScript Support**: Enhanced TypeScript integration and type definitions
|
|
1012
983
|
|
|
1013
984
|
## Security Updates
|
|
1014
|
-
|
|
1015
985
|
- CVE-2025-24963: Browser mode serves arbitrary files (fixed in 2.1.9)
|
|
1016
986
|
- CVE-2025-24964: Remote Code Execution vulnerability (fixed in 2.1.9)
|
|
1017
987
|
|
|
1018
988
|
## Migration Notes
|
|
1019
|
-
|
|
1020
989
|
- Test snapshots may need regeneration due to quote format changes
|
|
1021
990
|
- Some test configurations might need updates for new TypeScript support
|
|
1022
991
|
- Peer dependency warnings for @vitest/coverage-v8 are expected and safe to ignore
|
|
1023
992
|
|
|
1024
993
|
## Links
|
|
1025
|
-
|
|
1026
994
|
- [Vitest 3.0 Migration Guide](https://vitest.dev/guide/migration)
|
|
1027
995
|
- [Vitest 3.2.4 Release Notes](https://github.com/vitest-dev/vitest/releases/tag/v3.2.4)
|
|
1028
996
|
|
|
@@ -1039,7 +1007,6 @@
|
|
|
1039
1007
|
- [#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.
|
|
1040
1008
|
|
|
1041
1009
|
**New Features**
|
|
1042
|
-
|
|
1043
1010
|
- Added `ffc create app <name>` command with interactive template selection
|
|
1044
1011
|
- Supports both `ffc create app` and `ffc app create` command patterns for improved flexibility
|
|
1045
1012
|
- Includes template validation and interactive prompts using inquirer
|
|
@@ -1047,13 +1014,11 @@
|
|
|
1047
1014
|
- Implemented modular helper functions for each step of app creation
|
|
1048
1015
|
|
|
1049
1016
|
**Template Support**
|
|
1050
|
-
|
|
1051
1017
|
- Supports both bare and basic application templates from fusion-app-template repository
|
|
1052
1018
|
- Includes template validation and interactive prompts using inquirer
|
|
1053
1019
|
- Added comprehensive template repository system with schema validation
|
|
1054
1020
|
|
|
1055
1021
|
**Developer Experience**
|
|
1056
|
-
|
|
1057
1022
|
- Added IDE integration with automatic project opening
|
|
1058
1023
|
- Includes dependency management and dev server startup
|
|
1059
1024
|
- Added comprehensive documentation with examples and best practices
|
|
@@ -1061,7 +1026,6 @@
|
|
|
1061
1026
|
- Added GitHub template integration links for alternative app creation methods
|
|
1062
1027
|
|
|
1063
1028
|
**Error Handling & Reliability**
|
|
1064
|
-
|
|
1065
1029
|
- Enhanced error handling for spawn operations in IDE opening and dev server startup
|
|
1066
1030
|
- Migrated to execa for automatic process cleanup and better signal handling
|
|
1067
1031
|
- Fixed misleading success messages by wrapping template copy operations in try-catch blocks
|
|
@@ -1070,14 +1034,12 @@
|
|
|
1070
1034
|
- Enhanced TSDoc documentation and inline comments across helper functions
|
|
1071
1035
|
|
|
1072
1036
|
**Dependencies**
|
|
1073
|
-
|
|
1074
1037
|
- Added new dependencies: `inquirer`, `@types/inquirer`, and `execa` for enhanced CLI experience
|
|
1075
1038
|
- Migrated process spawning from native child_process to execa for better process management
|
|
1076
1039
|
|
|
1077
1040
|
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.
|
|
1078
1041
|
|
|
1079
1042
|
- [#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
|
|
1080
|
-
|
|
1081
1043
|
- Added `updatePackageJson` helper for updating package.json with app name and resolving workspace dependencies
|
|
1082
1044
|
- Added `resolve-workspace-dependencies` helper to convert workspace:^ dependencies to npm versions
|
|
1083
1045
|
- Added `package-info` utility for fetching package metadata from npm registry
|
|
@@ -1092,25 +1054,21 @@
|
|
|
1092
1054
|
- [#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.
|
|
1093
1055
|
|
|
1094
1056
|
## New Features
|
|
1095
|
-
|
|
1096
1057
|
- **Path Security Validation**: Added `validateSafePath()` function to prevent path traversal attacks
|
|
1097
1058
|
- **Safe Directory Operations**: Added `safeRmSync()` function for secure directory removal
|
|
1098
1059
|
- **Enhanced Error Messages**: Improved user-friendly error messages with visual indicators
|
|
1099
1060
|
|
|
1100
1061
|
## Security Improvements
|
|
1101
|
-
|
|
1102
1062
|
- **Path Traversal Protection**: Prevents users from specifying paths outside the current working directory
|
|
1103
1063
|
- **Input Validation**: Validates target paths before performing file system operations
|
|
1104
1064
|
- **Safe Cleanup**: Directory removal operations now validate paths before execution
|
|
1105
1065
|
|
|
1106
1066
|
## User Experience
|
|
1107
|
-
|
|
1108
1067
|
- **Better Error Messages**: Clear, actionable error messages with ❌ and 💡 indicators
|
|
1109
1068
|
- **Helpful Guidance**: Users get specific suggestions when path validation fails
|
|
1110
1069
|
- **Clean Error Handling**: No more messy stack traces for path-related errors
|
|
1111
1070
|
|
|
1112
1071
|
## Technical Details
|
|
1113
|
-
|
|
1114
1072
|
- Uses `is-path-inside` library for robust path validation
|
|
1115
1073
|
- Integrates path security into `checkTargetDirectory` helper
|
|
1116
1074
|
- Maintains backward compatibility with existing functionality
|
|
@@ -1119,7 +1077,6 @@
|
|
|
1119
1077
|
- [`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.
|
|
1120
1078
|
|
|
1121
1079
|
Fixed `--version` flag conflict in CLI tag commands and improved API consistency.
|
|
1122
|
-
|
|
1123
1080
|
- **Fixed:** Resolved conflict between custom `--version` option and Commander's built-in `--version` flag that displays CLI version
|
|
1124
1081
|
- **Refactored:** Replaced separate `--appKey`/`--version` options with unified `--package name@version` syntax for both `app tag` and `portal tag` commands
|
|
1125
1082
|
- **Improved:** Enhanced error handling with clear validation messages for package format
|
|
@@ -1128,7 +1085,6 @@
|
|
|
1128
1085
|
|
|
1129
1086
|
**Breaking Changes:**
|
|
1130
1087
|
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:
|
|
1131
|
-
|
|
1132
1088
|
1. The `--version` flag never worked properly due to the conflict with Commander's built-in version flag
|
|
1133
1089
|
2. The old API was fundamentally broken and unusable
|
|
1134
1090
|
3. Limited adoption in production environments means minimal impact
|
|
@@ -1137,7 +1093,6 @@
|
|
|
1137
1093
|
- The Fusion App Admin UI (graphical interface for release management)
|
|
1138
1094
|
|
|
1139
1095
|
**Migration:**
|
|
1140
|
-
|
|
1141
1096
|
- Old: `fusion-framework-cli app tag --appKey my-app --version 1.2.3 latest`
|
|
1142
1097
|
- New: `fusion-framework-cli app tag --package my-app@1.2.3 latest`
|
|
1143
1098
|
|
|
@@ -1148,7 +1103,6 @@
|
|
|
1148
1103
|
**Fixes:** https://github.com/equinor/fusion/issues/652
|
|
1149
1104
|
|
|
1150
1105
|
- [#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.
|
|
1151
|
-
|
|
1152
1106
|
- Added `isGitDir` utility function to check if a directory is a valid git repository
|
|
1153
1107
|
- Added `assertGitRepository` assertion function for git repository validation
|
|
1154
1108
|
- Enhanced assert utilities with git repository checking capabilities
|
|
@@ -1160,7 +1114,6 @@
|
|
|
1160
1114
|
### Minor Changes
|
|
1161
1115
|
|
|
1162
1116
|
- [#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.
|
|
1163
|
-
|
|
1164
1117
|
- Added new `docs/dev-server.md` with complete dev-server documentation
|
|
1165
1118
|
- Updated README.md to include dev-server documentation link
|
|
1166
1119
|
- Covers dev-server features, architecture, configuration, and troubleshooting
|
|
@@ -1168,7 +1121,6 @@
|
|
|
1168
1121
|
### Patch Changes
|
|
1169
1122
|
|
|
1170
1123
|
- [#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.
|
|
1171
|
-
|
|
1172
1124
|
- Added detailed explanation of `app.vite.config.ts` → `vite.config.ts` file naming change
|
|
1173
1125
|
- Emphasized that `vite.config.ts` should be a last resort for custom setups
|
|
1174
1126
|
- Recommended using `dev-server.config.js` instead to avoid unexpected behavior
|
|
@@ -1185,7 +1137,6 @@
|
|
|
1185
1137
|
### Patch Changes
|
|
1186
1138
|
|
|
1187
1139
|
- [#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.
|
|
1188
|
-
|
|
1189
1140
|
- Disabled built-in normalization in `read-package-up` to preserve version build metadata
|
|
1190
1141
|
- Added manual package data normalization using `normalize-package-data` library
|
|
1191
1142
|
- Preserves original version with build metadata (e.g., `11.8.0+commit`) in app manifests
|
|
@@ -1203,7 +1154,6 @@
|
|
|
1203
1154
|
### Patch Changes
|
|
1204
1155
|
|
|
1205
1156
|
- [#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.
|
|
1206
|
-
|
|
1207
1157
|
- Added `--silent` flag that completely disables the CLI logger and all logging output
|
|
1208
1158
|
- Only outputs the resolved service details as JSON when silent mode is enabled
|
|
1209
1159
|
- Enables piping the command output to other tools (e.g., `jq`, `grep`, etc.)
|
|
@@ -1211,31 +1161,26 @@
|
|
|
1211
1161
|
- Cleaned up debug console.log statements
|
|
1212
1162
|
|
|
1213
1163
|
- [#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.
|
|
1214
|
-
|
|
1215
1164
|
- Standardized option format from short flags to long flags (--debug, --port)
|
|
1216
1165
|
- Added --env option support for runtime environment configuration
|
|
1217
1166
|
- Updated logging message to be portal-specific ("Starting portal in development mode...")
|
|
1218
1167
|
- Enhanced startPortalDevServer function call to include env parameter
|
|
1219
1168
|
|
|
1220
1169
|
- [#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.
|
|
1221
|
-
|
|
1222
1170
|
- Removed local `libsecret.md` documentation file
|
|
1223
1171
|
- Updated all libsecret references to point to centralized MSAL Node module documentation
|
|
1224
1172
|
- Enhanced authentication guide with cross-references to underlying module documentation
|
|
1225
1173
|
- Improved documentation structure by consolidating authentication docs in the appropriate module packages
|
|
1226
1174
|
|
|
1227
1175
|
**Migration Notes:**
|
|
1228
|
-
|
|
1229
1176
|
- libsecret installation guide is now available at: https://equinor.github.io/fusion-framework/modules/auth/msal-node/docs/libsecret.html
|
|
1230
1177
|
- All authentication-related documentation is now centralized in the MSAL Node module package
|
|
1231
1178
|
|
|
1232
1179
|
- [#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.
|
|
1233
|
-
|
|
1234
1180
|
- Added the required `env` parameter to the `buildApplication` function call in `packages/cli/src/bin/app-pack.ts`
|
|
1235
1181
|
- This ensures the build process receives the correct runtime environment configuration
|
|
1236
1182
|
|
|
1237
1183
|
- [#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.
|
|
1238
|
-
|
|
1239
1184
|
- Replaced `stdout.write()` with `console.log()` for proper newline handling in:
|
|
1240
1185
|
- `ffc app manifest` command
|
|
1241
1186
|
- `ffc app config` command
|
|
@@ -1247,7 +1192,6 @@
|
|
|
1247
1192
|
These changes ensure that shell prompts no longer concatenate to JSON output, making the commands safe to pipe to tools like `jq`.
|
|
1248
1193
|
|
|
1249
1194
|
- [#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.
|
|
1250
|
-
|
|
1251
1195
|
- Updated command examples to use `ffc` (alias) instead of `fusion-framework-cli`
|
|
1252
1196
|
- Improved TSDoc comments with comprehensive descriptions and examples
|
|
1253
1197
|
- Streamlined help text by removing redundant information and improving formatting
|
|
@@ -1267,7 +1211,6 @@
|
|
|
1267
1211
|
### Patch Changes
|
|
1268
1212
|
|
|
1269
1213
|
- [#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.
|
|
1270
|
-
|
|
1271
1214
|
- Added `vite-tsconfig-paths` plugin for better TypeScript path resolution in development
|
|
1272
1215
|
- Refactored app and portal dev servers to use centralized `loadViteConfig` function
|
|
1273
1216
|
- Improved Vite config merging with `mergeConfigVite` for better configuration management
|
|
@@ -1366,14 +1309,12 @@
|
|
|
1366
1309
|
### Patch Changes
|
|
1367
1310
|
|
|
1368
1311
|
- [#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
|
|
1369
|
-
|
|
1370
1312
|
- Updated `chalk` to version ^5.6.0 in root, CLI, and log utils packages.
|
|
1371
1313
|
- No breaking changes expected.
|
|
1372
1314
|
|
|
1373
1315
|
See [chalk changelog](https://github.com/chalk/chalk/releases) for details.
|
|
1374
1316
|
|
|
1375
1317
|
- [#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.
|
|
1376
|
-
|
|
1377
1318
|
- Updated all internal documentation links to use relative paths without leading `./` for consistency and compatibility with VuePress.
|
|
1378
1319
|
- Updated the `TODO.md` file to remove completed or obsolete tasks and clarify remaining todos.
|
|
1379
1320
|
|
|
@@ -1388,7 +1329,6 @@
|
|
|
1388
1329
|
### Major Changes
|
|
1389
1330
|
|
|
1390
1331
|
- [#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**
|
|
1391
|
-
|
|
1392
1332
|
- **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.
|
|
1393
1333
|
- **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.
|
|
1394
1334
|
- **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.
|
|
@@ -1400,22 +1340,18 @@
|
|
|
1400
1340
|
- **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.
|
|
1401
1341
|
|
|
1402
1342
|
**Minor Changes**
|
|
1403
|
-
|
|
1404
1343
|
- **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.
|
|
1405
1344
|
- **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.
|
|
1406
1345
|
- **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.
|
|
1407
1346
|
|
|
1408
1347
|
**Patch Changes**
|
|
1409
|
-
|
|
1410
1348
|
- **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.
|
|
1411
1349
|
- **Node Version Check:** Added Node.js version check and LTS recommendation to CLI entrypoint. Build config injects version info via environment variables.
|
|
1412
1350
|
|
|
1413
1351
|
**Other**
|
|
1414
|
-
|
|
1415
1352
|
- Improved maintainability, type safety, and developer experience throughout the CLI and dev server packages.
|
|
1416
1353
|
|
|
1417
1354
|
**Note:**
|
|
1418
|
-
|
|
1419
1355
|
- 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.
|
|
1420
1356
|
- The new utility modules are available for advanced use cases and automation, but do not affect most standard CLI usage.
|
|
1421
1357
|
- If you are authoring an `app.config.ts` file, you now need to import the config helper as follows:
|
|
@@ -1429,14 +1365,12 @@
|
|
|
1429
1365
|
|
|
1430
1366
|
+- 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.
|
|
1431
1367
|
+- The [docs folder](https://github.com/equinor/fusion-framework/tree/main/packages/cli/docs) contains:
|
|
1432
|
-
|
|
1433
1368
|
- - [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.
|
|
1434
1369
|
- - [Developing Portals](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/portal.md): Portal template development, manifest/schema, and deployment.
|
|
1435
1370
|
- - [Authentication](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/auth.md): Local and CI/CD authentication, MSAL, and secure token storage.
|
|
1436
1371
|
- - [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.
|
|
1437
1372
|
- - [libsecret setup](https://github.com/equinor/fusion-framework/blob/main/packages/cli/docs/libsecret.md): Secure credential storage for Linux users.
|
|
1438
1373
|
+- For real-world examples, see the [cookbooks/](https://github.com/equinor/fusion-framework/tree/main/cookbooks) directory.
|
|
1439
|
-
|
|
1440
1374
|
* Key usage notes:
|
|
1441
1375
|
- All config and manifest files must use helpers from `@equinor/fusion-framework-cli/app`.
|
|
1442
1376
|
- Use `fusion-framework-cli auth login` for local authentication; use `FUSION_TOKEN` for CI/CD.
|
|
@@ -1463,7 +1397,6 @@
|
|
|
1463
1397
|
### Patch Changes
|
|
1464
1398
|
|
|
1465
1399
|
- [#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).
|
|
1466
|
-
|
|
1467
1400
|
- Use `unknown as PluginContext` for type casting in `resolveId` and `emitAssetSync` calls.
|
|
1468
1401
|
- Add null check and warning if asset emission fails.
|
|
1469
1402
|
- Minor code style and safety improvements.
|
|
@@ -1510,18 +1443,15 @@
|
|
|
1510
1443
|
### Minor Changes
|
|
1511
1444
|
|
|
1512
1445
|
- [#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:**
|
|
1513
|
-
|
|
1514
1446
|
- Enhanced `useAppContextNavigation` to support custom context path extraction and generation. This allows for more flexible navigation handling based on application-specific requirements.
|
|
1515
1447
|
|
|
1516
1448
|
**@equinor/fusion-framework-module-context:**
|
|
1517
|
-
|
|
1518
1449
|
- Added support for custom context path extraction and generation in `ContextConfigBuilder`, `ContextProvider`, and `ContextModuleConfigurator`.
|
|
1519
1450
|
- Introduced `setContextPathExtractor` and `setContextPathGenerator` methods in `ContextConfigBuilder` to allow developers to define custom logic for extracting and generating context paths.
|
|
1520
1451
|
- Updated `ContextProvider` to utilize `extractContextIdFromPath` and `generatePathFromContext` from the configuration, enabling dynamic path handling.
|
|
1521
1452
|
- Enhanced `ContextModuleConfigurator` to include `extractContextIdFromPath` and `generatePathFromContext` in the module configuration.
|
|
1522
1453
|
|
|
1523
1454
|
If you are using `@equinor/fusion-framework-module-context` and need custom logic for context path handling:
|
|
1524
|
-
|
|
1525
1455
|
1. Use `setContextPathExtractor` to define how to extract context IDs from paths.
|
|
1526
1456
|
2. Use `setContextPathGenerator` to define how to generate paths based on context items.
|
|
1527
1457
|
|
|
@@ -1548,11 +1478,11 @@
|
|
|
1548
1478
|
// Custom logic to generate path from context
|
|
1549
1479
|
const path = contextProvider.generatePathFromContext?.(
|
|
1550
1480
|
context,
|
|
1551
|
-
location.pathname
|
|
1481
|
+
location.pathname,
|
|
1552
1482
|
);
|
|
1553
1483
|
return path ?? fallbackPathGenerator(context, location.pathname);
|
|
1554
1484
|
}),
|
|
1555
|
-
filter(Boolean)
|
|
1485
|
+
filter(Boolean),
|
|
1556
1486
|
)
|
|
1557
1487
|
.subscribe((path) => history.push(path));
|
|
1558
1488
|
```
|
|
@@ -1576,7 +1506,6 @@
|
|
|
1576
1506
|
- [#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`
|
|
1577
1507
|
|
|
1578
1508
|
- [#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
|
|
1579
|
-
|
|
1580
1509
|
- Updated `SelectorPage.tsx` to use self-closing tags for `PersonSelect` components.
|
|
1581
1510
|
- Updated `Header.Actions.tsx` to use self-closing tags for `fwc-person-avatar` component.
|
|
1582
1511
|
- Updated `FeatureSheetContent.tsx` to use self-closing tags for `Icon` and `Divider` components.
|
|
@@ -1686,12 +1615,10 @@
|
|
|
1686
1615
|
- [#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.
|
|
1687
1616
|
|
|
1688
1617
|
**Modified files:**
|
|
1689
|
-
|
|
1690
1618
|
- `packages/cli/src/bin/create-dev-serve.ts`
|
|
1691
1619
|
- `packages/cli/src/bin/main.app.ts`
|
|
1692
1620
|
|
|
1693
1621
|
**Changes:**
|
|
1694
|
-
|
|
1695
1622
|
- Added `noOpen` boolean option to `createDevServer` function.
|
|
1696
1623
|
- Updated the server configuration to conditionally open the app in the default browser based on the `noOpen` option.
|
|
1697
1624
|
- Added `-n, --noOpen` option to the CLI command for starting the development server.
|
|
@@ -1737,7 +1664,6 @@
|
|
|
1737
1664
|
### Patch Changes
|
|
1738
1665
|
|
|
1739
1666
|
- [#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
|
|
1740
|
-
|
|
1741
1667
|
- Stopped using node:path join in app-proxy-plugin since it caused issues on windows
|
|
1742
1668
|
|
|
1743
1669
|
## 10.2.4
|
|
@@ -1749,7 +1675,6 @@
|
|
|
1749
1675
|
`AppLoader.tsx`
|
|
1750
1676
|
|
|
1751
1677
|
### Changes
|
|
1752
|
-
|
|
1753
1678
|
- Added import for last operator from rxjs/operators.
|
|
1754
1679
|
- Updated the initialize subscription to use the last operator.
|
|
1755
1680
|
|
|
@@ -1758,7 +1683,6 @@
|
|
|
1758
1683
|
### Patch Changes
|
|
1759
1684
|
|
|
1760
1685
|
- [#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:
|
|
1761
|
-
|
|
1762
1686
|
- Updated @equinor/fusion-wc-person to ^3.0.5 in package.json.
|
|
1763
1687
|
|
|
1764
1688
|
## 10.2.2
|
|
@@ -1778,14 +1702,11 @@
|
|
|
1778
1702
|
### Minor Changes
|
|
1779
1703
|
|
|
1780
1704
|
- [#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
|
|
1781
|
-
|
|
1782
1705
|
- **Refactored `BookMarkSideSheet.tsx`:**
|
|
1783
|
-
|
|
1784
1706
|
- Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration.
|
|
1785
1707
|
- Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`.
|
|
1786
1708
|
|
|
1787
1709
|
- **Updated `Header.tsx`:**
|
|
1788
|
-
|
|
1789
1710
|
- Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state.
|
|
1790
1711
|
- Disabled bookmark button if `bookmarkProvider` is not available.
|
|
1791
1712
|
- Passed `bookmarkProvider` to `BookmarkProvider` component.
|
|
@@ -1817,7 +1738,6 @@
|
|
|
1817
1738
|
### Patch Changes
|
|
1818
1739
|
|
|
1819
1740
|
- [#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:
|
|
1820
|
-
|
|
1821
1741
|
- changing ci urls to new domain
|
|
1822
1742
|
|
|
1823
1743
|
## 10.0.2
|
|
@@ -1825,7 +1745,6 @@
|
|
|
1825
1745
|
### Patch Changes
|
|
1826
1746
|
|
|
1827
1747
|
- [#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
|
|
1828
|
-
|
|
1829
1748
|
- Removed individual file additions for package.json, LICENSE.md, and README.md.
|
|
1830
1749
|
- Added a loop to handle multiple files (package.json, LICENSE.md, README.md, CHANGELOG.md) in a more concise manner.
|
|
1831
1750
|
- Updated the spinner messages accordingly.
|
|
@@ -1845,7 +1764,6 @@
|
|
|
1845
1764
|
Introduces new parameters to the `build-config` command for publishing the app config to a build version.
|
|
1846
1765
|
|
|
1847
1766
|
Commands:
|
|
1848
|
-
|
|
1849
1767
|
- `build-pack` - Bundle the app for distribution
|
|
1850
1768
|
- `-o, --output <output>` - Output directory for the packed app
|
|
1851
1769
|
- `-a, --archive` - Archive name for the packed app
|
|
@@ -1906,7 +1824,6 @@
|
|
|
1906
1824
|
```
|
|
1907
1825
|
|
|
1908
1826
|
**breaking changes:**
|
|
1909
|
-
|
|
1910
1827
|
- renaming all commands accociated with build.
|
|
1911
1828
|
- The app-config endpoints is now an object containing url and scopes, where name is the object key:
|
|
1912
1829
|
|
|
@@ -1927,12 +1844,10 @@
|
|
|
1927
1844
|
### Minor Changes
|
|
1928
1845
|
|
|
1929
1846
|
- [#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.
|
|
1930
|
-
|
|
1931
1847
|
- Show the request URL and method in the console when a proxy request is made.
|
|
1932
1848
|
- Show proxy response status code
|
|
1933
1849
|
|
|
1934
1850
|
- [#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.
|
|
1935
|
-
|
|
1936
1851
|
- Enhanced the middleware to intercept requests and serve the `index.html` file from the specified external public directory.
|
|
1937
1852
|
- Transformed the HTML using Vite's `transformIndexHtml` method.
|
|
1938
1853
|
- Applied appropriate content headers and additional configured headers before sending the response.
|
|
@@ -1949,7 +1864,6 @@
|
|
|
1949
1864
|
```
|
|
1950
1865
|
|
|
1951
1866
|
- [#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:
|
|
1952
|
-
|
|
1953
1867
|
- renamed `config` to `build-config` to generate build config of an application.
|
|
1954
1868
|
- renamed `pack`to `build-pack` to bundle an application.
|
|
1955
1869
|
- added `build-manifest` command to generate build manifest of an application.
|
|
@@ -1965,16 +1879,13 @@
|
|
|
1965
1879
|
It sets up proxy rules for API and bundle requests and serves the app configuration and manifest based on the app key and version.
|
|
1966
1880
|
|
|
1967
1881
|
Key Features:
|
|
1968
|
-
|
|
1969
1882
|
1. Proxy Configuration:
|
|
1970
|
-
|
|
1971
1883
|
- Proxies API calls to the Fusion apps backend.
|
|
1972
1884
|
- Proxies bundle requests to the Fusion apps backend.
|
|
1973
1885
|
- Uses a base path `proxyPath` for proxying.
|
|
1974
1886
|
- Captures and reuses authorization tokens for asset requests.
|
|
1975
1887
|
|
|
1976
1888
|
2. **App Configuration and Manifest**:
|
|
1977
|
-
|
|
1978
1889
|
- Serves the app configuration if the request matches the current app and version.
|
|
1979
1890
|
- Serves the app manifest if the request matches the current app.
|
|
1980
1891
|
|
|
@@ -2051,7 +1962,6 @@
|
|
|
2051
1962
|
- [#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.
|
|
2052
1963
|
|
|
2053
1964
|
Updated the following dependencies
|
|
2054
|
-
|
|
2055
1965
|
- `@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`.
|
|
2056
1966
|
|
|
2057
1967
|
- [#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`
|
|
@@ -2063,7 +1973,6 @@
|
|
|
2063
1973
|
- [#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.
|
|
2064
1974
|
|
|
2065
1975
|
Updated the following dependencies
|
|
2066
|
-
|
|
2067
1976
|
- `@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`.
|
|
2068
1977
|
|
|
2069
1978
|
- Updated dependencies [[`4839295`](https://github.com/equinor/fusion-framework/commit/4839295263f07704bc43930351ce34dfb27a4c81)]:
|
|
@@ -2083,7 +1992,6 @@
|
|
|
2083
1992
|
|
|
2084
1993
|
> [!NOTE]
|
|
2085
1994
|
> This is a quick fix until the new major version of the CLI is released.
|
|
2086
|
-
|
|
2087
1995
|
- Updated the `baseUri` to use a more specific URL path for service discovery.
|
|
2088
1996
|
- Changed from `new URL(import.meta.url).origin` to `String(new URL('/_discovery/environments/current', import.meta.url))`.
|
|
2089
1997
|
- Changed parsing of service discovery response to match new API format.
|
|
@@ -2145,7 +2053,6 @@
|
|
|
2145
2053
|
- [#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
|
|
2146
2054
|
|
|
2147
2055
|
- [#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:
|
|
2148
|
-
|
|
2149
2056
|
- Implemented responsive context clearing mechanism
|
|
2150
2057
|
- Improved handling of context selection and clearing events
|
|
2151
2058
|
- Optimized component rendering with useMemo and useCallback hooks
|
|
@@ -2189,7 +2096,6 @@
|
|
|
2189
2096
|
- [#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.
|
|
2190
2097
|
|
|
2191
2098
|
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons:
|
|
2192
|
-
|
|
2193
2099
|
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions.
|
|
2194
2100
|
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output.
|
|
2195
2101
|
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking.
|
|
@@ -2308,7 +2214,6 @@
|
|
|
2308
2214
|
### Patch Changes
|
|
2309
2215
|
|
|
2310
2216
|
- [#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`
|
|
2311
|
-
|
|
2312
2217
|
- added default resolve value when generating base vite configuration
|
|
2313
2218
|
- moved default query log level resolve outside class
|
|
2314
2219
|
|
|
@@ -2476,7 +2381,6 @@
|
|
|
2476
2381
|
### Patch Changes
|
|
2477
2382
|
|
|
2478
2383
|
- [#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
|
|
2479
|
-
|
|
2480
2384
|
- Add info icon for no result
|
|
2481
2385
|
|
|
2482
2386
|
- [#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
|
|
@@ -2812,7 +2716,6 @@
|
|
|
2812
2716
|
### Patch Changes
|
|
2813
2717
|
|
|
2814
2718
|
- [#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
|
|
2815
|
-
|
|
2816
2719
|
- support for [styled-components@6](https://styled-components.com/releases#v6.0.0)
|
|
2817
2720
|
|
|
2818
2721
|
## 9.1.3
|
|
@@ -2910,7 +2813,6 @@
|
|
|
2910
2813
|
> the CLI was thrown together as a proof of concept, but grown un-manageable, because of lack of structure
|
|
2911
2814
|
|
|
2912
2815
|
**Main Features**
|
|
2913
|
-
|
|
2914
2816
|
- Separate logic and utilities from program (app/cli commands)
|
|
2915
2817
|
- allow user to provide config files `app.{config,manifest,vite}.{ts,js,json}`
|
|
2916
2818
|
- the cli will try to resolve from `.ts` then `.js` then `.json`
|
|
@@ -2943,7 +2845,7 @@
|
|
|
2943
2845
|
},
|
|
2944
2846
|
},
|
|
2945
2847
|
},
|
|
2946
|
-
})
|
|
2848
|
+
}),
|
|
2947
2849
|
);
|
|
2948
2850
|
```
|
|
2949
2851
|
|
|
@@ -3020,7 +2922,6 @@
|
|
|
3020
2922
|
|
|
3021
2923
|
align CLI with EDS and use style components instead of emotion 🥲
|
|
3022
2924
|
prevent conflict of react types dependent on both emotion and eds
|
|
3023
|
-
|
|
3024
2925
|
- remove @emotion/\*
|
|
3025
2926
|
- convert emotion to styled-components
|
|
3026
2927
|
- fix styling of cli
|
|
@@ -3056,7 +2957,6 @@
|
|
|
3056
2957
|
see [react changelog](https://github.com/facebook/react/releases) for details
|
|
3057
2958
|
|
|
3058
2959
|
- [#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)
|
|
3059
|
-
|
|
3060
2960
|
- 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)
|
|
3061
2961
|
- removed `@types/style-components` from `@equinor/fusion-framework-react-components-bookmark`
|
|
3062
2962
|
|
|
@@ -3134,7 +3034,6 @@
|
|
|
3134
3034
|
both `"main": "src/index.ts"` and `"main": "/src/index.ts"` will resolve.
|
|
3135
3035
|
|
|
3136
3036
|
- [#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**
|
|
3137
|
-
|
|
3138
3037
|
- align all versions of typescript
|
|
3139
3038
|
- update types to build
|
|
3140
3039
|
- 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
|