@equinor/fusion-framework-cli 11.4.0 → 12.0.2
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 +69 -0
- package/bin/build/bin.mjs +1 -1
- package/bin/build/cli.mjs +3 -3
- package/dist/esm/lib/app/schemas.js +3 -3
- package/dist/esm/lib/app/schemas.js.map +1 -1
- package/dist/esm/lib/portal/load-portal-manifest.js +1 -1
- package/dist/esm/lib/portal/portal-manifest.schema.js +16 -63
- package/dist/esm/lib/portal/portal-manifest.schema.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/bin/helpers/project-templates.schema.d.ts +17 -209
- package/dist/types/bin/portal-build.d.ts +5 -5
- package/dist/types/bin/portal-manifest.d.ts +5 -5
- package/dist/types/bin/portal-pack.d.ts +5 -5
- package/dist/types/cli/commands/app/publish.d.ts +3 -2
- package/dist/types/cli/commands/portal/publish.d.ts +2 -5
- package/dist/types/lib/app/schemas.d.ts +3 -21
- package/dist/types/lib/portal/portal-manifest.schema.d.ts +5 -93
- package/dist/types/version.d.ts +1 -1
- package/docs/application.md +7 -3
- package/docs/portal.md +40 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,74 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3432](https://github.com/equinor/fusion-framework/pull/3432) [`528d72c`](https://github.com/equinor/fusion-framework/commit/528d72c04066f93fca1fa6469f33ec8d5383dcdc) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated vite from 7.1.5 to 7.1.7, including bug fixes for HMR, build system, and glob imports.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`528d72c`](https://github.com/equinor/fusion-framework/commit/528d72c04066f93fca1fa6469f33ec8d5383dcdc)]:
|
|
10
|
+
- @equinor/fusion-framework-dev-server@1.1.2
|
|
11
|
+
- @equinor/fusion-framework-dev-portal@1.1.2
|
|
12
|
+
|
|
13
|
+
## 12.0.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#3425](https://github.com/equinor/fusion-framework/pull/3425) [`41cc520`](https://github.com/equinor/fusion-framework/commit/41cc520707c37672c59855ed53a0d4cedae0ec61) Thanks [@dependabot](https://github.com/apps/dependabot)! - Updated pretty-bytes from 7.0.1 to 7.1.0, adding `fixedWidth` and `nonBreakingSpace` options for enhanced CLI output formatting.
|
|
18
|
+
|
|
19
|
+
- [#3428](https://github.com/equinor/fusion-framework/pull/3428) [`1700ca8`](https://github.com/equinor/fusion-framework/commit/1700ca8851fa108e55e9729fd24f595272766e63) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update zod from 4.1.9 to 4.1.11
|
|
20
|
+
|
|
21
|
+
- **v4.1.10**: Fixed shape caching issue (#5263) improving validation performance for complex schemas
|
|
22
|
+
- **v4.1.11**: Maintenance release with general improvements
|
|
23
|
+
|
|
24
|
+
This patch update enhances schema validation performance without changing any APIs.
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [[`2291483`](https://github.com/equinor/fusion-framework/commit/2291483b10ea288102155839dc47dcfe2addc22c), [`3b614f8`](https://github.com/equinor/fusion-framework/commit/3b614f87138f5a52f8ccc50ca8c6598ef3db37d6), [`ff3ab8f`](https://github.com/equinor/fusion-framework/commit/ff3ab8fd64cacd9b0a691a696bb2a7c5187e2cf3)]:
|
|
27
|
+
- @equinor/fusion-framework-dev-server@1.1.1
|
|
28
|
+
- @equinor/fusion-framework-module-msal-node@1.0.6
|
|
29
|
+
- @equinor/fusion-framework-dev-portal@1.1.1
|
|
30
|
+
- @equinor/fusion-imports@1.1.4
|
|
31
|
+
|
|
32
|
+
## 12.0.0
|
|
33
|
+
|
|
34
|
+
### Major Changes
|
|
35
|
+
|
|
36
|
+
- [#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
|
|
37
|
+
|
|
38
|
+
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.
|
|
39
|
+
|
|
40
|
+
Key changes in source code:
|
|
41
|
+
|
|
42
|
+
- Fixed record schema definitions to use explicit key and value types (`z.record(z.string(), z.any())`)
|
|
43
|
+
- Updated portal manifest schemas to use `message` instead of `description` for error messages
|
|
44
|
+
- Simplified error message options format (removed `required_error`, `invalid_type_error` from options object)
|
|
45
|
+
- Updated ZodError `.errors` property to `.issues` for zod v4 compatibility
|
|
46
|
+
- Enhanced `ApiAppConfigSchema` with proper record type definitions
|
|
47
|
+
|
|
48
|
+
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.
|
|
49
|
+
|
|
50
|
+
Links:
|
|
51
|
+
|
|
52
|
+
- [Zod v4 Migration Guide](https://github.com/colinhacks/zod/releases/tag/v4.0.0)
|
|
53
|
+
- [Zod v4.1.8 Release Notes](https://github.com/colinhacks/zod/releases/tag/v4.1.8)
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- [#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
|
|
58
|
+
|
|
59
|
+
- Update app publish command description to clearly explain conditional building behavior
|
|
60
|
+
- Add prominent note explaining when building occurs vs when it doesn't
|
|
61
|
+
- Add complete portal publish command documentation (was missing)
|
|
62
|
+
- Clarify differences between app and portal publish commands
|
|
63
|
+
- Update command overview to include portal publish command
|
|
64
|
+
- Fix CLI source code documentation to match actual behavior
|
|
65
|
+
- Remove incorrect bundle parameter from portal publish examples
|
|
66
|
+
|
|
67
|
+
Resolves: [Misleading description of the Fusion CLI publish action](https://github.com/equinor/fusion/issues/656)
|
|
68
|
+
|
|
69
|
+
- Updated dependencies []:
|
|
70
|
+
- @equinor/fusion-framework-dev-portal@1.1.0
|
|
71
|
+
|
|
3
72
|
## 11.4.0
|
|
4
73
|
|
|
5
74
|
### Minor Changes
|