From d8e3af580153f66071a477e6a7599d6c9d30f669 Mon Sep 17 00:00:00 2001 From: fern-support <126544928+fern-support@users.noreply.github.com> Date: Thu, 4 Dec 2025 23:24:29 +0000 Subject: [PATCH] update changelogs --- .../sdks/overview/typescript/changelog/2025-12-04.mdx | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fern/products/sdks/overview/typescript/changelog/2025-12-04.mdx diff --git a/fern/products/sdks/overview/typescript/changelog/2025-12-04.mdx b/fern/products/sdks/overview/typescript/changelog/2025-12-04.mdx new file mode 100644 index 000000000..4c45af2d1 --- /dev/null +++ b/fern/products/sdks/overview/typescript/changelog/2025-12-04.mdx @@ -0,0 +1,6 @@ +## 3.35.9 +**`(fix):`** Fix generated error classes to correctly set the prototype chain, capture stack traces, and set the error name so `instanceof` checks behave as expected. +Error classes now use `new.target.prototype` instead of the static class name for `Object.setPrototypeOf`, +conditionally call `Error.captureStackTrace` for V8 environments, and set `this.name` dynamically. + +