Skip to content

v2.0.0: The Great Service Provider Awakening πŸš€

Choose a tag to compare

@jordanpartridge jordanpartridge released this 14 Jun 06:03
· 32 commits to master since this release
cc2f9bf

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 GithubClient and Github are 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 InvalidArgumentException with a passive-aggressive message about setting your GITHUB_TOKEN

πŸŽͺ The Command That Actually Does Something

  • Rewrote github-client command from "hello world" stub to actually useful functionality
  • Now supports test, repo info, and commits operations
  • 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 GithubClient to Github (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