getCommitDiff now supports explicit base comparisons via a sha and baseSha.
// Get commit diff relative to a specific base
const customDiff = await repo.getCommitDiff({
sha: 'abc123def456...',
baseSha: 'def789abc123...', // optional base commit to compare against
});With this update, you can now request diffs across arbitrary ranges by specifying the commit you want to inspect and the base sha to compare it against.