Skip to content

feat: Paginate compareCommits and compareCommitsWithBasehead - #678

Merged
wolfy1339 merged 7 commits into
octokit:mainfrom
roryabraham:feat-paginate-compare-commits
Jun 16, 2025
Merged

wolfy1339 merged 7 commits into
octokit:mainfrom
roryabraham:feat-paginate-compare-commits

Conversation

@roryabraham

Copy link
Copy Markdown
Contributor

Resolves #647

Before the change?

  • compareCommits and compareCommitsWithBasehead are not correctly paginated.

After the change?

  • compareCommits and compareCommitsWithBasehead are paginated

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

No breaking changes (unless someone is using paginate with compareCommits, which doesn't work).

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Comment thread src/iterator.ts
@Julesssss
Julesssss force-pushed the feat-paginate-compare-commits branch from ed95c8b to dd5f0b7 Compare June 16, 2025 20:42
Comment thread src/iterator.ts
@Julesssss
Julesssss force-pushed the feat-paginate-compare-commits branch from 28a1858 to 1d9822d Compare June 16, 2025 21:50
@wolfy1339
wolfy1339 marked this pull request as ready for review June 16, 2025 22:06
@wolfy1339
wolfy1339 merged commit 6d8ea8a into octokit:main Jun 16, 2025
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in 🧰 Octokit Active Jun 16, 2025
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 13.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@roryabraham

roryabraham commented Jun 17, 2025 •

Copy link
Copy Markdown
Contributor Author

Thanks @Julesssss for finishing and @wolfy1339 for reviewing 🙇🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[FEAT]: Add pagination support for compareCommitsWithBasehead()

4 participants