Releases: cslant/github-project-php
Releases · cslant/github-project-php
v2.0.0
🚀 Major Release - PHP 8.4+ & Modern Architecture
✨ New Features
- API Endpoint: New
GenerateCommentActionto 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
ProcessAggregatedEventsjob - Simplified ServiceProvider: Using
mergeConfigFrom()instead of manual scandir loop
🐛 Bug Fixes
- Fixed ServiceProvider namespace (
CSlant\GithubProject→CSlant\GitHubProject) - Fixed double
validatePayloadForComment()call inWebhookService - Fixed lang file copy-paste errors
- Removed redundant
Cache::forget()afterCache::pull() - Removed dead
array_mapidentity function inaggregateMessages()
🔒 Security
- Removed stack trace/file/line leak in
GenerateCommentActionerror response
🧹 Code Cleanup
- Removed empty
registerCommands()method - Removed empty
Constants/andHttp/directories - Fixed
provides()return type annotation - Cleaned up PHPStan baseline (removed overly broad wildcards)
- Net: -133 lines removed
💥 Breaking Changes
- PHP
^8.4now required - Namespace corrected from
CSlant\GithubProjecttoCSlant\GitHubProject
📦 Dependencies Updated
orchestra/testbench: ^10.0pestphp/pest: ^4.0nunomaduro/larastan: ^3.9phpstan/phpstan: ^2.0
Full Changelog: v1.2.0...v2.0.0
v1.2.0
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
- @dependabot made their first contribution in #5
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Queue event by @tanhongit in #3
New Contributors
- @tanhongit made their first contribution in #3
Full Changelog: v1.0.0...v1.1.0
v1.0.0
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
- Experimental release
Full Changelog: https://github.com/cslant/github-project-php/commits/v0.1.0