🌿 ✨ [Scheduled] Upgrade Fern CLI #172
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrading from
0.46.4to0.46.20- Changelog0.46.20feat:Thefern initcommand now supports a--mintlifyoption. You can pass inthe path to your
mint.jsonand the Fern CLI will generate a fern documentationwebsite.
0.46.19fix:If a schema in OpenAPI or AsyncAPI hasadditionalProperties: truethen the Fern CLI will now respect bringing inexample properties that are not defined in the schema. Previously, the CLI would skip them.
0.46.18fix:If an object or request is annotated withextra-properties: truethen the user can provide an example that includesextra properties that are no longer in the schema.
For example, check out this fern definition
0.46.17fix:Support parsing string values for boolean defaults in OpenAPI schemas.0.46.16fix:Improve parsing of OpenAPI schemas with an array in thetypeproperty."null", it is interpreted as nullable, and removed from the array.unknown, but now the specified type is used.11 additional updates, see more
0.46.15fix:Fixed issue where user specified examples would be omitted in favor of autogenerated examples.0.46.14fix:Boolean default values are now propagated from the Fern Definition through to docs generation.0.46.13fix:Correctly omits readOnly query parameters during openapi to fern definition generation.0.46.12fix:The CLI now handles parsing service level path parameters with descriptions.This fixes a regression introduced in the CLI since versions 0.45.x.
0.46.11fix:Allow for configuring the depth of example generation in API Docs. For example,if you want to generate optional properties that are 5 levels deep, you can add
the following configuration in your
generators.yml0.46.10fix:Correctly support AdditionalProperties on object schemas.0.46.9fix:SDK generation no longer hard-fails on single example generation errors.0.46.8fix:The CLI now auto generates SSE and JSON Streaming examples even if those arenot provided in the OpenAPI Spec or Fern Definition.
0.46.7fix:The generated Fern Definition now properly supports default values for query parameters.0.46.6fix:The audiences property on WebSocket channels is now respected when filteringthe IR graph based on configured audiences.
0.46.5fix:The OpenAPI parser now deduplicates headers that appear in both security schemes andoperation-level headers to avoid duplicate header declarations.