Skip to content

Commit

Permalink
Release crates v0.22.0 (#4417)
Browse files Browse the repository at this point in the history
- 85a7cea semantic: [**BREAKING**] Remove name from `reference` (#4329)
(Dunqing)

- f68b659 ast: [**BREAKING**] Reorder fields of
`ArrowFunctionExpression` (#4364) (Dunqing)

- d345b84 ast: Add `#[ast]` attribute to non-visited AST types. (#4309)
(rzvxa)
- 3c0c709 linter: Add typescript-eslint/no-extraneous-class (#4357)
(Jaden Rodriguez)
- 68efcd4 linter/react-perf: Handle new objects and arrays in prop
assignment patterns (#4396) (DonIsaac)
- 0deb027 minfier: Dce `if (xxx) else if (false) { REMOVE }` (#4407)
(Boshen)
- e33ec18 minifier: Compress `typeof foo == "undefined"` into `typeof
foo > "u"` (#4412) (Boshen)- 6068e6b Add error codes to OxcDiagnostic
(#4334) (DonIsaac)

- aece1df ast: Visit `Program`s `hashbang` field first (#4368)
(overlookmotel)
- 44a10c4 codegen: Object shorthand with parens `({x: (x)})` -> `({ x
})` (#4391) (Boshen)
- 3d88f20 codegen: Print shorthand for all `{ x }` variants (#4374)
(Boshen)
- e624dff codegen,mangler: Do not print shorthand for `ObjectProperty`
(#4350) (Boshen)
- ac08de8 linter/react_perf: Allow new objects, array, fns, etc in top
scope (#4395) (DonIsaac)
- 267f7c4 minifier: Skip `Object.defineProperty(exports, ...)` for
`cjs-module-lexer` (#4409) (Boshen)
- bc8d4e5 semantic: Correct comment (#4410) (overlookmotel)
- 6ffce86 semantic: Align `visit_arrow_function_expression` field visit
order with ast (#4366) (Dunqing)
- 4cd5df0 sourcemap: Avoid negative line if token_chunks has same
prev_dst_line (#4348) (underfin)
- f8565ae transformer/typescript: Unexpectedly removed class binding
from ExportNamedDeclaration (#4351) (Dunqing)- ea33f94 Impl
PartialEq<str> for CompactStr (#4352) (DonIsaac)

- 1b51511 semantic: Use `Atom` instead of `CompactStr` for
`UnresolvedReferencesStack` (#4401) (Dunqing)
- 40f9356 semantic: Calculate number of nodes, scopes, symbols,
references before visiting AST (#4367) (Dunqing)
- da13d93 semantic: Remove bounds checks on unresolved references stack
(#4390) (overlookmotel)
- e70c67b semantic: Remove a branch from `add_scope` (#4384)
(overlookmotel)
- 402006f semantic: Simplify logic in `enter_scope` + `leave_scope`
(#4383) (overlookmotel)
- 7469e01 semantic: Remove branch from `Nodes::add_node` (#4361)
(overlookmotel)
- 7eb2864 traverse: Speed up finding UID binding name (#4356)
(overlookmotel)- a207923 Replace some CompactStr usages with Cows
(#4377) (DonIsaac)

- d213773 ast: Replace serde rename "lowercase" with "camelCase" (#4376)
(overlookmotel)
- abfccbd ast: Reduce `#[cfg_attr]` boilerplate in AST type defs (#4375)
(overlookmotel)
- 5f1c7ec ast: Rename the `visited_node` marker to `ast`. (#4289)
(rzvxa)
- 58f6ec2 ast: Enter node before scope (#4347) (Dunqing)
- 59aea73 ast: Scope is created only if CatchClause has param (#4346)
(Dunqing)
- 7a3e925 ast_codegen: Better visit marker parsing. (#4371) (rzvxa)
- 7a75e0f linter: Use diagnostic codes in lint rules (#4349) (DonIsaac)
- a2eabe1 parser: Use error codes for ts diagnostics (#4335) (DonIsaac)
- 5d77b36 semantic: `visit_program` visit `hashbang` field (#4370)
(overlookmotel)
- f7b9ada semantic: `Program` visitor leave scope before node (#4369)
(overlookmotel)
- 729b288 semantic: Shorten code (#4358) (overlookmotel)
- 21d0eee semantic: Use error codes for ts diagnostics (#4336)
(DonIsaac)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
  • Loading branch information
2 people authored and DonIsaac committed Jul 24, 2024
1 parent e0c04fc commit f1781b0
Show file tree
Hide file tree
Showing 25 changed files with 63 additions and 63 deletions.
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,26 +73,26 @@ cargo_common_metadata = "allow" # TODO: fix this

[workspace.dependencies]
# publish = true
oxc = { version = "0.21.0", path = "crates/oxc" }
oxc_allocator = { version = "0.21.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.21.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.21.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.21.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.21.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.21.0", path = "crates/oxc_minifier" }
oxc_mangler = { version = "0.21.0", path = "crates/oxc_mangler" }
oxc_parser = { version = "0.21.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.21.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.21.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.21.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.21.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.21.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.21.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.21.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.21.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.21.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.21.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.21.0", path = "napi/transform" }
oxc = { version = "0.22.0", path = "crates/oxc" }
oxc_allocator = { version = "0.22.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.22.0", path = "crates/oxc_ast" }
oxc_codegen = { version = "0.22.0", path = "crates/oxc_codegen" }
oxc_diagnostics = { version = "0.22.0", path = "crates/oxc_diagnostics" }
oxc_index = { version = "0.22.0", path = "crates/oxc_index" }
oxc_minifier = { version = "0.22.0", path = "crates/oxc_minifier" }
oxc_mangler = { version = "0.22.0", path = "crates/oxc_mangler" }
oxc_parser = { version = "0.22.0", path = "crates/oxc_parser" }
oxc_semantic = { version = "0.22.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.22.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.22.0", path = "crates/oxc_syntax" }
oxc_transformer = { version = "0.22.0", path = "crates/oxc_transformer" }
oxc_sourcemap = { version = "0.22.0", path = "crates/oxc_sourcemap" }
oxc_ast_macros = { version = "0.22.0", path = "crates/oxc_ast_macros" }
oxc_traverse = { version = "0.22.0", path = "crates/oxc_traverse" }
oxc_module_lexer = { version = "0.22.0", path = "crates/oxc_module_lexer" }
oxc_cfg = { version = "0.22.0", path = "crates/oxc_cfg" }
oxc_isolated_declarations = { version = "0.22.0", path = "crates/oxc_isolated_declarations" }
oxc_transform_napi = { version = "0.22.0", path = "napi/transform" }

# publish = false
oxc_macros = { path = "crates/oxc_macros" }
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_allocator"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ast_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast_macros"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_cfg"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_codegen"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_diagnostics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_diagnostics"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_index"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_isolated_declarations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_isolated_declarations"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_mangler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_mangler"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_minifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_minifier"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_module_lexer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_module_lexer"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_parser"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_semantic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_semantic"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_sourcemap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_sourcemap"
version = "0.21.0"
version = "0.22.0"
authors.workspace = true
description.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_span/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_span"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_syntax/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_syntax"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_transformer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_transformer"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_traverse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_traverse"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion napi/transform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_transform_napi"
version = "0.21.0"
version = "0.22.0"
publish = true
authors.workspace = true
description.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion npm/oxc-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oxc-parser",
"version": "0.21.0",
"version": "0.22.0",
"description": "Oxc Parser Node API",
"keywords": [
"Parser"
Expand Down
Loading

0 comments on commit f1781b0

Please sign in to comment.