From 7a54e9636d85a9b1249a459edf3502cf5d59a3be Mon Sep 17 00:00:00 2001 From: dsinghvi <10870189+dsinghvi@users.noreply.github.com> Date: Sun, 3 May 2026 13:50:07 +0000 Subject: [PATCH] update changelogs --- .../sdks/generators/swift/changelog/2026-05-03.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fern/products/sdks/generators/swift/changelog/2026-05-03.mdx diff --git a/fern/products/sdks/generators/swift/changelog/2026-05-03.mdx b/fern/products/sdks/generators/swift/changelog/2026-05-03.mdx new file mode 100644 index 000000000..467520701 --- /dev/null +++ b/fern/products/sdks/generators/swift/changelog/2026-05-03.mdx @@ -0,0 +1,11 @@ +## 0.34.2 +**`(fix):`** Emit wire-test response bodies as Swift raw multi-line string literals +(`#"""..."""#`) so that JSON escape sequences such as `\n` survive +verbatim into the runtime `String` and reach `JSONDecoder` as valid +JSON. The previous regular triple-quoted literal caused Swift to +unescape `\n` into real newline characters at runtime, which +produced invalid JSON (RFC 8259 disallows raw control characters +inside JSON string values) and made `JSONDecoder` reject the body +with `dataCorrupted("The given data was not valid JSON.")`. + +