mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
## [0.27.0] - 2024-09-06 -bd820f9semantic: [**BREAKING**] Remove `SymbolTable::get_symbol_id_from_name` and `SymbolTable::get_scope_id_from_name` (#5480) (overlookmotel) -cba93f5ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel) -87c5df2ast: [**BREAKING**] Rename `Expression::without_parentheses` (#5448) (overlookmotel) ### Features -e8bdd12allocator: Add `AsMut` impl for `Box` (#5515) (overlookmotel) -90facd3ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa) -23285f4ast: Add `ContentEq` trait. (#5427) (rzvxa) -59abf27ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa) -68a1c01ast_tools: Add dedicated `Derive` trait. (#5278) (rzvxa) -c782916codegen: Print `type_parameters` in `TaggedTemplateExpression` (#5438) (Dunqing) -4cb63feindex: Impl rayon related to trait for IndexVec (#5421) (IWANABETHATGUY) -ba4b68cminifier: Remove parenthesized expression for dce (#5439) (Boshen) -ed8ab6doxc: Conditional expose `oxc_cfg` in `oxc` crate (#5524) (IWANABETHATGUY) -91b39c4oxc_diagnostic: Impl DerefMut for OxcDiagnostic (#5474) (IWANABETHATGUY) -10279f5parser: Add syntax error for hyphen in `JSXMemberExpression` `<Foo.bar-baz />` (#5440) (Boshen) -0f50b1esemantic: Check for initializers in ambient `VariableDeclaration`s (#5463) (DonIsaac) -62f7fffsemantic: Check for non-declared, non-abstract object accessors without bodies (#5461) (DonIsaac) -5407143semantic: Check for non-declared, non-abstract class accessors without bodies (#5460) (DonIsaac) -052e94csemantic: Check for parameter properties in constructor overloads (#5459) (DonIsaac) -32d4bbbtransformer: Add `TransformOptions::enable_all` method (#5495) (Boshen) -c59d8b3transformer: Support all /regex/ to `new RegExp` transforms (#5387) (Dunqing) -cedf7a4xtask: Impl `as_ast_kind` method for each variant (#5491) (IWANABETHATGUY) ### Bug Fixes -0df1d9dast, codegen, linter: Panics in fixers. (#5431) (rzvxa) -fce549ediagnostics: Ignore `Interrupted` and `BrokenPipe` errors while printing (#5526) (Boshen) -ea7a52fnapi/transform: Fix test (Boshen) -9b984b3regex: Panic on displaying surrogated `UnicodeEscape` characters. (#5469) (rzvxa) -88b7ddbregular_expression: Handle unterminated character class (#5523) (leaysgur) -7a797acsemantic: Incorrect reference when `MemberExpression` used in `TSPropertySignature` (#5525) (Dunqing) -d8b9909semantic: `IdentifierReference` within `TSPropertySignature` cannot reference type-only import binding (#5441) (Dunqing) -8f9627dtransformer: RegExp transform do not transform invalid regexps (#5494) (overlookmotel) -2060efctransformer: RegExp transform don't transform all RegExps (#5486) (overlookmotel) -cfe5497transformer: Do not create double reference in JSX transform (#5414) (overlookmotel) -0617249transformer/nullish-coalescing-operator: Incorrect reference flags (#5408) (Dunqing) -0eb32a6traverse: Invalid variable name generated by `generate_uid_based_on_node` (#5407) (Dunqing)-b96bea4Add back lifetime (#5507) (IWANABETHATGUY) ### Performance -bfabd8fsyntax: Further optimize `is_identifier_name` (#5426) (overlookmotel) -aeda84fsyntax: Optimize `is_identifier_name` (#5425) (overlookmotel) -ed8937etransformer: Memoize rope instance (#5518) (Dunqing) -bfab091transformer: Store needed options only on `RegExp` (#5484) (overlookmotel) -b4765aftransformer: Pre-calculate if unsupported patterns in RegExp transform (#5483) (overlookmotel) -182ab91transformer: Pre-calculate unsupported flags in RegExp transform (#5482) (overlookmotel) ### Documentation -64db1b4ast: Clarify docs for `RegExpPattern` (#5497) (overlookmotel) -3f204a9span: Update docs about `ContentEq` `Vec` comparison speed (#5478) (overlookmotel)-00511fdUse `oxc_index` instead of `index_vec` in doc comments (#5423) (IWANABETHATGUY) ### Refactor -9f6e0edast: Simplify `ContentEq` trait definition. (#5468) (rzvxa) -a43e951ast: Use loop instead of recursion (#5447) (overlookmotel) -2224cc4ast: Renumber `JSXMemberExpressionObject` discriminants (#5464) (overlookmotel) -a952c47ast: Use loop not recursion (#5449) (overlookmotel) -d9d7e7cast: Remove `IdentifierName` from `TSThisParameter` (#5327) (overlookmotel) -ccc8a27ast, ast_tools: Use full method path for generated derives trait calls. (#5462) (rzvxa) -fdb8857linter: Use "parsed pattern" in `no_div_regex` rule. (#5417) (rzvxa) -e7bd49dregular_expression: Correct typo (#5429) (overlookmotel) -e4ed41dsemantic: Change the reference flag to `ReferenceFlags::Type` if it is used within a `TSTypeQuery` (#5444) (Dunqing) -94a6ac6span: Use `Hasher` from `std` (#5476) (overlookmotel) -b47aca0syntax: Use `generate_derive` for `CloneIn` in types outside of `oxc_ast` crate. (#5280) (rzvxa) -a96866dtransformer: Re-order imports (#5499) (overlookmotel) -6abde0atransformer: Clarify match in RegExp transform (#5498) (overlookmotel) -09c522atransformer: RegExp transform report pattern parsing errors (#5496) (overlookmotel) -dd19823transformer: RegExp transform do not take ownership of `Pattern` then reallocate it (#5492) (overlookmotel) -2514cc9transformer/react: Move all entry points to implementation of Traverse trait (#5473) (Dunqing) -c984219transformer/typescript: Move all entry points to implementation of Traverse trait (#5422) (Dunqing) ### Styling -2a43fa4linter: Introduce the writing style from PR #5491 and reduce the if nesting (#5512) (dalaoshu) ### Testing -340b535linter/no-unused-vars: Arrow functions in tagged templates (#5510) (Don Isaac) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
1.8 KiB
1.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.27.0] - 2024-09-06
Bug Fixes
ea7a52fnapi/transform: Fix test (Boshen)
[0.26.0] - 2024-09-03
b1d0075napi/transform: [BREAKING] Align output APIsourceText->codewith babel (#5398) (Boshen)
Features
72740b3isolated_declaration: Support sourcemap option (#5170) (dalaoshu)01c0c3etransformer: Add remaining options to transformer options (#5169) (Boshen)0abfc50transformer/typescript: Supportrewrite_import_extensionsoption (#5399) (Dunqing)
[0.25.0] - 2024-08-23
ce4d469codegen: [BREAKING] Remove const genericMINIFY(#5001) (Boshen)
Features
4b49cf8transformer: Always pass in symbols and scopes (#5087) (Boshen)
[0.24.1] - 2024-08-10
Bug Fixes
4d0b40anapi/transform: Fix wrong isolated declarations emit (Boshen)
[0.24.0] - 2024-08-08
Bug Fixes
01d85denapi/transform: Update napi files (Boshen)
Refactor
9b51e04Overhaul napi transformer package (#4592) (DonIsaac)
[0.23.1] - 2024-08-06
Refactor
9b51e04Overhaul napi transformer package (#4592) (DonIsaac)
[0.20.0] - 2024-07-11
Features
725571anapi/transformer: Addjsxoption to force parsing with jsx (#4133) (Boshen)
[0.17.2] - 2024-07-08
Features
720983anapi/transform: Allow settingsourceTypetotransform(#4113) (Boshen)
[0.17.1] - 2024-07-06
Bug Fixes
150f4d9napi/transform: Display error with spanned messages (Boshen)
[0.16.2] - 2024-06-30
Refactor
5845057transformer: Pass in symbols and scopes (#3978) (Boshen)