From 1f19bb050bfd6da5559ab76e5c78d5e19e8f1077 Mon Sep 17 00:00:00 2001 From: tstanmay13 <29681256+tstanmay13@users.noreply.github.com> Date: Thu, 26 Mar 2026 16:05:32 +0000 Subject: [PATCH] update changelogs --- .../products/sdks/overview/go/changelog/2026-03-26.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fern/products/sdks/overview/go/changelog/2026-03-26.mdx diff --git a/fern/products/sdks/overview/go/changelog/2026-03-26.mdx b/fern/products/sdks/overview/go/changelog/2026-03-26.mdx new file mode 100644 index 000000000..82ec11caf --- /dev/null +++ b/fern/products/sdks/overview/go/changelog/2026-03-26.mdx @@ -0,0 +1,10 @@ +## 1.31.4 +**`(fix):`** Fix sub-package ErrorCodes maps being empty when errors are declared in a +different namespace than the endpoints that reference them. The generator now +groups errors by the service namespace that uses them (via endpoint error +references) instead of by where they are declared. This ensures that +sub-packages like `audio/` correctly get populated ErrorCodes with typed +errors (e.g. BadRequestError, UnauthorizedError) instead of an empty map +that would cause API errors to be returned as generic `*core.APIError`. + +