github nicholas-fedor/shoutrrr v0.22.0

4 hours ago

Upgrade Notes

  • Router results from Send, SendContext, SendItems, and SendItemsContext now line up with the configured URLs, and each failure is a *types.TargetError whose Index field gives the URL's position.
  • Errors and logs no longer contain service URLs or credentials. Errors keep the scheme and host, and the underlying cause text is unchanged.
  • shoutrrr.Send now runs through a one-shot router, so each service's send budget applies (10 seconds by default) and the service is closed afterwards.
  • Undeclared title, message, and level params are now accepted instead of failing the send, and params no longer change a service's stored config between sends.
  • Matrix logs in on the first send instead of during initialization, so creating a sender to validate a URL no longer contacts the server.
  • MQTT keeps its connection open between sends, disconnects after 60 seconds idle, and disconnects when the sender is closed. Call Close on long-lived senders when you are done with them.
  • Default HTTP clients now honor the HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables, and the generic service's default client has a 10 second timeout.
  • The CLI reads every flag from a SHOUTRRR_<FLAG> environment variable. Positional arguments no longer override flags, and extra arguments are an error.
  • CreateSender, NewSender, router.New, the SendWithContext methods, bark's SendItems, and jsonclient.NewClient are deprecated. Run go fix ./... to migrate callers.

Features

Fixes

Dependency Updates

  • chore(deps): update go toolchain directive to v1.27.2 by @renovate[bot] in #1453
  • fix(deps): update module github.com/onsi/ginkgo/v2 to v2.33.1 by @renovate[bot] in #1505
  • fix(deps): update module github.com/mattn/go-colorable to v0.1.16 by @renovate[bot] in #1414
  • chore(deps): update module github.com/stretchr/objx to v0.7.0 by @renovate[bot] in #1547
  • chore(deps): update module golang.org/x/crypto to v0.58.0 by @renovate[bot] in #1499
  • chore(deps): update module golang.org/x/mod to v0.42.0 by @renovate[bot] in #1506
  • chore(deps): update module golang.org/x/net to v0.61.0 by @renovate[bot] in #1502
  • chore(deps): update module golang.org/x/sync to v0.24.0 by @renovate[bot] in #1482
  • fix(deps): update module golang.org/x/sys to v0.49.0 by @renovate[bot] in #1483
  • fix(deps): update module golang.org/x/term to v0.47.0 by @renovate[bot] in #1491
  • chore(deps): update module golang.org/x/text to v0.43.0 by @renovate[bot] in #1490
  • chore(deps): update module golang.org/x/tools to v0.52.0 by @renovate[bot] in #1534
  • chore(deps): update github.com/google/pprof digest to 2af12c3 by @renovate[bot] in #1541

Full Changelog: v0.21.2...v0.22.0

Don't miss a new shoutrrr release

NewReleases is sending notifications on new releases.