Skip to content

Replace custom version handling with semver#126

Merged
LadyBluenotes merged 6 commits intomainfrom
replace-semvar
May 3, 2026
Merged

Replace custom version handling with semver#126
LadyBluenotes merged 6 commits intomainfrom
replace-semvar

Conversation

@LadyBluenotes
Copy link
Copy Markdown
Member

Summary

Replace custom version parsing/comparison with semver.

  • Use semver for stale version drift classification
  • Use semver for scanner package variant comparison
  • Preserve existing stale report output shape: major | minor | patch | null
  • Preserve downgrade behavior as no drift
  • Handle prereleases, build metadata, coerced versions, and invalid versions more deliberately
  • Reuse existing path normalization helper in staleness checks
  • Improve omitted package-name fallback by reading package name from package.json

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 3, 2026

Warning

Rate limit exceeded

@LadyBluenotes has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 2 minutes and 58 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1d0a813e-dba5-4513-b1c9-f8ae45d5eca5

📥 Commits

Reviewing files that changed from the base of the PR and between 0c62985 and e2d57c9.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • .changeset/fruity-hounds-attend.md
  • packages/intent/package.json
  • packages/intent/src/scanner.ts
  • packages/intent/src/staleness.ts
  • packages/intent/tests/scanner.test.ts
  • packages/intent/tests/staleness.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch replace-semvar

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 2 minutes and 58 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 3, 2026

View your CI Pipeline Execution ↗ for commit 654e13b

Command Status Duration Result
nx run-many --targets=build --exclude=examples/** ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-03 06:30:34 UTC

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@tanstack/intent@126

commit: 47d7f60

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 3, 2026

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing replace-semvar (e2d57c9) with main (cfb28ae)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (0c62985) during the generation of this report, so cfb28ae was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@LadyBluenotes LadyBluenotes merged commit 1639791 into main May 3, 2026
5 checks passed
@LadyBluenotes LadyBluenotes deleted the replace-semvar branch May 3, 2026 06:30
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.

1 participant