Skip to content

Commit 8c3be35

Browse files
authored
release(oxfmt): v0.4.0 (#14460)
1 parent e70c572 commit 8c3be35

File tree

7 files changed

+59
-5
lines changed

7 files changed

+59
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/oxfmt/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
78
## [0.3.0] - 2025-09-19
89

910
### 🐛 Bug Fixes

apps/oxfmt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxfmt"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

crates/oxc_formatter/CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,48 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [0.4.0] - 2025-10-09
8+
9+
### 🚀 Features
10+
11+
- 142e7ac formatter/sort-imports: Implement options.ignoreCase: bool (#14367) (leaysgur)
12+
- 5c8bd31 formatter/sort-imports: Implement options.sortSideEffects: bool (#14293) (leaysgur)
13+
- 593c416 formatter/sort-imports: Add options.order: asc|desc (#14292) (leaysgur)
14+
- f1a1f89 formatter/sort-imports: Implement basic sorting with tests (#14291) (leaysgur)
15+
- f75b8f7 formatter/sort-imports: Wrap `ImportDeclaration` with `JsLabels` (#14109) (leaysgur)
16+
- 6be4ae5 formatter/sort-imports: Experimental sort-imports base (#14105) (leaysgur)
17+
- cb29117 formatter: Correct printing parameters with `return_type` for function-like node (#14084) (Dunqing)
18+
- 90fd46f formatter: Normalize key of `TSPropertySignature` (#14083) (Dunqing)
19+
- 6cfce80 formatter: Implement formatting for `TSTypeAliasDeclaration` (#14040) (Dunqing)
20+
- 3097b60 formatter: Implement formatting for `TSMappedType` (#14025) (Dunqing)
21+
- cd620bd formatter: Correct printing for `Class` (#14024) (Dunqing)
22+
- 03244f1 formatter: Correct printing for `TSConditionalType` (#14023) (Dunqing)
23+
- f6dc981 formatter: Implement formatting for `TSTupletype` (#14019) (Dunqing)
24+
- 10a41ab formatter: Export doc() API to inspect IR in example (#14068) (leaysgur)
25+
- 06a1df6 formatter: Implement formatting for `TSTypeParameters` and `TSTypeParameterInstantiation` (#13919) (Dunqing)
26+
- 9b46dd7 formatter: Implement formatting for `TSTypeAssertion` (#13911) (Dunqing)
27+
- 5710b13 formatter: Implement formatting for `TSIntersectiontype` (#13910) (Dunqing)
28+
- 2d18144 formatter: Implement formatting for `TSUnionType` (#13893) (Dunqing)
29+
- 0f15ed3 formatter: Implement formatting for `TSAsExpression` and `TSSatisfiesExpression` (#13892) (Dunqing)
30+
31+
### 🐛 Bug Fixes
32+
33+
- ad5c18a formatter: Correct parentheses in `TSIntersectionType` (#14098) (Noel Kim (김민혁))
34+
- 7c09b20 formatter: Print comments incorrectly if the node is without following a node (#14110) (Dunqing)
35+
- ed33fad formatter: Merge the right side of `LogicalExpression` if it's a `LogicalExpression` and both have the same `operator` (#14097) (Dunqing)
36+
- 1b0519c formatter: Correct printing comments within the type annotation of ArrayPattern and `ObjectPattern` (#14077) (Dunqing)
37+
- e299ab0 formatter: Correct printing comments around decorators (#14076) (Dunqing)
38+
- 7d11047 formatter: Correct a bunch of implementations for TypeScript (#14069) (Dunqing)
39+
- 57cbf84 formatter: Correct preserving parentheses for `TSXXXType` nodes (#14022) (Dunqing)
40+
- 134f255 formatter: Missing parenthesis for `NewExpression` whose callee is a `TSNonNullExpression` with `TaggedTemplateExpression` (#14021) (Dunqing)
41+
- 1e9ce4e formatter: Skip the parent node if it is a `TSNonNullExpression` or `AstNodes::ChainExpression` for `StaticMemberExpression` (#14020) (Dunqing)
42+
- 3ce0775 formatter: Missing semicolon for `declare` function (#13928) (Dunqing)
43+
44+
### 🚜 Refactor
45+
46+
- 70bd141 formatter: Improve formatting of `Function` and `ArrowFunctionExpression` with types (#14070) (Dunqing)
47+
48+
749
## [0.3.0] - 2025-09-19
850

951
### 🚀 Features

crates/oxc_formatter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oxc_formatter"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors.workspace = true
55
categories.workspace = true
66
edition.workspace = true

npm/oxfmt/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this package will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
66

7+
## [0.4.0] - 2025-10-09
8+
9+
### 🐛 Bug Fixes
10+
11+
- 59dc17e oxfmt: Change bin script to ESM (#14263) (Boshen)
12+
13+
### 🚜 Refactor
14+
15+
- 226deee oxfmt: Rename build script to `.js` (#14046) (overlookmotel)
16+
17+
718
## [0.3.0] - 2025-09-19
819

920
### 🚀 Features

npm/oxfmt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oxfmt",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"type": "module",
55
"description": "Formatter for the JavaScript Oxidation Compiler",
66
"keywords": [],

0 commit comments

Comments
 (0)