Skip to content

Releases: ChaoticByte/wid-notifier

Version 2.0.1

16 Jun 15:36
2.0.1
c1b3d10

Choose a tag to compare

Security Bugfix

This release fixes a bug where the first recipient's address of a notification is leaked to the other recipients. This is because not only the message content, but also the headers were cached.

Full Changelog: 2.0.0...2.0.1

Version 2.0.0

12 Jun 18:56
2.0.0
30bf793

Choose a tag to compare

✨ Highlights

⚠️ Changed config file structure for recipients and filters ⚠️

This is a breaking change.

Before, you had to define filters for every single recipient. Now you define lists with as many recipients as you like, and apply the filters per list.

Old config example:

  "recipients": [
    {
      "address": "[email protected]",
      "include": [
        {"classification": "kritisch"},
        {"title_contains": "Microsoft"}
      ]
    }
  ],

New config example:

  "lists": [
    {
      "name": "Example List",
      "recipients": ["[email protected]", "[email protected]"],
      "filter": [
        {"classification": "kritisch"},
        {"title_contains": "Microsoft"}
      ]
    }
  ],

Email encoding

Switched from base64-based encoding to Q-Encoding (RFC2047) for the Subject line and Quoted-Printable Encoding (RFC2045) for the email body.

CLI

There is now a -h/--help and --version flag.

The usual

Update to Go 1.24, a little bit of code cleanup, optimizations and a little bug fix :)

📋 Changelog

  • 30bf793 Encode mail subject as rfc2047 Q-Encoding and body as rfc2045 Quoted-Printable Encoding
  • 9b00959 Improve memory efficiency of noticesToBeSent by mapping pointers instead of WidNotice structs
  • 295ceec Improve config file structure by combining multiple recipients into lists (breaking)
  • ef24503 fix: don't save last published timestamp when email sending fails, so they can be sent in the next iteration
  • 2e1aee0 Parse -h, --help and --version and show help, version
  • b3290c3 Update to go 1.24, small code cleanup

Version 1.2.0

22 Jul 18:14
9f31bf5

Choose a tag to compare

  • 9f31bf5 Added the software version to the mail default template and cli help text, updated README and build script
  • e9f39d2 Moved some code around and updated the README

Version 1.1.1

11 Apr 18:38

Choose a tag to compare

1.1.0

19 Oct 19:11

Choose a tag to compare

  • e5cc0cc Improved performance by manually handling mail server communication instead of using smtp.SendMail() and thus opening a new connection for each mail
  • 8c427cc Improved the default templates
  • 6764549 Changed the order of the api endpoints so that notifications from the LSI Bayern will be sent first

1.0.1

18 Oct 18:19

Choose a tag to compare

  • Fixed a bug where all 1000 last notices where recognized as 'new'. This was caused by ApiEndpoint.getNotices() returning time.Time{} and a nil error in some cases.

1.0.0

16 Oct 16:01

Choose a tag to compare

Updated .gitignore