From c1810255c9e36f1c369d94332848b41b3b0ff508 Mon Sep 17 00:00:00 2001 From: Noemi <45180344+unflxw@users.noreply.github.com> Date: Fri, 17 Jan 2025 15:06:29 +0100 Subject: [PATCH] Publish package v4.3.3 Update version number and CHANGELOG.md. --- .changesets/add-support-for-ownership-gem.md | 22 ------------ ...ption--errors-from-our-rake-integration.md | 6 ---- ...mexit--errors-from-our-rake-integration.md | 6 ---- .../fix-deprecation-warnings-at-build-time.md | 6 ---- CHANGELOG.md | 35 +++++++++++++++++++ lib/appsignal/version.rb | 2 +- 6 files changed, 36 insertions(+), 41 deletions(-) delete mode 100644 .changesets/add-support-for-ownership-gem.md delete mode 100644 .changesets/do-not-report--signalexception--errors-from-our-rake-integration.md delete mode 100644 .changesets/do-not-report--systemexit--errors-from-our-rake-integration.md delete mode 100644 .changesets/fix-deprecation-warnings-at-build-time.md diff --git a/.changesets/add-support-for-ownership-gem.md b/.changesets/add-support-for-ownership-gem.md deleted file mode 100644 index 4fb7c1824..000000000 --- a/.changesets/add-support-for-ownership-gem.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -bump: patch -type: add ---- - -Add support for the [Ownership](https://github.com/ankane/ownership) gem, which is used to mark different segments of the application as owned by specific teams. - -The AppSignal sample will be tagged with the given owner: - -```ruby -class OrdersController < ApplicationController - owner :logistics - # Transactions for requests handled by this controller will be tagged - # in AppSignal with the "owner" tag set to "logistics" -end -``` - -If several owners are set within the same transaction, the last owner will take precedence. If an error is reported in the transaction, the owner tag will be set to the owner that was set when the error was raised. - -Set the [`ownership_set_namespace` configuration option](https://docs.appsignal.com/ruby/configuration/options.html#option-ownership_set_namespace) to `true` to also set the AppSignal sample's namespace to the owner. Note that doing so will cause existing performance and error incidents to be re-created with the new namespace. - -Set the [`instrument_ownership` configuration option](https://docs.appsignal.com/ruby/configuration/options.html#option-instrument_ownership) to `false` to disable the integration with the Ownership gem. diff --git a/.changesets/do-not-report--signalexception--errors-from-our-rake-integration.md b/.changesets/do-not-report--signalexception--errors-from-our-rake-integration.md deleted file mode 100644 index 37938f2d4..000000000 --- a/.changesets/do-not-report--signalexception--errors-from-our-rake-integration.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -bump: patch -type: change ---- - -Do not report `SignalException` errors from our Rake integration. diff --git a/.changesets/do-not-report--systemexit--errors-from-our-rake-integration.md b/.changesets/do-not-report--systemexit--errors-from-our-rake-integration.md deleted file mode 100644 index dd9f5604b..000000000 --- a/.changesets/do-not-report--systemexit--errors-from-our-rake-integration.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -bump: patch -type: change ---- - -Do not report `SystemExit` errors from our Rake integration. diff --git a/.changesets/fix-deprecation-warnings-at-build-time.md b/.changesets/fix-deprecation-warnings-at-build-time.md deleted file mode 100644 index b3705e43d..000000000 --- a/.changesets/fix-deprecation-warnings-at-build-time.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -bump: patch -type: fix ---- - -Fix deprecation warnings when building the AppSignal gem's native extension on Ruby 3.4, by porting the extension to use the TypedData API. diff --git a/CHANGELOG.md b/CHANGELOG.md index f07616998..ab9b75664 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,40 @@ # AppSignal for Ruby gem Changelog +## 4.3.3 + +_Published on 2025-01-17._ + +### Added + +- Add support for the [Ownership](https://github.com/ankane/ownership) gem, which is used to mark different segments of the application as owned by specific teams. + + The AppSignal sample will be tagged with the given owner: + + ```ruby + class OrdersController < ApplicationController + owner :logistics + # Transactions for requests handled by this controller will be tagged + # in AppSignal with the "owner" tag set to "logistics" + end + ``` + + If several owners are set within the same transaction, the last owner will take precedence. If an error is reported in the transaction, the owner tag will be set to the owner that was set when the error was raised. + + Set the [`ownership_set_namespace` configuration option](https://docs.appsignal.com/ruby/configuration/options.html#option-ownership_set_namespace) to `true` to also set the AppSignal sample's namespace to the owner. Note that doing so will cause existing performance and error incidents to be re-created with the new namespace. + + Set the [`instrument_ownership` configuration option](https://docs.appsignal.com/ruby/configuration/options.html#option-instrument_ownership) to `false` to disable the integration with the Ownership gem. + + (patch [865b348e](https://github.com/appsignal/appsignal-ruby/commit/865b348e1cf37193e3c31176dad47cbbd5d810bb)) + +### Changed + +- Do not report `SystemExit` errors from our Rake integration. (patch [ad4f1a25](https://github.com/appsignal/appsignal-ruby/commit/ad4f1a250f00f1d1997932a3f108b0cf6b99ea43)) +- Do not report `SignalException` errors from our Rake integration. (patch [7c07a596](https://github.com/appsignal/appsignal-ruby/commit/7c07a59622426ca565c538a0c239270ebbd54f4c)) + +### Fixed + +- Fix deprecation warnings when building the AppSignal gem's native extension on Ruby 3.4, by porting the extension to use the TypedData API. (patch [e2d186c9](https://github.com/appsignal/appsignal-ruby/commit/e2d186c9e79a5d03d3692c6ed84ca085e1383031)) + ## 4.3.2 _Published on 2024-12-31._ diff --git a/lib/appsignal/version.rb b/lib/appsignal/version.rb index 37ee4c3bd..250c115b1 100644 --- a/lib/appsignal/version.rb +++ b/lib/appsignal/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Appsignal - VERSION = "4.3.2" + VERSION = "4.3.3" end