-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌿 ✨ [Scheduled] Upgrade Fern CLI #102
Open
fern-api
wants to merge
1
commit into
main
Choose a base branch
from
fern/update/cli
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
December 2, 2024 00:06
17fbb46
to
55f3ab3
Compare
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
December 9, 2024 00:05
55f3ab3
to
e37de70
Compare
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
December 16, 2024 00:06
e37de70
to
436c576
Compare
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
December 23, 2024 00:04
436c576
to
1da7ded
Compare
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
December 30, 2024 00:04
1da7ded
to
e3dbfe9
Compare
fern-api
bot
force-pushed
the
fern/update/cli
branch
from
January 6, 2025 00:04
e3dbfe9
to
ee89ecb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.45.0-rc12
to0.46.20
- Changelog0.46.20
feat:
Thefern init
command now supports a--mintlify
option. You can pass inthe path to your
mint.json
and the Fern CLI will generate a fern documentationwebsite.
0.46.19
fix:
If a schema in OpenAPI or AsyncAPI hasadditionalProperties: true
then the Fern CLI will now respect bringing inexample properties that are not defined in the schema. Previously, the CLI would skip them.
0.46.18
fix:
If an object or request is annotated withextra-properties: true
then 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.17
fix:
Support parsing string values for boolean defaults in OpenAPI schemas.0.46.16
fix:
Improve parsing of OpenAPI schemas with an array in thetype
property."null"
, it is interpreted as nullable, and removed from the array.unknown
, but now the specified type is used.69 additional updates, see more
0.46.15
fix:
Fixed issue where user specified examples would be omitted in favor of autogenerated examples.0.46.14
fix:
Boolean default values are now propagated from the Fern Definition through to docs generation.0.46.13
fix:
Correctly omits readOnly query parameters during openapi to fern definition generation.0.46.12
fix:
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.11
fix:
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.yml
0.46.10
fix:
Correctly support AdditionalProperties on object schemas.0.46.9
fix:
SDK generation no longer hard-fails on single example generation errors.0.46.8
fix:
The CLI now auto generates SSE and JSON Streaming examples even if those arenot provided in the OpenAPI Spec or Fern Definition.
0.46.7
fix:
The generated Fern Definition now properly supports default values for query parameters.0.46.6
fix:
The audiences property on WebSocket channels is now respected when filteringthe IR graph based on configured audiences.
0.46.5
fix:
The OpenAPI parser now deduplicates headers that appear in both security schemes andoperation-level headers to avoid duplicate header declarations.
0.46.4
fix:
The generated SSE examples always havedata
andevent
keys so that they are correct.0.46.3
fix:
The Fern CLI now supports generating examples for streaming SSE (server-sent-event)endpoints.
0.46.2
feat:
The Fern CLI now supports parsing alogo
option from your frontmatter. Ifyou would like to override logo on a specific page you can do so by adding
the following:
or
0.46.1
fix:
Add support for setting theUser-Agent
header value for Go generators.0.46.0
internal:
No changes; promote0.46.0-rc1
release candidate to minor version.0.46.0-rc1
fix:
* Setinline: true
for inline enums imported from OpenAPI.inline: true
for maps generated from OpenAPI additionalProperties.0.46.0-rc0
feat:
The Fern Definition now supportsbytes
as a response type.0.45.4
fix:
Defaults are no longer set on datetimes when converting to docs shapes.0.45.4-rc1
chore:
Unknown schemas are no longer incorrectly marked asadditionalProperties: true
.0.45.4-rc0
fix:
The CLI prompts the user to confirm output directory overwrites on fern generate.0.45.3
fix:
Unknown schemas are no longer incorrectly marked asadditionalProperties: true
.0.45.2
fix:
Example generation now respects read-only schemas when generating request examples.0.45.1
internal:
Addinline
field to type declarations in the Fern definition and IR.Add support for importing inline types from OpenAPI into Fern definition and IR.
0.45.1-rc0
fix:
Generate valid examples using spec validation information; respectnull
entries during example generation.0.45.0
internal:
Several improvements to docs, conjure importer, and the cli.0.45.0-rc55
internal:
Docs generation now preserves original model schema names.0.45.0-rc54
internal:
Removes errant minimum and maximums for 'float' types for docs.0.45.0-rc53
internal:
Add support for thesmart-casing
flags in the IR commands.0.45.0-rc52
fix:
Fix bug where max length validation for strings were incorrectly plumbed.0.45.0-rc51
feat:
Add support for theinline-path-parameters
setting in the OpenAPIimporter.
0.45.0-rc50
fix:
Increase max recursive depth allowed for example validation.0.45.0-rc49
fix:
Add 'list' to reserved keywords for use in PHP generator.0.45.0-rc48
feat:
OAuth Client Credential Auth Scheme now supports the ability to optionallyset token header and prefix fields for use with docs playground.
0.45.0-rc47
fix:
Support SDK generation provided comma-delineated content-type values in OpenAPI specs.0.45.0-rc46
fix:
The IR handles converting example unions that are aliases.0.45.0-rc45
fix:
The IR handles converting example unions that are aliases.0.45.0-rc44
fix:
Update the IR'sServiceTypeReferenceInfo
to include all transitive typesreferenced by a service.
0.45.0-rc43
fix:
Support non-standard HTTP code 498; Validatex-fern-examples
during schema parsing.0.45.0-rc42
fix:
Log error message logging when encountering doc errors during preview server initiation.0.45.0-rc41
fix:
Fixes bug introduced in 0.45.0-rc33 where version slugs were not being generated correctly.0.45.0-rc40
fix:
Fixed bug in the Conjure importer where query parameters were overwritten during endpoint parameter parsing.0.45.0-rc39
fix:
The OpenAPI importer now supports correlating request and response examples by name. When an example name is sharedbetween a request body and response, they will be paired together in the generated Fern definition.
0.45.0-rc38
fix:
The OpenAPI importer now supports respecting readonly properties in schemas. When enabled, readonly properties will be excluded from request bodies forPOST/PUT/PATCH endpoints. To enable this, configure the setting in your
generators.yml
:0.45.0-rc37
internal:
Support parsing alpha and beta version numbers of Fern generators0.45.0-rc36
fix:
The OpenAPI importer now supports importing deep object query parameters. To do this, you willneed to configure a setting in your
generators.yml
0.45.0-rc35
fix:
The OpenAPI importer now supports importing deep object query parameters. To do this, you willneed to configure a setting in your
generators.yml
0.45.0-rc34
internal:
The CLI now recognizes the versions of the Go generator that require IRv53.0.45.0-rc33
feat:
The Fern CLI now supports roles and viewers in your docs configuration, if you are on the enteprise plan for docs:0.45.0-rc32
fix:
The OpenAPI importer now supports reading endpoints that have application/x-www-form-urlencoded requests0.45.0-rc31
fix:
The OpenAPI importer now parses webhook examples and generates examples for webhooks when none are provided.0.45.0-rc30
fix:
The OpenAPI importer now parses theexamples
field for primitive schema types likestring
,number
,array
andboolean
.0.45.0-rc29
feat:
The OpenAPI importer now parses theexamples
field that may be present on OpenAPI 3.1 schemas.0.45.0-rc28
feat:
The OpenAPI importer now skips headers in a case-insensitive way (e.g. both "Content-Type" and "content-type" are skipped).0.45.0-rc27
feat:
The Conjure importer now brings in endpoint level descriptions.0.45.0-rc26
feat:
fern check
handles validating unions that contain base properties.0.45.0-rc25
internal:
The Fern CLI temporarily does not support RBAC/Audiences (they will be added in again shortly).0.45.0-rc24
fix:
fern docs dev
now runs in Node 16 - Node 22 environments.0.45.0-rc23
fix:
The docs dev server now correctly handles base paths.0.45.0-rc22
fix:
Fixes bug introduced in 0.45.0-rc20 where section children were dropped from the docs definition.0.45.0-rc21
feat:
The Fern CLI now supports orphaned pages in your docs configuration.fix:
The RBAC config model is now renamed toroles
andviewers
:0.45.0-rc20
feat:
The Fern CLI now supports audiences in your docs configuration:0.45.0-rc19
fix:
- Respectx-fern-ignore
extension in OpenAPI parameters.0.45.0-rc18
fix:
- Add additional debug logging to the CLI when downloading docs preview bundle0.45.0-rc17
fix:
- Improved union example generation by increasing depth for better handling of recursive structures.0.45.0-rc16
fix:
The Conjure importer now correctly keys the union subvariant by the property of the discriminant.is equal to the following Fern Definition:
0.45.0-rc15
fix:
The Conjure importer now correctly imports base-path and docs from your conjure definition.0.45.0-rc14
fix:
The Fern CLI now uses a longer timeout to make HTTP requests, which should fix some flakyness with the docs registration process.0.45.0-rc13
fix:
The Fern CLI now uses a longer timeout to make HTTP requests, which should fix some flakyness with the docs registration process.