Releases: AstroCB/mnotify
Releases · AstroCB/mnotify
v1.3.0
New minor version.
Changes:
- Added automatic publishing on new releases with GitHub Actions.
- Added a test suite run by GitHub Actions.
- To support the above, added a BotCore option to programmatic
init
.- To use this, pass an object with a
usingBotCore
property set to true for yourcreds
parameter. - Interactive initialization will not work here for obvious reasons, so if you don't have an existing config file, you can set an
MNOTIFY_RECEIVER_ID
environment variable to specify the receiver.
- To use this, pass an object with a
- Calling programmatic
init
without an existing config file will no longer fall through to interactive initialization; it will now return an error in the callback.- If you need to call
init
from a fresh environment where interactive initialization cannot be run (like a Docker container), exposeMNOTIFY_RECEIVER_ID
as described above (this is how the test suite is implemented).
- If you need to call
v1.2.0
v1.1.0
New minor version.
Changes:
init
script will now display the name of the receiver's account after a successful login to confirm alerts are going to the right place.- Programmatic invocation from Node.js has been added. Two API functions are now available:
notify
andinit
(see README for details). - Some general cleanup.