All notable changes to laravel-rate-limited-job-middleware
will be documented in this file
- Add the option to pass a closure to determine if the job should release
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.6.0...2.7.0
- Add a new
LimitExceeded
event when the rate limit has exceeded which receives the$job
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.5.0...2.6.0
- Use artisansdk/ratelimiter again
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.3...2.5.0
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.3...2.4.4
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.2...2.4.3
- Initialize bucket with a timer
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.1...2.4.2
- Improve leaky bucket for our use case
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.4.0...2.4.1
- Laravel 11.x Compatibility by @laravel-shift in #55
- Use our own LeakyBucket class
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.3.0...2.4.0
- Add
->dontRelease()
method by @ralphjsmit in #48
- @ralphjsmit made their first contribution in #48
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.7...2.3.0
- @patinthehat made their first contribution in #42
- @laravel-shift made their first contribution in #43
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.6...2.2.7
- Fix implicit float to int casting
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.5...2.2.6
- Use v1 of artisansdk/ratelimiter
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.4...2.2.5
- The cache rate limiter was using a limit in minutes instead of seconds
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.3...2.2.4
- Changed method return type to static by @Sammyjo20 in #39
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.2...2.2.3
- Allow release logic to be easily extended by @Sammyjo20 in #38
- @Sammyjo20 made their first contribution in #38
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.1...2.2.2
- Fix "
$releaseInSeconds
must be of type int" exception by @stevebauman in #37
- @stevebauman made their first contribution in #37
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.2.0...2.2.1
- 'off' => 'of' by @edalzell in #33
- Allow Laravel 9
- @edalzell made their first contribution in #33
Full Changelog: https://github.com/spatie/laravel-rate-limited-job-middleware/compare/2.1.1...2.2.0
- Fix missing timeout on limiter
- Improve the cache implementation using a leaky bucket rate limiter.
- allow for a cache option + PHP 8 only + Pest (#32)
The API hasn't changed, so you could upgrade without having to change your code.
- add support for PHP 8
- add support for Laravel 8
- add feature exponential back-off to release logic (#18)
- add support for Laravel 7
- add
releaseAfterRandomSeconds
- renamed parameter method
releaseAfterMinutes
(#13)
- add release duration callback (#12)
- initial release