@equinor/fusion-framework-cli 12.3.0 → 12.3.1
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 +34 -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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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.
|
|
8
|
+
|
|
9
|
+
- Created new `defaultHeaders` utility that includes CLI name, version, and user-agent
|
|
10
|
+
- Updated app upload/tag operations to include default headers
|
|
11
|
+
- Updated portal upload/tag operations to include default headers
|
|
12
|
+
|
|
13
|
+
All HTTP requests from the CLI now include:
|
|
14
|
+
|
|
15
|
+
- `X-Fusion-CLI-Name`: Identifies the CLI tool name
|
|
16
|
+
- `X-Fusion-CLI-Version`: Specifies the CLI version making the request
|
|
17
|
+
- `User-Agent`: Standard user agent header with CLI name and version
|
|
18
|
+
|
|
19
|
+
This enhancement improves observability and helps service owners track and debug CLI interactions with backend services.
|
|
20
|
+
|
|
21
|
+
Closes: #3539
|
|
22
|
+
|
|
23
|
+
- [#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.
|
|
24
|
+
|
|
25
|
+
- Added `cliVersion` property to `ReleaseAnnotations` type
|
|
26
|
+
- Ensured annotations are always returned (removed undefined return type)
|
|
27
|
+
- Added fallback annotations for local builds with default values
|
|
28
|
+
- Improved type safety by making annotations consistently available
|
|
29
|
+
|
|
30
|
+
Thanks to @odinr for reporting in issue #3540.
|
|
31
|
+
|
|
32
|
+
- [#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.
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [[`8c6f679`](https://github.com/equinor/fusion-framework/commit/8c6f6790c69cca01bde55d622418040da1c5c9fc)]:
|
|
35
|
+
- @equinor/fusion-framework-dev-portal@1.2.2
|
|
36
|
+
|
|
3
37
|
## 12.3.0
|
|
4
38
|
|
|
5
39
|
### Minor Changes
|