Legacy Notification Configuration Option Deprecation #2030
nicholas-fedor
started this conversation in
General
Replies: 2 comments 6 replies
|
For anyone using app passwords in Gmail make sure you remove the spaces 👍 |
0 replies
|
I have tried to convert to the new style of email notification configuration but since I converted with |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Watchtower has supported sending notifications for a long time. This was initially implemented directly within Watchtower; however, eventually split off into a separate project, Shoutrrr. As part of that transition, service-specific configuration options and functionality were reclassified as legacy options. This has led to a number of issues, such as creating long-standing parallel paths for configuring notifications and opening the door for behavioral inconsistencies when using multiple notification services.
Under the hood, Watchtower currently parses legacy configuration options to create URLs for Shoutrrr. This was ultimately meant to be a temporary shim; however, has become a longtime fixture that has diverted Watchtower's users from properly making use of Shoutrrr URLs and the evolving functionality that it provides in its parameter-based approach. Likewise, the presence of this shim limits the addition of further improvements to Watchtower's notifications, such as dynamic notification routing and templates.
As part of the eventual release of the next major release (v2) of Watchtower, deprecation notices and warnings have been implemented to help guide users towards transitioning to using Shoutrrr URLs. I have also begun to make efforts to provide ample documentation, such as through the Watchtower website. Likewise, I have created a (rough, but functional) interactive tool available through the Shoutrrr website, which serves as an alternative to manually downloading and running the Shoutrrr binary or Docker image to to generate URLs.
I highly encourage users of the legacy configuration options to migrate to the use the
notification_urlconfiguration option. Additionally, this supports the use of Docker secrets and configuring multiple notification services via a single file (one URL per line).Given how the legacy configuration options have long been grandfathered into Watchtower, I am attempting to provide ample warning and time for configurations to be updated. Additionally, I welcome any contributions towards improving documentation, such as the Watchtower or Shoutrrr websites, including the Shoutrrr Playground.
All reactions