- Allow configuration option
require_confirm_prompt_message
to accept a Proc or Ruby callable object. - Alert with error if challenge keyword is incorrect.
- Add configuration option for
require_confirm_prompt_message
to prompt user to input a challenge keyword when attempting to run workers that require confirmation.
- Add configuration option for
require_confirm_worker_names
to specify worker class names that require confirmation to run.
- Sort job classes alphabetically in web view
- Support keyword arguments for ActiveJob#perform
- Fix #perform parameters lookup when a job has prepended module and also inherits a class, eg. ActiveJob implementations
- Fix typos in README
Official release.
- Support Ruby 3.
Prelease for v2.0.0.
- Support Ruby 3.
- Update README for new option for
strategy
. - Update README for usage of rest arguments in Web UI.
- Update README for new option for
strategy
. - Update README for usage of rest arguments in Web UI.
- Update dependency versions
- sidekiq: constraint to < 7, supports Sidekiq 6
- Update dependency versions
- ruby: constraint to < 2.7.x, more work required to check for 2.7.x compatibility
- sidekiq: constraint to < 5, more work required to check for 6 compatibility
- rspec: update to latest 3.10.0
- mock_redis: update to latest 0.26.0
- [Web UI] Temporarily remove required constraint for rest arguments.
- [Rails] Support ApplicationJob strategy.
- Allow empty values for optional arguments in the web UI.
- If empty values are sent, do not pass them to the worker, so that default values will be used instead.
- Note: if the default value is non-empty, it's not possible to set an empty value.
- Support ActiveJob worker classes loading.
- Add configuration option for
load_paths
to specify worker class files loading. - Job params from the adhoc job schedule web UI are deep symbolized.
- Minor updates to adhoc job schedule web UI:
- Display worker class name.
- Detailed description for rest arguments input.
- Improve worker class loading so that it doesn't display deprecation warning (eg.
warning: constant ::Fixnum is deprecated
) when using Ruby 2.6 - Updated configuration options:
module_names
is no longer required.
- Fix worker class loading to check for included module
Sidekiq::Worker
, instead of relying on regex match on the class name- Now it can detect class names containing all capital letters, eg.
CSVWorker
- Now it doesn't need to rely on the class names containing
Worker
suffix - Now it doesn't wrongly load a class whose name ends with
Worker
, but isn't actually a Sidekiq worker
- Now it can detect class names containing all capital letters, eg.
- Fix parameters inference for workers with prepended modules
- Create a separate class inspector util that recursively gets super class method parameters
- Add support for
nil
and JSON string parsing
- Fix adhoc job trigger form to take all arguments as required input
- There is no easy way to figure out at runtime what are the default values of optional arguments, so we will always ask for all argument values
- Fix gemspec to include
*.erb
and*.yml
files
- Fix worker classes loading logic
- Instead of reading files and guessing the worker class names, use
.constants
to get actual worker class names - Configuration of the modules to read from required, eg.
[:'YourProject::YourWorkerNamespace']
will read any worker class defined withinYourProject::YourWorkerNamespace
namespace
- Instead of reading files and guessing the worker class names, use
- Setup Travis CI
Initial release. Features include:
- Add
Adhoc Jobs
tab to Sidekiq Web UI - Read worker files defined in the configuration and display a list of workers and their respective required and optional arguments
- Allow triggering a job with arguments from the Web UI, it will always be run asynchronously
- Basic argument parsing:
- integer string to integer
- float string to float
- true/false string to boolean
- string as-is
- Test cases for:
- Configuration and initialization
- UI view presenter
- Adhoc job scheduling service
- Adhoc Jobs Web UI actions
- List jobs
- List Job
- Trigger Job