All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Changed
- Updated PHPSeclib from 2.x to 3.x. Ensure 3.6.1 can be downloaded by adding phpseclib in the update command:
composer update "stackkit/laravel-google-cloud-tasks-queue" "phpseclib/phpseclib"
Changed
- Added config
signed_audience
toggle extra security by signing the token audience (thanks @Tarpsvo)
Fixed
- Fixed task name sanitization failed when the task was a closure
Changed
- Bumped PHPSeclib from 2.x to 3.x
Fixed
- Fixed #104
Added
- Added more descriptive job names in Cloud Tasks (thanks @i386 #100)
Fixed
- Fixed #95
Changed
- Added support for Laravel 10
Changed
- Added helpful message if application generates unsafe http handler URL due to potentially TrustedProxies not being configured.
Fixed
- Fixes #73 Cannot access protected property Illuminate\Queue\Jobs\SyncJob::$job
Added
- Jobs can now be released back onto the queue.
Fixed
- Jobs were dispatched before a DB commit if
after_commit
orafterCommit()
was used. This has now been corrected.
Added
- Request validation for the TaskHandler endpoint.
Added
- Added support for jobs that use the
Illuminate\Contracts\Queue\ShouldBeEncrypted
contract
Fixed
- Fixed usage of incorrect header to set count retries (#55)
- Fix getRetryUntilTimestamp not working due to incomplete task name (#56)
Fixed
- Fixed JWT 5.x/6.x constraint problems
Fixed
- Fixed JWT decode error caused by update in google/auth
Fixed
- Fix 'audience does not match'
Added
- Added support for
dispatchDeadline
. See README how to configure.
Added
- Added support for PostgreSQL
- Added a dashboard used to monitor jobs
Removed
- Dropped support for PHP 7.2 and 7.3
- Dropped support for Laravel 5.x
Changed
- Added Laravel 9 support.
Changed
- Bumped dependencies.
Fixed
- Setting maxAttempts in Cloud Tasks to -1 now sets unlimited attempts. Previously it would only attempt once.
- When a job fails (maxAttempts reached or retryUntil/Max retry duration passed) it is now deleted.
Added
- Added support for 'Max retry duration'
Fixed
- Fix cache expiration condition #19
Fixed
- Fixed connection names other than [cloudtasks] not working
Fixed
- Added support for Laravel Octane and fix #17
Added
- Handling of failed jobs
Added
- Handling of failed jobs
Fixed
- Fixed certificates cached too long (#3)
Added
- Support for Laravel 8
Changed
- Change authentication method from config value path to Application Default Standard
Added
- Public release of the package.
Added
- Initial release of the package.