Skip to content

Commit

Permalink
release(crates): v0.43.0 (#8054)
Browse files Browse the repository at this point in the history
## [0.43.0] - 2024-12-21

- de4c772 traverse: [**BREAKING**] Rename `Ancestor::is_via_*` methods
to `is_parent_of_*` (#8031) (overlookmotel)

- ed75e42 semantic: [**BREAKING**] Make SymbolTable fields `pub(crate)`
instead of `pub` (#7999) (Boshen)

### Features

- 75b775c allocator: `Vec<u8>::into_string` (#8017) (overlookmotel)
- 8547e02 ast: Implement `allocator_api2` for `Allocator` (#8043)
(Boshen)
- 63a95e4 ast: Add `AstBulder::move_property_key` (#7998)
(overlookmotel)
- 897a1a8 transformer/class-properties: Exit faster from super
replacement visitor (#8028) (overlookmotel)
- 3ea4109 transformer/class-properties: Transform super update
expressions within static prop initializer (#7997) (Dunqing)
- cc57db3 transformer/class-properties: Transform super assignment
expressions within static prop initializer (#7991) (Dunqing)
- 6b6444b traverse: Record current block scope (#8007) (overlookmotel)

### Bug Fixes

- 043252d transformer/class-properties: Replace `this` and class name in
static blocks (#8035) (overlookmotel)
- 273795d transformer/class-properties: Run other transforms on static
properties, static blocks, and computed keys (#7982) (overlookmotel)

### Performance

- c0dd3f8 ast: `move_expression` and `move_statement` produce dummy with
no span (#7995) (overlookmotel)
- 862838f codegen: Remove useless to_owned (#8014) (Dunqing)
- 2736657 semantic: Allocate `UnresolvedReferences` in allocator (#8046)
(Boshen)
- 2e8872c semantic: Allocate child scope in allocator (#8045) (Boshen)
- 414e828 semantic: Allocate symbol data in Allocator (#8012) (Boshen)
- 7aebed0 semantic: Allocate `Bindings` in allocator (#8021) (Boshen)
- 0f9308f transformer/react-refresh: Reduce allocations (#8018)
(overlookmotel)
- 0deb9e6 transformer/react-refresh: Reserve capacity in hook key string
(#8016) (overlookmotel)
- 7b70347 transformer/react-refresh: Avoid allocating string in each
hook call (#8013) (Dunqing)

### Documentation

- df5c341 ast: Improve docs for `AstBuilder::move_*` methods (#7994)
(overlookmotel)

### Refactor

- f1adf9f semantic: `ScopeTree::rename_binding` remove old binding first
(#8020) (overlookmotel)
- 02f968d semantic: Change `Bindings` to a plain `FxHashMap` (#8019)
(Boshen)
- e7476a1 semantic: Remove `serialize` (#8015) (Boshen)
- 1cf7b83 semantic: Simplify handling namespace stack (#7987) (Dunqing)
- 48cb52b semantic: Remove resetting `current_reference_flags` in visit
functions (#7986) (Dunqing)
- 3250a47 semantic: Remove unused current_symbol_flags (#7985) (Dunqing)
- efe96ec semantic: Use `Stack` for function stack node ids (#7984)
(Dunqing)
- ac097e9 transformer/class-properties: Rename file (#8036)
(overlookmotel)
- 059a5dd transformer/class-properties: Do not pass `ScopeId` into
`insert_instance_inits` (#8001) (overlookmotel)
- 0a38eea transformer/class-properties: Use `temp_var_name_base` to
generate temp var names for `super` transform (#8004) (overlookmotel)
- d1b7181 transformer/class-properties: Rename var (#8006)
(overlookmotel)
- 5a23d72 transformer/class-properties: Remove outdated comment (#8000)
(overlookmotel)
- b3a5f3e transformer/class-properties: Mark
`transform_assignment_expression_if_super_member_assignment_target` as
inline (#7993) (Dunqing)

### Testing

- bcb33c0 semantic: Add a test for catch parameters reference (#7988)
(Dunqing)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
  • Loading branch information
oxc-bot and Boshen authored Dec 21, 2024
1 parent 952d7e4 commit d69de36
Show file tree
Hide file tree
Showing 36 changed files with 200 additions and 70 deletions.
44 changes: 22 additions & 22 deletions Cargo.lock

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

44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,28 @@ doc_lazy_continuation = "allow" # FIXME

[workspace.dependencies]
# publish = true
oxc = { version = "0.42.0", path = "crates/oxc" }
oxc_allocator = { version = "0.42.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.42.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.42.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.42.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.42.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.42.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.42.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.42.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.42.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.42.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.42.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.42.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.42.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.42.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.42.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.42.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.42.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.42.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.42.0", path = "napi/transform" }
oxc_transformer = { version = "0.42.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.42.0", path = "crates/oxc_traverse" }
oxc = { version = "0.43.0", path = "crates/oxc" }
oxc_allocator = { version = "0.43.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.43.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.43.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.43.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.43.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.43.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.43.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.43.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.43.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.43.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.43.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.43.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.43.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.43.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.43.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.43.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.43.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.43.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.43.0", path = "napi/transform" }
oxc_transformer = { version = "0.43.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.43.0", path = "crates/oxc_traverse" }

# publish = false
oxc_linter = { path = "crates/oxc_linter" }
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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
11 changes: 11 additions & 0 deletions crates/oxc_allocator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.

## [0.43.0] - 2024-12-21

### Features

- 75b775c allocator: `Vec<u8>::into_string` (#8017) (overlookmotel)
- 8547e02 ast: Implement `allocator_api2` for `Allocator` (#8043) (Boshen)

### Performance

- 414e828 semantic: Allocate symbol data in Allocator (#8012) (Boshen)

## [0.39.0] - 2024-12-04

### Bug Fixes
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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
14 changes: 14 additions & 0 deletions crates/oxc_ast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.

## [0.43.0] - 2024-12-21

### Features

- 63a95e4 ast: Add `AstBulder::move_property_key` (#7998) (overlookmotel)

### Performance

- c0dd3f8 ast: `move_expression` and `move_statement` produce dummy with no span (#7995) (overlookmotel)

### Documentation

- df5c341 ast: Improve docs for `AstBuilder::move_*` methods (#7994) (overlookmotel)

## [0.42.0] - 2024-12-18

### Features
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.42.0"
version = "0.43.0"
authors.workspace = true
categories.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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
6 changes: 6 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.

## [0.43.0] - 2024-12-21

### Performance

- 862838f codegen: Remove useless to_owned (#8014) (Dunqing)

## [0.42.0] - 2024-12-18

### Bug Fixes
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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_data_structures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_data_structures"
version = "0.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_ecmascript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_ecmascript"
version = "0.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_estree/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oxc_estree"
version = "0.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.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.42.0"
version = "0.43.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
Loading

0 comments on commit d69de36

Please sign in to comment.