Skip to content

Releases: cslant/github-project-php

v2.0.0

03 Mar 13:09

Choose a tag to compare

🚀 Major Release - PHP 8.4+ & Modern Architecture

✨ New Features

  • API Endpoint: New GenerateCommentAction to generate comment messages via REST API
  • Route Names: All routes now have named routes for better maintainability

🔧 Improvements

  • PHP Version: Upgraded to PHP ^8.4
  • Strict Types: Added declare(strict_types=1) to all PHP files
  • Constructor Property Promotion: All classes use modern PHP 8.4 syntax with readonly
  • Strict Comparisons: All loose ==/!= replaced with strict ===/!==
  • Removed empty(): Replaced with explicit null/empty-string checks
  • Dependency Injection: Improved DI in ProcessAggregatedEvents job
  • Simplified ServiceProvider: Using mergeConfigFrom() instead of manual scandir loop

🐛 Bug Fixes

  • Fixed ServiceProvider namespace (CSlant\GithubProjectCSlant\GitHubProject)
  • Fixed double validatePayloadForComment() call in WebhookService
  • Fixed lang file copy-paste errors
  • Removed redundant Cache::forget() after Cache::pull()
  • Removed dead array_map identity function in aggregateMessages()

🔒 Security

  • Removed stack trace/file/line leak in GenerateCommentAction error response

🧹 Code Cleanup

  • Removed empty registerCommands() method
  • Removed empty Constants/ and Http/ directories
  • Fixed provides() return type annotation
  • Cleaned up PHPStan baseline (removed overly broad wildcards)
  • Net: -133 lines removed

💥 Breaking Changes

  • PHP ^8.4 now required
  • Namespace corrected from CSlant\GithubProject to CSlant\GitHubProject

📦 Dependencies Updated

  • orchestra/testbench: ^10.0
  • pestphp/pest: ^4.0
  • nunomaduro/larastan: ^3.9
  • phpstan/phpstan: ^2.0

Full Changelog: v1.2.0...v2.0.0

v1.2.0

06 Jul 19:32

Choose a tag to compare

What's Changed

  • Add api to get the comment message with payload.
  • chore(deps): bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in #5
  • chore(deps): bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in #6

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

20 Feb 07:07
95a9c7e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

14 Feb 12:33

Choose a tag to compare

What's Changed

  • Handle comments for all field types in GitHub project V2.
  • Create an enable comment flag for the Status field.
  • Format color field values.

Full Changelog: v0.1.0...v1.0.0

v0.1.0

11 Feb 19:59
0536fff

Choose a tag to compare