v2.0.0: The Great Service Provider Awakening π
v2.0.0: The Great Service Provider Awakening π
Breaking: This release might make your code slightly more organized. Viewer discretion advised.
π What's New (In Order of Dramatic Impact)
π§ Service Provider Gets Its Life Together
- Fixed the facade alias because apparently
GithubClientandGithubare different things (who knew?) - Added explicit Github class binding - no more mysterious "I can't find my binding" errors
- Token validation with attitude - now throws
InvalidArgumentExceptionwith a passive-aggressive message about setting your GITHUB_TOKEN
πͺ The Command That Actually Does Something
- Rewrote
github-clientcommand from "hello world" stub to actually useful functionality - Now supports
test,repo info, andcommitsoperations - Switched from constructor injection to facades because "facades are cheatting i would have dependecy injected but who cares" - actual user quote
π§ͺ Tests That Don't Hate You
- Fixed all test failures by discovering GitUserData needs 19 fields, not 4 (GitHub is picky)
- Added proper mock data structures that actually match what GitHub sends
- Tests now pass instead of having existential crises
π€ CI/CD Zen Master
- Fixed nunomaduro/collision conflicts across Laravel versions (it's complicated)
- Excluded PHP 8.2 + Laravel 12 combo because Laravel 12 is too cool for old PHP
- Fixed testbench version mapping (Laravel 12 uses testbench 10., not 11. - mathematics is hard)
- Added GITHUB_TOKEN to CI because static analysis gets lonely without it
π Documentation Renaissance
- Enhanced README with actual examples instead of "TODO: write examples"
- Added comprehensive ARCHITECTURE.md (because we're fancy now)
- Updated Resource documentation with real information
π― PHPStan Enlightenment
- Added proper PHPDoc annotations to facades so PHPStan stops complaining
- Created phpstan-bootstrap.php to handle token requirements gracefully
- Static analysis now works without real GitHub tokens (revolutionary!)
π¬ The Dramatic Stats
- 1,095 total changes across 30+ files
- 852 additions, 243 deletions (we're growing!)
- All CI checks passing (miracles do happen)
πͺ Breaking Changes
- Facade alias changed from
GithubClienttoGithub(update your imports) - Service provider now validates GitHub token on boot (set GITHUB_TOKEN or face the consequences)
π Credits
- Jordan Partridge for asking "can you make this actually work?"
- Claude for the over-engineering and then un-over-engineering
- GitHub for having an API that's actually well-documented
- Coffee for existing
π What's Next?
- World domination (or more GitHub API endpoints)
- Maybe some OAuth improvements
- Definitely more humorous release notes
Generated with excessive enthusiasm by Claude Code π€
Co-Authored-By: Claude noreply@anthropic.com