### 💥 BREAKING CHANGES -66744f0parser: [**BREAKING**] Rename `panicked` to `fatal_error` in `ParserReturn` (#26382) (overlookmotel) -2c9a947parser: [**BREAKING**] Reduce `MAX_LEN` to 256 bytes below `u32::MAX` (#26352) (overlookmotel) ### 🚀 Features -32bdc5ballocator: Construct `ArenaHashSet` with any `Default` hasher (#26372) (Dunqing) -a17de58minifier: Process of return/throw in non last position and fix async * inlining (#26214) (Armano) -bfb4c57parser: Distinguish unapplied no-side-effects comments (#26120) (碳苯 Carbon) -1d9b9d3ast: Add `GetNodeId` trait (#26145) (camc314) ### 🐛 Bug Fixes -b156333codegen: Order accessibility before abstract on accessors (#26392) (camc314) -116c8b8transformer/class-properties: Keep private methods in class-expression scope (#26308) (Changsu Seong) -1400a0fparser: Require a string source after `export ... from` (#26389) (camc314) -2da73b7codegen: Print matching quoted import names as identifiers (#26386) (camc314) -0a81d29codegen: Preserve private-in left operand precedence (#26383) (camc314) -9a02337parser: Correctly round large nondecimal literals (#26379) (camc314) -3d95477transformer: Gate async-only rewrites by owning transform (#26326) (Dunqing) -f45a9eetransformer: Limit arguments capture to lowered async functions (#26317) (Dunqing) -789969ftransformer: Gate this capture by owning async transform (#26227) (Dunqing) -affeb14minifier: Mangle class private members in Node API (#26118) (碳苯 Carbon) -8b35abdsemantic: Detect duplicate private class elements (#26361) (camc314) -457ed57semantic: Reject await and yield in rest parameter defaults (#26359) (camc314) -4b89c7bsemantic: Reject jumps across arrow functions (#26357) (camc314) -c966acaparser: Do not omit `<` token opening type argument list (#26328) (overlookmotel) -f07dca5ast_visit: Add the trimmed prefix length to translation table offsets (#26173) (Bharadwaj Pendyala) -3ab9bd1parser: Do not re-lex template substitution tail after fatal error (#26230) (overlookmotel) -07851b9parser: Fix debug assert failure when lexer error with tokens enabled (#26229) (overlookmotel) -00dea7aallocator: Gate `Allocator::data_end_ptr` behind fixed_size feature (#26248) (camc314) -853ffabecmascript: Avoid `charAt` panic on 32-bit (#26244) (camc314) -34feccbruntime: Remove stale regenerator exports (#26243) (camc314) ### ⚡ Performance -34a242eminifier: Use `Ident` for property mangler (#26334) (sapphi-red) -5303f5cminifier: Unify merging of last expression into target sequence (#26264) (Armano) -2ca7d29minifier: Consume nodes in minimize_statements in reverse order (#26258) (Armano) -d2354b4mangler: Use `Ident` for variable names to keep (#26333) (sapphi-red) -5b3e335minifier: Use `Ident` instead of `Str` in `KeepVar` (#26332) (sapphi-red) -51366fbminifier: Use `IdentHashSet` in `PrivateMemberUsageStack` (#26331) (sapphi-red) -d19c42aminifier: Merge nested if stmt in place instead of creating dummies (#26351) (Armano) -356def6parser: Shrink annotation comment ranges (#26356) (overlookmotel) -a5be474parser: Shave instruction off `parse_jsx_element_name` (#26355) (overlookmotel) -9780663parser: Remove fatal error guard from `parse_jsx_element_name` (#26354) (overlookmotel) -766e12fparser: Remove `token` field from `LexerCheckpoint` (#26350) (overlookmotel) ### 📚 Documentation -d4b4e61transformer: Document ES2015 target floor (#26378) (Dunqing) -67dd054ast_visit: Correct out-of-date comments on `Utf8ToUtf16` converter (#26285) (overlookmotel) -a8ed2a7minifier: Fix stale validation instructions (#26251) (camc314)
9.8 KiB
Changelog
All notable changes to this package will be documented in this file.
The format is based on Keep a Changelog.
[0.149.0] - 2026-09-07
💥 BREAKING CHANGES
66744f0parser: [BREAKING] Renamepanickedtofatal_errorinParserReturn(#26382) (overlookmotel)
[0.142.0] - 2026-07-27
🚀 Features
73cfdfaoxc: Re-exportoxc_strtypes fromoxccrate (#24860) (overlookmotel)
[0.138.0] - 2026-06-29
🐛 Bug Fixes
8c07cadall: Enabledisable_old_builderCargo feature foroxc_astcrate in tests (#23888) (overlookmotel)
[0.137.0] - 2026-06-18
⚡ Performance
3170c0esemantic,mangler,minifier: FixSemantic::statsnode count and reuse stats in mangler builds (#23352) (Boshen)
[0.136.0] - 2026-06-15
💥 BREAKING CHANGES
7a24911codegen: [BREAKING] Borrow sourcemaps from codegen (#23422) (Boshen)
🚀 Features
ec266bbtransformer: Run React Compiler as a feature-gated transform pass (#23201) (Boshen)
⚡ Performance
534f9c6oxc: Conditionally rebuild semantic in compiler pipeline (#23153) (Boshen)
[0.135.0] - 2026-06-08
🚀 Features
b846ab2react_compiler: Integrate the Rust port of the React Compiler (#22942) (Boshen)
[0.130.0] - 2026-05-11
📚 Documentation
9305373oxc: Update README (#22178) (camc314)
[0.125.0] - 2026-04-13
🚀 Features
75663c0semantic: Add enum member value evaluation for const enum support (#20602) (Dunqing)
[0.111.0] - 2026-01-26
💥 BREAKING CHANGES
30a4899oxc: [BREAKING] RemoveCompilerInterface::semantic_child_scope_ids(#18361) (Dunqing)
[0.106.0] - 2025-12-29
🚀 Features
e031056codegen: Addsourcemapfeature flag (#17305) (Boshen)
[0.95.0] - 2025-10-15
🐛 Bug Fixes
5e0ab1btranformer_plugins: Define plugin need to add reference to scoping (#14615) (Boshen)
[0.94.0] - 2025-10-06
🐛 Bug Fixes
013e053napi/transform: Fix define plugin not applying DCE correctly (#14264) (Boshen)
[0.93.0] - 2025-09-28
🚀 Features
5e05d1bsemantic: Put jsdoc behind linter feature, remove runtime flag (#14140) (Boshen)
[0.92.0] - 2025-09-24
🚀 Features
0fe4d95mangler: Mangle private class members (#14027) (sapphi-red)
[0.91.0] - 2025-09-22
💼 Other
fb347dacrates: V0.91.0 (#13961) (Boshen)
[0.88.0] - 2025-09-15
⚡ Performance
08c05dfsemantic: Make CFG construction a compile-time feature (#13678) (Boshen)
[0.80.0] - 2025-08-03
📚 Documentation
514322crust: Add minimal documentation to example files in crates directory (#12731) (Copilot)
[0.77.2] - 2025-07-17
🚜 Refactor
eb12132minifier: Unify accessCompressOptionsthroughctx.state(#12346) (Boshen)
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.70.0] - 2025-05-15
Testing
a05361east/estree: Check span offsets are converted in ascending order in ESTree conformance tests (#10887) (overlookmotel)
[0.68.0] - 2025-05-03
315143acodegen: [BREAKING] Remove uselessCodeGeneratortype alias (#10702) (Boshen)
Bug Fixes
4795059transformer_plugins: Provide reference data when identifiers are replaced (#10620) (Boshen)
Refactor
[0.67.0] - 2025-04-27
Features
1962bc6transformer_plugins: Split outoxc_transformer_pluginscrate (#10617) (Boshen)
Testing
fbd6864transformer_plugins: Apply DCE after replace plugin (#10619) (Boshen)
[0.61.0] - 2025-03-20
Features
a9a47a6parser: Add regex cargo feature to oxc_parser (#9879) (Toshit)
[0.57.0] - 2025-03-11
-
ef6e0ccsemantic: [BREAKING] CombineSymbolTableandScopeTreeintoScoping(#9615) (Boshen) -
23738bfsemantic: [BREAKING] IntroduceScoping(#9611) (Boshen)
Refactor
[0.55.0] - 2025-03-05
Features
d55dbe2ast/estree: Raw transfer (experimental) (#9516) (overlookmotel)
[0.54.0] - 2025-03-04
a5cde10visit_ast: [BREAKING] Addoxc_visit_astcrate (#9428) (Boshen)
Features
[0.49.0] - 2025-02-10
Styling
a4a8e7dall: Replace#[allow]with#[expect](#8930) (overlookmotel)
[0.48.2] - 2025-02-02
Refactor
6aa2ddecodegen: Accept SymbolTable instead of Mangler (#8829) (Daniel Bulant)
[0.47.0] - 2025-01-18
4ce6329semantic: [BREAKING] Ensure program outlives semantic (#8455) (Valentinas Janeiko)
Bug Fixes
[0.42.0] - 2024-12-18
Refactor
1314c97minifier: Expose dce as an API instead of an option (#7957) (Boshen)
[0.39.0] - 2024-12-04
8a788b8parser: [BREAKING] BuildModuleRecorddirectly in parser (#7546) (Boshen)
Features
40792b4napi/parser: Change parse API to accept mandatoryfilenameand optionallang(#7605) (Boshen)7c62a33napi/parser: Return esm info (#7602) (Boshen)5864352napi/transform: AddTransformerOptions::assumptions(#7601) (翠 / green)771c698oxc: Removeoxc_napicrate (#7634) (Boshen)bd977cfoxc: Addoxc_napicrate (#7612) (Boshen)
[0.38.0] - 2024-11-26
-
5d65656oxc_index: [BREAKING] Move to own repo github.com/oxc-project/oxc-index-vec (#7464) (Boshen) -
bb2c0c2transformer: [BREAKING] ReturnStringas error instead of OxcDiagnostic (#7424) (Boshen)
Features
59e7e46napi/transform: AddTransformOptions::targetAPI (#7426) (Boshen)
Refactor
[0.36.0] - 2024-11-09
846711ctransformer: [BREAKING] Change API to take a&TransformOptionsinstead ofTransformOptions(#7213) (Boshen)
Features
[0.35.0] - 2024-11-04
Features
fcaba4atransformer: AddTransformerOptions::envwithEnvOptions(#7037) (Boshen)
Bug Fixes
d15e408napi/transform: Fix 'typescript.declaration' option not working (#7012) (Boshen)b188b4atransformer: Fix typescript globals being recognized as globals (#7100) (Boshen)
[0.34.0] - 2024-10-26
-
4618aa2transformer: [BREAKING] RenameTransformerOptions::reacttojsx(#6888) (Boshen) -
67a7bdenapi/parser: [BREAKING] Add typings to napi/parser (#6796) (ottomated)
Features
Bug Fixes
4dc5e51transformer: Only run typescript plugin for typescript source (#6889) (Boshen)b075982types: Change @oxc/types package name (#6874) (ottomated)
Refactor
[0.32.0] - 2024-10-19
-
91c87ddcodegen: [BREAKING] RemoveCodegen::enableSourceMapAPI (#6452) (Boshen) -
7645e5ccodegen: [BREAKING] Remove CommentOptions API (#6451) (Boshen) -
5200960oxc: [BREAKING] Remove passingTriviasaround (#6446) (Boshen)
Refactor
[0.31.0] - 2024-10-08
-
020bb80codegen: [BREAKING] Change toCodegenReturn::codeandCodegenReturn::map(#6310) (Boshen) -
4f6bc79transformer: [BREAKING] Removesource_typeparam fromTransformer::new(#6251) (overlookmotel)
Features
abd3a9fnapi/transform: Perform dce after define plugin (#6312) (Boshen)a0ccc26napi/transform: Addlangoption to change source type (#6309) (Boshen)2f888edoxc: Add napi transform options (#6268) (Boshen)8729755oxc,napi/transform: Napi/transform use oxc compiler pipeline (#6298) (Boshen)
Refactor
aa0dbb6oxc: Addnapifeature, change napi parser to useoxccrate (#6265) (Boshen)
[0.30.2] - 2024-09-27
Documentation
d60ceb4oxc: Add README.md and crate-level docs (#6035) (DonIsaac)
[0.30.1] - 2024-09-24
Documentation
18371ddoxc: Include feature-guarded modules in docs.rs (#6012) (DonIsaac)
[0.30.0] - 2024-09-23
Features
3230ae5semantic: AddSemanticBuilder::with_excess_capacity(#5762) (overlookmotel)
Documentation
bacfbb8oxc: Add submodule documentation (#5984) (DonIsaac)
[0.28.0] - 2024-09-11
b060525semantic: [BREAKING] Removesource_typeargument fromSemanticBuilder::new(#5553) (Boshen)
Features
2016baecoverage: Add regular expression idempotency test (#5676) (Boshen)
Refactor
[0.27.0] - 2024-09-06
Features
ed8ab6doxc: Conditional exposeoxc_cfginoxccrate (#5524) (IWANABETHATGUY)
[0.26.0] - 2024-09-03
Features
be4642fsemantic: Transform checker check child scope IDs (#5410) (overlookmotel)
Refactor
3ae94b8semantic: Changebuild_module_recordto accept &Path instead of PathBuf (Boshen)
[0.25.0] - 2024-08-23
ce4d469codegen: [BREAKING] Remove const genericMINIFY(#5001) (Boshen)
Features
6800e69oxc: AddCompilerandCompilerInterface(#4954) (Boshen)
Refactor
cd9cf5eoxc: Removeremove_whitespace(Boshen)b4407c4oxc,mangler:oxccrate add mangler; mangler use options API (Boshen)4fdf26dtransform_conformance: Add driver (#4969) (Boshen)
[0.21.0] - 2024-07-18
Features
8a190eboxc: Exportoxc_mangler(Boshen)
[0.16.0] - 2024-06-26
Features
4fb90eboxc: Export isolated-declarations (#3765) (Boshen)
[0.13.0] - 2024-05-14
Features
f6daf0bsourcemap: Add feature "sourcemap_concurrent" (Boshen)
[0.11.0] - 2024-03-30
Features
b199cb8Add oxc sourcemap crate (#2825) (underfin)
[0.10.0] - 2024-03-14
Features
697b6b7Merge featuresserdeandwasmtoserialize(#2716) (Boshen)
[0.6.0] - 2024-02-03
Features
cd5026cast: TypeScript definition for wasm target (#2158) (Nicholas Roberts)
[0.5.0] - 2024-01-12
Features
f1b433bplayground: Visualize symbol (#1886) (Dunqing)
Refactor
a6717dbformatter,linter,codegen: Remove oxc_formatter (#1968) (Boshen)
[0.4.0] - 2023-12-08
Refactor
1a576f6rust: Move to workspace lint table (#1444) (Boshen)
[0.3.0] - 2023-11-06
Features
2e2b758playground: Add transform and minify (#993) (Boshen)