@equinor/fusion-framework-cli 15.1.3 → 15.1.5

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,42 @@
1
1
  # Change Log
2
2
 
3
+ ## 15.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - @equinor/fusion-framework-dev-server@2.0.13
8
+ - @equinor/fusion-framework-dev-portal@7.0.1
9
+
10
+ ## 15.1.4
11
+
12
+ ### Patch Changes
13
+
14
+ - 4f0a4cd: Use `DefaultAzureCredential` in CI environments when no token is provided for any CLI command that initializes the framework.
15
+
16
+ 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.
17
+
18
+ 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.
19
+
20
+ **Migration for affected teams:**
21
+ Remove the `FUSION_TOKEN` acquisition step from your workflow. The CLI will now handle authentication automatically:
22
+
23
+ ```yaml
24
+ # Before: explicit token acquisition
25
+ - name: Acquire Fusion Token
26
+ run: |
27
+ TOKEN=$(az account get-access-token --scope ... --query accessToken -o tsv)
28
+ echo "FUSION_TOKEN=$TOKEN" >> $GITHUB_ENV
29
+
30
+ - name: Publish app
31
+ run: ffc app publish --env ci ./dist/app.zip
32
+
33
+ # After: just publish (no token needed)
34
+ - name: Publish app
35
+ run: ffc app publish --env ci ./dist/app.zip
36
+ ```
37
+
38
+ Fixes: https://github.com/equinor/fusion/issues/862
39
+
3
40
  ## 15.1.3
4
41
 
5
42
  ### Patch Changes