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. + +