25 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog, and this project does not adhere to Semantic Versioning until v1.0.0.
[0.38.0] - 2024-11-26
Bug Fixes
d5df615oxc_codegen: Don't emit empty span mapping (#7448) (Hiroshi Ogawa)
[0.37.0] - 2024-11-21
-
f059b0east: [BREAKING] Add missingChainExpressionfromTSNonNullExpression(#7377) (Boshen) -
44375a5ast: [BREAKING] RenameTSEnumMemberNameenum variants (#7250) (overlookmotel)
Features
82773cbcodegen: Remove underscore from bigint (#7367) (Boshen)
Bug Fixes
c587dd3codegen: Do not print parenthesis forinexpression in ArrowFunctionExpression (#7360) (Dunqing)a0766e6codegen: Fix arithmetic overflow printing unspanned nodes (#7292) (overlookmotel)33ec4e6codegen: Fix arithmetic overflow printing unspannedNewExpression(#7289) (overlookmotel)1282221codegen: Print comments when block is empty (#7236) (Boshen)
Refactor
58db9efcodegen: Do not print unnecessary parentheses if both sides use the same logical operator (#7325) (Dunqing)
[0.36.0] - 2024-11-09
-
0e4adc1ast: [BREAKING] Remove invalid expressions fromTSEnumMemberName(#7219) (Boshen) -
d1d1874ast: [BREAKING] Changecomment.spanto real position that contain//and/*(#7154) (Boshen)
Features
[0.35.0] - 2024-11-04
Features
caa4b1fcodegen: Improve printing of comments (#7108) (Boshen)001058acodegen: Always print legal comments on its own line (#7089) (Boshen)413973dcodegen: Print linked and external legal comment (#7059) (Boshen)ee27b92codegen: Print eof legal comments (#7058) (Boshen)6516f9ecodegen: Print inline legal comments (#7054) (Boshen)
Refactor
dd79c1bcodegen: Replacedaachorsewith string match for annotation comment (#7064) (Boshen)0bb1aa4codegen: Move options to its own file (#7053) (Boshen)
[0.34.0] - 2024-10-26
Refactor
423d54crust: Remove the annoyingclippy::wildcard_imports(#6860) (Boshen)
[0.33.0] - 2024-10-24
Bug Fixes
05ef03dcodegen: Correct print__proto__shorthand (#6802) (Boshen)1b7897ccodegen: Print#field in {} << 0;correctly (#6799) (Boshen)2f6ad42codegen: Print negative bigint1n- -1ncorrectly after constant folding (#6798) (Boshen)8f17953coverage: Remove some broken cases (#6797) (Boshen)
Documentation
374b972codegen: Add#![warn(missing_docs)]tooxc_codegen(#6711) (DonIsaac)
[0.32.0] - 2024-10-19
-
c0e9d7ecodegen: [BREAKING]Codegen::into_source_textconsumeCodegen(#6539) (overlookmotel) -
782f0a7codegen: [BREAKING] Renameprint_charmethod toprint_ascii_byte(#6512) (overlookmotel) -
91c87ddcodegen: [BREAKING] RemoveCodegen::enableSourceMapAPI (#6452) (Boshen) -
7645e5ccodegen: [BREAKING] Remove CommentOptions API (#6451) (Boshen) -
5200960oxc: [BREAKING] Remove passingTriviasaround (#6446) (Boshen)
Features
e5ed6a5codegen: Print negative numbers (#6624) (Boshen)
Bug Fixes
ba385fccodegen: Panic occurred when printing the comment of the right parenthesis (#6593) (Dunqing)02bfbfecodegen: Preserve parenthesis forChainExpression(#6430) (Dunqing)2ade16ecodegen: Invalid codegen whenininside bin expr in or loop (#6431) (camc314)6896efccodegen: Fixinin sequence expr in for loops (#6428) (camc314)
Performance
77f3a1acodegen: Check last char with byte methods (#6509) (overlookmotel)18b68ffcodegen: OptimizeCodeBuffer::print_ascii_byte(#6516) (overlookmotel)
Documentation
7e909a7codegen: Fix example forCodeBuffer::print_ascii_bytes(#6535) (overlookmotel)235d357codegen: Improve doc comments forCodeBuffer(#6511) (overlookmotel)c8fa2ebcodegen: Correct and reformat doc comments forCodeBuffer(#6504) (overlookmotel)40d1ee4codegen: Fix and reformatCodeBufferexamples (#6499) (overlookmotel)
Refactor
51fc63dcodegen: RenameCodeBuffer::print_bytes_uncheckedmethod (#6517) (overlookmotel)05a2ebdcodegen: Reorder dependencies inCargo.toml(#6514) (overlookmotel)e7f3e28codegen: Rename var inCodeBuffer(#6510) (overlookmotel)1bbd383codegen: RenameCodeBuffer::print_ascii_bytesmethod (#6507) (overlookmotel)cd9fe9ecodegen: Rename vars inCodeBuffermethods (#6506) (overlookmotel)fc536a5codegen: InlineCodeBuffermethods (#6501) (overlookmotel)7420620codegen: AddCodeBuffer::as_bytesmethod (#6498) (overlookmotel)8ae174bcodegen: RenameCodeBuffer::print_byte_uncheckedmethod (#6496) (overlookmotel)5843e01codegen: ShortenCodeBuffer::take_source_text(#6495) (overlookmotel)951def6codegen: Clarify safety comments inCodeBuffer(#6494) (overlookmotel)84a51eecodegen: Rename vars inCodeBuffer(#6493) (overlookmotel)05bd616codegen: Add line break (#6492) (overlookmotel)204bf55codegen: AddCodeBufferto fix soundness hole (#6148) (DonIsaac)702b574codegen: Only print necessary parentheses in TSAsExpression (#6429) (Dunqing)f4cdc56minifier: Use constant folding unary expression fromoxc_ecmascript(#6647) (Boshen)1a90ec4rust: Backport v1.82.0 changes to main branch first (#6690) (Boshen)
Testing
e7c89a5codegen: Uncomment passed tests that are related to trailing comments (#6589) (Dunqing)d816b0bcodegen: Add test forCodeBuffer::print_byte_unchecked(#6497) (overlookmotel)
[0.31.0] - 2024-10-08
020bb80codegen: [BREAKING] Change toCodegenReturn::codeandCodegenReturn::map(#6310) (Boshen)
Bug Fixes
84b2d07codegen: Converts line comment to block comment if it is aPUREcomment (#6356) (Dunqing)
Refactor
[0.30.5] - 2024-09-29
Refactor
ab187d1codegen: Restrict visibility of internal methods (#6145) (DonIsaac)
[0.30.4] - 2024-09-28
Bug Fixes
8582ae3codegen: Missing parentheses if there is a pure comment before a NewExpression as a ComputedMemberExpression's callee (#6105) (Dunqing)
Performance
05852a0codegen: Do not check whether there are annotation comments or not if we don't preserve annotation comments (#6107) (Dunqing)
[0.30.2] - 2024-09-27
Features
cca433fcodegen: Printvite/webpackspecial comments (#6021) (Dunqing)
Bug Fixes
c8682e9semantic,codegen,transformer: Handle definite!operator in variable declarator (#6019) (Boshen)
Refactor
fe696f0codegen: Simplify printing annotation comments (#6027) (Dunqing)
[0.30.1] - 2024-09-24
Bug Fixes
9ca202acodegen: Preserve newlines between comments (#6014) (Boshen)4a99372codegen: Print jsdoc comments forTSEnumMembers (#6007) (camc314)
[0.30.0] - 2024-09-23
Features
d901772codegen: Implement minify number from terser (#5929) (Boshen)9f6696acodegen: Add new lines toTSTypeParameterDeclaration(#5853) (Boshen)bcdbba3codegen: Print jsdoc comments that are attached to statements and class elements (#5845) (Boshen)26386dacodegen: Havewith_source_textreserve memory for code buffer (#5823) (DonIsaac)dfbde2cisolated_declarations: Print jsdoc comments (#5858) (Boshen)
Bug Fixes
f4aefb5codegen: Printlet[0]as(let)[0](#5947) (Boshen)cee9d0bcodegen: Fix spacing offor await (x of y)(#5890) (Boshen)5901d2acodegen: Various spacing issues (#5820) (Boshen)362c427mangler,codegen: Do not mangle top level symbols (#5965) (Boshen)42dcadfparser: Hashbang comment should not keep the end newline char (#5844) (Boshen)
Refactor
6dd6f7cast: ChangeCommentstruct (#5783) (Boshen)bb95306codegen: Change annotation comment tests to snapshot (#5800) (Boshen)e613a3dcodegen: Prepare to add leading comments by adding a template method pattern (#5784) (Boshen)7caae5bcodegen: AddGetSpanrequirement toGentrait (#5772) (Boshen)
[0.29.0] - 2024-09-13
Performance
d18c896rust: Usecow_utilsinstead (#5664) (dalaoshu)
[0.28.0] - 2024-09-11
-
ee4fb42ast: [BREAKING] Reduce size ofWithClausebyBoxing it (#5677) (Boshen) -
4a8aec1span: [BREAKING] ChangeSourceType::jstoSourceType::cjsandSourceType::mjs(#5606) (Boshen)
Features
Bug Fixes
d62defbcodegen: Do not print trailing commas forArrayExpression(#5551) (Boshen)
Performance
[0.27.0] - 2024-09-06
-
cba93f5ast: [BREAKING] AddThisExpressionvariants toJSXElementNameandJSXMemberExpressionObject(#5466) (overlookmotel) -
87c5df2ast: [BREAKING] RenameExpression::without_parentheses(#5448) (overlookmotel)
Features
59abf27ast, parser: Addoxc_regular_expressiontypes to the parser and AST. (#5256) (rzvxa)c782916codegen: Printtype_parametersinTaggedTemplateExpression(#5438) (Dunqing)
Bug Fixes
0df1d9dast, codegen, linter: Panics in fixers. (#5431) (rzvxa)
Refactor
d9d7e7cast: RemoveIdentifierNamefromTSThisParameter(#5327) (overlookmotel)
[0.26.0] - 2024-09-03
-
1aa49afast: [BREAKING] RemoveJSXMemberExpressionObject::Identifiervariant (#5358) (Dunqing) -
32f7300ast: [BREAKING] AddJSXElementName::IdentifierReferenceandJSXMemberExpressionObject::IdentifierReference(#5223) (Dunqing) -
234a24cast: [BREAKING] MergeUsingDeclarationintoVariableDeclaration(#5270) (Kevin Deng 三咲智子)
Features
5505749ast: Addaccessibilityfield toAccessorProperty(#5290) (Dunqing)292d162codegen: Print missing fields forAccessorProperty(#5291) (Dunqing)
Bug Fixes
5c4c001codegen: Printexport @decorator declare abstract class Foocorrectly (#5303) (Boshen)7b1546bcodegen: Do not print comments when--minify(Boshen)
Performance
12a7607codegen: InlineCodegen::print_list(#5221) (overlookmotel)fb847bdcodegen: Slightly fasterprint_list(#5192) (Boshen)
Refactor
[0.25.0] - 2024-08-23
ce4d469codegen: [BREAKING] Remove const genericMINIFY(#5001) (Boshen)
Features
Bug Fixes
b7db235Comments gen regression (#5003) (IWANABETHATGUY)
Refactor
cd9cf5eoxc: Removeremove_whitespace(Boshen)
[0.24.3] - 2024-08-18
Features
d49fb16oxc_codegen: Support generate range leading comments (#4898) (IWANABETHATGUY)
Bug Fixes
bbf9ec0codegen: Add missingdeclaretoPropertyDefinition(#4937) (Boshen)f210cf7codegen: PrintTSSatisfiesExpressionandTSInstantiationExpression(#4936) (Boshen)21f5762codegen: Minify large numbers (#4889) (Boshen)e8de4bdcodegen: Fix whitespace issue when minifyingx in new Error()(#4886) (Boshen)a226962codegen: PrintTSNonNullExpression(#4869) (Boshen)3da33d3codegen: Missing parenthesis forPrivateInExpression(#4865) (Boshen)1808529codegen: Dedupe pure annotation comments (#4862) (IWANABETHATGUY)508644alinter/tree-shaking: Correct the calculation of>>,<<and>>>(#4932) (mysteryven)
[0.24.0] - 2024-08-08
Bug Fixes
4a56954codegen: Print raw if value is number is Infinity (#4676) (Boshen)a40a217parser: Parseassertkeyword inTSImportAttributes(#4610) (Boshen)
Performance
8dd76e4codegen: Reduce size ofLineOffsetTable(#4643) (overlookmotel)b8e6753codegen:u32indexes inLineOffsetTablefor source maps (#4641) (overlookmotel)
Refactor
e78cba6minifier: Ast passes infrastructure (#4625) (Boshen)
[0.23.1] - 2024-08-06
Bug Fixes
4a56954codegen: Print raw if value is number is Infinity (#4676) (Boshen)a40a217parser: Parseassertkeyword inTSImportAttributes(#4610) (Boshen)
Performance
8dd76e4codegen: Reduce size ofLineOffsetTable(#4643) (overlookmotel)b8e6753codegen:u32indexes inLineOffsetTablefor source maps (#4641) (overlookmotel)
Refactor
e78cba6minifier: Ast passes infrastructure (#4625) (Boshen)
[0.23.0] - 2024-08-01
27fd062sourcemap: [BREAKING] Avoid passingResults (#4541) (overlookmotel)
Features
a558492codegen: ImplementBinaryExpressionVisitor(#4548) (Boshen)7446e98codegen: Align more esbuild implementations (#4510) (Boshen)35654e6codegen: Align operator precedence with esbuild (#4509) (Boshen)
Bug Fixes
b58ed80codegen: Enable more test cases (#4585) (Boshen)6a94e3fcodegen: Fixes for esbuild test cases (#4503) (Boshen)d5c4b19parser: Fix enum member parsing (#4543) (DonIsaac)
Performance
7585e16linter: Remove allocations for string comparisons (#4570) (DonIsaac)
Refactor
[0.22.0] - 2024-07-23
Bug Fixes
44a10c4codegen: Object shorthand with parens({x: (x)})->({ x })(#4391) (Boshen)3d88f20codegen: Print shorthand for all{ x }variants (#4374) (Boshen)e624dffcodegen,mangler: Do not print shorthand forObjectProperty(#4350) (Boshen)
[0.21.0] - 2024-07-18
Features
83c2c62codegen: Add option for choosing quotes; remove slowchoose_quotmethod (#4219) (Boshen)e3e663bmangler: Initialize crate and integrate into minifier (#4197) (Boshen)
Bug Fixes
bf3d8d3codegen: Print annotation comment inside parens for new and call expressions (#4290) (Boshen)084ab76codegen: Useryu-jsfor f64 to string (Boshen)e167ef7codegen: Print parenthesis properly (#4245) (Boshen)c65198fcodegen: Choose the right quote for jsx attribute string (#4236) (Boshen)be82c28codegen: PrintJSXAttributeValue::StringLiteraldirectly (#4231) (Boshen)3df9e69mangler: No shorthandBindingProperty; handle var hoisting and export variables (#4319) (Boshen)66b455aoxc_codegen: Avoid print same pure comments multiple time (#4230) (IWANABETHATGUY)-1c117ebAvoid print extra semicolon after accessor property (#4199) (IWANABETHATGUY)
Refactor
d1c4be0codegen: Clean up annotation_comment (Boshen)06197b8codegen: Separate tests (Boshen)aa22073codegen: Improve print API (#4196) (Boshen)
[0.20.0] - 2024-07-11
5731e39ast: [BREAKING] Store span details inside comment struct (#4132) (Luca Bruno)
Refactor
[0.18.0] - 2024-07-09
Features
365d9baoxc_codegen: Generate annotation comments beforeCallExpressionandNewExpression(#4119) (IWANABETHATGUY)
[0.17.2] - 2024-07-08
Bug Fixes
5472b7ccodegen: 256 indentations level is not enough for codegen (Boshen)
[0.17.1] - 2024-07-06
Bug Fixes
564a75acodegen: Missing TypeParameters in TSConstructSignature (#4063) (michaelm)
[0.17.0] - 2024-07-05
Features
7768d23isolated-declarations: Support optional class methods (#4035) (Egor Blinov)
Bug Fixes
aaac2d8codegen: Preserve parentheses from AST instead calculating from operator precedence (#4055) (Boshen)5e5b1b1codegen: Correct accessibility emit for class formal-parameters/methods/properties (#4042) (Egor Blinov)7844734codegen: Missing const keyword in TSTypeParamter (#4022) (Dunqing)6254a41codegen: Missing TypeParamters in TSCallSignature (#4021) (Dunqing)
[0.16.3] - 2024-07-02
Bug Fixes
23038adcodegen: PrintTSFunctionTypeinsideTSTypeAssertion(#3999) (Boshen)
[0.16.2] - 2024-06-30
Features
dc6d45east,codegen: AddTSParenthesizedTypeand print type parentheses correctly (#3979) (Boshen)
Bug Fixes
dac617dcodegen: Print some missing typescript attributes (#3980) (Boshen)
[0.16.1] - 2024-06-29
Bug Fixes
51e54f9codegen: Should printTSModuleDeclarationKindinstead of justmodule(#3957) (Dunqing)
[0.16.0] - 2024-06-26
-
6796891ast: [BREAKING] Rename all instances ofBigintLiteraltoBigIntLiteral. (#3898) (rzvxa) -
ae09a97ast: [BREAKING] RemoveModifiersfrom ts nodes (#3846) (Boshen) -
1af5ed3ast: [BREAKING] ReplaceModifierswithdeclareandconstonEnumDeclaration(#3845) (Boshen) -
0673677ast: [BREAKING] ReplaceModifierswithdeclareonFunction(#3844) (Boshen) -
ee6ec4east: [BREAKING] ReplaceModifierswithdeclareandabstractonClass(#3841) (Boshen) -
9b38119ast: [BREAKING] ReplaceModifierswithdeclareonVariableDeclaration(#3839) (Boshen) -
cfcef24ast: [BREAKING] Adddirectivesfield toTSModuleBlock(#3830) (Boshen) -
4456034ast: [BREAKING] AddIdentifierReferencetoExportSpecifier(#3820) (Boshen)
Features
5847e16ast,parser: Addintrinsickeyword (#3767) (Boshen)01da2f7codegen: Print TSThisParameter for TSCallSignatureDeclaration and TSMethodSignature (#3792) (Dunqing)2821e0ecodegen: Print readonly keyword for TSIndexSignature (#3791) (Dunqing)97575d8codegen: Print TSClassImplements and TSThisParameter (#3786) (Dunqing)
Bug Fixes
2766594codegen: Print type parameters for MethodDefinition (#3922) (Dunqing)
Performance
4f7ff7eDo not pass&Atomto functions (#3818) (overlookmotel)
Refactor
4cf3c76parser: Improve parsing of TypeScript types (#3903) (Boshen)
[0.15.0] - 2024-06-18
-
5c38a0fcodegen: [BREAKING] New code gen API (#3740) (Boshen) -
534242acodegen: [BREAKING] RemoveCodegenOptions::enable_typescript(#3674) (Boshen) -
0578eceast: [BREAKING] RemoveExportDefaultDeclarationKind::TSEnumDeclaration(#3666) (Dunqing)
Features
5a99d30codegen: Improve codegen formatting (#3735) (Boshen)bf9b38acodegen: Improve codegen formatting (#3731) (Boshen)4a004e2codegen: Print TSImport remaining fields (#3695) (Dunqing)a56cb1bcodegen: Print accessibility for MethodDefinition (#3690) (Dunqing)38a75e5coverage: Improve codegen (#3729) (Boshen)4f2db46transformer-dts:--isolatedDeclarationsdts transform (#3664) (Dunqing)
Bug Fixes
da1e2d0codegen: Improve typescript codegen (#3708) (Boshen)
Refactor
fa7a6bacodegen: Addgenmethod to ast nodes (#3687) (Boshen)09b92b6codegen: Movegen_tsintogento make searching things easier (#3680) (Boshen)815260eisolated-declarations: Decouple codegen (#3715) (Boshen)4f16664transformer_dts: Create aProgramfor codegen (#3679) (Boshen)
[0.14.0] - 2024-06-12
Refactor
f98f777linter: Add rule fixer (#3589) (Don Isaac)
[0.13.4] - 2024-06-07
Features
5c8e16ccoverage: Second transformer build does not print typescript (#3561) (Dunqing)
Bug Fixes
affb2c8codegen: Print indentation before directive (#3512) (Dunqing)
[0.13.3] - 2024-06-04
Bug Fixes
98c9029codegen: Should be double quote for jsx attribute value (#3516) (Dunqing)d8063b6codegen: Wrong escape string (#3514) (Dunqing)
Refactor
ddac2a0codegen: Reduce allocation for print_unquoted_str (#3525) (Dunqing)
[0.13.2] - 2024-06-03
Features
0cdb45aoxc_codegen: Preserve annotate comment (#3465) (IWANABETHATGUY)
[0.13.1] - 2024-05-22
Features
e2dd8acsyntax: Exportis_reserved_keywordandis_global_objectmethod (#3384) (Boshen)
Bug Fixes
a12ed0fcodegen: Using declaration in for statement (#3285) (Don Isaac)
Refactor
9ced605parser: Start porting arrow function parsing from tsc (#3340) (Boshen)e879685sourcemap: Using binary search to search original position (#3360) (underfin)
[0.13.0] - 2024-05-14
Features
eefb66fast: Add type to AccessorProperty to support TSAbractAccessorProperty (#3256) (Dunqing)
Bug Fixes
0ba7778parser: Correctly parse cls.fn = x (#3208) (Dunqing)
Refactor
7e1fe36ast: Squash nested enums (#3115) (overlookmotel)0185eb2ast: Remove duplicateTSNamedTupleMemberrepresentation (#3101) (overlookmotel)a8af5desyntax: Move number related functions to number module (#3130) (Boshen)
[0.12.5] - 2024-04-22
Features
92d709bast: AddCatchParameternode (#3049) (Boshen)
[0.12.4] - 2024-04-19
Features
fd5002bcodegen: Correctly print type-only imports/exports (#2993) (Dunqing)
[0.12.1] - 2024-04-03
Bug Fixes
28fae2esourcemap: Using serde_json::to_string to quote sourcemap string (#2889) (underfin)
Refactor
114f68ecodegen: Make codegen sourcemap builder clearer (#2894) (underfin)
[0.11.0] - 2024-03-30
Features
243131dtransformer: Numeric separator plugin. (#2795) (Ali Rezvani)-b199cb8Add oxc sourcemap crate (#2825) (underfin)-a2cfc86SourcemapVisualizer (#2773) (underfin)
Bug Fixes
6177c2fcodegen: Sourcemap token name should be original name (#2843) (underfin)b76b02dparser: Add support for empty module declaration (#2834) (Ali Rezvani)
Performance
2be5f9dcodegen: Avoid unnecessary copy (#2727) (underfin)d7004dasourcemap: Remove unnecessary binary search (#2728) (underfin)
Refactor
d9b77d8sourcemap: Change sourcemap name to take a reference (#2779) (underfin)
[0.10.0] - 2024-03-14
c3477deast: [BREAKING] Rename BigintLiteral to BigIntLiteral (#2659) (Arnaud Barré)
Bug Fixes
9609c34codegen:CallExpressionsourcemap (#2717) (underfin)b453a07parser: Parse named rest element in type tuple (#2655) (Arnaud Barré)
[0.9.0] - 2024-03-05
f66059east: [BREAKING] Align TSImportType with ESTree (#2578) (Arnaud Barré)
Features
20c7bf7ast: AddAssignmentTargetRest(#2601) (Boshen)3efbbb2ast: Add "abstract" type toMethodDefinitionandPropertyDefinition(#2536) (Boshen)8bb1084codegen: Add sourcemap (#2565) (Boshen)
Bug Fixes
ea30fd5codegen: Fix adding mapping to sourcemaps (#2590) (overlookmotel)fe29fa4codegen: Correct sourcemaps when Windows line breaks + unicode (#2584) (overlookmotel)517026bcodegen: Correct sourcemaps when unicode chars (#2583) (overlookmotel)
Performance
b7f5c63codegen: Speed up generating sourcemap mappings (#2597) (overlookmotel)42fa8ebcodegen: Speed up building sourcemap line tables (#2591) (overlookmotel)
Refactor
ef932a3codegen: Clean up API around building sourcemaps (#2602) (Boshen)
[0.8.0] - 2024-02-26
Features
6b3b260Codegen: Improve codegen (#2460) (Andrew McClenaghan)e6d536ccodegen: Configurable typescript codegen (#2443) (Andrew McClenaghan)
Bug Fixes
4327916codegen: Remove redundant semicolon in PropertyDefinition (#2511) (Dunqing)b5deb9acodegen: Whenasyncis on the left-hand side of a for-of, wrap it in parentheses (#2407) (Dunqing)384d5accodegen: Lower the level of precedence in TaggedTemplateExpression (#2391) (Wenzhe Wang)
Refactor
540f917ast: RemoveTSEnumBody(#2509) (Boshen)9087f71ast: S/TSThisKeyword/TSThisType to align with estree (Boshen)d08abc6ast: S/NumberLiteral/NumericLiteral to align with estree (Boshen)e6b391aast: S/ArrowExpression/ArrowFunctionExpression to align estree (Boshen)-a2c173dRemovepanic!from examples (#2454) (Boshen)
[0.7.0] - 2024-02-09
Features
55011e2codegen: Avoid printing comma in ArrayAssignmentTarget if the elements is empty (#2331) (Dunqing)
Bug Fixes
2eb489ecodegen: Format new expession + import expression with the correct parentheses (#2346) (Dunqing)721f6cbcodegen: Format new expression + call expression with the correct parentheses (#2330) (Boshen)
Refactor
1822cfeast: Fix BigInt memory leak by removing it (#2293) (Boshen)
[0.6.0] - 2024-02-03
Features
8ac0202codegen: Keep shorthand in ObjectPattern and ObjectProperty (#2265) (Dunqing)fa555cecodegen: Change back to read raw (#2222) (Wenzhe Wang)9333264codegen: Print TemplateLiteral withprint_str(#2207) (Wenzhe Wang)1ee6d8ccodegen: Move string test to codegen (#2150) (Wenzhe Wang)
Bug Fixes
0c225a4codegen: Print space before with clause in import (#2278) (Wenzhe Wang)d34650acodegen: Print necessary spaces forExportAllDeclaration(#2190) (Yunfei He)989ab88codegen: PrintDirectiveoriginal string (#2157) (underfin)29dc5e6codegen: Add parenthesis in binary expression by precedence (#2067) (Wenzhe Wang)
Refactor
766ca63ast: Rename RestElement to BindingRestElement (#2116) (Dunqing)
[0.5.0] - 2024-01-12
Refactor
a6717dbformatter,linter,codegen: Remove oxc_formatter (#1968) (Boshen)
[0.4.0] - 2023-12-08
Features
9ff0ffcast: Implement new proposal-import-attributes (#1476) (magic-akari)
Refactor
1a576f6rust: Move to workspace lint table (#1444) (Boshen)
[0.3.0] - 2023-11-06
Features
cef78accodegen: Indent inner class (#1085) (Wenzhe Wang)854b55acodegen: Json strings proposal (#1039) (Boshen)6c18b3ecodegen: Beauty class print (#995) (Wenzhe Wang)e0ca09bcodegen: Implement the basics of non-minifying codegen (#987) (Boshen)809f050codegen: Move minifying printer to codegen crate (#985) (Boshen)f28d96ccodegen: Initialize the codegen crate and struct (#983) (Boshen)2e2b758playground: Add transform and minify (#993) (Boshen)e8a4e81transformer: Implement some of jsx decode entities (#1086) (Boshen)af1a76btransformer: Implement some of needs_explicit_esm for typescript (#1047) (Boshen)dfee853transformer: Add utils to make logical_assignment_operators pass (#1017) (Boshen)678db1dtransformer: ES2020 Nullish Coalescing Operator (#1004) (Boshen)-094dfa5Support filter exec snap (#1084) (Wenzhe Wang)-0e91044Adjust the order of print semicolon (#1003) (Wenzhe Wang)
Bug Fixes
6295f9cast: Jsx attribute value and text child should be jsx string (#1089) (Boshen)f32bf27codegen: Fix some typescript codegen problems (#989) (Boshen)a455c81linter: Revert changes to JSX attribute strings (#1101) (Boshen)