Skip to content

Conversation

@KentarouTakeda
Copy link
Contributor

Sorry for sending multiple pull requests in quick succession.

I realized that the support for JoliNotif@3 added in #178 was incomplete. With the current implementation, our tool crashes when it attempts to send a notification to the operating system.

This pull request updates our library to handle the breaking changes introduced in JoliNotif@3. At the same time, it adds a feature-detection–based fallback so that the library continues to work with older versions of JoliNotif as well.

Because this code integrates with an external library to send OS-level notifications, I was unable to write unit tests. However, I have verified in my local environment that it works correctly with both the newer and older versions of JoliNotif.

@freekmurze freekmurze merged commit 3b0e685 into spatie:main Jan 5, 2026
11 checks passed
@freekmurze
Copy link
Member

Thanks!

@KentarouTakeda
Copy link
Contributor Author

Thank you for the review and for publishing!

I have confirmed in my local project that, with the latest version (1.24.4), OS notifications work without any issues when used together with jolicode/jolinotif@3.

@KentarouTakeda KentarouTakeda deleted the fix-crash-with-jolinotif3 branch January 5, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants