diff --git a/CHANGELOG.md b/CHANGELOG.md index d3c41c2..ce8cff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,13 @@ -## Unreleased +## 2.2.0 * Fix severity numbers sent with `opentelemetry-exporter-otlp-logs` >= 0.7.0 (Ruby levels were sent instead of OpenTelemetry levels). + * See [#119](https://github.com/scoutapp/scout_apm_ruby_logging/pull/119). * Remove the OTLP exporter monkey patch; severity is now mapped when the log is emitted. * Replace the [#114](https://github.com/scoutapp/scout_apm_ruby_logging/pull/114) guard with a small `LogRecordData` shim, so mismatched `opentelemetry-exporter-otlp-logs` / `opentelemetry-logs-sdk` versions no longer drop logs. * Declare `opentelemetry-logs-api` as a direct dependency. * Fix `logger.unknown` raising `NameError`; it is now sent as FATAL. +* Fix logging text that isn't valid UTF-8 raising an error; invalid bytes are now replaced. Thanks @rpearce! + * See [#120](https://github.com/scoutapp/scout_apm_ruby_logging/pull/120). +* Add release workflow for publishing to RubyGems with trusted publishing. ## 2.1.1 * Fix all logs being dropped with `opentelemetry-logs-sdk` >= 0.7.0. Thanks @rpearce! diff --git a/lib/scout_apm/logging/version.rb b/lib/scout_apm/logging/version.rb index 676f0f6..a5f72bb 100644 --- a/lib/scout_apm/logging/version.rb +++ b/lib/scout_apm/logging/version.rb @@ -2,6 +2,6 @@ module ScoutApm module Logging - VERSION = '2.1.1' + VERSION = '2.2.0' end end