diff --git a/CHANGELOG.md b/CHANGELOG.md index 42bf4fc..4b546b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [0.0.3] - 2026-08-19 + ### Added - **Notification state can arrive over a socket instead of being polled for.** `Notify.startRealtime(channel: ...)` subscribes to the notifiable's private broadcast channel and applies each `notification.created` frame straight to the stream, so a new notification shows up when the server sends it rather than up to 30 seconds later. The frame carries the whole row in the same shape `GET /notifications` returns, so no HTTP follows it. - `Notify.stopRealtime()`, `Notify.isRealtime` and `Notify.isPolling`. diff --git a/CLAUDE.md b/CLAUDE.md index e28653d..35a31f8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ Flutter push and database notification plugin for the Magic Framework. In-app polling + OneSignal (mobile/web) via `onesignal_flutter` package. -**Version:** 0.0.1 · **Dart:** >=3.6.0 · **Flutter:** >=3.27.0 +**Version:** 0.0.3 · **Dart:** >=3.6.0 · **Flutter:** >=3.27.0 ## Commands diff --git a/README.md b/README.md index 8f192a1..82ff382 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Managing notifications in Flutter means juggling multiple channels — database ```yaml dependencies: - magic_notifications: ^0.0.2 + magic_notifications: ^0.0.3 ``` ### 2. Install configuration diff --git a/pubspec.yaml b/pubspec.yaml index ab3e38f..3054d41 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: magic_notifications description: Multi-channel notification system for Magic Framework. Supports database (in-app), push (OneSignal), and mail channels. -version: 0.0.2 +version: 0.0.3 homepage: https://magic.fluttersdk.com/notifications documentation: https://magic.fluttersdk.com/packages/notifications/getting-started/installation repository: https://github.com/fluttersdk/magic_notifications