mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
## [0.46.0] - 2025-01-14 -7eb6ccdast: [**BREAKING**] Remove unused and not useful `ContentHash` (#8483) (Boshen) ### Features -8accfefminifier: Minify `var x; void x` -> `void 0` (#8466) (Boshen) -870a583minifier: Fold `false['toString']` (#8447) (Boshen) -4ad695dnapi/minify: Implement napi (#8478) (Boshen) -9d550aaspan: Add `Atom::r#static` (#8479) (_Kerman) ### Bug Fixes -4071878isolated-declarations: Retain `declare` declarations when they are exported (#8477) (Dunqing) -7ee7634isolated-declarations: Import statement disappears when import binding is referenced in nested `typeof` (#8476) (Dunqing) -7252cb0isolated-declarations: Unexpected error when global `Symbol` as property key (#8475) (Dunqing) -4c6675cminifier: Do not convert while to fors in DCE (#8484) (Boshen) -1d6e84dminifier: Fix incorrect `null.toString()` and `1n.toString()` (#8464) (Boshen) -25d4bf9minifier: Remove usage of empty spans (#8462) (Boshen) -dd64340minifier: Keep `return undefined` in async generator function (#8439) (Boshen) -c444de8transformer/arrow-functions: Transform `this` and `super` incorrectly in async arrow function (#8435) (Dunqing) -270245ftransformer/typescript: Correct the semantic for TSImportEqualsDeclaration transformation (#8463) (Dunqing) -2a400d6transformer/typescript: Retain TSImportEqualsDeclaration when it is exported (Dunqing) -ab694b0transformer/typescript: Retain `TSImportEqualsDeclaration` in `namespace` when its binding has been referenced or `onlyRemoveTypeImports` is true (#8458) (Dunqing) ### Performance -7a8200cmangler: Allocate base54 name without heap allocation (#8472) (Boshen) -31dac22mangler: Allocate data in arena (#8471) (Boshen) -8fc238aminifier: Merge `Normalize` and `RemoveSyntax` pass (#8467) (Boshen) -372eb09minifier: Preallocate mangler's semantic data (#8451) (Boshen) ### Refactor -6e64eefcodegen: Remove `match_expression!` (#8450) (Boshen) -de5b288span: Rename `Atom::new_const` method (#8480) (overlookmotel) -c83ce5ctransformer/typescript: Improve transforming namespace (#8459) (Dunqing) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
4.7 KiB
4.7 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.46.0] - 2025-01-14
7eb6ccdast: [BREAKING] Remove unused and not usefulContentHash(#8483) (Boshen)
Features
[0.42.0] - 2024-12-18
Refactor
3858221global: Sort imports (#7883) (overlookmotel)
Styling
7fb9d47rust:cargo +nightly fmt(#7877) (Boshen)
[0.38.0] - 2024-11-26
Features
eb70219ast: DeriveGetAddresson all enum types (#7472) (overlookmotel)
[0.36.0] - 2024-11-09
Features
dc0215cast_tools: Add #[estree(append_to)], remove some custom serialization code (#7149) (ottomated)
[0.35.0] - 2024-11-04
Features
ce5b609ast: Remove explicit untagged marker on enums (#6915) (ottomated)9725e3cast_tools: Add #[estree(always_flatten)] to Span (#6935) (ottomated)169fa22ast_tools: Default enums to rename_all = "camelCase" (#6933) (ottomated)
[0.34.0] - 2024-10-26
90c786cregular_expression: [BREAKING] Support ES2025 Duplicated named capture groups (#6847) (leaysgur)
Features
1145341ast_tools: Output typescript to a separate package (#6755) (ottomated)
Refactor
423d54crust: Remove the annoyingclippy::wildcard_imports(#6860) (Boshen)
[0.33.0] - 2024-10-24
8032813regular_expression: [BREAKING] Migrate to new regexp parser API (#6741) (leaysgur)
Features
f8e1907regular_expression: IntroConstructorParser(andLiteralParser) to handle escape sequence in RegExp('pat') (#6635) (leaysgur)
Bug Fixes
Refactor
85e69a1ast_tools: Add line breaks to generated code forESTreederive (#6680) (overlookmotel)ad8e293ast_tools: Shorten generated code forimpl Serialize(#6684) (overlookmotel)9ba2b0east_tools: Move#[allow]attrs to top of generated files (#6679) (overlookmotel)11458a5ast_tools: Shorten generated code by avoidingrefin matches (#6675) (overlookmotel)
[0.32.0] - 2024-10-19
Features
e310e52parser: GenerateSerializeimpls in ast_tools (#6404) (ottomated)b5b0af9regular_expression: Support RegExp Modifiers (#6410) (leaysgur)
Bug Fixes
9f9057bregular_expression: Fixed control Y regular expression (#6524) (Tapan Prakash)c822b48regular_expression: Fix CharacterClass negative codegen (#6415) (leaysgur)384d5beregular_expression: Flatten Spans on regex AST nodes (#6396) (ottomated)
Performance
7c20056regex: Reduce string allocations inDisplayimpls (#6528) (DonIsaac)
Styling
fb916b2regular_expression: Re-order dependencies inCargo.toml(#6672) (overlookmotel)
[0.31.0] - 2024-10-08
5a73a66regular_expression: [BREAKING] Simplify public APIs (#6262) (leaysgur)
Refactor
acab777regular_expression: Misc fixes (#6234) (leaysgur)
[0.30.2] - 2024-09-27
Features
8d026e1regular_expression: ImplementGetSpanfor RegExp AST nodes (#6056) (camchenry)7764793regular_expression: Implement visitor pattern trait for regex AST (#6055) (camchenry)
[0.28.0] - 2024-09-11
Bug Fixes
304ce25regular_expression: Keep LegacyOctalEscape raw digits forto_string(#5692) (leaysgur)0511d55regular_expression: Report more MayContainStrings error in (nested)class (#5661) (leaysgur)41582earegular_expression: Improve RegExpto_string()results (#5635) (leaysgur)28aad28regular_expression: Handle-in/[\-]/uas escaped character (#5631) (leaysgur)
Refactor
0ac420dlinter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac)2da42efregular_expression: Improve AST docs with refactoring may_contain_strings (#5665) (leaysgur)dec1395regular_expression: Align diagnostics (#5543) (leaysgur)
[0.27.0] - 2024-09-06
Features
90facd3ast: AddContentHashtrait; remove noopHashimplementation fromSpan(#5451) (rzvxa)23285f4ast: AddContentEqtrait. (#5427) (rzvxa)59abf27ast, parser: Addoxc_regular_expressiontypes to the parser and AST. (#5256) (rzvxa)
Bug Fixes
9b984b3regex: Panic on displaying surrogatedUnicodeEscapecharacters. (#5469) (rzvxa)88b7ddbregular_expression: Handle unterminated character class (#5523) (leaysgur)
Refactor
ccc8a27ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa)e7bd49dregular_expression: Correct typo (#5429) (overlookmotel)
[0.26.0] - 2024-09-03
Features
46b641bregular_expression: Validate max quantifier value (#5218) (leaysgur)
Bug Fixes
cffce11regular_expression: Prevent panic on too large number (#5282) (leaysgur)