Release crates v0.13.1

This commit is contained in:
Boshen 2024-05-22 16:50:30 +08:00
parent 9744707b3b
commit 86beca5379
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1
30 changed files with 189 additions and 48 deletions

32
Cargo.lock generated
View file

@ -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",

View file

@ -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" }

View file

@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_codegen"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_index"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_minifier"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_span"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_syntax"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_transformer"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true

View file

@ -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

View file

@ -1,6 +1,6 @@
[package]
name = "oxc_traverse"
version = "0.13.0"
version = "0.13.1"
publish = true
authors.workspace = true
description.workspace = true