Bump sentry-rails, sentry-ruby and sentry-sidekiq
Bumps sentry-rails, sentry-ruby and sentry-sidekiq. These dependencies needed to be updated together.
Updates sentry-rails
from 4.9.2 to 5.0.0
Changelog
Sourced from sentry-rails's changelog.
5.0.0
Breaking Change - Goodbye
faraday
👋 TL;DR: If you are already on version
4.9
and do not useconfig.transport.http_adapter
andconfig.transport.faraday_builder
, you don't need to change anything.This version removes the dependency of faraday and replaces related implementation with the
Net::HTTP
standard library.Why?
Since the old
sentry-raven
SDK, we've been usingfaraday
as the HTTP client for years (see HTTPTransport). It's an amazing tool that saved us many work and allowed us to focus on SDK features.But because many users also use
faraday
themselves and have their own version requirements, managing this dependency has become harder over the past few years. Just to list a few related issues:And with the release of faraday 2.0, we could only imagine it getting even more difficult (which it kind of did, see #1663).
So we think it's time to say goodbye to it with this release.
What's changed?
By default, the SDK used
faraday
'snet_http
adapter, which is also built on top ofNet::HTTP
. So this change shouldn't impact most of the users.The only noticeable changes are the removal of 2 faraday-specific transport configurations:
config.transport.http_adapter
config.transport.faraday_builder
If you are already on version
4.9
and do not use those configuration options, it'll be as simple asbundle update
.What if I still want to use
faraday
to send my events?
sentry-ruby
already allows users to set a custom transport class with:Sentry.init do |config| config.transport.transport_class = MyTransportClass end
So to use a faraday-based transport, you can:
- Build a
FaradayTransport
like this:
... (truncated)
Commits
Updates sentry-ruby
from 4.9.2 to 5.0.0
Changelog
Sourced from sentry-ruby's changelog.
5.0.0
Breaking Change - Goodbye
faraday
👋 TL;DR: If you are already on version
4.9
and do not useconfig.transport.http_adapter
andconfig.transport.faraday_builder
, you don't need to change anything.This version removes the dependency of faraday and replaces related implementation with the
Net::HTTP
standard library.Why?
Since the old
sentry-raven
SDK, we've been usingfaraday
as the HTTP client for years (see HTTPTransport). It's an amazing tool that saved us many work and allowed us to focus on SDK features.But because many users also use
faraday
themselves and have their own version requirements, managing this dependency has become harder over the past few years. Just to list a few related issues:And with the release of faraday 2.0, we could only imagine it getting even more difficult (which it kind of did, see #1663).
So we think it's time to say goodbye to it with this release.
What's changed?
By default, the SDK used
faraday
'snet_http
adapter, which is also built on top ofNet::HTTP
. So this change shouldn't impact most of the users.The only noticeable changes are the removal of 2 faraday-specific transport configurations:
config.transport.http_adapter
config.transport.faraday_builder
If you are already on version
4.9
and do not use those configuration options, it'll be as simple asbundle update
.What if I still want to use
faraday
to send my events?
sentry-ruby
already allows users to set a custom transport class with:Sentry.init do |config| config.transport.transport_class = MyTransportClass end
So to use a faraday-based transport, you can:
- Build a
FaradayTransport
like this:
... (truncated)
Commits
Updates sentry-sidekiq
from 4.9.2 to 5.0.0
Changelog
Sourced from sentry-sidekiq's changelog.
5.0.0
Breaking Change - Goodbye
faraday
👋 TL;DR: If you are already on version
4.9
and do not useconfig.transport.http_adapter
andconfig.transport.faraday_builder
, you don't need to change anything.This version removes the dependency of faraday and replaces related implementation with the
Net::HTTP
standard library.Why?
Since the old
sentry-raven
SDK, we've been usingfaraday
as the HTTP client for years (see HTTPTransport). It's an amazing tool that saved us many work and allowed us to focus on SDK features.But because many users also use
faraday
themselves and have their own version requirements, managing this dependency has become harder over the past few years. Just to list a few related issues:And with the release of faraday 2.0, we could only imagine it getting even more difficult (which it kind of did, see #1663).
So we think it's time to say goodbye to it with this release.
What's changed?
By default, the SDK used
faraday
'snet_http
adapter, which is also built on top ofNet::HTTP
. So this change shouldn't impact most of the users.The only noticeable changes are the removal of 2 faraday-specific transport configurations:
config.transport.http_adapter
config.transport.faraday_builder
If you are already on version
4.9
and do not use those configuration options, it'll be as simple asbundle update
.What if I still want to use
faraday
to send my events?
sentry-ruby
already allows users to set a custom transport class with:Sentry.init do |config| config.transport.transport_class = MyTransportClass end
So to use a faraday-based transport, you can:
- Build a
FaradayTransport
like this:
... (truncated)
Commits
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts