From 786c1210e3de6799a657cdcaaa7f571336d462f9 Mon Sep 17 00:00:00 2001 From: Moaz El-sawaf Date: Sat, 27 May 2023 01:07:28 +0200 Subject: [PATCH] build: :bookmark: bump the version to `2.0.0` --- CHANGELOG.md | 20 ++++++++++++++++++++ example/pubspec.lock | 2 +- pubspec.yaml | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88947e2..9c03b59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 2.0.0 + +### Breaking Changes + +* chore: 🚚 rename `requestPermission()` method to `requestOverlayPermission()`. +* chore: 🚚 rename `hasPermission()` method to `hasOverlayPermission()`. +* chore: 🚚 rename `options` parameter in `startBubble()` method to `bubbleOptions`. +* feat: ✨ add `notificationOptions` parameter to `startBubble()` method and move the notification options from `bubbleOptions` to the new `notificationOptions`. +🛂 starting from Android 13 (Tiramisu), the service notification will not be shown unless the `POST_NOTIFICATIONS` permission is granted at the runtime, refer to [🔔 Service Notification](https://github.com/moazelsawaf/dash_bubble#-service-notification) Section in the README file + +### Other Changes + +* build: ⬆️ bump the native dependency version to `v5.3.0` +* build: 🔧 applied some refactoring and migration to the native code +* refactor: 👔 update the service notification logic, refer to [🔔 Service Notification](https://github.com/moazelsawaf/dash_bubble#-service-notification) Section in the README file +* feat: ✨ add new options to customize the notification, which are `id`, `channelId`, and `channelName` +* refactor: ♻️ separate notification options from the bubble options +* docs: 📝 update the documentation + + ## 1.0.0 * **Breaking:** chore: 🚚 rename `onBubbleTap()` callback to `onTap()` in `startBubble()` method diff --git a/example/pubspec.lock b/example/pubspec.lock index 1271faa..1f2d2bb 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -55,7 +55,7 @@ packages: path: ".." relative: true source: path - version: "1.0.0" + version: "2.0.0" fake_async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 53422f8..f27b289 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dash_bubble description: Dash Bubble is a flutter plugin that allows you to create a floating bubble on the screen. -version: 1.0.0 +version: 2.0.0 repository: https://github.com/moazelsawaf/dash_bubble issue_tracker: https://github.com/moazelsawaf/dash_bubble/issues screenshots: