diff --git a/Cargo.lock b/Cargo.lock index bbb4f13f350df..d8c01f07cac4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2064,7 +2064,7 @@ dependencies = [ [[package]] name = "oxc_formatter" -version = "0.6.0" +version = "0.7.0" dependencies = [ "cow-utils", "insta", @@ -2796,7 +2796,7 @@ dependencies = [ [[package]] name = "oxfmt" -version = "0.6.0" +version = "0.7.0" dependencies = [ "bpaf", "cow-utils", diff --git a/apps/oxfmt/CHANGELOG.md b/apps/oxfmt/CHANGELOG.md index a4aa315fc5b8c..2b73e7df58ef4 100644 --- a/apps/oxfmt/CHANGELOG.md +++ b/apps/oxfmt/CHANGELOG.md @@ -4,6 +4,21 @@ 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.7.0] - 2025-10-21 + +### 🚀 Features + +- 6dfcd80 oxfmt: Search both .json and .jsonc config file (#14848) (leaysgur) + +### 🐛 Bug Fixes + +- 7a420a1 oxfmt: Handle `.d.ts` file correctly (#14835) (leaysgur) + +### 🚜 Refactor + +- 6fa7420 oxfmt: Use custom ignore builder (#14850) (leaysgur) + + ## [0.6.0] - 2025-10-20 ### 🚀 Features diff --git a/apps/oxfmt/Cargo.toml b/apps/oxfmt/Cargo.toml index d2e8599ff52bb..b5fe6203a3233 100644 --- a/apps/oxfmt/Cargo.toml +++ b/apps/oxfmt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxfmt" -version = "0.6.0" +version = "0.7.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 7b57b2cb9f8fa..071c13ab2faae 100644 --- a/crates/oxc_formatter/CHANGELOG.md +++ b/crates/oxc_formatter/CHANGELOG.md @@ -4,6 +4,24 @@ 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.7.0] - 2025-10-21 + +### 🚀 Features + +- aa024d9 formatter: Wrap parenthesis for `AssignmentExpression` that are inside `ComputedMemberExpression` (#14834) (Dunqing) + +### 🐛 Bug Fixes + +- 88fb768 formatter: Correct handling of ignore comment for `TSUnionType` and `TSMappedType` (#14824) (Dunqing) +- f7727c7 formatter: Ignore comment doesn't work for the expression statement (#14817) (Dunqing) +- 7a420a1 oxfmt: Handle `.d.ts` file correctly (#14835) (leaysgur) + +### 🚜 Refactor + +- 9d914a3 formatter: Improve comments handling (#14816) (Dunqing) +- f52863d formatter: Improve handling of type cast node (#14815) (Dunqing) + + ## [0.6.0] - 2025-10-20 ### 🚀 Features diff --git a/crates/oxc_formatter/Cargo.toml b/crates/oxc_formatter/Cargo.toml index 3d72aad78d41e..48c2555eb5d71 100644 --- a/crates/oxc_formatter/Cargo.toml +++ b/crates/oxc_formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_formatter" -version = "0.6.0" +version = "0.7.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/npm/oxfmt/CHANGELOG.md b/npm/oxfmt/CHANGELOG.md index ca94c77265071..24b8dda560364 100644 --- a/npm/oxfmt/CHANGELOG.md +++ b/npm/oxfmt/CHANGELOG.md @@ -4,6 +4,7 @@ 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.6.0] - 2025-10-20 ### 🚀 Features diff --git a/npm/oxfmt/package.json b/npm/oxfmt/package.json index a2610835a6373..16a062688af73 100644 --- a/npm/oxfmt/package.json +++ b/npm/oxfmt/package.json @@ -1,6 +1,6 @@ { "name": "oxfmt", - "version": "0.6.0", + "version": "0.7.0", "type": "module", "description": "Formatter for the JavaScript Oxidation Compiler", "keywords": [],