Upgrading sidekiq 1 to 2
Unknown1.2.1 → 2.17.8
Fetching 59 releases from GitHub…0 / 59
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Requires Ruby >= 0 from 2.17.8 (none stated before).
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- added:
class Class - added:
class Hash - added:
class String - added:
const Sidekiq.LICENSE - added:
const Sidekiq.NAME - added:
method Class.class_attribute(*) - added:
method Hash.deep_merge!(_) - added:
method Hash.deep_merge(_) - added:
method Hash.stringify_keys() - added:
method Hash.symbolize_keys() - added:
method Sidekiq.self(_) - added:
method String.constantize() - added:
static method Sidekiq.default_worker_options() - added:
static set Sidekiq.default_worker_options(_) - added:
static set Sidekiq.logger(_) - added:
static set Sidekiq.poll_interval(_)
- removed:
class SprocketsMiddleware - removed:
const Retry.DELAY - removed:
const Retry.MAX_COUNT - removed:
const Retry.POLL_INTERVAL - removed:
constructor SprocketsMiddleware(_, _ = …) - removed:
method Processor.to_s() - removed:
method SprocketsMiddleware.call(_) - removed:
method Util.constantize(_) - removed:
module Retry - removed:
property CLI.manager: accessor - removed:
static method Client.default_middleware() - removed:
static method Fetcher.done!() - removed:
static method Fetcher.done?() - changed:
method Manager.assign(_, _) → method Manager.assign(_) - changed:
method Processor.process(_, _) → method Processor.process(_) - added:
class BasicFetch - added:
class EmptyQueueError < RuntimeError - added:
class Job - added:
class Launcher - added:
class Queue - added:
class RetrySet < SortedSet - added:
class ScheduledSet < SortedSet - added:
class Shutdown < Interrupt - added:
class SortedEntry < Job - added:
class SortedSet - added:
class Stats - added:
class Testing - added:
class Workers - added:
const Manager.SPIN_TIME_FOR_GRACEFUL_SHUTDOWN - added:
const Processor.NEED_DEFER - added:
const Processor.SINGLETON_CLASSES - added:
const Processor.STATS_TIMEOUT - added:
const Scheduled.POLL_INTERVAL - added:
const Web.DEFAULT_TABS - added:
const Web.REDIS_KEYS - added:
constructor BasicFetch(_) - added:
constructor Job(_, _ = …) - added:
constructor Launcher(_) - added:
constructor Queue(_ = …) - added:
constructor RetrySet() - added:
constructor ScheduledSet() - added:
constructor SortedEntry(_, _, _) - added:
constructor SortedSet(_) - added:
method BasicFetch.queues_cmd() - added:
method BasicFetch.retrieve_work() - added:
method Client.middleware() - added:
method Client.push(_) - added:
method Client.push_bulk(_) - added:
method Client.raw_push(_) - added:
method ExceptionHandler.handle_exception(_, _ = …) - added:
method Job.[](_) - added:
method Job.args() - added:
method Job.delete() - added:
method Job.enqueued_at() - added:
method Job.jid() - added:
method Job.klass() - added:
method Job.latency() - added:
method Job.queue() - added:
method Launcher.actor_died(_, _) - added:
method Launcher.procline(_) - added:
method Launcher.run() - added:
method Launcher.stop() - added:
method Manager.clean_up_for_graceful_shutdown() - added:
method Manager.procline(_) - added:
method Manager.real_thread(_, _) - added:
method Paginator.page(_, _ = …, _ = …, _ = …) - added:
method Queue.clear() - added:
method Queue.each() - added:
method Queue.find_job(_) - added:
method Queue.latency() - added:
method Queue.size() - added:
method RetrySet.retry_all() - added:
method SortedEntry.add_to_queue() - added:
method SortedEntry.at() - added:
method SortedEntry.delete() - added:
method SortedEntry.reschedule(_) - added:
method SortedEntry.retry() - added:
method SortedSet.clear() - added:
method SortedSet.delete(_, _ = …) - added:
method SortedSet.each() - added:
method SortedSet.fetch(_, _ = …) - added:
method SortedSet.find_job(_) - added:
method SortedSet.schedule(_, _) - added:
method SortedSet.size() - added:
method Stats.enqueued() - added:
method Stats.failed() - added:
method Stats.processed() - added:
method Stats.queues() - added:
method Stats.reset(*) - added:
method Stats.retry_size() - added:
method Stats.scheduled_size() - added:
method Util.hostname() - added:
method WebHelpers.current_path() - added:
method WebHelpers.current_status() - added:
method WebHelpers.filtering(*) - added:
method WebHelpers.get_locale() - added:
method WebHelpers.locale() - added:
method WebHelpers.location() - added:
method WebHelpers.namespace() - added:
method WebHelpers.redis_connection() - added:
method WebHelpers.relative_time(_) - added:
method WebHelpers.reset_worker_list() - added:
method WebHelpers.retries_with_score(_) - added:
method WebHelpers.root_path() - added:
method WebHelpers.stats() - added:
method WebHelpers.strings() - added:
method WebHelpers.t(_, _ = …) - added:
method WebHelpers.workers() - added:
method WebHelpers.workers_size() - added:
method Workers.each() - added:
method Workers.prune(_ = …) - added:
method Workers.size() - added:
module Actor - added:
module ExceptionHandler - added:
module Paginator - added:
module Scheduled - added:
module WebHelpers - added:
property CLI.environment: accessor - added:
property CLI.launcher: accessor - added:
property Fetcher.down: reader - added:
property Job.item: reader - added:
property Launcher.fetcher: reader - added:
property Launcher.manager: reader - added:
property Launcher.poller: reader - added:
property Manager.busy: reader - added:
property Manager.fetcher: accessor - added:
property Manager.ready: reader - added:
property Processor.proxy_id: accessor - added:
property Queue.name: reader - added:
property SortedEntry.score: reader - added:
property SortedSet.name: reader - added:
property Worker.jid: accessor - added:
static method BasicFetch.bulk_requeue(_, _) - added:
static method Client.default() - added:
static method Client.enqueue_in(_, _, *) - added:
static method Client.enqueue_to(_, _, *) - added:
static method Client.enqueue_to_in(_, _, _, *) - added:
static method Client.push_bulk(_) - added:
static method Logging.initialize_logger(_ = …) - added:
static method Logging.reopen_logs() - added:
static method Queue.all() - added:
static method Testing.__set_test_mode(_) - added:
static method Testing.disable!() - added:
static method Testing.disabled?() - added:
static method Testing.enabled?() - added:
static method Testing.fake!() - added:
static method Testing.fake?() - added:
static method Testing.inline!() - added:
static method Testing.inline?() - added:
static method Web.custom_tabs() - added:
static method Web.default_tabs() - added:
static method Web.tabs() - added:
static method Worker.clear_all() - added:
static method Worker.drain_all() - added:
static method Worker.jobs() - added:
static property Testing.__test_mode: accessor
- added:
method ClassMethods.new_link(*) - added:
method ClassMethods.trap_exit(*) - added:
method InstanceMethods.after(_) - added:
method InstanceMethods.alive?() - added:
method InstanceMethods.current_actor() - added:
method InstanceMethods.defer() - added:
method InstanceMethods.terminate() - added:
module ClassMethods - added:
module InstanceMethods
- added:
class UnitOfWork < Struct.new(:queue, :message) - added:
method UnitOfWork.acknowledge() - added:
method UnitOfWork.queue_name() - added:
method UnitOfWork.requeue()
- changed:
class Proxy < (RUBY_VERSION < '1.9' ? Object : BasicObject) → class Proxy < BasicObject - changed:
constructor Proxy(_, _) → constructor Proxy(_, _, _ = …) - changed:
method ActionMailer.delay() → method ActionMailer.delay(_ = …) - changed:
method ActiveRecord.delay() → method ActiveRecord.delay(_ = …) - added:
class DelayedClass - added:
method ActionMailer.delay_for(_, _ = …) - added:
method ActionMailer.delay_until(_, _ = …) - added:
method ActionMailer.sidekiq_delay(_ = …) - added:
method ActionMailer.sidekiq_delay_for(_, _ = …) - added:
method ActionMailer.sidekiq_delay_until(_, _ = …) - added:
method ActiveRecord.delay_for(_, _ = …) - added:
method ActiveRecord.delay_until(_, _ = …) - added:
method ActiveRecord.sidekiq_delay(_ = …) - added:
method ActiveRecord.sidekiq_delay_for(_, _ = …) - added:
method ActiveRecord.sidekiq_delay_until(_, _ = …) - added:
method DelayedClass.perform(_) - added:
method Klass.delay(_ = …) - added:
method Klass.delay_for(_, _ = …) - added:
method Klass.delay_until(_, _ = …) - added:
method Klass.sidekiq_delay(_ = …) - added:
method Klass.sidekiq_delay_for(_, _ = …) - added:
method Klass.sidekiq_delay_until(_, _ = …) - added:
module Klass
- removed:
module Client - added:
method Chain.each() - added:
method Chain.insert_after(_, _, *) - added:
method Chain.insert_before(_, _, *) - added:
module I18n
- removed:
class UniqueJobs - removed:
const UniqueJobs.HASH_KEY_EXPIRATION - removed:
method UniqueJobs.call(_, _, _)
- added:
class Client - added:
class Server - added:
method Client.call(_, _, _) - added:
method Server.call(_, _, _)
- removed:
class ExceptionHandler - removed:
class FailureJobs - removed:
class Timeout - removed:
class UniqueJobs - removed:
method ExceptionHandler.call(*) - removed:
method FailureJobs.call(*) - removed:
method Timeout.call(_, _, _) - removed:
method UniqueJobs.call(*) - changed:
method Logging.call(*) → method Logging.call(_, _, _) - added:
const RetryJobs.DEFAULT_MAX_RETRY_ATTEMPTS - added:
constructor RetryJobs(_ = …)
- removed:
class Poller - removed:
method Poller.poll()
- added:
class Poller - added:
const Poller.SETS - added:
method Poller.poll(_ = …)
- added:
class History - added:
constructor History(_, _ = …) - added:
method History.failed() - added:
method History.processed()
- removed:
method ClassMethods.perform_async_old() - removed:
method ClassMethods.perform_async_old(*) - removed:
method ClassMethods.stringify_keys(_) - added:
method ClassMethods.clear() - added:
method ClassMethods.client_push(_) - added:
method ClassMethods.perform_at(_, *) - added:
method ClassMethods.perform_in(_, *) - added:
method ClassMethods.perform_one() - added:
method ClassMethods.sidekiq_retries_exhausted() - added:
method ClassMethods.sidekiq_retry_in()