Notifier plugin v1.1 / v2.1

Double Secret Blog
Notifier plugin v1.1 / v2.1 image

With the release of Notifier v1.1 (Craft 4) and v2.1 (Craft 5), we've reintroduced some filters from the beta, this time with a shinier new UI.

The new filtering interface has been borrowed from the Webhooks plugin, and the internal Twig sandbox is now driven by the nystudio107/craft-twig-sandbox package.

Dual Entry Events

There are now two subtly different events when saving entries:

  • "When an entry is saved (per each site)"

If you have a multisite project, this event can be triggered for each site copy. Select this event to filter by site!

  • "When an entry is fully saved and propagated"

This event is triggered once, at the end, after all sites have been saved.

Filtering by Site(s)

After selecting the event "When an entry is saved (per each site)", you can filter by site(s)...

You may also notice that the Entry Event Filters have been (re)added. We've borrowed that familiar UX from the Webhooks plugin, making it much easier to filter by draft/revision status, whether the Entry is new, or whether it's enabled.

Refactored Twig Sandbox

Lastly, we take security seriously. We want to make sure any Twig templates being parsed by your notifications are safe from abuse.

To that end, we have completely refactored the internal Twig sandbox to rely on the nystudio107/craft-twig-sandbox package to manage a sensible (and editable) default security policy.

The package provides a good blacklist & whitelist, which are very secure out of the box, and can be easily customized to fit your needs.

Newer & Shinier!

All of these changes come alongside a handful of other bug fixes and UX improvements. New slideouts and buttons have been added to make working with Notification elements a whole lot smoother.

We're excited to see Notifier evolve into a more mature plugin, thanks for coming along for the ride! 🚗

Recent Posts:

Google Maps plugin v4.6 / v5.1 image
Google Maps plugin v4.6 / v5.1
Craft 5 Plugin Retirements image
Craft 5 Plugin Retirements
Mapbox plugin v1.1 image
Mapbox plugin v1.1