File tree Expand file tree Collapse file tree
fern/products/cli-api-reference/cli-changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 5.7.0
2+ ** ` (internal): ` ** cli-v2: introduce a shared stdin/stdout abstraction so commands uniformly honor
3+ the Unix ` - ` marker on I/O flags (stdin for inputs, stdout for outputs), with a
4+ "` - ` used at most once per command" guard and a JSON-or-path input helper that
5+ parses inline JSON first and falls back to a file read.
6+
7+
8+ ** ` (internal): ` ** cli-v2: ` fern api compile --output - ` now uses the shared stdio helper (behavior
9+ unchanged — still streams IR JSON to stdout).
10+
11+
12+ ** ` (feat): ` ** cli-v2: ` fern sdk generate --api - ` and ` fern sdk preview --api - ` now read the
13+ OpenAPI/AsyncAPI spec from stdin (e.g. `cat openapi.json | fern sdk generate
14+ --api - --org acme --target typescript --output ./sdk`).
15+
16+
17+ ** ` (feat): ` ** cli-v2: ` fern api split --output - ` prints the generated overlay/overrides for
18+ the matching spec to stdout as a preview, without modifying the workspace
19+ (no git-HEAD restore, no fern.yml updates). Requires ` --api ` to select a single
20+ spec.
21+
22+
123## 5.6.1
224** ` (fix): ` ** Fix translated docs pages failing to resolve shared snippets (` <Markdown src="..."/> ` and ` <Code src="..."/> ` ).
325Snippet references are now resolved before registering translations, with locale-aware loading that prefers
You can’t perform that action at this time.
0 commit comments