Skip to content

v0.2.1 - Commit by Sha added

Choose a tag to compare

@jordanpartridge jordanpartridge released this 26 Nov 04:14

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

Full Changelog: v0.2...v0.2.1