| fix(start-sdk): keep unknown keys in partialValidator, YAML tags and empty primary URLs; 3.0.3 (#4161) * fix(start-sdk): keep unknown keys in partialValidator, YAML tags and empty primary URLs; 3.0.3 - partialValidator rebuilds each level with its own catchall instead of zod-deep-partial's stripping z.object, keeps discriminated unions keyed on a required discriminator, and reaches inside default/catch/prefault/ nonoptional/readonly - filterUndefined recurses only into arrays and plain objects, so YAML tags that parse to class instances survive a write - setupPrimaryUrl treats a stored '' as unset, prefers a public domain (HTTPS first), and gains filter, ssl and fallback options - i18n inserts parameter values verbatim at every occurrence - docs, CHANGELOG, release notes and the template pin for 3.0.3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(start-sdk): null primary URL with no eligible offers; partial enum records - with fallback: false, bestUsable is null whenever the stored hostname isn't offered, including when the host, filter or ssl leaves no offers - partialValidator rebuilds records with z.partialRecord, so an enum-keyed record accepts a subset of its keys Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> | 4 天前 |