0.35.3
(fix): Fix Swift wire-test runtime equality failures when a response body contains
a map (Dictionary<String, T>) whose value is an explicit-null nullable, or
an Optional<Nullable<T>> field whose example is explicit-null. Previously
the generator embedded the IR’s jsonExample for the response body, which
silently dropped keys whose value resolved to JS undefined (e.g. an
unresolved nullable<T>), and the expected-struct generator filtered
optional properties using the same jsonExample === undefined check, which
matched both “truly absent” and “explicit-null nullable” examples. The wire-
test JSON body is now built by walking the typed example shape directly,
and the expected-struct generator skips a property only when the typed
optional container is genuinely empty — so an explicit-null nullable
inside an optional now renders as Optional(.null) in both the embedded
JSON body and the expected struct.
0.35.2
(chore): Update the Swift SDK generator container base image from
node:22.12-alpine3.20 to node:22.22-alpine3.22 to address 92
container vulnerabilities (3 Critical, 48 High, 30 Medium, 11 Low)
reported by Grype. The bump pulls in newer Alpine packages
(libcrypto3/libssl3, musl, busybox, zlib), Node.js 22.22.x, and the
bundled npm transitive dependencies (cross-spawn, minimatch, glob,
tar, brace-expansion, ip-address, diff).