diff --git a/Cargo.lock b/Cargo.lock index 15addeaefb149..d1596a1fff211 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2061,7 +2061,7 @@ dependencies = [ [[package]] name = "oxc_formatter" -version = "0.9.0" +version = "0.10.0" dependencies = [ "cow-utils", "insta", @@ -2794,7 +2794,7 @@ dependencies = [ [[package]] name = "oxfmt" -version = "0.9.0" +version = "0.10.0" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxfmt/CHANGELOG.md b/apps/oxfmt/CHANGELOG.md index 1c0afd6984e8d..5e48eafefb43f 100644 --- a/apps/oxfmt/CHANGELOG.md +++ b/apps/oxfmt/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.10.0] - 2025-11-04 + +### ๐Ÿš€ Features + +- b77f254 oxfmt,formatter: Support `embeddedLanguageFormatting` option (#15216) (leaysgur) +- 898d6fe oxfmt: Add embedded language formatting with Prettier integration (#14820) (Boshen) + +### ๐Ÿ› Bug Fixes + +- daacf85 oxfmt: Release build fails (#15262) (Dunqing) +- f5d0348 oxfmt: Sync `dependencies` with `npm/oxfmt` and `apps/oxfmt` (#15261) (leaysgur) + +### ๐Ÿšœ Refactor + +- 27b4f36 diagnostic: Remove `path` from sender (#15130) (camc314) + + ## [0.9.0] - 2025-10-30 ### ๐Ÿšœ Refactor diff --git a/apps/oxfmt/Cargo.toml b/apps/oxfmt/Cargo.toml index 912382036ca5c..49e3559c42900 100644 --- a/apps/oxfmt/Cargo.toml +++ b/apps/oxfmt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxfmt" -version = "0.9.0" +version = "0.10.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_formatter/CHANGELOG.md b/crates/oxc_formatter/CHANGELOG.md index 332234bdd9516..0f53351e889b5 100644 --- a/crates/oxc_formatter/CHANGELOG.md +++ b/crates/oxc_formatter/CHANGELOG.md @@ -4,6 +4,36 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.10.0] - 2025-11-04 + +### ๐Ÿš€ Features + +- 505252c formatter: Wrap parenthesis for AssignmentExpression that is a key of `PropertyDefinition` (#15243) (Dunqing) +- 880b259 formatter: Align import-like formatting the same as Prettier (#15238) (Dunqing) +- b77f254 oxfmt,formatter: Support `embeddedLanguageFormatting` option (#15216) (leaysgur) +- 898d6fe oxfmt: Add embedded language formatting with Prettier integration (#14820) (Boshen) +- e77a48e formatter: Detect code removal feature (#15059) (leaysgur) + +### ๐Ÿ› Bug Fixes + +- 46793d7 formatter: Correct printing comments for `LabeledStatement` (#15260) (Dunqing) +- 831ae99 formatter: Multiple comments in `LogicalExpression` and `TSIntersectionType` (#15253) (Dunqing) +- 5fa9b1e formatter: Should not indent `BinaryLikeExpression` when it is an argument of `Boolean` (#15250) (Dunqing) +- 99e520f formatter: Handle chain expression for `JSXExpressionContainer` (#15242) (Dunqing) +- a600bf5 formatter: Correct printing comments for `TaggedTemplateExpression` (#15241) (Dunqing) +- a7289e7 formatter: Handle member chain for the call's parent is a chain expression (#15237) (Dunqing) + +### ๐Ÿšœ Refactor + +- 36ae721 formatter: Simplify the use of `indent` with `soft_line_break_or_space` (#15254) (Dunqing) +- cdd8e2f formatter/sort-imports: Split sort_imports modules (#15189) (leaysgur) +- 85fb8e8 formatter/sort-imports: Pass options to is_ignored() (#15181) (leaysgur) + +### ๐Ÿงช Testing + +- 9d5b34b formatter/sort-imports: Refactor sort_imports tests (#15188) (leaysgur) + + ## [0.9.0] - 2025-10-30 ### ๐Ÿš€ Features diff --git a/crates/oxc_formatter/Cargo.toml b/crates/oxc_formatter/Cargo.toml index 75581446045e5..4925e0b79b0de 100644 --- a/crates/oxc_formatter/Cargo.toml +++ b/crates/oxc_formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_formatter" -version = "0.9.0" +version = "0.10.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxfmt/CHANGELOG.md b/npm/oxfmt/CHANGELOG.md index 51021691d9113..74e83630d9df1 100644 --- a/npm/oxfmt/CHANGELOG.md +++ b/npm/oxfmt/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.10.0] - 2025-11-04 + +### ๐Ÿš€ Features + +- b77f254 oxfmt,formatter: Support `embeddedLanguageFormatting` option (#15216) (leaysgur) + +### ๐Ÿ› Bug Fixes + +- f5d0348 oxfmt: Sync `dependencies` with `npm/oxfmt` and `apps/oxfmt` (#15261) (leaysgur) + + ## [0.9.0] - 2025-10-30 ### ๐Ÿ’ผ Other diff --git a/npm/oxfmt/package.json b/npm/oxfmt/package.json index bfd5a54ffd032..86eabb7773e32 100644 --- a/npm/oxfmt/package.json +++ b/npm/oxfmt/package.json @@ -1,6 +1,6 @@ { "name": "oxfmt", - "version": "0.9.0", + "version": "0.10.0", "type": "module", "description": "Formatter for the JavaScript Oxidation Compiler", "keywords": [],