v0.2.1 - Commit by Sha added
Release v0.2.1: Individual Commit Access
New Features
- Added support for retrieving individual commits by SHA
GitHub::commits()->get('sha-hash');Details
The new commit endpoint provides authenticated access to detailed commit information including:
- Commit metadata (author, committer, dates)
- Full commit message
- File changes and patches
- Verification information
- Associated repository data
- Parent commit references
Usage Example
$commit = GitHub::commits()->get('abc123def456...');
// Access commit data
$author = $commit->author;
$message = $commit->message;
$changes = $commit->files;Pull Requests
- #10 - Add individual commit retrieval by @jordanpartridge
Full Changelog: v0.2...v0.2.1