Skip to content

Commit

Permalink
chore(cli): display errors by default (#5835)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Feb 2, 2025
1 parent f3ca091 commit 05b0e7b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions fern/pages/changelogs/cli/2025-02-02.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 0.51.18
**`(fix):`** The docs will now display errors by default. Previously, errors were hidden by default and needed to be explicitly
enabled with `displayErrors: true`.


8 changes: 8 additions & 0 deletions packages/cli/cli/versions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
- changelogEntry:
- summary: |
The docs will now display errors by default. Previously, errors were hidden by default and needed to be explicitly
enabled with `displayErrors: true`.
type: fix
irVersion: 55
version: 0.51.18

- changelogEntry:
- summary: |
The OpenRPC parser now handles displaying parameters as object examples.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ async function convertNavigationItem({
apiName: rawConfig.apiName ?? undefined,
audiences:
rawConfig.audiences != null ? { type: "select", audiences: rawConfig.audiences } : { type: "all" },
showErrors: rawConfig.displayErrors ?? false,
showErrors: rawConfig.displayErrors ?? true,
snippetsConfiguration:
rawConfig.snippets != null
? convertSnippetsConfiguration({ rawConfig: rawConfig.snippets })
Expand Down

0 comments on commit 05b0e7b

Please sign in to comment.