mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +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>
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "oxc_transform_napi"
|
|
version = "0.27.0"
|
|
publish = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
categories.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib"]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
oxc_allocator = { workspace = true }
|
|
oxc_ast = { workspace = true }
|
|
oxc_codegen = { workspace = true }
|
|
oxc_diagnostics = { workspace = true }
|
|
oxc_isolated_declarations = { workspace = true }
|
|
oxc_parser = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
oxc_sourcemap = { workspace = true }
|
|
oxc_transformer = { workspace = true }
|
|
oxc_semantic = { workspace = true }
|
|
|
|
napi = { workspace = true }
|
|
napi-derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["napi"]
|
|
|
|
[build-dependencies]
|
|
napi-build = { workspace = true }
|