-
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.
Fix deprecation warning for working_dir_path (#806)
It would only print the warning if the config option was used in the file source, but if the `APPSIGNAL_WORKING_DIR_PATH` environment variable was set, it would not print the same deprecation warning. This only makes the deprecation more visible. This is necessary before we fully remove it in the next major version. I've added a changeset, because it prints the warning in more scenarios and those are scenarios we want to inform our users about before removing the config option entirely. Fixes #805
- Loading branch information
Showing
3 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...gesets/warn-about-deprecated-working_dir_path-option-from-all-config-sources.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" | ||
--- | ||
|
||
Warn about the deprecated `working_dir_path` option from all config sources. It previously only printed a warning when it was configured in the `config/appsignal.yml` file, but now also prints the warning if it's set via the Config class initialize options and environment variables. Please use the `working_directory_path` option instead. |
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