@equinor/fusion-framework-cli 15.1.1 → 15.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # Change Log
2
2
 
3
+ ## 15.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 4f0a4cd: Use `DefaultAzureCredential` in CI environments when no token is provided for any CLI command that initializes the framework.
8
+
9
+ Previously, when `FUSION_TOKEN` was removed from CI pipelines, the CLI would fall back to interactive authentication mode, which attempted to load OS-level token cache persistence (keytar/libsecret). This native module is unavailable on GitHub-hosted runners and other headless CI environments, causing publish to fail.
10
+
11
+ Now, when running in CI (detected via environment variables like `GITHUB_ACTIONS`, `CI`, etc.) and no token is provided, the CLI automatically uses `DefaultAzureCredential`, which works seamlessly with `azure/login` OIDC federation and managed identities.
12
+
13
+ **Migration for affected teams:**
14
+ Remove the `FUSION_TOKEN` acquisition step from your workflow. The CLI will now handle authentication automatically:
15
+
16
+ ```yaml
17
+ # Before: explicit token acquisition
18
+ - name: Acquire Fusion Token
19
+ run: |
20
+ TOKEN=$(az account get-access-token --scope ... --query accessToken -o tsv)
21
+ echo "FUSION_TOKEN=$TOKEN" >> $GITHUB_ENV
22
+
23
+ - name: Publish app
24
+ run: ffc app publish --env ci ./dist/app.zip
25
+
26
+ # After: just publish (no token needed)
27
+ - name: Publish app
28
+ run: ffc app publish --env ci ./dist/app.zip
29
+ ```
30
+
31
+ Fixes: https://github.com/equinor/fusion/issues/862
32
+
33
+ ## 15.1.3
34
+
35
+ ### Patch Changes
36
+
37
+ - @equinor/fusion-framework-dev-portal@7.0.0
38
+ - @equinor/fusion-framework-dev-server@2.0.12
39
+
40
+ ## 15.1.2
41
+
42
+ ### Patch Changes
43
+
44
+ - Updated dependencies [3e82dee]
45
+ - @equinor/fusion-framework-module-azure-identity@0.2.1
46
+ - @equinor/fusion-framework-dev-portal@6.0.1
47
+ - @equinor/fusion-framework-dev-server@2.0.11
48
+
3
49
  ## 15.1.1
4
50
 
5
51
  ### Patch Changes