mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
## [0.24.3] - 2024-08-18 ### Features -d49fb16oxc_codegen: Support generate range leading comments (#4898) (IWANABETHATGUY) -80d0d1fsemantic: Check for invalid interface heritage clauses (#4928) (DonIsaac) -48821c0semantic,syntax: Add SymbolFlags::ArrowFunction (#4946) (DonIsaac) -f1fcddetransformer: Support react fast refresh (#4587) (Dunqing) -0d79122transformer: Support logical-assignment-operators plugin (#4890) (Dunqing) -ab1d08ctransformer: Support `optional-catch-binding` plugin (#4885) (Dunqing) -69da9fdtransformer: Support nullish-coalescing-operator plugin (#4884) (Dunqing) -3a66e58transformer: Support exponentiation operator plugin (#4876) (Dunqing) -f88cbcdtransformer: Add `BoundIdentifier::new_uid_in_current_scope` method (#4903) (overlookmotel) -1e6d0fetransformer: Add methods to `BoundIdentifier` (#4897) (overlookmotel) -fd34640traverse: Support `generate_uid_based_on_node` method in `TraverseCtx` (#4940) (Dunqing) -72a37fctraverse: Support `clone_identifier_reference` method in `TraverseCtx` (#4880) (Dunqing) ### Bug Fixes -c0b26f4ast: Do not include `scope_id` fields in JSON AST (#4858) (overlookmotel) -bbf9ec0codegen: Add missing `declare` to `PropertyDefinition` (#4937) (Boshen) -f210cf7codegen: Print `TSSatisfiesExpression` and `TSInstantiationExpression` (#4936) (Boshen) -21f5762codegen: Minify large numbers (#4889) (Boshen) -e8de4bdcodegen: Fix whitespace issue when minifying `x in new Error()` (#4886) (Boshen) -a226962codegen: Print `TSNonNullExpression` (#4869) (Boshen) -3da33d3codegen: Missing parenthesis for `PrivateInExpression` (#4865) (Boshen) -1808529codegen: Dedupe pure annotation comments (#4862) (IWANABETHATGUY) -d3bbc62isolated-declarations: Declare modifier of PropertyDefinition should not be retained (#4941) (Dunqing) -8e80f59isolated_declarations: Class properties should still be lifted from private constructors (#4934) (michaelm) -b3ec9e5isolated_declarations: Always emit module declarations that perform augmentation (#4919) (michaelm) -0fb0b71isolated_declarations: Always emit module declarations (#4911) (michaelm) -4a16916isolated_declarations: Support expando functions (#4910) (michaelm) -508644alinter/tree-shaking: Correct the calculation of `>>`, `<<` and `>>>` (#4932) (mysteryven) -46cb1c1minifier: Handle `Object.definedPropert(exports` for @babel/types/lib/index.js (#4933) (Boshen) -81fd637minifier: Do not fold `0 && (module.exports = {})` for `cjs-module-lexer` (#4878) (Boshen) -879a271minifier: Do not join `require` calls for `cjs-module-lexer` (#4875) (Boshen) -1bdde2cparser: Detect @flow in `/** @flow */ comment (#4861) (Boshen) -2476dcetransformer: Remove an `ast.copy` from `NullishCoalescingOperator` transform (#4913) (overlookmotel) -248a757transformer/typescript: Typescript syntax within `SimpleAssignmentTarget` with `MemberExpressions` is not stripped (#4920) (Dunqing) ### Documentation -47c9552ast, ast_macros, ast_tools: Better documentation for `Ast` helper attributes. (#4856) (rzvxa) -0a01a47semantic: Improve documentation (#4850) (DonIsaac) -9c700edtransformer: Add README including style guide (#4899) (overlookmotel) ### Refactor -a6967b3allocator: Correct code comment (#4904) (overlookmotel) -90d0b2ballocator, ast, span, ast_tools: Use `allocator` as var name for `Allocator` (#4900) (overlookmotel) -1eb59d2ast, isolated_declarations, transformer: Mark `AstBuilder::copy` as an unsafe function (#4907) (overlookmotel) -8e8fcd0ast_tools: Rename `oxc_ast_codegen` to `oxc_ast_tools`. (#4846) (rzvxa) -786bf07index: Shorten code and correct comment (#4905) (overlookmotel) -ea1e64asemantic: Make SemanticBuilder opaque (#4851) (DonIsaac) -5fd1701sourcemap: Lower the `msrv`. (#4873) (rzvxa) -48a1c32syntax: Inline trivial bitflags methods (#4877) (overlookmotel) -452187atransformer: Rename `BoundIdentifier::new_uid_in_root_scope` (#4902) (overlookmotel) -707a01ftransformer: Re-order `BoundIdentifier` methods (#4896) (overlookmotel) -117dff2transformer: Improve comments for `BoundIdentifier` helper (#4895) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
3.8 KiB
3.8 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.24.3] - 2024-08-18
Refactor
5fd1701sourcemap: Lower themsrv. (#4873) (rzvxa)
[0.24.0] - 2024-08-08
Features
e42ac3asourcemap: AddConcatSourceMapBuilder::from_sourcemaps(#4639) (overlookmotel)
Performance
ff43dffsourcemap: Speed up VLQ encoding (#4633) (overlookmotel)a330773sourcemap: Reduce string copying inConcatSourceMapBuilder(#4638) (overlookmotel)372316bsourcemap:ConcatSourceMapBuilderextendsource_contentsin separate loop (#4634) (overlookmotel)c7f1d48sourcemap: Keep local copy of previous token in VLQ encode (#4596) (overlookmotel)590d795sourcemap: Shorten main loop encoding VLQ (#4586) (overlookmotel)
[0.23.1] - 2024-08-06
Features
e42ac3asourcemap: AddConcatSourceMapBuilder::from_sourcemaps(#4639) (overlookmotel)
Performance
ff43dffsourcemap: Speed up VLQ encoding (#4633) (overlookmotel)a330773sourcemap: Reduce string copying inConcatSourceMapBuilder(#4638) (overlookmotel)372316bsourcemap:ConcatSourceMapBuilderextendsource_contentsin separate loop (#4634) (overlookmotel)c7f1d48sourcemap: Keep local copy of previous token in VLQ encode (#4596) (overlookmotel)590d795sourcemap: Shorten main loop encoding VLQ (#4586) (overlookmotel)
[0.23.0] - 2024-08-01
27fd062sourcemap: [BREAKING] Avoid passingResults (#4541) (overlookmotel)
Performance
d00014esourcemap: Elide bounds checks in VLQ encoding (#4583) (overlookmotel)1fd9dd0sourcemap: Use simd to escape JSON string (#4487) (Brooooooklyn)
Refactor
7c42ffcsourcemap: Align Base64 chars lookup table to cache line (#4535) (overlookmotel)
[0.22.1] - 2024-07-27
Bug Fixes
5db7bedsourcemap: Fix pre-calculation of required segments for building JSON (#4490) (overlookmotel)
Performance
705e19fsourcemap: Reduce memory copies encoding JSON (#4489) (overlookmotel)4d10c6csourcemap: Pre allocate String buf while encoding (#4476) (Brooooooklyn)
Refactor
c958a55sourcemap:push_listmethod for building JSON (#4486) (overlookmotel)
[0.22.0] - 2024-07-23
Bug Fixes
4cd5df0sourcemap: Avoid negative line if token_chunks has same prev_dst_line (#4348) (underfin)
[0.21.0] - 2024-07-18
Features
205c259sourcemap: Support SourceMapBuilder#token_chunks (#4220) (underfin)
[0.16.0] - 2024-06-26
Features
01572f0sourcemap: Implstd::fmt::DisplayforError(#3902) (DonIsaac)-d3cd3eaOxc transform binding (#3896) (underfin)
[0.13.1] - 2024-05-22
Features
90d2d09sourcemap: Add Sourcemap#from_json method (#3361) (underfin)
Bug Fixes
899a52bFix some nightly warnings (Boshen)
[0.13.0] - 2024-05-14
Features
f6daf0bsourcemap: Add feature "sourcemap_concurrent" (Boshen)7363e14sourcemap: Add "rayon" feature (#3198) (Boshen)
[0.12.3] - 2024-04-11
Features
8662f4fsourcemap: Add x_google_ignoreList (#2928) (underfin)5cb3991sourcemap: Add sourceRoot (#2926) (underfin)
[0.12.2] - 2024-04-08
Features
96f02e6sourcemap: Optional JSONSourceMap fileds (#2910) (underfin)d87cf17sourcemap: Add methods to mutate SourceMap (#2909) (underfin)74aca1csourcemap: Add SourceMapBuilder file (#2908) (underfin)
[0.12.1] - 2024-04-03
Bug Fixes
28fae2esourcemap: Using serde_json::to_string to quote sourcemap string (#2889) (underfin)
[0.11.0] - 2024-03-30
Features
b199cb8Add oxc sourcemap crate (#2825) (underfin)
Bug Fixes
6177c2fcodegen: Sourcemap token name should be original name (#2843) (underfin)