-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated extension functions
I want to remove these functions from the Rust extension, but if the Ruby gem still calls them, that would cause a new error on the next extension update. These functions already did nothing anymore in the Rust extension, so not calling the extension functions loses no functionality. I did not remove the Ruby methods, because people may still call them and we should only remove methods in major releases. Move the deprecation warnings to the Ruby gem and remove calls to the extension functions. - Part of appsignal/appsignal-agent#425 - Deprecations logged in #667
- Loading branch information
Showing
5 changed files
with
48 additions
and
78 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
.changesets/deprecate-set_host_guage-and-set_process_gauge-helper-methods.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
bump: "patch" | ||
type: "deprecate" | ||
--- | ||
|
||
Deprecate the `Appsignal.set_host_guage` and `Appsignal.set_process_gauge` helper methods in the Ruby gem. These methods would already log deprecation warnings in the `appsignal.log` file, but now also as a Ruby warning. These methods will be removed in the next major version. These methods already did not report any metrics, and still do not. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters