mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
14533a3dc1
### 💥 BREAKING CHANGES -54cc121ast: [**BREAKING**] Split `MetaProperty` into `ImportMeta` and `NewTarget` (#24557) (camc314) ### 🚀 Features -4c71560parser: More friendly error for spread element in dynamic imports (#24705) (sapphi-red) -7b045cdminfier: Drop last break from last switch case (#24673) (Armano) -7d3c178minifier: Remove unreachable recursive functions (#24125) (Dunqing) -94f99b3ast: Allow `NONE` to be passed to AST builder methods where `Option<ArenaVec>` is expected (#24629) (overlookmotel) -77230c5ast: Accept arrays for `ArenaVec` params of AST builder methods (#24621) (overlookmotel) -f08b152allocator: Implement `FromIn` for array to `Vec` conversion (#24620) (overlookmotel) -2338c13track-memory-allocations: Track heap deallocs, alloc bytes, and peak growth (#24619) (Boshen) -7aa4739syntax,transformer: Move JSX entity decoder to `oxc_syntax` (#24617) (camc314) -2b097c4str: Export `Str` as `ArenaStr` (#24604) (overlookmotel) -3acf4c1minifier: Expand switch optimiation to remove empty cases (#24520) (Armano) -129b759parser: Improve diagnostics for unparenthesized LHS on exponential expr (#24569) (camc314) -4d0c601minifier: Fold arithmetic over undefined and null operands (#24485) (Dunqing) -91541ddminifier: Drop empty switch statements (#24527) (Armano) -d05224dast_visit: Generate VisitJs visitor that skips TypeScript type-space (#24499) (Boshen) -3d22307parser: Add `ParseOptions::enable_ident_hashes` (#24491) (Boshen) ### 🐛 Bug Fixes -64c2241minifier: Align class heritage removal with assumptions (#24533) (Dunqing) -48b59f4parser: Span ambient generator diagnostics (#24711) (camc314) -e750a82ecmascript: Fix false negative for may_have_side_effects on dynamic property access (#24709) (sapphi-red) -f145d73minifier: Guard reordered identifier reads (#24698) (Dunqing) -a2ef382isolated-declarations: Reject `window.Symbol` as global symbol reference (#24689) (camc314) -b1bcf72minifier: Invalidate facts for redeclared bindings (#24658) (Dunqing) -921b834minifier: Don't treat a conditionally-assigned var as write-once (#24650) (Dunqing) -061af1fminifier: Avoid stale pure function summaries (#24636) (Dunqing) -40c2f43allocator: `Vec::from_array_in` do not allocate zero-length array (#24628) (overlookmotel) -70994aecodegen: Preserve comments before expression operands (#24510) (Dunqing) -7b4baffparser: Reject new import member access (#23459) (camc314) -128b385minifier: Clippy warning with no-debug-assertions (#24547) (camc314) -8421febparser: Use first `as` span for imported name (#24537) (leaysgur) -c517aa0parser: Reject invalid accessor assertions (#24504) (camc314) ### ⚡ Performance -884d9ebparser: Pre-size cover-grammar assignment target buffers (#24683) (Boshen) -d3f07a0diagnostics: Box OxcDiagnosticInner to reduce binary size (#24665) (Boshen) -bcc9de0parser: Defer diagnostic creation until parse exit (#24663) (Boshen) -c35d8aballocator: Mark `ReplaceWith` panic path cold (#24515) (camc314) -ba65790semantic, allocator: Branchless `clone_in` for semantic IDs (#24564) (overlookmotel) -747feecparser: Build AST nodes with the AST builder instead of cloning (#24540) (Boshen) -ba35a0dreact_compiler: Use IndexVec for dense id-keyed maps (#24549) (Boshen) -b685062react_compiler: Keep small hot-path collections inline (#24514) (Marius Schulz) -a149e95transformer: Outline rare expression exits (#24512) (camc314) -7808a6ereact_compiler: Make aliasing effects cheap to intern and clone (#24506) (Marius Schulz) -3a36f2areact_compiler: Store AbstractValue reasons as a u16 bitmask (#24480) (Boshen) -1c96753react_compiler: Use FxHashMap for the lookup-only aliasing node map (#24490) (Boshen) Co-authored-by: Cameron <cameron.clark@hey.com>
11 KiB
11 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.141.0] - 2026-07-20
⚡ Performance
ba65790semantic, allocator: Branchlessclone_infor semantic IDs (#24564) (overlookmotel)
[0.138.0] - 2026-06-29
⚡ Performance
c5eef8bregular_expression: Skip capturing-group pre-parse when pattern has no((#23908) (Lawrence Lin)
[0.132.0] - 2026-05-18
⚡ Performance
98be95cregular_expression: Track regex flags via bitflags (#22427) (Boshen)
[0.125.0] - 2026-04-13
💥 BREAKING CHANGES
382958aspan: [BREAKING] Remove re-exports of string types fromoxc_spancrate (#21246) (overlookmotel)
[0.114.0] - 2026-02-16
🚀 Features
ebb80b3ast: Addnode_idfield to all AST struct nodes (#18138) (Boshen)
[0.113.0] - 2026-02-10
🐛 Bug Fixes
e3609e3regular_expression: Preserve UnicodeEscape CharacterKind in string literals (#18998) (Boshen)
[0.109.0] - 2026-01-19
🚀 Features
830b757regular_expression: Add Unicode 17.0 script properties (#18140) (Boshen)
[0.105.0] - 2025-12-22
🚀 Features
3e2ae7bregular_expression: Improve error messages (#16953) (sapphi-red)
[0.104.0] - 2025-12-19
🐛 Bug Fixes
5a2af88regular_expression: Correct named capture group reference error (#16952) (sapphi-red)
[0.96.0] - 2025-10-30
🚜 Refactor
561b743regular_expression: Improve initizalizing state (#15045) (leaysgur)
[0.91.0] - 2025-09-22
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.88.0] - 2025-09-15
🚀 Features
9a205d1regex-parser: Parse simpleTemplateLiterals(#13265) (Sysix)
🐛 Bug Fixes
ab51394raw_transfer: Disable layout assertions on some 32-bit platforms (#13716) (overlookmotel)
🚜 Refactor
babbacaall: Removepubfrom modules with no exports (#13618) (overlookmotel)
[0.87.0] - 2025-09-08
🚀 Features
9590b57regular_expression: Detect regex pattern modifiers usage (#13471) (sapphi-red)
🐛 Bug Fixes
9184911regular_expression: Detect usage of unsupported syntax recursively (#13470) (sapphi-red)0eea7daregular_expression: Don't lower capture groups that are not named ones (#13469) (sapphi-red)
🚜 Refactor
c17b80aregular_expression: Extracthas_unsupported_regular_expression_pattern(#13468) (sapphi-red)14c40fdast: ImplementRegExpLiteral::parse_pattern(#13467) (sapphi-red)
[0.80.0] - 2025-08-03
📚 Documentation
514322crust: Add minimal documentation to example files in crates directory (#12731) (Copilot)
[0.73.1] - 2025-06-17
🚜 Refactor
d057652regular-expression: Shorten Span construction (#11689) (Ulrich Stark)
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.71.0] - 2025-05-20
5d9344frust: [BREAKING] Clippy avoid-breaking-exported-api = false (#11088) (Boshen)
Features
c60382dallocator/vec2: Changelenandcapfields fromusizetou32(#10884) (Dunqing)
Performance
2b0a69fast: Re-order struct fields to reduce padding (#11056) (overlookmotel)
Refactor
9775585regular_expression: Refactorregexp-modifierssupport (#11142) (Yuji Sugiura)
[0.70.0] - 2025-05-15
Documentation
a86cbb3linter: Fix incorrect backticks of fenced code blocks (#10947) (Ulrich Stark)
[0.69.0] - 2025-05-09
Refactor
daba0a7estree: Remove regular expression types from ESTree AST (#10855) (overlookmotel)6de5a43regular_expression: Moveimpl GetSpanto separate file (#10846) (Yuji Sugiura)
Styling
62c3a4aast_tools: Add full stop to end of generated comments (#10809) (overlookmotel)
[0.63.0] - 2025-04-08
Performance
774f6baregular_expression: Removewrite!macro where unnecessary (#10233) (overlookmotel)
[0.61.2] - 2025-03-23
Performance
a09bbcfregular_expression: Make all fieldless enumsCopy(#9937) (overlookmotel)
Refactor
d3d7d98ast: Shorten generated code forCloneIn(#9939) (overlookmotel)28179cdast_tools: SimplifyCloneInderive (#9938) (overlookmotel)
[0.61.1] - 2025-03-21
Features
bc0670ctasks,oxc_allocator: Add new method clone_in_with_semantic_ids forCloneIntrait (#9894) (IWANABETHATGUY)
[0.54.0] - 2025-03-04
Performance
b0a0a82ast/estree: Reduce overhead serializing static strings (#9396) (overlookmotel)
Refactor
dcff40cast_tools: Generate layout assertions in multiple crates (#9448) (overlookmotel)
[0.53.0] - 2025-02-26
Refactor
55ed1dfast/estree: ShortenESTreeimpls for enums (#9275) (overlookmotel)
[0.52.0] - 2025-02-21
216b33fast/estree: [BREAKING] Replaceserdewith customESTreeserializer (#9256) (overlookmotel)
Features
Refactor
ef856f5oxc: Applyclippy::needless_pass_by_ref_mut(#9253) (Boshen)9f36181rust: Applycllippy::nurseryrules (#9232) (Boshen)
[0.49.0] - 2025-02-10
b7ff7e1span: [BREAKING] ExportContentEqtrait from root ofoxc_spancrate (#8869) (overlookmotel)
Bug Fixes
7e6a537ast: Includedirectivesinbody(#8981) (hi-ogawa)
Refactor
cbb4e9cast: GeneratedSerializeimpls flatten struct fields (#8904) (overlookmotel)abfe5bfast: Shorten generated code for numbers (#8864) (overlookmotel)f69de07ast: Remove unneeded lint attrs from generated code (#8862) (overlookmotel)6d1e1d8ast: Make generated code consistent (#8872) (overlookmotel)
Styling
a4a8e7dall: Replace#[allow]with#[expect](#8930) (overlookmotel)
[0.48.0] - 2025-01-24
Refactor
ac4f98espan: DeriveCopyonAtom(#8596) (branchseer)
[0.47.0] - 2025-01-18
7066d1cast, span, syntax, regular_expression: [BREAKING] RemoveContentHash(#8512) (overlookmotel)
Features
Refactor
007e8c0ast, regular_expression: ShortenContentEqimplementations (#8519) (overlookmotel)b5ed58espan: All methods take ownedSpan(#8297) (overlookmotel)
[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)