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.20
to0.50.12
- Changelog0.50.12
fix:
Increase undici timeouts to make sure thatfern generate --docs
completes.0.50.11
fix:
The CLI now supports a--log-level trace
option to filter out noise from thedebug log level.
0.50.10
fix:
An addition to the broken link checker to further reduce false positives.0.50.9
fix:
The Fern CLI no longer logs the full API request when finishing docs registration,reducing unnecessary log output.
0.50.8
fix:
An additional fix to the OpenRPC parser for respecting tags whenorganizing methods in the API Reference.
22 additional updates, see more
0.50.7
fix:
The OpenRPC parser now respects method names as well as tags fororganization the navigation.
0.50.6
fix:
The broken link checker is updated to reduce false positives.0.50.5
fix:
The Fern CLI is updated to create the organization if it doesn't exist whenfern token
is called.0.50.4
internal:
The docs.yml now supports a separate configurtation forfeature-flags
which allows Fern to renderpieces of content depending on whether or not certain feature flags are enabled for particular user.
This feature is in alpha stage; please contact [email protected] to learn more!
0.50.3
internal:
Fixes an issue where optional, nullable properties resulted in a double optional in theIRv55 -> IRv54 migration.
0.50.2
fix:
The docs now includes alpha support for parsing openrpc specs. To leverage this feature,simply define an API section in your docs.yml and point at an openrpc spec.
0.50.1
fix:
Fixes an issue where nullable schemas were not coerced into optional values.fix:
Fixes an issue wherefern check
would fail for optional, nullable properties.0.50.0
internal:
The CLI is capable of migrating the latest TypeScript generator to IRv55.0.49.1
fix:
The OpenAPI v2 parser now supportsx-fern-global-headers
and fixes an issue with generating webhook content.0.49.0
feat:
The OpenAPI importer now supports respecting nullable properties in schemas. When enabled, nullable properties willbe preserved in the gnerated SDK. By default (without this setting), nullable properties are treated as
optional
.To enable this, configure the setting in your
generators.yml
:0.48.1
fix:
The Mintlify docs importer now correctly generates the proper display-name key in the docs.yml file.0.48.0
feat:
Adds support for nullable types in the Fern definition, such as the following:0.47.6
feat:
The IR now pulls in additional request properties from the OAuth getToken endpoint to support custom OAuth schemas.0.47.5
feat:
Fixes an issue with broken link checking in the OpenAPI v2 parser.0.47.4
feat:
Allows for creating nullable types and pass formats on strings using the OpenAPI v2 parser.0.47.3
feat:
Add the JSON schema to the generators.yml file for validation and autocomplete.0.47.2
feat:
The CLI now supports checking for broken links in your docs. You will see warnings infern check
if your docs link to anypage that can't be resolved, and the
--strict-broken-links
option will cause the command to fail (exit with a non-zero exit code) ifany broken links are found. You can also run the new command
fern docs broken-links
to only check for broken links (ignoringother possible errors), with the
--strict
option to cause the command to fail if any broken links are found.0.47.1
feat:
Fixes a bug where the OpenAPI parser stopped respecting the =unions: v1
setting in yourgenerators.yml
which configures the parser to generate moreidiomatic discriminated unions.
0.47.0
feat:
The CLI now supports publishing docs using the improved OpenAPI v2 parser. You can setopenapi-parser-v2: true
in your
docs.yml
to use the new parser.0.46.23
feat:
The CLI now validates that method and group name overrides in OpenAPI settings are not duplicated.0.46.22
feat:
Support configuration of Google Analytics and Google Tag Manager in API Docs.0.46.21
fix:
The CLI now supports theprefer-undiscriminated-unions-with-literals
setting in OpenAPI settings.