8000 release(crates): v0.68.0 by oxc-bot · Pull Request #10777 · oxc-project/oxc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

release(crates): v0.68.0 #10777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2025
Merged

release(crates): v0.68.0 #10777

merged 1 commit into from
May 4, 2025

Conversation

oxc-bot
Copy link
Contributor
@oxc-bot oxc-bot commented May 3, 2025

[0.68.0] - 2025-05-03

Features

Bug Fixes

Performance

Documentation

Refactor

Styling

Testing

Copy link
graphite-app bot commented May 3, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-parser Area - Parser A-semantic Area - Semantic A-minifier Area - Minifier A-ast Area - AST A-transformer Area - Transformer / Transpiler A-codegen Area - Code Generation A-cfg Area - Control Flow Graph A-isolated-declarations Isolated Declarations labels May 3, 2025
Copy link
Contributor
github-actions bot commented May 3, 2025

Monitor Oxc

suite result
(codegen)
Isolated Declarations
(compressor)
(dce)
(transformer)
(mangler)
(whitespace)

Copy link
coderabbitai bot commented May 3, 2025

Walkthrough

This update increments the version numbers of all oxc-related crates, packages, and workspace dependencies from 0.67.0 to 0.68.0. Alongside the version bumps, new changelog entries are added for each crate, detailing changes introduced in version 0.68.0. These include breaking changes such as the removal of TSMappedTypeModifierOperator::None and the CodeGenerator type alias, new features like the format_atom! macro and preservation of legal comments after minification, various bug fixes, performance improvements, and some refactors. No changes were made to exported or public entity declarations in the code. The update also synchronizes version numbers in associated JavaScript package files (package.json) and documents all notable changes in the respective changelogs.

Possibly related PRs

  • oxc-project/oxc#10722: Introduced the format_atom! macro in the oxc_span crate, which is included in the version bump and changelog for 0.68.0.
  • oxc-project/oxc#10689: Added a feature to oxc_codegen for preserving legal comments after minification, which is part of the updates included in the 0.68.0 release.

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (6)
crates/oxc/CHANGELOG.md (1)

15-17: Empty Refactor section
The ### Refactor header has no entries. Consider removing it if there are genuinely no refactors in this release.

crates/oxc_isolated_declarations/CHANGELOG.md (1)

19-19: Refactor note: Code shortened
Shortening is noted, but consider adding a brief description of what was reduced for future maintainers.

crates/oxc_minifier/CHANGELOG.md (1)

21-23: Empty Refactor section
No entries under ### Refactor. Remove the section or populate it with relevant refactors.

crates/oxc_transformer_plugins/CHANGELOG.md (1)

27-29: Empty Refactor section
Consider removing the header or adding actual refactor entries.

crates/oxc_codegen/CHANGELOG.md (1)

24-26: Empty Refactor section
No items under ### Refactor. Remove the header or add the relevant refactor entries.

crates/oxc_ast/CHANGELOG.md (1)

7-12: Consider grouping breaking changes under a dedicated heading.
Currently, the two [**BREAKING**] entries precede the “### Features” section without a separate heading. To improve readability and align with Keep a C 8000 hangelog conventions, consider inserting a “### Breaking Changes” header above these entries.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 56566c6 and 8528771.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (49)
  • Cargo.toml (1 hunks)
  • crates/oxc/CHANGELOG.md (1 hunks)
  • crates/oxc/Cargo.toml (1 hunks)
  • crates/oxc_allocator/CHANGELOG.md (1 hunks)
  • crates/oxc_allocator/Cargo.toml (1 hunks)
  • crates/oxc_ast/CHANGELOG.md (1 hunks)
  • crates/oxc_ast/Cargo.toml (1 hunks)
  • crates/oxc_ast_macros/Cargo.toml (1 hunks)
  • crates/oxc_ast_visit/Cargo.toml (1 hunks)
  • crates/oxc_cfg/Cargo.toml (1 hunks)
  • crates/oxc_codegen/CHANGELOG.md (1 hunks)
  • crates/oxc_codegen/Cargo.toml (1 hunks)
  • crates/oxc_data_structures/Cargo.toml (1 hunks)
  • crates/oxc_diagnostics/Cargo.toml (1 hunks)
  • crates/oxc_ecmascript/Cargo.toml (1 hunks)
  • crates/oxc_estree/Cargo.toml (1 hunks)
  • crates/oxc_isolated_declarations/CHANGELOG.md (1 hunks)
  • crates/oxc_isolated_declarations/Cargo.toml (1 hunks)
  • crates/oxc_mangler/Cargo.toml (1 hunks)
  • crates/oxc_minifier/CHANGELOG.md (1 hunks)
  • crates/oxc_minifier/Cargo.toml (1 hunks)
  • crates/oxc_napi/CHANGELOG.md (1 hunks)
  • crates/oxc_napi/Cargo.toml (1 hunks)
  • crates/oxc_parser/CHANGELOG.md (1 hunks)
  • crates/oxc_parser/Cargo.toml (1 hunks)
  • crates/oxc_regular_expression/Cargo.toml (1 hunks)
  • crates/oxc_semantic/CHANGELOG.md (1 hunks)
  • crates/oxc_semantic/Cargo.toml (1 hunks)
  • crates/oxc_span/CHANGELOG.md (1 hunks)
  • crates/oxc_span/Cargo.toml (1 hunks)
  • crates/oxc_syntax/CHANGELOG.md (1 hunks)
  • crates/oxc_syntax/Cargo.toml (1 hunks)
  • crates/oxc_transformer/CHANGELOG.md (1 hunks)
  • crates/oxc_transformer/Cargo.toml (1 hunks)
  • crates/oxc_transformer_plugins/CHANGELOG.md (1 hunks)
  • crates/oxc_transformer_plugins/Cargo.toml (1 hunks)
  • crates/oxc_traverse/CHANGELOG.md (1 hunks)
  • crates/oxc_traverse/Cargo.toml (1 hunks)
  • napi/minify/CHANGELOG.md (1 hunks)
  • napi/minify/package.json (1 hunks)
  • napi/parser/CHANGELOG.md (1 hunks)
  • napi/parser/Cargo.toml (1 hunks)
  • napi/parser/package.json (1 hunks)
  • napi/transform/CHANGELOG.md (1 hunks)
  • napi/transform/Cargo.toml (1 hunks)
  • napi/transform/package.json (1 hunks)
  • npm/oxc-types/CHANGELOG.md (1 hunks)
  • npm/oxc-types/package.json (1 hunks)
  • npm/runtime/package.json (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
napi/transform/CHANGELOG.md

22-22: Multiple headings with the same content
null

(MD024, no-duplicate-heading)

napi/parser/CHANGELOG.md

30-30: Multiple headings with the same content
null

(MD024, no-duplicate-heading)

⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Benchmark linter (1)
  • GitHub Check: Benchmark linter (0)
  • GitHub Check: Conformance
  • GitHub Check: Test NAPI
🔇 Additional comments (90)
npm/runtime/package.json (1)

3-3:

✅ Verification successful

Confirm version bump consistency
The package version has been updated to 0.68.0. Ensure this matches all other workspace packages and crates to keep releases in sync.

Run the following to catch any stray references to the old version:


🏁 Script executed:

#!/bin/bash
# Verify no remaining "0.67.0" version strings
rg -l '"version": "0.67.0"'

Length of output: 29


🏁 Script executed:

#!/bin/bash
# Search for any remaining "0.67.0" occurrences across the repo
echo "🔍 Searching for '0.67.0' anywhere in the codebase..."
rg -l '0\.67\.0' || true

# Specifically check Rust Cargo.toml files for old version strings
echo "🔍 Checking Cargo.toml files for version = \"0.67.0\"..."
rg -l 'version\s*=\s*"0\.67\.0"' --glob '*.toml' || true

Length of output: 658


Version bump consistency confirmed
Verified that no remaining "version": "0.67.0" entries exist in package manifests (including Cargo.toml). The only occurrences of 0.67.0 are in CHANGELOG.md files—this is expected for historical records. All workspace packages and crates are now at version 0.68.0.

crates/oxc_parser/Cargo.toml (2)

3-3: Bump oxc_parser crate to version 0.68.0.
Aligned with the workspace-wide release. Ensure that the corresponding CHANGELOG.md for oxc_parser reflects all breaking changes (e.g., removal of TSMappedTypeModifierOperator::None), bug fixes, and performance improvements introduced in v0.68.0.


3-3:

✅ Verification successful

Verify no residual 0.67.0 version strings.
To prevent inconsistent versioning across the workspace, please confirm that no Cargo.toml still contains version = "0.67.0".


🏁 Script executed:

#!/bin/bash
# Ensure all crates have been bumped to v0.68.0
rg -l 'version = "0\\.67\\.0"' -g 'crates/**/*.toml'

Length of output: 54


🏁 Script executed:

#!/bin/bash
# Comprehensive search for any residual 0.67.0 across all TOML files
rg -l 'version\s*=\s*"0\.67\.0"' -g '*.toml'

Length of output: 46


All crates confirmed at v0.68.0 – no residual 0.67.0 found
I’ve searched every *.toml for version = "0.67.0" and there are no matches. Everything is consistently bumped to 0.68.0.

crates/oxc_semantic/Cargo.toml (1)

3-3: Bump oxc_semantic crate to version 0.68.0.
Matches the workspace release. Verify that CHANGELOG.md includes the lazy comma checking in JSX bug fix and the performance improvement via Atom reuse.

crates/oxc_span/Cargo.toml (1)

3-3: Bump oxc_span crate to version 0.68.0.
Aligned with the release; ensure CHANGELOG.md documents the new format_atom! macro and the Vue <script> block lint fix.

crates/oxc_estree/Cargo.toml (1)

3-3: Bump oxc_estree crate to version 0.68.0.
Consistent with the workspace. Make sure downstream crates (oxc_ast, oxc_codegen, etc.) have updated notes for AST-breaking changes like removal of the redundant CodeGenerator alias.

crates/oxc_syntax/Cargo.toml (1)

3-3: Bump oxc_syntax crate to version 0.68.0.
Matches the global version bump. Confirm CHANGELOG.md details the new #[estree(via)] support on fieldless enum variants.

crates/oxc_cfg/Cargo.toml (1)

3-3: Workspace version bump: Updated version to "0.68.0" to align this crate with the new v0.68.0 release across the workspace.

crates/oxc_allocator/Cargo.toml (1)

3-3: Workspace version bump: Updated version to "0.68.0" for the oxc_allocator crate as part of the coordinated release.

crates/oxc_traverse/Cargo.toml (1)

3-3: Workspace version bump: Upgraded version to "0.68.0" for oxc_traverse to maintain consistency in the v0.68.0 release.

crates/oxc_napi/Cargo.toml (1)

3-3: Workspace version bump: Changed version to "0.68.0" in oxc_napi to match the release version across all workspace crates.

crates/oxc_data_structures/Cargo.toml (1)

3-3: Workspace version bump: Bumped version to "0.68.0" for oxc_data_structures in line with the overall release update.

crates/oxc_minifier/Cargo.toml (1)

3-3: Approve version bump for oxc_minifier.
The crate version has been correctly updated from 0.67.0 to 0.68.0 to align with the coordinated release. No unintended changes detected.

crates/oxc_ecmascript/Cargo.toml (1)

3-3: Approve version bump for oxc_ecmascript.
Version updated to 0.68.0 as part of the workspace-wide v0.68.0 release. No other modifications present.

crates/oxc_mangler/Cargo.toml (1)

3-3: Approve version bump for oxc_mangler.
The crate version has been correctly incremented to 0.68.0 to match the rest of the workspace.

crates/oxc_ast_macros/Cargo.toml (1)

3-3: Approve version bump for oxc_ast_macros.
Version updated to 0.68.0 in line with the coordinated release. No other configuration changes detected.

npm/oxc-types/package.json (1)

3-3: Approve version bump for @oxc-project/types.
Package version updated to 0.68.0 to synchronize with the Rust crates' release. Syntax and formatting are correct.

crates/oxc_diagnostics/Cargo.toml (1)

3-3: Version bump to 0.68.0 is correct. This aligns with the coordinated workspace release and introduces no other changes.

crates/oxc_regular_expression/Cargo.toml (1)

3-3: Version updated to 0.68.0 as expected. No additional dependency or feature changes detected.

crates/oxc_ast_visit/Cargo.toml (1)

3-3: Crate version bumped to 0.68.0. Matches the release plan and requires no further modifications.

crates/oxc_isolated_declarations/Cargo.toml (1)

3-3: Updated version to 0.68.0. Consistent with the other crates in this release.

napi/parser/Cargo.toml (1)

3-3: Version bump to 0.68.0 confirmed. Ensures consistency with the overall 0.68.0 release.

napi/parser/package.json (1)

3-3: Consistent version bump
The "version" field has been correctly updated from 0.67.0 to 0.68.0, matching the coordinated release across all oxc-related packages.

napi/transform/Cargo.toml (1)

3-3: Cargo manifest version update
The version in Cargo.toml has been bumped to 0.68.0 to stay in sync with the workspace release. No other manifest fields were altered.

napi/transform/package.json (1)

3-3: Package.json version bump
The package version has been updated to 0.68.0, aligning with the release of the oxc-transform binding. All other metadata remain unchanged.

napi/minify/package.json (1)

3-3: Version alignment
Updated the "version" to 0.68.0 in napi/minify/package.json, consistent with the overall release. No unintended changes detected.

napi/minify/CHANGELOG.md (1)

7-11: Changelog entry for 0.68.0 looks good
The new section for [0.68.0] - 2025-05-03 correctly documents the feature to preserve legal comments after minification. Formatting follows the Keep a Changelog guidelines.

npm/oxc-types/CHANGELOG.md (1)

7-13: Changelog updated for v0.68.0
The new version section and entries align with the workspace version bumps; the breaking change and refactor details are accurately documented.

napi/transform/CHANGELOG.md (1)

7-17: Changelog entry for v0.68.0 looks good
The breaking change, bug fix, and performance improvements are correctly documented in the first block.

crates/oxc_traverse/CHANGELOG.md (1)

7-17: Changelog entry for v0.68.0 is correct
The breaking change, performance boost, and refactor entries accurately reflect the crate updates, including removal of the AST variant and UID optimization.

crates/oxc_parser/CHANGELOG.md (1)

7-21: Changelog entry for v0.68.0 is accurate and comprehensive
The breaking change, bug fixes, performance improvement, and documentation update are all present and correctly formatted under the new version section.

napi/parser/CHANGELOG.md (1)

7-29: Changelog entry for v0.68.0 is well documented
The breaking, bug fixes, performance, refactor, and testing entries correctly capture changes in napi/parser for version 0.68.0.

crates/oxc/Cargo.toml (1)

3-3: Consistent version bump applied
The crate version has been correctly updated to "0.68.0" in line with the workspace release process.

crates/oxc_ast/Cargo.toml (1)

3-3: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", matching the coordinated workspace release.

crates/oxc_codegen/Cargo.toml (1)

3-3: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", in sync with the workspace-wide version bump.

crates/oxc_transformer/Cargo.toml (1)

3-3: Consistent version bump applied
The crate version has been correctly updated to "0.68.0" in alignment with the overall release.

crates/oxc_transformer_plugins/Cargo.toml (1)

3-3: Consistent version bump applied
The crate version has been correctly updated to "0.68.0", maintaining consistency across all oxc crates.

Cargo.toml (1)

107-131: Uniform version bump to 0.68.0 for all oxc workspace dependencies
The version numbers for all oxc-related crates have been consistently updated from 0.67.0 to 0.68.0, aligning with the coordinated release. Paths remain correct, and no crates were omitted from the bump.

crates/oxc_napi/CHANGELOG.md (1)

7-12: New changelog entry for version 0.68.0 is properly formatted
The ## [0.68.0] header and ### Refactor section clearly document the change to convert_utf8_to_utf16, following the Keep a Changelog conventions.

crates/oxc_span/CHANGELOG.md (1)

7-16: Changelog update is well-organized for 0.68.0
The new ### Features (format_atom! macro) and ### Bug Fixes (Vue <script> linting skip) entries are correctly categorized and formatted, matching the project’s changelog style.

crates/oxc_semantic/CHANGELOG.md (1)

7-16: Changelog entries for 0.68.0 are clear and complete
The ### Bug Fixes and ### Performance sections accurately record the JSX comma check enhancement and Atom reuse, in line with related updates in parser and semantic modules.

crates/oxc_syntax/CHANGELOG.md (1)

7-12: Feature addition in changelog is consistent
The support for #[estree(via)] on fieldless enum variants is correctly listed under ### Features for 0.68.0, adhering to the changelog guidelines.

crates/oxc/CHANGELOG.md (3)

7-7: Version header is correct
The new version and date follow the project’s changelog conventions.


9-9: Breaking change: Remove CodeGenerator alias
Documented as breaking. Please verify that all references to CodeGenerator have been removed across the workspace.


13-13: Bug fix entry looks good
The transformer_plugins fix is correctly noted. No further action required.

crates/oxc_isolated_declarations/CHANGELOG.md (4)

7-7: Version header updated
Matches the date and version for this release, aligned with other crates.


9-9: Breaking change: AstBuilder lifetime requirement
Ensure all AstBuilder calls now pass an Atom with the correct lifetime.


11-11: Breaking change: Remove CodeGenerator alias
Consistent with coordinated removal. Verify no leftover type aliases remain.


15-16: Performance improvement documented
Avoiding unnecessary string copies is valuable. Please confirm relevant benchmarks or tests cover this change.

crates/oxc_minifier/CHANGELOG.md (5)

7-7: Version header bump
Correct version and date specification.


9-9: Breaking change: AstBuilder lifetime enforcement
All minifier code must now supply Atom with the specified lifetime. Confirm dependent crates are updated.


11-11: Breaking change: Remove CodeGenerator alias
Aligned with other crates. Verify that no residual alias remains in minifier code.


15-15: Feature: Preserve legal comments
Well-documented addition. Ensure minifier tests include scenarios to retain legal comments.


19-19: Performance: Avoid temp String allocations
Good optimization. Please confirm any performance regressions or improvements in benchmarks.

crates/oxc_transformer_plugins/CHANGELOG.md (6)

7-7: Version header correctly bumped
Aligns with workspace versioning.


9-9: Breaking change: AstBuilder lifetime enforcement
Plugins must be updated to pass Atom lifetimes correctly.


11-11: Breaking change: Remove CodeGenerator alias
Consistent with other components. Verify plugin code no longer references the alias.


15-15: Feature: Preserve legal comments
Great addition. Confirm transformer plugin tests cover comment retention.


19-19: Bug fix: Reference data on identifier replacement
Entry matches objectives. No further action needed.


23-25: Performance enhancements grouped
Three performance items: string-copy avoidance, compact formatting, and global injection fix. Please ensure performance tests or benchmarks validate these improvements.

crates/oxc_codegen/CHANGELOG.md (5)

7-7: Version header bump
Release date and version align with project standards.


9-9: Breaking: Remove TSMappedTypeModifierOperator::None variant
Ensure downstream AST handling is updated for this variant removal.


11-11: Breaking: Remove CodeGenerator alias
Matches coordinated removal. Verify integration points no longer rely on the alias.


15-16: Features documented

  • with_source_text exposure
  • Legal comment preservation
    Ensure API docs and examples are updated accordingly.

20-22: Bug fixes listed
Three bug fixes: missing TS parameter modifiers, return types, and regexp panic. Confirm corresponding tests have been added.

crates/oxc_allocator/CHANGELOG.md (4)

9-15: Features section looks good.
The new allocator features (String::set_len, Display for Box, RawVec::reserve alignment, grow_one, extend_desugared) are clearly documented with commit hashes and PR numbers.


17-22: Performance improvements documented correctly.
The allocator/vec2 optimizations are clearly grouped under “### Performance” with relevant commits.


25-27: Documentation entry is concise and clear.
The new cargo features documentation commit is captured under “### Documentation”.


7-8:

✅ Verification successful

Verify version bump consistency.
Ensure that the changelog’s 0.68.0 tag aligns with the version specified in crates/oxc_allocator/Cargo.toml.
You can verify this with:


🏁 Script executed:

#!/bin/bash
# Check version in Cargo.toml matches changelog header
grep -R 'version *= *"0.68.0"' crates/oxc_allocator/Cargo.toml

Length of output: 83


Changelog version matches Cargo.toml
Confirmed that version = "0.68.0" in crates/oxc_allocator/Cargo.toml aligns with the ## [0.68.0] header in CHANGELOG.md. No further action required.

crates/oxc_ast/CHANGELOG.md (4)

13-16: Features section is clear.
The new AstBuilder generator support feature is correctly listed with its commit and PR reference.


17-21: Bug Fixes are properly grouped.
The two bug-fix entries are appropriately listed under “### Bug Fixes”.


22-25: Refactor entry is correctly documented.
The removal of the custom serializer commit is rightly under “### Refactor”.


26-29: Styling change is noted.
The import of the Display trait is documented under “### Styling”.

crates/oxc_transformer/CHANGELOG.md (17)

7-7: Add version header for v0.68.0
The new release version and date are correctly documented following the existing format.


9-9: Document breaking change: AstBuilder requires Atom lifetime
The breaking change entry clearly highlights the API update and references the PR number.


11-11: Document breaking change: Remove CodeGenerator type alias
The removal of the redundant alias is accurately noted as a breaking change with its PR reference.


13-13: Add “Performance” section header
Grouping the performance improvements under their own header maintains consistency with previous releases.


15-15: Log performance improvement: Avoid copying string data
This entry concisely describes the optimization in the transformer.


17-17: Log performance improvement: Optimize var/let statement insertion
Clearly documents the transformer tweak for variable declarations.


19-19: Log performance improvement: Skip creating temp String in JSX
Accurately notes the reduction of temporary allocations in JSX handling.


21-21: Log performance improvement: Cache search string in refresh resolver
Describes the single-search optimization in RefreshIdentifierResolver::parse.


23-23: Log performance improvement: Remove temporary Vec in refresh
Highlights the removal of an unnecessary collection allocation.


25-25: Log performance improvement: Reuse existing Atom in refresh
Documents the reuse of allocated atoms to avoid overhead.


27-27: Log performance improvement: Use take instead of drain
Shows the switch to a more efficient vector extraction method.


29-29: Log performance improvement: Do not store parsed regexp
Correctly notes removal of an unnecessary cache in the regexp transformer.


31-31: Log performance improvement: Inline enter_expression in regexp
Highlights the inlining of a visitor method to reduce indirection.


33-33: Log performance improvement: Avoid copying string data in regexp
Accurately describes the additional string-copy avoidance measures.


35-35: Add “Refactor” section header
Consistent grouping for refactoring changes.


37-37: Log refactor: Shorten code in refresh transformer
Documents simplification of refresh logic.


39-39: Log refactor: Do not unnecessarily consume Vec in refresh
Notes the code cleanup to avoid vector ownership issues.

Copy link
codspeed-hq bot commented May 3, 2025

CodSpeed Instrumentation Performance Report

Merging #10777 will not alter performance

Comparing release/crates-1746290528 (8528771) with main (4eaef66)

Summary

✅ 36 untouched benchmarks

@Boshen Boshen merged commit 61dfcfd into main May 4, 2025
29 checks passed
@Boshen Boshen deleted the release/crates-1746290528 branch May 4, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ast Area - AST A-cfg Area - Control Flow Graph A-codegen Area - Code Generation A-isolated-declarations Isolated Declarations A-minifier Area - Minifier A-parser Area - Parser A-semantic Area - Semantic A-transformer Area - Transformer / Transpiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0