@equinor/fusion-framework-cli 12.3.0 → 12.3.2
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 +52 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +1 -1
- package/dist/esm/lib/utils/resolve-annotations.js +11 -2
- package/dist/esm/lib/utils/resolve-annotations.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/app-check.d.ts +1 -1
- package/dist/types/bin/app-dev.d.ts +4 -0
- package/dist/types/bin/app-upload.d.ts +1 -1
- package/dist/types/bin/utils/defaultHeaders.d.ts +13 -0
- package/dist/types/bin/utils/index.d.ts +1 -0
- package/dist/types/cli/commands/app/dev.d.ts +2 -0
- package/dist/types/lib/utils/resolve-annotations.d.ts +3 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3574](https://github.com/equinor/fusion-framework/pull/3574) [`39e989f`](https://github.com/equinor/fusion-framework/commit/39e989f6ab477047d82740b2d96b757c90b10f74) Thanks [@Noggling](https://github.com/Noggling)! - Fix app development error by adding missing `is-mergeable-object` dependency
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
**Changes:**
|
|
12
|
+
|
|
13
|
+
- Added `is-mergeable-object@^1.1.1` to dependencies in `packages/cli/package.json`
|
|
14
|
+
|
|
15
|
+
**Impact:**
|
|
16
|
+
|
|
17
|
+
- Fixes "Cannot find module 'is-mergeable-object'" errors during app development
|
|
18
|
+
- Ensures proper dependency resolution for CLI tools that use deepmerge functionality
|
|
19
|
+
- No breaking changes - this is purely a dependency fix
|
|
20
|
+
|
|
21
|
+
## 12.3.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [#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.
|
|
26
|
+
|
|
27
|
+
- Created new `defaultHeaders` utility that includes CLI name, version, and user-agent
|
|
28
|
+
- Updated app upload/tag operations to include default headers
|
|
29
|
+
- Updated portal upload/tag operations to include default headers
|
|
30
|
+
|
|
31
|
+
All HTTP requests from the CLI now include:
|
|
32
|
+
|
|
33
|
+
- `X-Fusion-CLI-Name`: Identifies the CLI tool name
|
|
34
|
+
- `X-Fusion-CLI-Version`: Specifies the CLI version making the request
|
|
35
|
+
- `User-Agent`: Standard user agent header with CLI name and version
|
|
36
|
+
|
|
37
|
+
This enhancement improves observability and helps service owners track and debug CLI interactions with backend services.
|
|
38
|
+
|
|
39
|
+
Closes: #3539
|
|
40
|
+
|
|
41
|
+
- [#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.
|
|
42
|
+
|
|
43
|
+
- Added `cliVersion` property to `ReleaseAnnotations` type
|
|
44
|
+
- Ensured annotations are always returned (removed undefined return type)
|
|
45
|
+
- Added fallback annotations for local builds with default values
|
|
46
|
+
- Improved type safety by making annotations consistently available
|
|
47
|
+
|
|
48
|
+
Thanks to @odinr for reporting in issue #3540.
|
|
49
|
+
|
|
50
|
+
- [#3567](https://github.com/equinor/fusion-framework/pull/3567) [`f343b89`](https://github.com/equinor/fusion-framework/commit/f343b89a5716cc76ed5c8c0b714612c97100cf7a) Thanks [@Noggling](https://github.com/Noggling)! - Fix CLI for portal development by ensuring correct placement of viteConfig overrides.
|
|
51
|
+
|
|
52
|
+
- Updated dependencies [[`8c6f679`](https://github.com/equinor/fusion-framework/commit/8c6f6790c69cca01bde55d622418040da1c5c9fc)]:
|
|
53
|
+
- @equinor/fusion-framework-dev-portal@1.2.2
|
|
54
|
+
|
|
3
55
|
## 12.3.0
|
|
4
56
|
|
|
5
57
|
### Minor Changes
|