Skip to content

Commit 33c1c76

Browse files
oxc-botBoshen
andauthoredMar 20, 2025··
release(crates): v0.61.0 (#9923)
## [0.61.0] - 2025-03-20 - c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as `ObjectExpression` (#9902) (Boshen) - eef7eb6 minifier: [**BREAKING**] Rename `CompressOptions::all_true`/`all_false` to `smallest`/`safest` (#9866) (sapphi-red) ### Features - 38ad787 data_structures: Add `assert_unchecked!` macro (#9885) (overlookmotel) - dcd356e minifier: Support `keep_names` option (#9867) (sapphi-red) - 6565fc4 napi: Feature gate allocator (#9921) (Boshen) - 2cedfe4 napi: Add codeframe to napi error (#9893) (Boshen) - a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879) (Toshit) - d4a83ba parser: Report duplicate modifier `Accessibility modifier already seen.` (#9890) (Boshen) - 59c8f71 parser,codegen: Handle lone surrogate in string literal (#9918) (Boshen) ### Bug Fixes - 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference` (#9863) (hi-ogawa) - 3d4c5f3 semantic: Correctly visit `IfStmt` `test` when building cfg (#9864) (camc314) - 1774225 transformer/using: Incorrect scope ids for bindings (#9871) (camc314)- 68018e1 Ast changes (Boshen) ### Performance - 5f97f28 ast/estree: Speed up raw deser for `JSXElement` (#9895) (overlookmotel) - b272893 mangler, minifier: Initialize a Vec with a specific value using `Vec::from_iter_in` combined with `repeat_with` (#9908) (Dunqing) - f7d078c semantic: Use `reserve_exact` instead of `reserve` to save memory in pre-reserve (#9910) (Dunqing) ### Documentation - 590a258 napi/parser: Add stackblitz link for wasm build (Boshen) ### Refactor - 62e2859 ast/ast_builder: Use `self.vec_from_iter` instead of `Vec::from_iter_in` for consistency (#9909) (Dunqing) - b2f3d23 isolated_declarations: Remove unused `self` params (#9868) (overlookmotel) - 961b95d napi: Move common code to `oxc_napi` (#9875) (Boshen) - 233c1fc napi/playground: Add JSON.parse wrapper (#9880) (Hiroshi Ogawa) - dbe61c5 transformer/module-runner-transform: Remove redundant converison (#9912) (Dunqing) - ecdfe2e transformer/using: Move work to `exit_static_block` (#9713) (camc314) ### Testing - 9314147 data_structures: Enable doc tests for `oxc_data_structures` crate (#9884) (overlookmotel) - 040e993 napi: Refactor NAPI parser benchmarks (#9911) (overlookmotel) - e637e2e napi/parser: Tweak vitest config (#9878) (Hiroshi Ogawa) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
1 parent 328b66b commit 33c1c76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+344
-77
lines changed
 

‎Cargo.lock

+24-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+24-24
Original file line numberDiff line numberDiff line change
@@ -103,30 +103,30 @@ doc_lazy_continuation = "allow" # FIXME
103103

104104
[workspace.dependencies]
105105
# publish = true
106-
oxc = { version = "0.60.0", path = "crates/oxc" }
107-
oxc_allocator = { version = "0.60.0", path = "crates/oxc_allocator" }
108-
oxc_ast = { version = "0.60.0", path = "crates/oxc_ast" }
109-
oxc_ast_macros = { version = "0.60.0", path = "crates/oxc_ast_macros" }
110-
oxc_ast_visit = { version = "0.60.0", path = "crates/oxc_ast_visit" }
111-
oxc_cfg = { version = "0.60.0", path = "crates/oxc_cfg" }
112-
oxc_codegen = { version = "0.60.0", path = "crates/oxc_codegen" }
113-
oxc_data_structures = { version = "0.60.0", path = "crates/oxc_data_structures" }
114-
oxc_diagnostics = { version = "0.60.0", path = "crates/oxc_diagnostics" }
115-
oxc_ecmascript = { version = "0.60.0", path = "crates/oxc_ecmascript" }
116-
oxc_estree = { version = "0.60.0", path = "crates/oxc_estree" }
117-
oxc_isolated_declarations = { version = "0.60.0", path = "crates/oxc_isolated_declarations" }
118-
oxc_mangler = { version = "0.60.0", path = "crates/oxc_mangler" }
119-
oxc_minifier = { version = "0.60.0", path = "crates/oxc_minifier" }
120-
oxc_napi = { version = "0.60.0", path = "crates/oxc_napi" }
121-
oxc_parser = { version = "0.60.0", path = "crates/oxc_parser", features = ["regular_expression"] }
122-
oxc_parser_napi = { version = "0.60.0", path = "napi/parser" }
123-
oxc_regular_expression = { version = "0.60.0", path = "crates/oxc_regular_expression" }
124-
oxc_semantic = { version = "0.60.0", path = "crates/oxc_semantic" }
125-
oxc_span = { version = "0.60.0", path = "crates/oxc_span" }
126-
oxc_syntax = { version = "0.60.0", path = "crates/oxc_syntax" }
127-
oxc_transform_napi = { version = "0.60.0", path = "napi/transform" }
128-
oxc_transformer = { version = "0.60.0", path = "crates/oxc_transformer" }
129-
oxc_traverse = { version = "0.60.0", path = "crates/oxc_traverse" }
106+
oxc = { version = "0.61.0", path = "crates/oxc" }
107+
oxc_allocator = { version = "0.61.0", path = "crates/oxc_allocator" }
108+
oxc_ast = { version = "0.61.0", path = "crates/oxc_ast" }
109+
oxc_ast_macros = { version = "0.61.0", path = "crates/oxc_ast_macros" }
110+
oxc_ast_visit = { version = "0.61.0", path = "crates/oxc_ast_visit" }
111+
oxc_cfg = { version = "0.61.0", path = "crates/oxc_cfg" }
112+
oxc_codegen = { version = "0.61.0", path = "crates/oxc_codegen" }
113+
oxc_data_structures = { version = "0.61.0", path = "crates/oxc_data_structures" }
114+
oxc_diagnostics = { version = "0.61.0", path = "crates/oxc_diagnostics" }
115+
oxc_ecmascript = { version = "0.61.0", path = "crates/oxc_ecmascript" }
116+
oxc_estree = { version = "0.61.0", path = "crates/oxc_estree" }
117+
oxc_isolated_declarations = { version = "0.61.0", path = "crates/oxc_isolated_declarations" }
118+
oxc_mangler = { version = "0.61.0", path = "crates/oxc_mangler" }
119+
oxc_minifier = { version = "0.61.0", path = "crates/oxc_minifier" }
120+
oxc_napi = { version = "0.61.0", path = "crates/oxc_napi" }
121+
oxc_parser = { version = "0.61.0", path = "crates/oxc_parser", features = ["regular_expression"] }
122+
oxc_parser_napi = { version = "0.61.0", path = "napi/parser" }
123+
oxc_regular_expression = { version = "0.61.0", path = "crates/oxc_regular_expression" }
124+
oxc_semantic = { version = "0.61.0", path = "crates/oxc_semantic" }
125+
oxc_span = { version = "0.61.0", path = "crates/oxc_span" }
126+
oxc_syntax = { version = "0.61.0", path = "crates/oxc_syntax" }
127+
oxc_transform_napi = { version = "0.61.0", path = "napi/transform" }
128+
oxc_transformer = { version = "0.61.0", path = "crates/oxc_transformer" }
129+
oxc_traverse = { version = "0.61.0", path = "crates/oxc_traverse" }
130130

131131
# publish = false
132132
oxc_linter = { path = "crates/oxc_linter" }

0 commit comments

Comments
 (0)
Please sign in to comment.