@equinor/fusion-framework-cli 12.3.10 → 12.4.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 CHANGED
@@ -1,5 +1,70 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @equinor/fusion-framework-dev-portal@1.2.5
9
+ - @equinor/fusion-framework-dev-server@1.1.13
10
+
11
+ ## 12.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`393f163`](https://github.com/equinor/fusion-framework/commit/393f1637ed33b84a6330b5eb122ab549805416bd) Thanks [@Noggling](https://github.com/Noggling)! - **Portal Tags Now Support Any String Value**
16
+
17
+ Portal tagging functionality has been enhanced to accept any string value for tags instead of being restricted to predefined enum values.
18
+
19
+ **Breaking Changes**
20
+
21
+ - **Removed `AllowedPortalTags` enum**: The enum that previously restricted portal tags to only `'latest'` and `'preview'` has been removed.
22
+ - **No longer exported**: `AllowedPortalTags` is no longer exported from `@equinor/fusion-framework-cli/bin`.
23
+
24
+ **Migration**
25
+
26
+ If you were importing and using `AllowedPortalTags`:
27
+
28
+ ```typescript
29
+ // Before
30
+ import { AllowedPortalTags } from '@equinor/fusion-framework-cli/bin';
31
+ await tagPortal({ tag: AllowedPortalTags.Latest, ... });
32
+
33
+ // After
34
+ await tagPortal({ tag: 'latest', ... });
35
+ ```
36
+
37
+ **New Flexibility**
38
+
39
+ You can now use any string value for portal tags:
40
+
41
+ ```bash
42
+ # Common tags still work
43
+ ffc portal publish --tag latest
44
+ ffc portal publish --tag preview
45
+
46
+ # New flexibility with custom tags
47
+ ffc portal publish --tag next
48
+ ffc portal publish --tag stable
49
+ ffc portal publish --tag v2.0.0-beta
50
+ ffc portal publish --tag release-candidate
51
+ ffc portal tag custom-environment --package my-portal@1.0.0
52
+ ```
53
+
54
+ **Enhanced Documentation**
55
+
56
+ - Updated CLI help text with practical examples
57
+ - Added common tag examples (`latest`, `preview`, `next`, `stable`) in documentation
58
+ - Maintained guidance while showing flexibility
59
+
60
+ **Validation**
61
+
62
+ - Tags must be non-empty strings
63
+ - No other restrictions on tag format or content
64
+ - Backward compatibility maintained for existing tag values
65
+
66
+ This change provides much greater flexibility for deployment workflows while maintaining the same API structure and functionality.
67
+
3
68
  ## 12.3.10
4
69
 
5
70
  ### Patch Changes