Skip to content

Commit 368e00b

Browse files
committed
Update CHANGELOG.md
1 parent d6d7478 commit 368e00b

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
### Bug Fixes
2020

2121
- Handle empty frames case gracefully with local vars ([#2807](https://github.com/getsentry/sentry-ruby/pull/2807))
22+
- Handle more extra attribute types when using `extra` attributes for structured logging ([#2815](https://github.com/getsentry/sentry-ruby/pull/2815))
23+
```ruby
24+
# This now works too and the nested hash is dumped to JSON string
25+
Sentry.logger.info("Hello World", extra: { today: Date.today, user_id: user.id })
26+
```
2227

2328
## 6.2.0
2429

@@ -529,7 +534,6 @@
529534
- Use `Concurrent.available_processor_count` instead of `Concurrent.usable_processor_count` ([#2358](https://github.com/getsentry/sentry-ruby/pull/2358))
530535

531536
- Support for tracing Faraday requests ([#2345](https://github.com/getsentry/sentry-ruby/pull/2345))
532-
533537
- Closes [#1795](https://github.com/getsentry/sentry-ruby/issues/1795)
534538
- Please note that the Faraday instrumentation has some limitations in case of async requests: <https://github.com/lostisland/faraday/issues/1381>
535539

@@ -552,7 +556,6 @@
552556
```
553557

554558
- Transaction data are now included in the context ([#2365](https://github.com/getsentry/sentry-ruby/pull/2365))
555-
556559
- Closes [#2363](https://github.com/getsentry/sentry-ruby/issues/2363)
557560

558561
- Inject Sentry meta tags in the Rails application layout automatically in the generator ([#2369](https://github.com/getsentry/sentry-ruby/pull/2369))
@@ -666,7 +669,6 @@
666669
- Fix warning about default gems on Ruby 3.3.0 ([#2225](https://github.com/getsentry/sentry-ruby/pull/2225))
667670
- Add `hint:` support to `Sentry::Rails::ErrorSubscriber` [#2235](https://github.com/getsentry/sentry-ruby/pull/2235)
668671
- Add [Metrics](https://docs.sentry.io/product/metrics/) support
669-
670672
- Add main APIs and `Aggregator` thread [#2247](https://github.com/getsentry/sentry-ruby/pull/2247)
671673
- Add `Sentry::Metrics.timing` API for measuring block duration [#2254](https://github.com/getsentry/sentry-ruby/pull/2254)
672674
- Add metric summaries on spans [#2255](https://github.com/getsentry/sentry-ruby/pull/2255)
@@ -826,7 +828,6 @@
826828
- Improve default slug generation for Crons [#2168](https://github.com/getsentry/sentry-ruby/pull/2168)
827829
- Change release name generator to use full SHA commit hash and align with `sentry-cli` and other Sentry SDKs [#2174](https://github.com/getsentry/sentry-ruby/pull/2174)
828830
- Automatic Crons support for scheduling gems
829-
830831
- Add support for [`sidekiq-cron`](https://github.com/sidekiq-cron/sidekiq-cron) [#2170](https://github.com/getsentry/sentry-ruby/pull/2170)
831832
832833
You can opt in to the `sidekiq-cron` patch and we will automatically monitor check-ins for all jobs listed in your `config/schedule.yml` file.
@@ -882,7 +883,6 @@
882883
- Adopt Rails 7.1's new BroadcastLogger [#2120](https://github.com/getsentry/sentry-ruby/pull/2120)
883884
- Support sending events after all retries were performed (sentry-resque) [#2087](https://github.com/getsentry/sentry-ruby/pull/2087)
884885
- Add [Cron Monitoring](https://docs.sentry.io/product/crons/) support
885-
886886
- Add `Sentry.capture_check_in` API for Cron Monitoring [#2117](https://github.com/getsentry/sentry-ruby/pull/2117)
887887
888888
You can now track progress of long running scheduled jobs.
@@ -965,7 +965,6 @@
965965
```
966966

967967
- Tracing without Performance
968-
969968
- Implement `PropagationContext` on `Scope` and add `Sentry.get_trace_propagation_headers` API [#2084](https://github.com/getsentry/sentry-ruby/pull/2084)
970969
- Implement `Sentry.continue_trace` API [#2089](https://github.com/getsentry/sentry-ruby/pull/2089)
971970

@@ -1052,7 +1051,6 @@
10521051
```
10531052

10541053
Some implementation caveats:
1055-
10561054
- Profiles are sampled **relative** to traces, so if both rates are 0.5, we will capture 0.25 of all requests.
10571055
- Profiles are only captured for code running within a transaction.
10581056
- Profiles for multi-threaded servers like `puma` might not capture frames correctly when async I/O is happening. This is a `stackprof` limitation.
@@ -1137,7 +1135,6 @@
11371135
- Expose `end_timestamp` in `Span#finish` and `Transaction#finish` [#1946](https://github.com/getsentry/sentry-ruby/pull/1946)
11381136
- Add `Transaction#set_context` api [#1947](https://github.com/getsentry/sentry-ruby/pull/1947)
11391137
- Add OpenTelemetry support with new `sentry-opentelemetry` gem
1140-
11411138
- Add `config.instrumenter` to switch between `:sentry` and `:otel` instrumentation [#1944](https://github.com/getsentry/sentry-ruby/pull/1944)
11421139

11431140
The new `sentry-opentelemetry` gem adds support to automatically integrate OpenTelemetry performance tracing with Sentry. [Give it a try](https://github.com/getsentry/sentry-ruby/tree/master/sentry-opentelemetry#getting-started) and let us know if you have any feedback or problems with using it.
@@ -1157,7 +1154,6 @@
11571154
```
11581155

11591156
- Use `Sentry.with_child_span` in redis and net/http instead of `span.start_child` [#1920](https://github.com/getsentry/sentry-ruby/pull/1920)
1160-
11611157
- This might change the nesting of some spans and make it more accurate
11621158
- Followup fix to set the sentry-trace header in the correct place [#1922](https://github.com/getsentry/sentry-ruby/pull/1922)
11631159

@@ -1186,14 +1182,12 @@
11861182
### Features
11871183

11881184
- Support rack 3 [#1884](https://github.com/getsentry/sentry-ruby/pull/1884)
1189-
11901185
- We no longer need the `HTTP_VERSION` check for ignoring the header
11911186

11921187
- Add [Dynamic Sampling](https://docs.sentry.io/product/sentry-basics/sampling/) support
11931188
The SDK now supports Sentry's Dynamic Sampling product.
11941189

11951190
Note that this is not supported for users still using the `config.async` option.
1196-
11971191
- Parse incoming [W3C Baggage Headers](https://www.w3.org/TR/baggage/) and propagate them to continue traces [#1869](https://github.com/getsentry/sentry-ruby/pull/1869)
11981192
- in all outgoing requests in our net/http patch
11991193
- in Sentry transactions as [Dynamic Sampling Context](https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/)
@@ -1229,7 +1223,6 @@
12291223
- Expose `:values` in `ExceptionInterface`, so that it can be accessed in `before_send` under `event.exception.values` [#1843](https://github.com/getsentry/sentry-ruby/pull/1843)
12301224

12311225
- Add top level `Sentry.close` API [#1844](https://github.com/getsentry/sentry-ruby/pull/1844)
1232-
12331226
- Cleans up SDK state and sets it to uninitialized
12341227
- No-ops all SDK APIs and also disables the transport layer, so nothing will be sent to Sentry after closing the SDK
12351228

@@ -1391,7 +1384,6 @@ end
13911384
- Check envelope size before sending it [#1747](https://github.com/getsentry/sentry-ruby/pull/1747)
13921385

13931386
The SDK will now check if the envelope's event items are oversized before sending the envelope. It goes like this:
1394-
13951387
1. If an event is oversized (200kb), the SDK will remove its breadcrumbs (which in our experience is the most common cause).
13961388
2. If the event size now falls within the limit, it'll be sent.
13971389
3. Otherwise, the event will be thrown away. The SDK will also log a debug message about the event's attributes size (in bytes) breakdown. For example,
@@ -1710,7 +1702,6 @@ When `config.send_default_pii` is set as `true`, `:http_logger` will include que
17101702
### Features
17111703

17121704
- Support exception frame's local variable capturing
1713-
17141705
- [#1580](https://github.com/getsentry/sentry-ruby/pull/1580)
17151706
- [#1589](https://github.com/getsentry/sentry-ruby/pull/1589)
17161707

0 commit comments

Comments
 (0)