Skip to content

Commit

Permalink
release(crates): v0.41.0 (#7846)
Browse files Browse the repository at this point in the history
## [0.41.0] - 2024-12-13

- fb325dc ast: [**BREAKING**] `span` field must be the first element
(#7821) (Boshen)

- 96a26d3 ast: [**BREAKING**] Rename `is_strict` methods to
`has_use_strict_directive` (#7783) (overlookmotel)

### Features

- 8991f33 ast: Add `visit_span` to `Visit` and `VisitMut` (#7816)
(overlookmotel)
- f7900ab ast: Add `ArrowFunctionExpression::has_use_strict_directive`
method (#7784) (overlookmotel)
- e727ae9 transformer/class-properties: Transform super member
expressions that are inside static prop initializer (#7815) (Dunqing)

### Bug Fixes

- 7610dc1 parser: Parse `import source from 'mod'` (#7833) (Boshen)
- 9479e2b semantic: Missing references when `export {}` references a
type-only binding and a normal (#7812) (Yunfei He)
- 7a83230 semantic: Missing reference when `export default` references a
type alias binding (#7813) (Dunqing)
- 4a3bca8 semantic: Fix identifying strict mode arrow functions (#7785)
(overlookmotel)
- 5b7e1ad transformer: Remove span of define value (#7811) (Hiroshi
Ogawa)
- 14896cb transformer/class-properties: Create temp vars in correct
scope (#7824) (overlookmotel)
- 25bb6da transformer/class-properties: Fix `ScopeId`s in instance prop
initializers (#7823) (overlookmotel)
- 65b109a transformer/class-properties: No `raw` for generated
`StringLiteral` (#7825) (overlookmotel)
- 2964a61 transformer/class-properties: Unwrap failed when private field
expression doesn't contain optional expression in `ChainExpression`
(#7798) (Dunqing)
- 6fa6785 transformer/class-properties: Panic when the callee or member
is `ParenthesisExpression` or TS-syntax expressions. (#7795) (Dunqing)
- bb22c67 transformer/class-properties: Fix `ScopeId`s in static prop
initializers (#7791) (overlookmotel)
- caa57f1 transformer/class-properties: Fix scope flags in static prop
initializers (#7786) (overlookmotel)

### Performance

- 4448b63 codegen: Faster writing indentation (#7820) (overlookmotel)
- afaaffa codegen: Fast path for `options.print_comments()` (#7806)
(Boshen)

### Refactor

- 0f367e5 semantic: Improve the logic of resolving references to be
cleaner (#7829) (Dunqing)
- 5710950 semantic: Move export-related reference flags logic to visit
functions (#7828) (Dunqing)
- b290ebd transformer: Handle `<CWD>` in test runner (#7799) (Dunqing)
- e70deb9 transformer/class-properties: Locate instance props insertion
location in separate step (#7819) (overlookmotel)
- afc5f1e transformer/class-properties: De-deduplicate code (#7805)
(overlookmotel)
- 47a91d2 transformer/class-properties: Shorten code (#7804)
(overlookmotel)
- 54ef2b9 transformer/class-properties: Rename
`debug_assert_expr_is_not_parenthesis_or_typescript_syntax` (#7803)
(overlookmotel)
- 3cdc47c transformer/class-properties: `#[inline(always)]` on
`assert_expr_neither_parenthesis_nor_typescript_syntax` (#7802)
(overlookmotel)

### Testing

- d72c888 transformer/replace-global-defines: Remove panicking test
(#7838) (overlookmotel)

Co-authored-by: Boshen <[email protected]>
  • Loading branch information
oxc-bot and Boshen authored Dec 13, 2024
1 parent bb4a92c commit 1428527
Show file tree
Hide file tree
Showing 37 changed files with 175 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.40.1", path = "crates/oxc" }
oxc_allocator = { version = "0.40.1", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.40.1", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.40.1", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.40.1", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.40.1", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.40.1", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.40.1", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.40.1", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.40.1", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.40.1", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.40.1", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.40.1", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.40.1", path = "crates/oxc_napi" }
oxc_parser = { version = "0.40.1", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.40.1", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.40.1", path = "crates/oxc_semantic" }
oxc_span = { version = "0.40.1", path = "crates/oxc_span" }
oxc_syntax = { version = "0.40.1", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.40.1", path = "napi/transform" }
oxc_transformer = { version = "0.40.1", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.40.1", path = "crates/oxc_traverse" }
oxc = { version = "0.41.0", path = "crates/oxc" }
oxc_allocator = { version = "0.41.0", path = "crates/oxc_allocator" }
oxc_ast = { version = "0.41.0", path = "crates/oxc_ast" }
oxc_ast_macros = { version = "0.41.0", path = "crates/oxc_ast_macros" }
oxc_cfg = { version = "0.41.0", path = "crates/oxc_cfg" }
oxc_codegen = { version = "0.41.0", path = "crates/oxc_codegen" }
oxc_data_structures = { version = "0.41.0", path = "crates/oxc_data_structures" }
oxc_diagnostics = { version = "0.41.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.41.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.41.0", path = "crates/oxc_estree" }
oxc_isolated_declarations = { version = "0.41.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.41.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.41.0", path = "crates/oxc_minifier" }
oxc_napi = { version = "0.41.0", path = "crates/oxc_napi" }
oxc_parser = { version = "0.41.0", path = "crates/oxc_parser" }
oxc_regular_expression = { version = "0.41.0", path = "crates/oxc_regular_expression" }
oxc_semantic = { version = "0.41.0", path = "crates/oxc_semantic" }
oxc_span = { version = "0.41.0", path = "crates/oxc_span" }
oxc_syntax = { version = "0.41.0", path = "crates/oxc_syntax" }
oxc_transform_napi = { version = "0.41.0", path = "napi/transform" }
oxc_transformer = { version = "0.41.0", path = "crates/oxc_transformer" }
oxc_traverse = { version = "0.41.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.40.1"
version = "0.41.0"
authors.workspace = true
categories.workspace = true
edition.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.40.1"
version = "0.41.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.41.0] - 2024-12-13

- fb325dc ast: [**BREAKING**] `span` field must be the first element (#7821) (Boshen)

- 96a26d3 ast: [**BREAKING**] Rename `is_strict` methods to `has_use_strict_directive` (#7783) (overlookmotel)

### Features

- 8991f33 ast: Add `visit_span` to `Visit` and `VisitMut` (#7816) (overlookmotel)
- f7900ab ast: Add `ArrowFunctionExpression::has_use_strict_directive` method (#7784) (overlookmotel)

### Refactor


## [0.40.0] - 2024-12-10

- 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen)
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.40.1"
version = "0.41.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.40.1"
version = "0.41.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.40.1"
version = "0.41.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.41.0] - 2024-12-13

### Performance

- 4448b63 codegen: Faster writing indentation (#7820) (overlookmotel)
- afaaffa codegen: Fast path for `options.print_comments()` (#7806) (Boshen)

## [0.40.0] - 2024-12-10

- 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen)
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.40.1"
version = "0.41.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.40.1"
version = "0.41.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.40.1"
version = "0.41.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.40.1"
version = "0.41.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.40.1"
version = "0.41.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
7 changes: 7 additions & 0 deletions crates/oxc_isolated_declarations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ 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.41.0] - 2024-12-13

- fb325dc ast: [**BREAKING**] `span` field must be the first element (#7821) (Boshen)

### Refactor


## [0.40.0] - 2024-12-10

- 72eab6c parser: [**BREAKING**] Stage 3 `import source` and `import defer` (#7706) (Boshen)
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.40.1"
version = "0.41.0"
authors.workspace = true
categories.workspace = true
edition.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.40.1"
version = "0.41.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
Expand Down
Loading

0 comments on commit 1428527

Please sign in to comment.