diff --git a/Cargo.lock b/Cargo.lock index ce59dd63828d2..67a33c6a7a9a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1264,7 +1264,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.3" +version = "0.13.4" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1299,7 +1299,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.3" +version = "0.13.4" dependencies = [ "allocator-api2", "bumpalo", @@ -1309,7 +1309,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.3" +version = "0.13.4" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -1326,7 +1326,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.3" +version = "0.13.4" [[package]] name = "oxc_benchmark" @@ -1350,7 +1350,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.13.3" +version = "0.13.4" dependencies = [ "base64", "bitflags 2.5.0", @@ -1401,7 +1401,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.13.3" +version = "0.13.4" dependencies = [ "miette", "owo-colors", @@ -1411,7 +1411,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.3" +version = "0.13.4" dependencies = [ "serde", ] @@ -1497,7 +1497,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.13.3" +version = "0.13.4" dependencies = [ "insta", "itertools 0.13.0", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.13.3" +version = "0.13.4" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1541,7 +1541,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.13.3" +version = "0.13.4" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.13.3" +version = "0.13.4" dependencies = [ "bitflags 2.5.0", "indexmap", @@ -1658,7 +1658,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.13.3" +version = "0.13.4" dependencies = [ "base64-simd", "cfg-if", @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.3" +version = "0.13.4" dependencies = [ "compact_str", "miette", @@ -1681,7 +1681,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.3" +version = "0.13.4" dependencies = [ "bitflags 2.5.0", "dashmap", @@ -1725,7 +1725,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.13.3" +version = "0.13.4" dependencies = [ "dashmap", "indexmap", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.13.3" +version = "0.13.4" dependencies = [ "compact_str", "memoffset", diff --git a/Cargo.toml b/Cargo.toml index e8bd0573ea4a1..dfc62b840212e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,22 +72,22 @@ cargo_common_metadata = "allow" # TODO: fix this [workspace.dependencies] # publish = true -oxc = { version = "0.13.3", path = "crates/oxc" } -oxc_allocator = { version = "0.13.3", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.13.3", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.13.3", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.13.3", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.13.3", path = "crates/oxc_index" } -oxc_minifier = { version = "0.13.3", path = "crates/oxc_minifier" } -oxc_parser = { version = "0.13.3", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.13.3", path = "crates/oxc_semantic" } -oxc_span = { version = "0.13.3", path = "crates/oxc_span" } -oxc_syntax = { version = "0.13.3", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.13.3", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.13.3", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.13.3", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.13.3", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.13.3", path = "crates/oxc_module_lexer" } +oxc = { version = "0.13.4", path = "crates/oxc" } +oxc_allocator = { version = "0.13.4", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.13.4", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.13.4", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.13.4", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.13.4", path = "crates/oxc_index" } +oxc_minifier = { version = "0.13.4", path = "crates/oxc_minifier" } +oxc_parser = { version = "0.13.4", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.13.4", path = "crates/oxc_semantic" } +oxc_span = { version = "0.13.4", path = "crates/oxc_span" } +oxc_syntax = { version = "0.13.4", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.13.4", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.13.4", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.13.4", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.13.4", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.13.4", path = "crates/oxc_module_lexer" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 7c8f04c55520d..73e56f2a3122d 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index ceb02af912168..88a56dff01e15 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index 440657d030ba6..178e130167f84 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -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.13.4] - 2024-06-07 + +### Features + +- a939ddd transformer/typescript: Remove more typescript ast nodes (#3563) (Dunqing) +- e8a20f8 transformer/typescript: Remove typescript ast nodes (#3559) (Dunqing) + ## [0.13.2] - 2024-06-03 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 47ebfd1c93eb7..a3c4df21a9bd5 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index a19acd3023e9c..014fa28f674a6 100644 --- a/crates/oxc_ast_macros/Cargo.toml +++ b/crates/oxc_ast_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_macros" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 7f875b82728a0..24d3d1ec16db8 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,16 @@ 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.13.4] - 2024-06-07 + +### Features + +- 5c8e16c coverage: Second transformer build does not print typescript (#3561) (Dunqing) + +### Bug Fixes + +- affb2c8 codegen: Print indentation before directive (#3512) (Dunqing) + ## [0.13.3] - 2024-06-04 ### Bug Fixes diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 1250d1a10017c..64efd8e08e7c5 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index c8e50d126e046..2eafaccedfad9 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index 3ce226e6a0e47..4271deef8ddd5 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index b7c0fa80475bd..1cef06fc0e84e 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -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.13.4] - 2024-06-07 + +### Bug Fixes + +- affb2c8 codegen: Print indentation before directive (#3512) (Dunqing) + ## [0.13.2] - 2024-06-03 ### Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index dcb98beba676a..77e43b6106c27 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index a856156649ee9..686695e6dc17f 100644 --- a/crates/oxc_module_lexer/Cargo.toml +++ b/crates/oxc_module_lexer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_module_lexer" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index b39560345a736..b3917f12d731c 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 4b070206935f2..8a232329bb008 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,16 @@ 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.13.4] - 2024-06-07 + +### Bug Fixes + +- c00598b transformer: JSX set `reference_id` on refs to imports (#3524) (overlookmotel) + +### Refactor + +- 6978269 transformer/typescript: Replace reference collector with symbols references (#3533) (Dunqing) + ## [0.13.3] - 2024-06-04 ### Refactor diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index d7ab2edcd2652..e244d62ddd711 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index e99c18a651497..044ec59756de1 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.13.3" +version = "0.13.4" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index d0c7bd9dc4766..358be73fc7f13 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -4,6 +4,16 @@ 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.13.4] - 2024-06-07 + +### Performance + +- 9f467b8 transformer: Avoid fragment update where possible (#3535) (overlookmotel) + +### Documentation + +- 1d3c0d7 span: Add doc comments to `oxc_span::Span` (#3543) (Don Isaac) + ## [0.13.2] - 2024-06-03 ### Features diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index cc9bc5672853e..f7c7237704f6d 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 7536171026061..4c59c562e600d 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -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.13.4] - 2024-06-07 + +### Bug Fixes + +- c00598b transformer: JSX set `reference_id` on refs to imports (#3524) (overlookmotel) + ## [0.13.1] - 2024-05-22 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index a838ab11b5c40..6727749356383 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index fdeb343c695ce..6215d82380bdb 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -4,6 +4,35 @@ 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.13.4] - 2024-06-07 + +### Features + +- 646b993 coverage/transformer: Handle @jsx option (#3553) (Dunqing) +- a939ddd transformer/typescript: Remove more typescript ast nodes (#3563) (Dunqing) +- e8a20f8 transformer/typescript: Remove typescript ast nodes (#3559) (Dunqing) +- ee9a215 transformer/typescript: Handle namespace directive correctly (#3532) (Dunqing) + +### Bug Fixes + +- f6939cb transformer: Store `react_importer` in `Bindings` in JSX transform (#3551) (overlookmotel) +- 7982b93 transformer: Correct spans for JSX transform (#3549) (overlookmotel) +- c00598b transformer: JSX set `reference_id` on refs to imports (#3524) (overlookmotel) + +### Performance + +- 37cdc13 transformer: Faster checks if JSX plugin enabled (#3577) (overlookmotel) +- 9f467b8 transformer: Avoid fragment update where possible (#3535) (overlookmotel) +- ac394f0 transformer: JSX parse pragma only once (#3534) (overlookmotel) + +### Refactor + +- f2113ae transformer: Reduce cloning and referencing `Rc`s (#3576) (overlookmotel) +- 0948124 transformer: Pass `Rc`s by value (#3550) (overlookmotel) +- e4d74ac transformer: Remove `update_fragment` from JSX transform (#3541) (overlookmotel) +- 73b7864 transformer: Combine import and usage in JSX transform (#3540) (overlookmotel) +- 6978269 transformer/typescript: Replace reference collector with symbols references (#3533) (Dunqing) + ## [0.13.3] - 2024-06-04 ### Bug Fixes diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index d6a1f25ad68a2..920d38d7c2ec3 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 780e200832a73..49281366b05e7 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -4,6 +4,16 @@ 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.13.4] - 2024-06-07 + +### Bug Fixes + +- c00598b transformer: JSX set `reference_id` on refs to imports (#3524) (overlookmotel) + +### Refactor + +- 6978269 transformer/typescript: Replace reference collector with symbols references (#3533) (Dunqing) + ## [0.13.3] - 2024-06-04 ### Refactor diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index bb47c17cd224f..bc5c11955d51f 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.13.3" +version = "0.13.4" publish = true authors.workspace = true description.workspace = true diff --git a/npm/oxc-parser/package.json b/npm/oxc-parser/package.json index 995b3fdee35c3..21452ad4870af 100644 --- a/npm/oxc-parser/package.json +++ b/npm/oxc-parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.13.3", + "version": "0.13.4", "description": "Oxc Parser Node API", "keywords": [ "Parser" @@ -22,4 +22,4 @@ "index.d.ts", "index.js" ] -} +} \ No newline at end of file diff --git a/wasm/parser/package.json b/wasm/parser/package.json index 1bedd01523a67..b0d4d334aa7db 100644 --- a/wasm/parser/package.json +++ b/wasm/parser/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-parser/wasm", - "version": "0.13.3", + "version": "0.13.4", "description": "Wasm target for the oxc parser.", "keywords": [ "JavaScript", @@ -37,4 +37,4 @@ "devDependencies": { "wasm-pack": "^0.12.1" } -} +} \ No newline at end of file