1.34.3
(fix): Fix undiscriminated union variant matching in dynamic snippets selecting
incorrect variants when errors are added during conversion. The matcher
now checks whether errors were added (via errors.size() > errorsBefore)
alongside the existing isNop check, preventing empty objects from being
returned for union fields like options in generated code snippets.
1.34.2
(fix): Fix dynamic snippet NPM package bundle pulling in Node-only form-data
dependency via a runtime import of FernGeneratorExec.OutputMode.github().
The output mode is now constructed as a plain object literal with a
type-only import, preventing Dynamic require of "fs" is not supported
errors in browser/ESM environments.
1.34.1
(fix): Fix dynamic snippet import paths receiving a spurious /v suffix when
the SDK version is empty or invalid (e.g. ""). The major-version
parser now returns undefined for empty and bare-v version strings
instead of producing an erroneous v suffix.
(fix): Fix dynamic snippet import path resolution to use Go publish info from
the dynamic IR’s generatorConfig directly, rather than depending solely
on the externally-constructed FernGeneratorExec config. This ensures
the correct repoUrl and version are used for import paths even when the
external config conversion layer does not populate them correctly,
eliminating the spurious /v suffix in generated Go snippet imports.