mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
8e0ed2ebb9
### 🚀 Features -616bfa2minifier: Remove unreachable code after terminating statements (#24441) (Dunqing) -ddab89adata_structures: Add `likely` and `unlikely` functions (#24368) (overlookmotel) -a3a39f9react_compiler: Implement enableEmitHookGuards codegen (#24329) (Boshen) -b79eef7minifier: Apply De Morgan's law to negated comparison chains in jump guards and loop tests (#24279) (Dunqing) -34ff7b4minifier: Drop write-only property assignments to unused local bindings by default (#24112) (Dunqing) -1b829d8semantic: Record const enums in EnumData (#24268) (Dunqing) -ba0944csemantic: Add `Scoping::set_symbol_span` (#24221) (camc314) ### 🐛 Bug Fixes -7d33363minifier: Preserve guaranteed throws from class heritage evaluation (#24349) (Dunqing) -058a62fsemantic: Track ambient contexts in `SemanticBuilder` (#24327) (camc314) -721eb0btransformer/decorator: Scope accessor class binding (#24330) (camc314) -1ebdce3semantic: Allow reserved keywords in ambient declaration types (#24325) (camc314) -460176atrack-memory-allocations: Exclude arena chunks from Sys allocs (#24292) (Dunqing) -af4922btransformer: Clear lowered namespace redeclarations (#24300) (camc314) -ffd2765semantic: Mark declared computed `MethodDefinition`s as type references (#24296) (camc314) -f17514bisolated-declarations: Emit const readonly fields as types (#24288) (camc314) -40f769dminifier: Make `__proto__` write tracking execution-order independent (#24280) (Dunqing) -6371fedtransformer: Remove stale enum member bindings (#24272) (camc314) -f05dfabtransformer: Correct symbol flags for lowered namespaces (#24271) (Dunqing) -84eeb55transformer: Correct symbol flags for lowered enums (#24269) (Dunqing) -c3057datransformer: Preserve generated class binding spans (#24220) (camc314) -8260096transformer: Correct span for lowered namespace symbol (#24222) (camc314) -42d00d3semantic: Mark declared class heritage as type references (#24237) (camc314) -588d997semantic: Mark TS `PropertyDefinition`s computed fields as type references (#24233) (camc314) -9b95632semantic: Mark computed method keys in `TSMethodSignature`s as type references (#24232) (camc314) ### ⚡ Performance -5b26643transformer_plugins: Dispatch global defines by trailing name (#23666) (Boshen) -dce0f29react_compiler: Replace all compiled functions in a single AST walk (#24403) (Boshen) -f85f0d8ast: Delegate inherited enum variants in clone_in and estree derives (#23555) (Boshen) -3ff0234allocator: Remove `unwrap` from `ReplaceWith` (#24365) (overlookmotel) -ab22e80transformer: Fix Rust 1.97 performance regression (#24354) (camc314) -b47585cparser: Use `ReplaceWith` instead of `TakeIn` (#24018) (overlookmotel) -b227a06minifier: Use `ReplaceWith` instead of `TakeIn` (#24017) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
9.6 KiB
9.6 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.140.0] - 2026-07-13
🚀 Features
ddab89adata_structures: Addlikelyandunlikelyfunctions (#24368) (overlookmotel)
[0.139.0] - 2026-07-06
🚀 Features
2e62012data_structures: AddStringExttrait (#24006) (overlookmotel)
[0.137.0] - 2026-06-18
🚀 Features
556cc6ddata_structures: AddCodeBuffer::as_strmethod (#23571) (overlookmotel)
📚 Documentation
f68641edata_structures: Improve docs on safety contract (#23575) (overlookmotel)
[0.128.0] - 2026-04-27
📚 Documentation
ce65070data_structures: Document whyas_refandas_mutonNonNullConstandNonNullMuttakeself(#21800) (overlookmotel)
[0.126.0] - 2026-04-15
🚀 Features
24b03dedata_structures: IntroduceNonNullConstandNonNullMutpointer types (#21425) (overlookmotel)
[0.124.0] - 2026-04-06
📚 Documentation
b1da750allocator, data_structures: Correct comments (#20966) (overlookmotel)
[0.116.0] - 2026-03-02
🚀 Features
b3dceaedata_structures: Addfieldless_enum!macro (#19876) (overlookmotel)4699498data_structures: AddCodeBuffer::print_strs_array(#19760) (overlookmotel)
🐛 Bug Fixes
93bb861formatter: Trim trailing whitespace before breaking line (#19740) (leaysgur)
[0.115.0] - 2026-02-23
🚀 Features
e814049oxc_data_structure/rope: Addget_offset_from_line_and_column(#18133) (Sysix)
[0.114.0] - 2026-02-16
📚 Documentation
569aa61rust: Add missing rustdocs and remove missing_docs lint attrs (#19306) (Boshen)
[0.105.0] - 2025-12-22
🚀 Features
36e08efdata_structures: Implement conversion traits for stack types (#17141) (overlookmotel)0e177f4data_structures: ImplementSendandSyncfor stack types (#17135) (overlookmotel)
[0.99.0] - 2025-11-24
📚 Documentation
c81a331data_structures: Doc comments on fields ofStack(#15793) (overlookmotel)
[0.93.0] - 2025-09-28
🚀 Features
1521a1fdata_structures: AddStack::clear(#14028) (sapphi-red)
[0.91.0] - 2025-09-22
🚀 Features
f8feed1data_structures: Addadvance_to_endmethod toSliceItertrait (#13947) (overlookmotel)
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.91.0] - 2025-09-21
🚀 Features
f8feed1data_structures: Addadvance_to_endmethod toSliceItertrait (#13947) (overlookmotel)
[0.88.0] - 2025-09-15
💥 BREAKING CHANGES
e433633data_structures: [BREAKING] MakeNonEmptyStack::is_emptya compile-time error (#13673) (overlookmotel)
🚀 Features
1a58e99data_structures: Addis_exhaustedmethod toNonEmptyStackandSparseStack(#13672) (overlookmotel)2db32ebdata_structures: Addboxed_slice!andboxed_array!macros (#13596) (overlookmotel)
[0.87.0] - 2025-09-08
🐛 Bug Fixes
34d3cderust: Fix clippy issues (#13540) (Boshen)
[0.86.0] - 2025-08-31
💥 BREAKING CHANGES
edeebc6data_structures: [BREAKING] RenameSliceIterExttoSliceIter(#13439) (overlookmotel)
🚀 Features
d0479e9data_structures: Addas_mut_slicemethod toIterMutviaSliceIterMutExttrait (#13437) (overlookmotel)5b139aadata_structures: Addptrandend_ptrmethods toSliceIterExt(#13435) (overlookmotel)d8b027fdata_structures: AddSliceIterExt::peekmethod (#13434) (overlookmotel)
🚜 Refactor
51919c2data_structures: Rename lifetime inSliceIterExt(#13433) (overlookmotel)
⚡ Performance
475205fdata_structures: ReduceIterMut::advance_uncheckedto 1 instruction (#13438) (overlookmotel)
[0.82.0] - 2025-08-12
💥 BREAKING CHANGES
128b527data_structures: [BREAKING] RemovePointerExttrait (#12903) (overlookmotel)
📚 Documentation
bb7838ddata_structures: Add stacks to README (#12904) (overlookmotel)
[0.81.0] - 2025-08-06
⚡ Performance
e8ac1a5codegen: Write indent in chunks of 32 bytes (#12745) (overlookmotel)
[0.80.0] - 2025-08-03
🚀 Features
af4d558codegen: Add options to control indentation (#12691) (Copilot)
📚 Documentation
45e2fe8rust: Fix typos and grammar mistakes in Rust documentation comments (#12715) (Copilot)de1de35rust: Add comprehensive README.md documentation for all Rust crates (#12706) (Copilot)
[0.77.1] - 2025-07-16
🚀 Features
7cb4d22data_structures:SliceIterExtextension trait (#12294) (overlookmotel)
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
c79a7d0data_structures: IntroducePointerExttrait (#11095) (overlookmotel)
Performance
f8fac4edata_structures: Inline all methods inPointerExt(#11149) (overlookmotel)
Refactor
bb8bde3various: Update macros to useexprfragment specifier (#11113) (overlookmotel)
[0.69.0] - 2025-05-09
Features
05bf1bedata_structures: AddInlineString::as_mut_strmethod (#10856) (overlookmotel)
Performance
2d4b8c9data_structures: OptimizeInlineString(#10850) (overlookmotel)
[0.61.0] - 2025-03-20
Features
38ad787data_structures: Addassert_unchecked!macro (#9885) (overlookmotel)
Testing
9314147data_structures: Enable doc tests foroxc_data_structurescrate (#9884) (overlookmotel)
[0.60.0] - 2025-03-18
b3ce925data_structures: [BREAKING] Put all parts behind features (#9849) (overlookmotel)
Features
[0.55.0] - 2025-03-05
Features
29041fbdata_structures: MoveInlineStringintooxc_data_structurescrate (#9549) (overlookmotel)
[0.53.0] - 2025-02-26
Features
f21740edata_structures: AddCodeBuffer::print_bytes_iter_uncheckedmethod (#9337) (overlookmotel)
Bug Fixes
54d59f1data_structures: Stack types correctly report allocation size if allocation failure during grow (#9317) (overlookmotel)
Documentation
8bd3e39data_structures: Uppercase SAFETY comments (#9330) (overlookmotel)
Refactor
9d98444codegen, data_structures: MoveCodeBufferintooxc_data_structurescrate (#9326) (overlookmotel)6a4e892data_structures: Add debug assertion toCodeBuffer::peek_nth_char_backand improve safety docs (#9336) (overlookmotel)fc46218data_structures:CodeBuffer::print_struseVec::extend_from_slice(#9332) (overlookmotel)690bae5data_structures: Stack types const assertTis not zero-size type (#9318) (overlookmotel)10ba2eadata_structures: Reduce scope ofunsafeblocks (#9316) (overlookmotel)beb8382data_structures:CodeBuffer::print_bytes_uncheckedtake a byte slice (#9327) (overlookmotel)
[0.49.0] - 2025-02-10
bec8feedata_structures: [BREAKING] RenameStack::last_unchecked_mutmethod (#8911) (overlookmotel)
Features
0a74cf5data_structures: Addfirstandfirst_mutmethods to stack types (#8908) (overlookmotel)
Documentation
f6b6e70data_structures: Correct doc comments forSparseStack(#8907) (overlookmotel)
Refactor
Testing
2d06260data_structures: Add tests forNonEmptyStack::as_sliceandas_slice_mut(#8912) (overlookmotel)
[0.45.0] - 2025-01-11
Documentation
e0a09abdata_structures: Improve docs for stack types (#8356) (overlookmotel)
Refactor
9c1844adata_structures: RemoveNonNullshim (#8423) (overlookmotel)
[0.42.0] - 2024-12-18
Features
46e2e27data_structures: ImplementDefaultforNonEmptyStack(#7946) (overlookmotel)
Styling
fb897f6data_structures: Add line break (#7882) (overlookmotel)7fb9d47rust:cargo +nightly fmt(#7877) (Boshen)
[0.40.0] - 2024-12-10
Features
cf2ee06data_structures: Add rope (#7764) (Boshen)
Styling
e97a954data_structures: Line breaks (#7766) (overlookmotel)
[0.39.0] - 2024-12-04
Features
defaf4bdata_structures: AddSparseStack::last_mutmethod (#7528) (overlookmotel)
[0.37.0] - 2024-11-21
Features
d135d3edata_structures: Add methods toSparseStack(#7305) (overlookmotel)
[0.35.0] - 2024-11-04
Performance
c58ec89data_structures: OptimizeNonEmptyStack::pop(#7021) (overlookmotel)
Refactor
b021147data_structures: Make all methods ofNonNullshim#[inline(always)](#7024) (overlookmotel)fb1710adata_structures: Add#[repr(transparent)]toNonNullshim (#7023) (overlookmotel)f1fc8dbdata_structures: Addreadmethod toNonNullshim (#7022) (overlookmotel)
[0.32.0] - 2024-10-19
Bug Fixes
7cc05f1data_structures: Fix compilation failure on older Rust versions (#6526) (overlookmotel)
Documentation
de22b81data-structures: Enable lint warnings on missing docs, and add missing doc comments (#6612) (DonIsaac)
[0.31.0] - 2024-10-08
Features
7566c2ddata_structures: Addas_slice+as_mut_slicemethods to stacks (#6216) (overlookmotel)c3c3447data_structures: Addoxc_data_structurescrate; add stack (#6206) (Boshen)
Refactor
cc57541data_structures:NonEmptyStack::lenhint thatlenis never 0 (#6220) (overlookmotel)147a5d5data_structures: Removeis_emptymethods for non-empty stacks (#6219) (overlookmotel)61805fddata_structures: Add debug assertion toSparseStack(#6218) (overlookmotel)dbfa0bcdata_structures: Addlenmethod toStackCommontrait (#6215) (overlookmotel)