Lots of bugfixes in this one, thanks to a bunch of new contributors!
Notable changes in this release:
- Drop support for Ruby 3.1, which has been EOL for a while
- Improve
DISTINCTqueries used for polling with not specific queue names in PostgreSQL - Change polling interval default to 1 second
- New
bin/job checkto validate configuration - Support setting a default time zone for recurring tasks
What's Changed
- Accept optional job argument in stopping? by @thoughtless in #747
- docs: use single splat in
keyargument forlimits_concurrencyby @G-Rath in #749 - Warn instead of raising when the connection pool is smaller than the thread pool by @ajaynomics in #753
- add bin/jobs check to validate config before starting by @alexanderadam in #745
- Refactor errors and warnings when parsing configuration by @rosa in #759
- Remove trapping QUIT on Windows by @andyundso in #727
- Change default polling_interval to 1 sec by @hachi8833 in #721
- Memoize Runnable#mode to stop allocating a String + StringInquirer pe… by @s01ipsist in #744
- Avoid reloading job rows after dispatch and schedule by @ImDineshSaini in #742
- Fix recurring task logging as if it enqueued the same job twice by @ghiculescu in #731
- Improve DISTINCT queries on PostgreSQL via recursive CTE by @bubiche in #730
- Automatically use Rails or a default timezone for the schedule by @andyjeffries in #750
- Fix flaky concurrency controls test by @diogovernier in #734
- Reduce flaky integration test failures from timing and PK reuse by @rafael-pissardo in #758
- Add compatibility with strict_loading_by_default by @JoeDupuis in #375
- Report rescued recurring enqueue errors to Rails.error by @rafael-pissardo in #756
- Drop support for Ruby 3.1 by @rosa in #762
- Prevent concurrency lock leaks that cause duplicate job execution by @rosa in #761
New Contributors
- @thoughtless made their first contribution in #747
- @ajaynomics made their first contribution in #753
- @hachi8833 made their first contribution in #721
- @s01ipsist made their first contribution in #744
- @ImDineshSaini made their first contribution in #742
- @ghiculescu made their first contribution in #731
- @bubiche made their first contribution in #730
- @andyjeffries made their first contribution in #750
- @rafael-pissardo made their first contribution in #758
- @JoeDupuis made their first contribution in #375
Full Changelog: v1.4.0...v1.5.0