@equinor/fusion-framework-cli 11.4.0 → 12.0.0

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,45 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#3394](https://github.com/equinor/fusion-framework/pull/3394) [`c222c67`](https://github.com/equinor/fusion-framework/commit/c222c673bc7cdefff6eb0cd9436bfa3d1f185295) Thanks [@odinr](https://github.com/odinr)! - feat: migrate to zod v4
8
+
9
+ Updated source code to migrate from zod v3 to v4. Updated zod dependency from v3.25.76 to v4.1.8 and modified schema definitions in the CLI package to use explicit key and value types for records, updated error message format, and changed ZodError `.errors` property to `.issues` for zod v4 compatibility.
10
+
11
+ Key changes in source code:
12
+
13
+ - Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.any())`)
14
+ - Updated portal manifest schemas to use `message` instead of `description` for error messages
15
+ - Simplified error message options format (removed `required_error`, `invalid_type_error` from options object)
16
+ - Updated ZodError `.errors` property to `.issues` for zod v4 compatibility
17
+ - Enhanced `ApiAppConfigSchema` with proper record type definitions
18
+
19
+ Breaking changes: Record schemas must specify both key and value types explicitly. Error message format has changed from zod v3 to v4 format. Function schema definitions now require explicit typing.
20
+
21
+ Links:
22
+
23
+ - [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
24
+ - [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
25
+
26
+ ### Patch Changes
27
+
28
+ - [#3418](https://github.com/equinor/fusion-framework/pull/3418) [`6426d40`](https://github.com/equinor/fusion-framework/commit/6426d4051d153a01f2bc37ba7e7f4d0e85a82753) Thanks [@odinr](https://github.com/odinr)! - Improve publish command documentation clarity
29
+
30
+ - Update app publish command description to clearly explain conditional building behavior
31
+ - Add prominent note explaining when building occurs vs when it doesn't
32
+ - Add complete portal publish command documentation (was missing)
33
+ - Clarify differences between app and portal publish commands
34
+ - Update command overview to include portal publish command
35
+ - Fix CLI source code documentation to match actual behavior
36
+ - Remove incorrect bundle parameter from portal publish examples
37
+
38
+ Resolves #656
39
+
40
+ - Updated dependencies []:
41
+ - @equinor/fusion-framework-dev-portal@1.1.0
42
+
3
43
  ## 11.4.0
4
44
 
5
45
  ### Minor Changes