Skip to content

Commit

Permalink
Improve the changeset text
Browse files Browse the repository at this point in the history
Go through the changeset text for the recent merged changesets and
improve them a little before release.

[skip ci]
  • Loading branch information
tombruijn committed Jul 8, 2024
1 parent 3809e00 commit 1502ea1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .changesets/add-appsignal-set_tags-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bump: patch
type: add
---

Add `Appsignal.set_tags` helper as an alias for `Appsignal.tag_request`. This is a context independent named alias which we use on the Transaction class as well.
Add `Appsignal.set_tags` helper as an alias for `Appsignal.tag_request`. This is a context independent named alias available on the Transaction class as well.
2 changes: 1 addition & 1 deletion .changesets/add-block-argument-to-set_params.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ bump: patch
type: add
---

Add a block argument to the `Appsignal.set_params` and `Appsignal::Transaction#set_params` helpers. When `set_params` is called with a block argument, the block is executed when the parameters are stored on the Transaction. This block is only called when the Transaction is sampled. Use this block argument to avoid having to parse parameters for every transaction, even when it's not sampled.
Add a block argument to the `Appsignal.set_params` and `Appsignal::Transaction#set_params` helpers. When `set_params` is called with a block argument, the block is executed when the parameters are stored on the Transaction. This block is only called when the Transaction is sampled. Use this block argument to avoid having to parse parameters for every transaction, to speed things up when the transaction is not sampled.

```ruby
Appsignal.set_params do
Expand Down
2 changes: 1 addition & 1 deletion .changesets/add-report_error-helper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bump: minor
type: add
---

Add the `Appsignal.report_error` helper to report errors. If you were ever unsure whether to use `Appsignal.set_error` or `Appsignal.send_error`, use `Appsignal.report_error` from now to always report the error.
Add the `Appsignal.report_error` helper to report errors. If you unsure whether to use the `Appsignal.set_error` or `Appsignal.send_error` helpers in what context, use `Appsignal.report_error` to always report the error.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bump: patch
type: deprecate
---

Deprecate the `Appsignal::Rack::GenericInstrumentation` middleware. Use the `Appsignal::Rack::InstrumentationMiddleware` middleware instead. See changelog entry about the `InstrumentationMiddleware`.
Deprecate the `Appsignal::Rack::GenericInstrumentation` middleware. Use the `Appsignal::Rack::InstrumentationMiddleware` middleware instead. See also the changelog entry about the `InstrumentationMiddleware`.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bump: "patch"
type: "fix"
---

Fix deprecation warning of Bundler.rubygems.all_specs usage.
Fix the deprecation warning of `Bundler.rubygems.all_specs` usage.

0 comments on commit 1502ea1

Please sign in to comment.