Skip to content

Commit

Permalink
fix(cli): reduce debug docs output (#5655)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Jan 19, 2025
1 parent 3853a61 commit f2fc039
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fern/pages/changelogs/cli/2025-01-18.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## 0.50.7
**`(fix):`** The OpenRPC parser now respects method names as well as tags for
orienting the navigation.
organization the navigation.


5 changes: 5 additions & 0 deletions fern/pages/changelogs/cli/2025-01-19.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## 0.50.9
**`(fix):`** The Fern CLI no longer logs the full API request when finishing docs registration,
reducing unnecessary log output.


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 Fern CLI no longer logs the full API request when finishing docs registration,
reducing unnecessary log output.
type: fix
irVersion: 55
version: 0.50.9

- changelogEntry:
- summary: |
An additional fix to the OpenRPC parser for respecting tags when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export async function publishDocs({
return context.failAndThrow("Failed to publish docs.", "Docs registration ID is missing.");
}

context.logger.debug("Calling registerDocs... ", JSON.stringify(docsDefinition, undefined, 4));
context.logger.debug("Finishing docs registration...");
const registerDocsResponse = await fdr.docs.v2.write.finishDocsRegister(
CjsFdrSdk.docs.v1.write.DocsRegistrationId(docsRegistrationId),
{
Expand Down

0 comments on commit f2fc039

Please sign in to comment.