github nicholas-fedor/shoutrrr v0.14.1

6 hours ago

This is a patch release that integrates a number of fixes and improvements, including upgrading support for the Matrix v3 API, fixing a bug in the generate CLI command, and improving title support for Mattermost.

What's Changed

Fixes and Code Quality Improvements

Dependency Updates

  • fix(deps): update module golang.org/x/term to v0.41.0 by @renovate[bot] in #684
  • chore(deps): update github.com/google/pprof digest to a15ffb7 by @renovate[bot] in #695
  • chore(deps): update module golang.org/x/mod to v0.34.0 by @renovate[bot] in #696
  • chore(deps): update module golang.org/x/net to v0.52.0 by @renovate[bot] in #700
  • chore(deps): update module golang.org/x/tools to v0.43.0 by @renovate[bot] in #701
  • chore(deps): update module github.com/pelletier/go-toml/v2 to v2.3.0 by @renovate[bot] in #717

Notes

ConfigFromWebhookURL Parameter Type Change

The linting and code quality improvements in #685 corrected a bug in ConfigFromWebhookURL across the teams, generic, and notifiarr packages. The function previously accepted a url.URL value parameter, but immediately mutated it by operating on a discarded copy rather than the intended input. The signature has been corrected to accept a *url.URL pointer.

Affected services: Teams, Generic, Notifiarr

Impact: Callers that dereference a *url.URL before passing it to ConfigFromWebhookURL will fail to compile.

Remediation: Remove the dereference operator at the call site.

Before:

config, err := teams.ConfigFromWebhookURL(*webhookURL)

After:

config, err := teams.ConfigFromWebhookURL(webhookURL)

Full Changelog: v0.14.0...v0.14.1

Don't miss a new shoutrrr release

NewReleases is sending notifications on new releases.