0.41.14-rc0
(fix):
The Fern CLI now safely handles a npx file exists error by retrying the command on failure.
This error typically happens when two or more instances of the Fern CLI are running npx
at the same time.
0.41.13
(fix):
fern generate --local
no longer crashes on large API Definitions because we
stream the JSON to file instead of calling JSON.stringify
. See PR 4640.
0.41.12
(feat):
Adds availability to inlined properties for HTTP Requests, Webhooks, and WebSockets for Fern Definition and OpenAPI.
You can add availability like so:
Fern Definition:
OpenAPI:
0.41.11
(feat):
Adds availability and display-names to discriminated union values. Now, in your docs, you can mark your union values
with custom names and show their availability. You can do so by adding the following to your API definition: