Skip to content

Comments

chore: bump version to 3.2.0#182

Merged
markstos merged 2 commits intomainfrom
release/3.2.0
Jan 22, 2026
Merged

chore: bump version to 3.2.0#182
markstos merged 2 commits intomainfrom
release/3.2.0

Conversation

@wesleyschlenker
Copy link
Collaborator

@wesleyschlenker wesleyschlenker commented Jan 21, 2026

  • Add read rate limit support
  • Add TypeScript definitions
  • Fix division by zero in rate limit exceeded and fraction calculations

Summary by CodeRabbit

  • Chores

    • Version bumped to 3.2.0; no new features.
  • Bug Fixes

    • Internal fix to rate-limiting timestamp handling to improve reliability; no user-facing behavioral changes.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

📝 Walkthrough

Walkthrough

Bumps package version from 3.1.0 to 3.2.0 and fixes an internal rate-limiting state assignment: RateLimit.updateRateLimits now sets this.requestTime (not this.requestDate) when parsing new limits. No public API/signature changes.

Changes

Cohort / File(s) Summary
Version Bump
package.json
Updated version from 3.1.0 to 3.2.0.
Rate limiting state fix
lib/rateLimiting.js
In RateLimit.updateRateLimits(headers), assign this.requestTime = new Date() instead of this.requestDate. Internal state field corrected; signature and external behavior unaffected. Review requestTime usages for consistency.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • markstos

Poem

🐰 I hopped through code with nimble paws,
Bumped a number, fixed a clause.
A tiny date where once was wrong,
The rhythm of requests stays strong.
Hooray — a patch and version song! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title check ⚠️ Warning The title 'chore: bump version to 3.2.0' describes only a minor version update, but the PR objectives indicate substantial changes including read rate limit support, TypeScript definitions, and bug fixes. Consider a more descriptive title that reflects the main features and fixes, such as 'feat: add read rate limit support and TypeScript definitions' or include the primary change in the title.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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

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

Copy link
Collaborator

@markstos markstos left a comment

Choose a reason for hiding this comment

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

Reviewed diff. Looks good.

@markstos markstos merged commit d7e56d1 into main Jan 22, 2026
3 checks passed
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