mperham--sidekiq/docs/Pro-7.0-Upgrade.md

33 lines
1.2 KiB
Markdown
Raw Normal View History

2022-10-21 18:42:57 +00:00
# Welcome to Sidekiq Pro 7.0
2022-09-01 17:12:30 +00:00
2022-10-21 18:42:57 +00:00
Sidekiq Pro 7.0 contains some breaking changes which refactor internals, remove deprecated features and update required dependency versions.
Note that version 6.x was skipped in order to synchronize Sidekiq Pro's major version number with Sidekiq 7.
2022-09-01 17:12:30 +00:00
## What's New
### Refactoring internals
Sidekiq 7.0's new Embedding support required substantial refactoring of Pro internals.
I've tried to maintain compatibility where possible.
### Remove statsd
The `statsd-ruby` gem doesn't see much maintenance these days whereas the `dogstatsd-ruby` gem is active and still adding features.
For this reason, statsd support has been removed and the configuration method has changed slightly:
```ruby
Sidekiq::Pro.dogstatsd = -> { Datadog::Statsd.new("localhost", 8125) } # old way
Sidekiq.configure_server do |config|
config.dogstatsd = -> { Datadog::Statsd.new("localhost", 8125) } # new way
end
```
## Version Support
- Redis 6.2+ is now required
- Ruby 2.7+ is now required
- Rails 6.0+ is now supported
2022-10-21 18:42:57 +00:00
Support is only guaranteed for the current and previous major versions. With the release of Sidekiq Pro 7, Sidekiq Pro 4.x is no longer supported.