Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
There was a problem hiding this comment.
Pull Request Overview
This PR releases version 0.4.0 of oxfmt, updating version numbers across packages and their corresponding changelog files.
- Version bump from 0.3.0 to 0.4.0 across all oxfmt packages
- Addition of comprehensive changelog entries documenting new features, bug fixes, and refactoring work
- Updates to both NPM and Rust package manifests
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| npm/oxfmt/package.json | Updates NPM package version to 0.4.0 |
| npm/oxfmt/CHANGELOG.md | Adds 0.4.0 changelog entry with bug fixes and refactoring |
| crates/oxc_formatter/Cargo.toml | Updates Rust crate version to 0.4.0 |
| crates/oxc_formatter/CHANGELOG.md | Adds comprehensive 0.4.0 changelog with features, bug fixes, and refactoring |
| apps/oxfmt/Cargo.toml | Updates oxfmt app version to 0.4.0 |
| apps/oxfmt/CHANGELOG.md | Adds empty changelog entry for 0.4.0 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Performance ReportMerging #14460 will not alter performanceComparing Summary
Footnotes |
[0.4.0] - 2025-10-09
🚀 Features
ImportDeclarationwithJsLabels(feat(formatter/sort-imports): WrapImportDeclarationwithJsLabels#14109) (leaysgur)return_typefor function-like node (feat(formatter): correct printing parameters withreturn_typefor function-like node #14084) (Dunqing)TSPropertySignature(feat(formatter): normalize key ofTSPropertySignature#14083) (Dunqing)TSTypeAliasDeclaration(feat(formatter): implement formatting forTSTypeAliasDeclaration#14040) (Dunqing)TSMappedType(feat(formatter): implement formatting forTSMappedType#14025) (Dunqing)Class(feat(formatter): correct printing forClass#14024) (Dunqing)TSConditionalType(feat(formatter): correct printing forTSConditionalType#14023) (Dunqing)TSTupletype(feat(formatter): implement formatting forTSTupletype#14019) (Dunqing)TSTypeParametersandTSTypeParameterInstantiation(feat(formatter): implement formatting forTSTypeParametersandTSTypeParameterInstantiation#13919) (Dunqing)TSTypeAssertion(feat(formatter): implement formatting forTSTypeAssertion#13911) (Dunqing)TSIntersectiontype(feat(formatter): implement formatting forTSIntersectiontype#13910) (Dunqing)TSUnionType(feat(formatter): implement formatting forTSUnionType#13893) (Dunqing)TSAsExpressionandTSSatisfiesExpression(feat(formatter): implement formatting forTSAsExpressionandTSSatisfiesExpression#13892) (Dunqing)🐛 Bug Fixes
TSIntersectionType(fix(formatter): Correct parentheses inTSIntersectionType#14098) (Noel Kim (김민혁))LogicalExpressionif it's aLogicalExpressionand both have the sameoperator(fix(formatter): merge the right side ofLogicalExpressionif it's aLogicalExpressionand both have the sameoperator#14097) (Dunqing)ObjectPattern(fix(formatter): correct printing comments within the type annotation of ArrayPattern andObjectPattern#14077) (Dunqing)TSXXXTypenodes (fix(formatter): correct preserving parentheses forTSXXXTypenodes #14022) (Dunqing)NewExpressionwhose callee is aTSNonNullExpressionwithTaggedTemplateExpression(fix(formatter): missing parenthesis forNewExpressionwhose callee is aTSNonNullExpressionwithTaggedTemplateExpression#14021) (Dunqing)TSNonNullExpressionorAstNodes::ChainExpressionforStaticMemberExpression(fix(formatter): skip the parent node if it is aTSNonNullExpressionorAstNodes::ChainExpressionforStaticMemberExpression#14020) (Dunqing)declarefunction (fix(formatter): missing semicolon fordeclarefunction #13928) (Dunqing)🚜 Refactor
FunctionandArrowFunctionExpressionwith types (refactor(formatter): improve formatting ofFunctionandArrowFunctionExpressionwith types #14070) (Dunqing).js(refactor(oxfmt): rename build script to.js#14046) (overlookmotel)