Skip to content

chore: release v8.0.0#483

Merged
Boshen merged 1 commit intomainfrom
release-plz-2025-04-30T16-07-05Z
May 1, 2025
Merged

chore: release v8.0.0#483
Boshen merged 1 commit intomainfrom
release-plz-2025-04-30T16-07-05Z

Conversation

@oxc-bot
Copy link
Contributor

@oxc-bot oxc-bot commented Apr 30, 2025

🤖 New release

  • oxc_resolver: 7.0.1 -> 8.0.0 (⚠ API breaking changes)

oxc_resolver breaking changes

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/inherent_method_missing.ron

Failed in:
  ResolveOptions::with_module, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/options.rs:342

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field description_files of struct ResolveOptions, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/options.rs:47
  field modules of struct ResolveOptions, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/options.rs:119

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_method_added.ron

Failed in:
  trait method oxc_resolver::CachedPath::is_node_modules in file /tmp/.tmpoUaDz8/oxc-resolver/src/cache.rs:65
  trait method oxc_resolver::CachedPath::inside_node_modules in file /tmp/.tmpoUaDz8/oxc-resolver/src/cache.rs:67

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_method_missing.ron

Failed in:
  method node_modules of trait CachedPath, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/cache.rs:65
  method module_directory of trait CachedPath, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/cache.rs:67
  method cached_node_modules of trait CachedPath, previously in file /tmp/.tmpCfZ3uE/oxc_resolver/src/cache.rs:74
Changelog

8.0.0 - 2025-05-01

Bug Fixes

  • fix incorrect return of package.json when a workspace module has node_modules (#482)

Performance

  • cache whether a path is node_modules or inside node_modules (#490)
  • remove a useless load_as_directory call (#487)

Refactor

  • [breaking] remove description_files option (#488)
  • [breaking] remove modules options (#484)


This PR was generated with release-plz.

Summary by CodeRabbit

  • Documentation
    • Added a new changelog entry for version 8.0.0, highlighting a bug fix, performance improvements, and breaking changes.
  • Chores
    • Updated the package version to 8.0.0 in project files.

@oxc-bot oxc-bot force-pushed the release-plz-2025-04-30T16-07-05Z branch from 05a5310 to abbb902 Compare April 30, 2025 16:07
@coderabbitai
Copy link

coderabbitai bot commented Apr 30, 2025

## Walkthrough

This update increments the version number of the `oxc_resolver` package from 7.0.1 to 8.0.0 in both the `Cargo.toml` and `package.json` files. A new changelog entry for version 8.0.0 dated 2025-05-01 was added, documenting a bug fix for the incorrect return of `package.json` when a workspace module contains a `node_modules` directory, a performance improvement by removing an unnecessary `load_as_directory` call, and breaking refactors removing the `description_files` and `modules` options. No changes were made to the package's public API or exported entities.

## Changes

| File(s)                  | Change Summary                                                                                                  |
|--------------------------|----------------------------------------------------------------------------------------------------------------|
| CHANGELOG.md             | Added entry for version 8.0.0 (2025-05-01) documenting a bug fix for workspace module resolution, a performance improvement, and breaking refactors removing the `description_files` and `modules` options. |
| Cargo.toml, package.json | Updated package version from 7.0.1 to 8.0.0.                                                                   |

## Poem

> A leap to eight, a brand new gate,  
> Bugs fixed with care, refactors great!  
> Modules gone, descriptions too,  
> The path is clear, the code anew.  
> 🐇 With every jump, the future’s bright—  
> Oxc-resolver takes new flight!

📜 Recent review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 2886ee4 and c90ae9d.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • Cargo.toml (1 hunks)
  • package.json (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • Cargo.toml
🚧 Files skipped from review as they are similar to previous changes (2)
  • CHANGELOG.md
  • package.json
⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Test (windows-latest)
  • GitHub Check: Benchmark

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • 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.

@codecov
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.85%. Comparing base (80adaf3) to head (c90ae9d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #483   +/-   ##
=======================================
  Coverage   93.85%   93.85%           
=======================================
  Files          13       13           
  Lines        2797     2797           
=======================================
  Hits         2625     2625           
  Misses        172      172           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link

codspeed-hq bot commented Apr 30, 2025

CodSpeed Performance Report

Merging #483 will not alter performance

Comparing release-plz-2025-04-30T16-07-05Z (c90ae9d) with main (80adaf3)

Summary

✅ 3 untouched benchmarks

@oxc-bot oxc-bot force-pushed the release-plz-2025-04-30T16-07-05Z branch 5 times, most recently from 2f0aed6 to b9a9087 Compare May 1, 2025 02:42
@oxc-bot oxc-bot changed the title chore: release v7.0.2 chore: release v8.0.0 May 1, 2025
@oxc-bot oxc-bot force-pushed the release-plz-2025-04-30T16-07-05Z branch 6 times, most recently from 2886ee4 to 24ec8c3 Compare May 1, 2025 03:44
@oxc-bot oxc-bot force-pushed the release-plz-2025-04-30T16-07-05Z branch from 24ec8c3 to c90ae9d Compare May 1, 2025 03:44
@Boshen Boshen merged commit ef31a1f into main May 1, 2025
20 checks passed
@Boshen Boshen deleted the release-plz-2025-04-30T16-07-05Z branch May 1, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants