@@ -4,6 +4,48 @@ All notable changes to this package will be documented in this file.
44
55The 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
0 commit comments