Releases: TheSETJ/laravel-notification-foundation
Releases · TheSETJ/laravel-notification-foundation
Release list
v1.2.0
Four additions across the channel registry, SMS, and diagnostics.
- Channel registry methods extracted into a dedicated
RegistersChannelstrait;via()and__call()remain inBaseNotificationfor discoverability BaseNotification::flushChannelRegistry()resets the global channel registry — call it insetUp/tearDownto isolate testsSmsMessagegains sender ID support viafrom()andgetFrom(), giving drivers access to the from-number or sender ID without hardcoding itFcmChannelandSmsChannelnow throw a descriptiveRuntimeExceptionwhen no driver is bound, instead of a generic container resolution error
v1.1.1
Channel toggles now work for any registered name
registerChannel() was storing names as-is while useXChannel(), enableXChannel(), and disableXChannel() normalize to lowercase internally. A name like 'myChannel' caused a key mismatch that made instance-level toggles silently have no effect. Names are now normalized to lowercase on registration.
v1.1.0
v1.0.0
Initial stable release.
- Dynamic channel registry with fluent per-instance toggling
- Shared data bag with zero-override defaults for database, FCM, and SMS
- FCM and SMS channels backed by swappable driver contracts
- FCM v1 HTTP message DTO with fluent builder
- 61 unit tests