Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6e9f47f
Drop `async` configuration (#1894)
st0012 Apr 26, 2024
710a2f9
Migrate from to_hash to to_h (#2351)
st0012 Jul 29, 2024
8bc301e
Fix specs after rebase
sl0thentr0py Oct 31, 2024
ed918ff
Add before_send_check_in (#2703)
sl0thentr0py Sep 18, 2025
6e39d31
Archive sentry-raven (#2708)
sl0thentr0py Sep 18, 2025
ed7a2db
Remove stacktrace trimming from the SDK (#2714)
sl0thentr0py Sep 23, 2025
519c24b
Default config.enabled_environments to nil instead of [] (#2716)
sl0thentr0py Sep 23, 2025
fe2ce71
Remove :monotonic_active_support_logger (#2717)
sl0thentr0py Sep 24, 2025
42059db
Add `config.trace_ignore_status_codes` to control which status codes …
sl0thentr0py Sep 26, 2025
a32604e
Merge remote-tracking branch 'origin/master' into 6.0-dev
sl0thentr0py Sep 26, 2025
912bc1b
Don't send client reports for profiles if profiling is disabled (#2728)
sl0thentr0py Sep 26, 2025
7ca11b0
Remove and and all metrics related code (#2729)
sl0thentr0py Sep 26, 2025
9afd9d1
Remove deprecated `config.capture_exception_frame_locals` (#2730)
sl0thentr0py Sep 26, 2025
7de03b3
Remove Transaction deprecations (#2736)
sl0thentr0py Oct 6, 2025
9a75d86
Remove deprecated Event#configuration (#2740)
sl0thentr0py Oct 7, 2025
328e1d2
Remove deprecated client methods (#2741)
sl0thentr0py Oct 7, 2025
22c900c
Bump required_ruby_version to 2.7 (#2743)
sl0thentr0py Oct 9, 2025
a484eca
Remove hub from Transaction#initialize (#2739)
sl0thentr0py Oct 9, 2025
3de3190
Move examples out of SDK (#2746)
sl0thentr0py Oct 9, 2025
4d9c5d1
Add new config.profiles_sample_interval (#2745)
sl0thentr0py Oct 13, 2025
d9034a0
Always set up the StructuredLogger and no-op capture_log_event if log…
sl0thentr0py Oct 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 0 additions & 33 deletions .github/workflows/prepare_raven_release.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,36 +31,6 @@ jobs:
ruby_version: ${{ fromJson(inputs.versions) }}
rails_version: [6.1.0, 7.0.0, 7.1.0]
include:
- ruby_version: "2.4"
rails_version: 5.0.0
- ruby_version: "2.4"
rails_version: 5.1.0
- ruby_version: "2.4"
rails_version: 5.2.0
- ruby_version: "2.5"
rails_version: 5.0.0
- ruby_version: "2.5"
rails_version: 5.1.0
- ruby_version: "2.5"
rails_version: 5.2.0
- ruby_version: "2.5"
rails_version: 6.0.0
- ruby_version: "2.5"
rails_version: 6.1.0
- ruby_version: "2.6"
rails_version: 5.0.0
- ruby_version: "2.6"
rails_version: 5.1.0
- ruby_version: "2.6"
rails_version: 5.2.0
- ruby_version: "2.6"
rails_version: 6.0.0
- ruby_version: "2.6"
rails_version: 6.1.0
- ruby_version: "2.7"
rails_version: 5.0.0
- ruby_version: "2.7"
rails_version: 5.1.0
- ruby_version: "2.7"
rails_version: 5.2.0
- ruby_version: "2.7"
Expand Down
69 changes: 0 additions & 69 deletions .github/workflows/sentry_raven_test.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ jobs:
ruby_version: ${{ fromJson(inputs.versions) }}
sidekiq_version: ["5.0", "6.5", "7.0"]
include:
- ruby_version: 2.4
sidekiq_version: 5.0
- ruby_version: 2.5
sidekiq_version: 5.0
- ruby_version: 2.5
sidekiq_version: 6.0
- ruby_version: 2.6
sidekiq_version: 5.0
- ruby_version: 2.6
sidekiq_version: 6.0
- ruby_version: jruby-9.4.12.0
sidekiq_version: 5.0
- ruby_version: jruby-9.4.12.0
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Gemfile.lock
.idea
*.rdb
.rgignore
.claude

node_modules
.vite
Expand Down
1 change: 0 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Style/RedundantFreeze:

AllCops:
Exclude:
- "sentry-raven/**/*"
- "sentry-*/tmp/**/*"
- "sentry-*/examples/**/*"
- "sentry-*/spec/versioned/2.7/**/*"
20 changes: 0 additions & 20 deletions .scripts/bump-version.rb

This file was deleted.

55 changes: 54 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@
## Unreleased (6.0.0)

### Breaking Changes

- Drop support for rubies below 2.7 [#2743](https://github.com/getsentry/sentry-ruby/pull/2743)
- Drop support for Rails below 5.2.0
- Drop support for Sidekiq below 5.0
- Remove deprecated `config.async` [#1894](https://github.com/getsentry/sentry-ruby/pull/1894)
- Remove deprecated `Sentry::Metrics` and `config.metrics` and all metrics related code ([#2729](https://github.com/getsentry/sentry-ruby/pull/2729))
- Remove deprecated `config.capture_exception_frame_locals`, use `include_local_variables` instead ([#2730](https://github.com/getsentry/sentry-ruby/pull/2730))
- Remove deprecated `config.enable_tracing`, use `config.traces_sample_rate = 1.0` instead ([#2731](https://github.com/getsentry/sentry-ruby/pull/2731))
- Remove deprecated `config.logger=`, use `config.sdk_logger=` instead ([#2732](https://github.com/getsentry/sentry-ruby/pull/2732))
- `Sentry.logger` now always points to the `StructuredLogger` ([#2752](https://github.com/getsentry/sentry-ruby/pull/2752))
- Remove deprecated `Sentry::Rails::Tracing::ActionControllerSubscriber` ([#2733](https://github.com/getsentry/sentry-ruby/pull/2733))
- Remove deprecated `Event#configuration` ([#2740](https://github.com/getsentry/sentry-ruby/pull/2740))
- Remove deprecated `Sentry::Client#generate_sentry_trace` and `Sentry::Client#generate_baggage` ([#2741](https://github.com/getsentry/sentry-ruby/pull/2741))
- Remove `Transaction` deprecations ([#2736](https://github.com/getsentry/sentry-ruby/pull/2736))
- Remove deprecated constant `Sentry::Transaction::SENTRY_TRACE_REGEXP`, use `Sentry::PropagationContext::SENTRY_TRACE_REGEXP` instead
- Remove deprecated method `Sentry::Transaction.from_sentry_trace`, use `Sentry.continue_trace` instead
- Remove deprecated method `Sentry::Transaction.extract_sentry_trace`, use `Sentry::PropagationContext.extract_sentry_trace` instead
- Remove deprecated attribute `Sentry::Transaction.configuration`
- Remove deprecated attribute `Sentry::Transaction.hub`
- Remove deprecated argument `hub` to `Sentry::Transaction.finish`
- Remove deprecated argument `hub` to `Sentry::Transaction#initialize` ([#2739](https://github.com/getsentry/sentry-ruby/pull/2739))
- Remove `:monotonic_active_support_logger` from `config.breadcrumbs_logger` ([#2717](https://github.com/getsentry/sentry-ruby/pull/2717))
- Migrate from to_hash to to_h ([#2351](https://github.com/getsentry/sentry-ruby/pull/2351))
- Add `before_send_check_in` for applying to `CheckInEvent` ([#2703](https://github.com/getsentry/sentry-ruby/pull/2703))
- Returning a hash from `before_send` and `before_send_transaction` is no longer supported and will drop the event.
- Remove stacktrace trimming ([#2714](https://github.com/getsentry/sentry-ruby/pull/2714))
- `config.enabled_environments` now defaults to `nil` instead of `[]` for sending to all environments ([#2716](https://github.com/getsentry/sentry-ruby/pull/2716))
- Requests which have response status codes in the inclusive ranges `[(301..303), (305..399), (401..404)]` will no longer create transactions by default. See `config.trace_ignore_status_codes` below to control what gets traced.

### Features

- Add `config.trace_ignore_status_codes` to control which response codes to ignore for tracing ([#2725](https://github.com/getsentry/sentry-ruby/pull/2725))

You can pass in an Array of individual status codes or ranges of status codes.

```ruby
Sentry.init do |config|
# ...
# will ignore 404, 501, 502, 503
config.trace_ignore_status_codes = [404, (501..503)]
end
```
- Add `config.profiles_sample_interval` to control sampling frequency ([#2745](https://github.com/getsentry/sentry-ruby/pull/2745))
- Both `stackprof` and `vernier` now get sampled at a default frequency of 101 Hz.

### Internal

- Archive [`sentry-raven`](https://github.com/getsentry/raven-ruby) ([#2708](https://github.com/getsentry/sentry-ruby/pull/2708))
- Don't send `sample_rate` client reports for profiles if profiling is disabled ([#2728](https://github.com/getsentry/sentry-ruby/pull/2728))

## 5.28.0

### Features
Expand All @@ -7,7 +60,7 @@
### Miscellaneous

- Deprecate all Metrics related APIs [#2726](https://github.com/getsentry/sentry-ruby/pull/2726)

Sentry [no longer has the Metrics Beta offering](https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th) so
all the following APIs linked to Metrics have been deprecated and will be removed in the next major.

Expand Down
20 changes: 5 additions & 15 deletions Gemfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ gem "rake", "~> 12.0"
ruby_version = Gem::Version.new(RUBY_VERSION)

# Development tools
if ruby_version >= Gem::Version.new("2.7.0")
gem "debug", github: "ruby/debug", platform: :ruby
gem "irb"
end

if ruby_version >= Gem::Version.new("2.5")
gem "cgi"
end
gem "debug", github: "ruby/debug", platform: :ruby
gem "irb"
gem "cgi"

if ruby_version >= Gem::Version.new("3.4")
gem "drb"
Expand All @@ -40,13 +35,8 @@ gem "simplecov"

# Do not change it without checking that `CI=true COVERAGE=true bundle exec rake`
# passes in all projects
if ruby_version >= Gem::Version.new("2.5")
gem "rexml", "3.4.1"
gem "simplecov-cobertura", "~> 3.0"
else
gem "rexml", "3.2.5"
gem "simplecov-cobertura", "~> 1.4.0"
end
gem "rexml", "3.4.1"
gem "simplecov-cobertura", "~> 3.0"

group :rubocop do
gem "rubocop-rails-omakase"
Expand Down
6 changes: 2 additions & 4 deletions sentry-delayed_job/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gem "sentry-rails", path: "../sentry-rails"
gem "delayed_job"
gem "delayed_job_active_record"

gem "rails", "> 5.0.0"
gem "rails", "> 5.2.0"

platform :jruby do
gem "activerecord-jdbcmysql-adapter"
Expand All @@ -22,9 +22,7 @@ end

ruby_version = Gem::Version.new(RUBY_VERSION)

if ruby_version < Gem::Version.new("2.5.0")
gem "sqlite3", "~> 1.3.0", platform: :ruby
elsif ruby_version < Gem::Version.new("3.0.0")
if ruby_version < Gem::Version.new("3.0.0")
gem "sqlite3", "~> 1.6.0", platform: :ruby
elsif ruby_version >= Gem::Version.new("3.0.0") && ruby_version < Gem::Version.new("3.1.0")
gem "sqlite3", "~> 1.7.0", platform: :ruby
Expand Down
12 changes: 0 additions & 12 deletions sentry-delayed_job/example/Gemfile

This file was deleted.

67 changes: 0 additions & 67 deletions sentry-delayed_job/example/app.rb

This file was deleted.

Loading