feat: Add option to use Oxfmt for formatting changelog#198
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. Ignoring alerts on:
|
|
@SocketSecurity ignore npm/@metamask/auto-changelog@6.1.0 Network access used to talk to the GitHub API. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 381fa8b. Configure here.
|
@metamaskbot publish-preview |

This adds a new optional
--formatteroption to the CLI, which can be set to either "oxfmt" or "prettier" (default). This allows the generated changelog to be formatted with Oxfmt.Note
Medium Risk
Changes the release workflow to thread a new
formatterparameter through changelog generation/execution paths and upgrades@metamask/auto-changelog, which could alter changelog output or release-branch automation behavior.Overview
Adds a new
--formatterCLI option (defaultprettier) to control how changelogs are formatted, supporting bothprettierandoxfmtacross the CLI and interactive UI workflows.Threads this formatter selection through
determineInitialParameters,followMonorepoWorkflow/UI execution, andexecuteReleasePlan/package update helpers, replacing the previous hardcoded Prettier formatting with agetFormatterswitch.Updates dependencies to
@metamask/auto-changelog@^6.1.0, adds optional peer deps foroxfmt/prettier, and adjusts tests (including mocking dynamic imports) plus a new Oxfmt-specific changelog expectation.Reviewed by Cursor Bugbot for commit 8624d54. Bugbot is set up for automated code reviews on this repo. Configure here.