Skip to content

Commit

Permalink
Add version information to deprecation warning in guides/configuration (
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti authored Jun 7, 2024
1 parent 4dde26c commit 93ef66a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion content/docs/400-guides/450-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,10 @@ The `Redacted.value` function, on the other hand, provides a controlled way to r

## Secret

<Warning>Deprecated: use [Config.redacted](#redacted) instead.</Warning>
<Warning>
Deprecated since version 3.3.0: Please use [Config.redacted](#redacted) for
handling sensitive information going forward.
</Warning>

`Config.secret` functions similarly to `Config.redacted` by securing sensitive information.
It wraps configuration values in a `Secret` type, which also obscures details when logged but allows access through the `Secret.value` method.
Expand Down

0 comments on commit 93ef66a

Please sign in to comment.