mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
SDK beta.62: fix dynamicSelect crash on empty values, add smtpShape
- Guard z.union() against empty arrays in dynamicSelect/dynamicMultiselect by falling back to z.string() (fixes zod v4 _zod TypeError) - Add smtpShape: typed zod schema for store file models, replacing smtpInputSpec.validator which caused cross-zod-instance errors - Bump version to 0.4.0-beta.62 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
# Changelog
|
||||
|
||||
## 0.4.0-beta.62 (2026-03-19)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `Value.dynamicSelect` and `Value.dynamicMultiselect` crashing with `z.union([])` when `values` is empty (zod v4 compatibility)
|
||||
|
||||
### Added
|
||||
|
||||
- `FileHelper.xml`: file helper for XML files using `fast-xml-parser`
|
||||
- `smtpShape`: typed zod schema for persisting SMTP selection in store file models, replacing direct use of `smtpInputSpec.validator` which caused cross-zod-instance errors
|
||||
|
||||
## 0.4.0-beta.61 — StartOS v0.4.0-alpha.21 (2026-03-16)
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user