Skip to content

Commit 505c1c4

Browse files
Update changelogs from fern repo (#5593)
Co-authored-by: dsinghvi <10870189+dsinghvi@users.noreply.github.com>
1 parent b3ba2f0 commit 505c1c4

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

fern/products/cli-api-reference/cli-changelog/2026-05-21.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 5.37.0
2+
**`(feat):`** Propagate the per-spec `namespace:` declared in `generators.yml`
3+
through the raw specs manifest mounted into generator containers.
4+
`RawSpecsManifestEntry` now carries an optional `namespace` field
5+
populated from `OpenAPISpec.namespace` (also `OpenRPCSpec.namespace`
6+
and `GraphQLSpec.namespace`). Enables generators that opt into
7+
`generatorWantsSpecs` to route multi-spec workspaces by their
8+
workspace-declared namespace instead of inferring one from the
9+
runner-assigned filename. The new `fernapi/fern-cli` generator
10+
uses this to emit `.spec_under("<ns>", ...)` in the generated
11+
`main.rs` when the user namespaces their specs.
12+
13+
14+
**`(fix):`** Skip copying zero-byte `snippet.json` stubs from the workspace
15+
temp dir into the user's generated output. The local workspace
16+
runner pre-creates an empty `snippet.json` file and bind-mounts
17+
it into the generator container so the generator can optionally
18+
write per-endpoint code samples. Generators that emit a CLI
19+
binary (or any output without call-site snippets) leave it empty
20+
— copying the empty stub left a confusing 0-byte `snippet.json`
21+
in the user's output. The runner now stat's the tmp file and
22+
skips the copy when it's empty.
23+
24+
125
## 5.36.1
226
**`(fix):`** Fix OpenAPI 3.1 importer to inherit path-level parameters (headers, query params) into operations.
327
Previously, only operation-level parameters were processed, causing path-level headers like

0 commit comments

Comments
 (0)