diff --git a/Cargo.lock b/Cargo.lock index 015aa0e30..3295003b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1230,7 +1230,7 @@ checksum = "caff54706df99d2a78a5a4e3455ff45448d81ef1bb63c22cd14052ca0e993a3f" [[package]] name = "oxc" -version = "0.13.0" +version = "0.13.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1248,7 +1248,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.13.0" +version = "0.13.1" dependencies = [ "allocator-api2", "bumpalo", @@ -1258,7 +1258,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.13.0" +version = "0.13.1" dependencies = [ "bitflags 2.5.0", "num-bigint", @@ -1275,7 +1275,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.13.0" +version = "0.13.1" [[package]] name = "oxc_benchmark" @@ -1320,7 +1320,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.13.0" +version = "0.13.1" dependencies = [ "base64", "bitflags 2.5.0", @@ -1368,7 +1368,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.13.0" +version = "0.13.1" dependencies = [ "miette", "owo-colors", @@ -1378,7 +1378,7 @@ dependencies = [ [[package]] name = "oxc_index" -version = "0.13.0" +version = "0.13.1" dependencies = [ "serde", ] @@ -1463,7 +1463,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.13.0" +version = "0.13.1" dependencies = [ "insta", "itertools", @@ -1497,7 +1497,7 @@ dependencies = [ [[package]] name = "oxc_module_lexer" -version = "0.13.0" +version = "0.13.1" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1507,7 +1507,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.13.0" +version = "0.13.1" dependencies = [ "assert-unchecked", "bitflags 2.5.0", @@ -1601,7 +1601,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.13.0" +version = "0.13.1" dependencies = [ "indexmap", "insta", @@ -1623,7 +1623,7 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "0.13.0" +version = "0.13.1" dependencies = [ "base64-simd", "cfg-if", @@ -1635,7 +1635,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.13.0" +version = "0.13.1" dependencies = [ "compact_str", "miette", @@ -1646,7 +1646,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.13.0" +version = "0.13.1" dependencies = [ "bitflags 2.5.0", "dashmap", @@ -1690,7 +1690,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.13.0" +version = "0.13.1" dependencies = [ "indexmap", "oxc_allocator", @@ -1709,7 +1709,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.13.0" +version = "0.13.1" dependencies = [ "memoffset", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index eb13f2d34..4cbb8bf38 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.0", path = "crates/oxc" } -oxc_allocator = { version = "0.13.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.13.0", path = "crates/oxc_ast" } -oxc_codegen = { version = "0.13.0", path = "crates/oxc_codegen" } -oxc_diagnostics = { version = "0.13.0", path = "crates/oxc_diagnostics" } -oxc_index = { version = "0.13.0", path = "crates/oxc_index" } -oxc_minifier = { version = "0.13.0", path = "crates/oxc_minifier" } -oxc_parser = { version = "0.13.0", path = "crates/oxc_parser" } -oxc_semantic = { version = "0.13.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.13.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.13.0", path = "crates/oxc_syntax" } -oxc_transformer = { version = "0.13.0", path = "crates/oxc_transformer" } -oxc_sourcemap = { version = "0.13.0", path = "crates/oxc_sourcemap" } -oxc_ast_macros = { version = "0.13.0", path = "crates/oxc_ast_macros" } -oxc_traverse = { version = "0.13.0", path = "crates/oxc_traverse" } -oxc_module_lexer = { version = "0.13.0", path = "crates/oxc_traverse" } +oxc = { version = "0.13.1", path = "crates/oxc" } +oxc_allocator = { version = "0.13.1", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.13.1", path = "crates/oxc_ast" } +oxc_codegen = { version = "0.13.1", path = "crates/oxc_codegen" } +oxc_diagnostics = { version = "0.13.1", path = "crates/oxc_diagnostics" } +oxc_index = { version = "0.13.1", path = "crates/oxc_index" } +oxc_minifier = { version = "0.13.1", path = "crates/oxc_minifier" } +oxc_parser = { version = "0.13.1", path = "crates/oxc_parser" } +oxc_semantic = { version = "0.13.1", path = "crates/oxc_semantic" } +oxc_span = { version = "0.13.1", path = "crates/oxc_span" } +oxc_syntax = { version = "0.13.1", path = "crates/oxc_syntax" } +oxc_transformer = { version = "0.13.1", path = "crates/oxc_transformer" } +oxc_sourcemap = { version = "0.13.1", path = "crates/oxc_sourcemap" } +oxc_ast_macros = { version = "0.13.1", path = "crates/oxc_ast_macros" } +oxc_traverse = { version = "0.13.1", path = "crates/oxc_traverse" } +oxc_module_lexer = { version = "0.13.1", path = "crates/oxc_traverse" } # publish = false oxc_macros = { path = "crates/oxc_macros" } diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 113f716dd..c3530d35a 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 88e91c76a..fb4e48b9e 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index d9bcd8d9f..16d5d0cdf 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Bug Fixes + +- Fix some nightly warnings +- `rules_of_hooks` add support for property hooks/components. (#3300) + +### Performance + +- Inline all `ASTBuilder` methods (#3295) + +### Refactor + +- Improve expression parsing (#3352) +- Fix clippy lint on nightly (#3346) +- Store `ScopeId` in AST nodes (#3302) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 99b0bdcaa..13f861e2b 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md new file mode 100644 index 000000000..0c5a50ea6 --- /dev/null +++ b/crates/oxc_ast_macros/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +All notable changes to this crate 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. + diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index 09ecbff57..ef6660d27 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.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 6b5f3e722..137e33502 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Export `is_reserved_keyword` and `is_global_object` method (#3384) + +### Bug Fixes + +- Using declaration in for statement (#3285) + +### Refactor + +- Using binary search to search original position (#3360) +- Start porting arrow function parsing from tsc (#3340) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index c1bac268a..64d47a6ee 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index 53aade54c..5c971e109 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Add `--silent` to disable all diagnostics printing (#3338) + +### Refactor + +- S/warning/warn + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index f1e768b1e..3be5ba7c1 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_index/Cargo.toml b/crates/oxc_index/Cargo.toml index bfd7aaba3..10cf72169 100644 --- a/crates/oxc_index/Cargo.toml +++ b/crates/oxc_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_index" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index 5067c057f..897428649 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Export `is_reserved_keyword` and `is_global_object` method (#3384) + ## [0.13.0] - 2024-05-14 ### Refactor diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index cd2d6c1fb..dcdf44954 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_module_lexer/CHANGELOG.md b/crates/oxc_module_lexer/CHANGELOG.md new file mode 100644 index 000000000..0c5a50ea6 --- /dev/null +++ b/crates/oxc_module_lexer/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +All notable changes to this crate 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. + diff --git a/crates/oxc_module_lexer/Cargo.toml b/crates/oxc_module_lexer/Cargo.toml index 694f359fe..3cf61d67b 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.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index 61369903f..f4f109327 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -5,6 +5,24 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Performance + +- More efficient number parsing (#3342) +- Use `FxHashSet` for `not_parenthesized_arrow` (#3344) +- Use bitshifting when parsing known integers (#3296) +- Dedupe numeric separator check (#3283) + +### Refactor + +- Improve expression parsing (#3352) +- Improve `parse_simple_arrow_function_expression` (#3349) +- Clean up `ParserState` (#3345) +- Improve is_parenthesized_arrow_function_expression (#3343) +- Move some structs to js module (#3341) +- Start porting arrow function parsing from tsc (#3340) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index e45fb5814..894304194 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 58e1facd7..596ec39a5 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Refactor + +- Alias petgraph's `NodeIndex` as `BasicBlockId`. (#3380) +- Semantic populate `scope_id` fields in AST (#3303) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 9bc382738..9b21e70ff 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_sourcemap/CHANGELOG.md b/crates/oxc_sourcemap/CHANGELOG.md index 001228dc8..c78b392da 100644 --- a/crates/oxc_sourcemap/CHANGELOG.md +++ b/crates/oxc_sourcemap/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Add Sourcemap#from_json method (#3361) + +### Bug Fixes + +- Fix some nightly warnings + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_sourcemap/Cargo.toml b/crates/oxc_sourcemap/Cargo.toml index a5d807174..248c8d11b 100644 --- a/crates/oxc_sourcemap/Cargo.toml +++ b/crates/oxc_sourcemap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_sourcemap" -version = "0.13.0" +version = "0.13.1" authors.workspace = true description.workspace = true edition.workspace = true diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index 423fff6c3..4786399a1 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 324f230a9..4d0aa1e13 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Export `is_reserved_keyword` and `is_global_object` method (#3384) + +### Bug Fixes + +- Do no add __self when the jsx is inside constructor (#3258) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index 4f1f8c186..54c5f1a96 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index 6341694a2..98f058c14 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -5,6 +5,26 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Report errors when options have unknown fields (#3322) +- Pass `&mut TraverseCtx` to visitors (#3312) +- Support `from_babel_options` in TransformOptions (#3301) +- Do not add self attribute in react/jsx plugin (#3287) + +### Bug Fixes + +- Do no add __self when the jsx is inside constructor (#3258) + +### Refactor + +- Correct spelling of var name (#3369) +- S/warning/warn +- `Traverse` produce scopes tree using `Semantic` (#3304) +- Improve indentation (#3282) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 6c0fe526e..65987a758 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 97bc2a4b0..f2f91816f 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this crate 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.1] - 2024-05-22 + +### Features + +- Mutable access to scopes tree + symbol table (#3314) +- Pass `&mut TraverseCtx` to visitors (#3312) + +### Refactor + +- Split context code into multiple files (#3367) +- Move `parent` method etc into `TraverseAncestry` (#3308) +- `Traverse` produce scopes tree using `Semantic` (#3304) +- Store `ScopeId` in AST nodes (#3302) + ## [0.13.0] - 2024-05-14 ### Features diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 538531063..fb99d6212 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.13.0" +version = "0.13.1" publish = true authors.workspace = true description.workspace = true