All notable changes to this project will be documented in this file.
- Fix usage of ActiveJob::Base.queue_name (sidekiq-cron#517)
- Fix: Add quotes to Japanese translations containing multi-byte symbols (sidekiq-cron#515)
Sidekiq-Cron v2 is here! In this release we refactored some internals, plus:
- Review web UI translations for all available locales (sidekiq-cron#506)
- Fix detection of ActiveJob in Sidekiq v7.3.3+ (sidekiq-cron#510)
- Add retry job configuration option to set Sidekiq retry job option (sidekiq-cron#509)
Please take a look to the RC1 and RC2 changes too if you are coming from the v1.X series.
- Remove support for Sidekiq < 6.5 (sidekiq-cron#480)
- Require at least Fugit >= 1.11.1 (sidekiq-cron#475)
- Update how Redis values are stored on save (sidekiq-cron#479)
- Web extension: Add compatibility with Sidekiq 7.3+ and remove inline styles (sidekiq-cron#480)
- Remove support for old Redis (< 4.2) (sidekiq-cron#490)
- Ensure date_as_argument option can be set from true to false in Sidekiq Cron jobs (sidekiq-cron#485)
- Rename
enque!
toenqueue!
(sidekiq-cron#494) - Refactor gem configuration module (sidekiq-cron#495)
- Introduce
Namespacing
(sidekiq-cron#268) - Human readable cron format in UI (sidekiq-cron#445)
- Add Bahasa Indonesia locale (sidekiq-cron#446)
- Fetch queue name from ActiveJob class (sidekiq-cron#448)
- Allows symbol keys in
.load_from_array!
(sidekiq-cron#458) - Add natural language parsing mode (sidekiq-cron#459)
- Add ability to configure the past scheduled time threshold (sidekiq-cron#465)
- Docs: clarify worker vs process terminology (sidekiq-cron#453)
- Remove Sidekiq.server? check from schedule loader (sidekiq-cron#436)
- Parse arguments on
args=
method (sidekiq-cron#442) - Only check out a Redis connection if necessary (sidekiq-cron#438)
- Differentiates b/w "schedule" vs "dynamic" jobs (sidekiq-cron#431)
- Clears scheduled jobs upon schedule load (sidekiq-cron#431)
- Reduce gem size by excluding test files (sidekiq-cron#414)
- Use
hset
instead of deprecatedhmset
(sidekiq-cron#410)
- Remove EOL Ruby 2.6 support (sidekiq-cron#399)
- Add a logo for the project! (sidekiq-cron#402)
- Added support for ActiveRecord serialize/deserialize using GlobalID (sidekiq-cron#395)
- Allow for keyword args (
embedded: true
) in Poller (sidekiq-cron#398) - Make last_enqueue_time be always an instance of Time (sidekiq-cron#354)
- Fix argument error problem update from 1.6.0 to newer (sidekiq-cron#392)
- Clear old jobs while loading the jobs from schedule via the schedule loader (sidekiq-cron#405)
- Always enqueue via Active Job interface when defined in cron job config (sidekiq-cron#381)
- Fix schedule.yml YAML load errors on Ruby 3.1 (sidekiq-cron#386)
- Require Fugit v1.8 to refactor internals (sidekiq-cron#385)
- Sidekiq v7 support (sidekiq-cron#369)
- Add support for ERB templates in the auto schedule loader (sidekiq-cron#373)
- Fix deprecation warnings with redis-rb v4.8.0 (sidekiq-cron#356)
- Fix poller affecting Sidekiq scheduled set poller (sidekiq-cron#359)
- Fix default polling interval (sidekiq-cron#362)
- Add italian locale (sidekiq-cron#367)
- Allow disabling of cron polling (sidekiq-cron#368)
- Enable to use cron notation in natural language (ie
every 30 minutes
) (sidekiq-cron#312) - Fix
date_as_argument
feature to add timestamp argument at every cron job execution (sidekiq-cron#329) - Introduce
Sidekiq::Options
to centralize reading/writing options from different Sidekiq versions (sidekiq-cron#341) - Make auto schedule loading compatible with Array format (sidekiq-cron#345)
- Adds support for auto-loading the
config/schedule.yml
file (sidekiq-cron#337) - Fix
Sidekiq.options
deprecation warning (sidekiq-cron#338)
- Fixes an issue that prevented the gem to work in previous Sidekiq versions (sidekiq-cron#335)
- Integrate Sidekiq v6.5 breaking changes (sidekiq-cron#331)
- Add portuguese translations (sidekiq-cron#332)
- Fix buttons order in job show view (sidekiq-cron#302)
- Dark Mode support in UI (sidekiq-cron#282)
- Remove invocation of deprecated Redis functionality (sidekiq-cron#318)
- Internal code cleanup (sidekiq-cron#317)
- Optimize gem size (sidekiq-cron#322)
- Fix "Show All" button on cron jobs view with Sidekiq 6.3.0+ (sidekiq-cron#321)
- Documentation updates
- Add confirmation dialog when enquing jobs from UI
- Start to support Sidekiq
average_scheduled_poll_interval
option (replacedpoll_interval
) - Fix deprecation warning for Redis 4.6.x
- Fix different response from Redis#exists in different Redis versions
- All PRs:
- Updated readme
- Fix problem with Sidekiq::Launcher and requiring it when not needed
- Better patching of Sidekiq::Launcher
- Fixed Dockerfile
- Updated readme
- Fix unit tests - changed argument error when getting invalid cron format
- When fallbacking old job enqueued time use
Time.parse
without format (so Ruby can decide best method to parse it) - Add option
date_as_argument
which will add to your job arguments on last placeTime.now.to_f
when it was eneuqued - Add option
description
which will allow you to add notes to your jobs so in web view you can see it - Fixed translations
- Fix problem with upgrading to 1.0.x - parsing last enqued time didn't count with old time format stored in Redis
- Use fugit instead of rufus-scheduler - API of cron didn't change (rufus scheduler is using fugit)
- Better working with Timezones
- Translations for JA, zh-CN
- Cron without timezone are considered as UTC, to add Timezone to cron use format
* * * * * Europe/Berlin
- Be aware that this release can change when your jobs are enqueued (for me it didn't change but it is in one project, in other it can shift by different timezone setup)
- Set poller to check jobs every 30s by default (possible to override by
Sidekiq.options[:poll_interval] = 10
) - Add group actions (enqueue, enable, disable, delete) all in web view
- Fix poller to enqueu all jobs in poll start time
- Add performance test for enqueue of jobs (10 000 jobs in less than 19s)
- Fix problem with default queue
- Remove
redis-namespace
from dependencies - Update Ruby versions in Travis
- Add Docker support
- All crons are now evaluated in UTC
- Fix rufus scheduler & timezones problems
- Add support for Sidekiq 4.2.1
- Fix readme
- Add Russian locale
- User Rack.env in tests
- Faster enqueue of jobs
- Permit to use
ActiveJob::Base.queue_name_delimiter
- Fix problem with multiple times enqueue #84
- Fix problem with enqueue of unknown class
- Enable to work with Sidekiq >= 4.0.0
- Fix readme
- Add CSRF tags to forms so it will work with Sidekiq >= 3.4.2
- Remove Tilt dependency
- Support for Active Job
- Sidekiq cron web ui needs to be loaded by: require 'sidekiq/cron/web'
- Add load_from_hash! and load_from_array! which cleanup jobs before adding new ones