Recent Releases of https://github.com/julienXX/terminal-notifier
https://github.com/julienXX/terminal-notifier - 3.1.0
Added -in DURATION and -at DATETIME to schedule notifications.
Full Changelog: https://github.com/julienXX/terminal-notifier/compare/3.0.0...3.1.0
- Objective-C
Published by julienXX about 1 month ago
https://github.com/julienXX/terminal-notifier - 3.0.0
First release in nine years. terminal-notifier is rebuilt on Apple's
UserNotifications framework because the old NSUserNotification API was
deprecated in macOS 11 and had been breaking progressively since.
Everyday use does not change. -message, -title, -subtitle, -group,
-remove, -list and the click actions all work the same way. Three options
could not be carried over.
Requires macOS 10.14 or higher. The binary is universal and runs natively
on Apple silicon and Intel. Stay on 2.0.0 for older systems.
Removed
| Option | Why |
|---|---|
-sender |
It worked by swizzling terminal-notifier's own bundle identifier. UserNotifications reads the real signed identity so there is nothing to override. It had been hanging or silently doing nothing for years. |
-appIcon |
Notification content has no icon property in the public API. The icon always comes from the sending bundle. Broken since Big Sur. |
-ignoreDnD |
It set a private flag. The public equivalent needs an entitlement Apple grants on request, which this build does not carry. |
All three are still accepted and print a warning, so existing scripts keep
running. They have no effect.
For a custom icon use make icon ICON=logo.png APP_NAME=my-tool, which builds
a copy of the app with your image.
Changed
-contentImagetakes local files only. Version 2 accepted remote URLs, the
attachment API does not.- Exit codes 2 to 6 were added to tell a bad argument from a permissions
problem from a timeout. Scripts testing for a non-zero status are unaffected.
Scripts testing for exactly1should be checked.
New
-action TITLEand-reply [PROMPT]bring back action buttons and inline
replies, removed in 2.0.0 because the old implementation used private API.
These wait for the user and print the answer on stdout, so a script can
branch on it.-timeout SECONDSbounds that wait.-diagnosereports why a notification is not appearing: authorization,
alert style, sounds, Focus, Scheduled Summary and whether Notification
Center is running.makebuild andmake doctor, so terminal-notifier can be built and
verified without installing Xcode.make doctorchecks every documented
option and prompts you for the ones only a person can judge.
Fixed
- Notifications sent without
-groupno longer replace each other. -removeremoves delivered notifications.-open,-executeand-activatefire reliably on click. A stale
background process no longer blocks them.-contentImageno longer deletes the image you pass it.- Modern sound names work.
- Tabs and newlines in a title or message no longer corrupt
-listoutput. -removeand-listno longer hang when stdin is an open pipe.- Failures are reported on stderr instead of failing silently.
- Running over SSH or from launchd exits with a diagnostic instead of hanging.
- No private API and no bundle identifier swizzling remain, so
terminal-notifier is App Store compatible again.
Ruby gem
gem install terminal-notifier requires Ruby 3.2 or newer. :action and
:reply return the answer. A timeout returns :_timeout rather than false,
so it can be told apart from a delivery failure.
Thanks to @billdaws, whose UserNotifications migration in #322 was the
starting point for this work.
- Objective-C
Published by julienXX about 1 month ago
https://github.com/julienXX/terminal-notifier - 2.0.0 the reboot
This is a brand new release of terminal notifier with alerter features removed. We decided with @vjeantet to split the project again as it was having a lot of issues. From now on if you need sticky notifications and/or action buttons please use alerter instead.
Breaking changes:
- removal of alerter features (-reply, -actions, -timeout, -json)
- back to be distributed as a bundle
Additions:
-versionflag to print the version-ignoreDnDflag to bypass "Do not disturb"
- Objective-C
Published by julienXX almost 9 years ago
https://github.com/julienXX/terminal-notifier - 1.8.0
Breaking changes:
- terminal-notifier is no longer an app bundle but a standard command-line app now
- Usage under macOS 10.8 and 10.9 is deprecated
Fixes:
- open, execute and activate should be more reliable
- URIs are not parsed, only checked for validity
- Add some logging for actions
- Objective-C
Published by julienXX over 9 years ago
https://github.com/julienXX/terminal-notifier - 1.7.2
- Fixes a memory leak
- Better parsing of arguments starting with
-in the Ruby wrapper - README updates
- Objective-C
Published by julienXX over 9 years ago
https://github.com/julienXX/terminal-notifier - 1.7.1
Bring back the old behaviour when not using -reply or -actions.
- Objective-C
Published by julienXX almost 10 years ago
https://github.com/julienXX/terminal-notifier - 1.7.0
Awesome release thanks to @vjeantet which allowed it's alerter features to be merged in terminal-notifier.
- add Reply button
- add Yes/No buttons
- add Dropdown actions
- add Timeout
- outputs event as JSON
- Objective-C
Published by julienXX about 10 years ago
https://github.com/julienXX/terminal-notifier - 1.6.3
- Remove image border
- JRuby compatibility
- Fix for running under non-OSX CIs
- Objective-C
Published by julienXX over 11 years ago
https://github.com/julienXX/terminal-notifier - terminal-notifier 1.6.2
- Prevent exceptions on non-Mac OS X platforms
- Built on OS X 10.10
- Objective-C
Published by julienXX almost 12 years ago
https://github.com/julienXX/terminal-notifier - terminal-notifier 1.6.1
- Bug fixes
- OSX 10.10 compatibility
- Objective-C
Published by julienXX about 12 years ago
https://github.com/julienXX/terminal-notifier - terminal-notifier-1.5.0
After a long hiatus, finally a new release with huge thanks to the community.
- The message data can now also be specified by piping data to the tool.
- Post notification as a different application with the
senderoption. This also uses that application’s icon. - Play a sound when posting a notification with the
soundoption. Usedefaultor any of the sounds you can find in the System Preferences as the option value. - Unescape first character of option values if it starts with a
\. This fixes, for example, the case where you could not start a message with a open bracket, which can now be specified as\[. - Check if Notification Center is running for the current user or exit with 1 otherwise.
- Percent escape URLs specified with the
openoption. - Add
helpoption. - The Ruby bindings now raise when used on unsupported platforms. (Be sure to check with
TerminalNotifier.available?.
- Objective-C
Published by alloy about 13 years ago