Skip to content

Commit 69d4c1a

Browse files
authored
Merge pull request #165 from koukibadr/docs-update-package-version
docs: update version to 2.5.1 and modify changelog
2 parents ce66459 + 2250880 commit 69d4c1a

File tree

4 files changed

+121
-125
lines changed

4 files changed

+121
-125
lines changed

CHANGELOG.md

Lines changed: 117 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,251 +1,250 @@
1+
## [2.5.1] - 08/05/2025
2+
3+
- **Changes**
4+
- Update closeButton action behavior [PR#163](https://github.com/koukibadr/Elegant-Notification/pull/163)
5+
16
## [2.5.0] - 03/05/2025
27

3-
* **Changes**
4-
* Add `onLongPress` callback to the notification widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
5-
* Add `longPressDuration` to customize the long press duration [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
6-
* Implement long press detection and animation handling while long press interaction [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
7-
* Add `verticalDividerWidth` attribute to customize the vertical divider width [PR#161](https://github.com/koukibadr/Elegant-Notification/pull/161)
8+
- **Changes**
9+
- Add `onLongPress` callback to the notification widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
10+
- Add `longPressDuration` to customize the long press duration [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
11+
- Implement long press detection and animation handling while long press interaction [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
12+
- Add `verticalDividerWidth` attribute to customize the vertical divider width [PR#161](https://github.com/koukibadr/Elegant-Notification/pull/161)
813

9-
* **Enhancement**
10-
* Update the package example to demonstrate the new long press feature [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
11-
* Update padding rendering on notification icon widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
12-
* Update close icon rendering on notification widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
13-
* Refactor closing timer initialization and closing to avoid null check operator error [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
14-
* Add `autoDismiss` check on `timer.cancel()` method to avoid null check operator error [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
14+
- **Enhancement**
15+
- Update the package example to demonstrate the new long press feature [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
16+
- Update padding rendering on notification icon widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
17+
- Update close icon rendering on notification widget [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
18+
- Refactor closing timer initialization and closing to avoid null check operator error [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
19+
- Add `autoDismiss` check on `timer.cancel()` method to avoid null check operator error [PR#160](https://github.com/koukibadr/Elegant-Notification/pull/160)
1520

1621
## [2.4.5] - 16/04/2025
1722

18-
* **Changes**
19-
* Mark `onCloseButtonPressed` as deprecated and replace it with `onDismiss` callback [PR#153](https://github.com/koukibadr/Elegant-Notification/pull/153)
23+
- **Changes**
24+
- Mark `onCloseButtonPressed` as deprecated and replace it with `onDismiss` callback [PR#153](https://github.com/koukibadr/Elegant-Notification/pull/153)
2025

21-
* **Bug Fix**
22-
* Fix null check operator when initializing overlay helper constraints [Issue#152](https://github.com/koukibadr/Elegant-Notification/issues/152)
26+
- **Bug Fix**
27+
- Fix null check operator when initializing overlay helper constraints [Issue#152](https://github.com/koukibadr/Elegant-Notification/issues/152)
2328

2429
## [2.4.4] - 30/03/2025
2530

26-
* **Bug Fix**
27-
* Update progress indicator padding display to prevent overflow when using `borderRadius` [Issue#150](https://github.com/koukibadr/Elegant-Notification/issues/150)
31+
- **Bug Fix**
32+
- Update progress indicator padding display to prevent overflow when using `borderRadius` [Issue#150](https://github.com/koukibadr/Elegant-Notification/issues/150)
2833

2934
## [2.4.3] - 09/03/2025
3035

31-
* **Enhancements**
32-
* Update notification overlay display geometry calculation by handling bottom padding [Issue#143](https://github.com/koukibadr/Elegant-Notification/issues/143)
33-
* Add assertions on `StackedOptions` attribute
34-
36+
- **Enhancements**
37+
- Update notification overlay display geometry calculation by handling bottom padding [Issue#143](https://github.com/koukibadr/Elegant-Notification/issues/143)
38+
- Add assertions on `StackedOptions` attribute
3539

3640
## [2.4.2] - 22/02/2025
3741

38-
* **Enhancements**
39-
* Overlay manager add the current overlay when a new notification is displayed.
40-
* Enhanced overlay manager rendering method by adding a safe area widget to the overlay.
41-
* Refacor overlay manager to use a stack widget to display the notification.
42-
42+
- **Enhancements**
43+
- Overlay manager add the current overlay when a new notification is displayed.
44+
- Enhanced overlay manager rendering method by adding a safe area widget to the overlay.
45+
- Refacor overlay manager to use a stack widget to display the notification.
4346

4447
## [2.4.1] - 21/12/2024
4548

46-
* **Enhancements**
47-
* `verticalDividerColor` is no longer nullable by default it holds grey color value.
49+
- **Enhancements**
50+
- `verticalDividerColor` is no longer nullable by default it holds grey color value.
4851

4952
## [2.4.0] - 17/11/2024
5053

51-
* **Enhancements**
52-
* new attribute: `verticalDividerColor` to customize vertical divider color
54+
- **Enhancements**
55+
- new attribute: `verticalDividerColor` to customize vertical divider color
5356

5457
## [2.3.1] - 07/11/2024
5558

56-
* **Bug Fix**
57-
* Fix using show callback with GetX package context
59+
- **Bug Fix**
60+
- Fix using show callback with GetX package context
5861

5962
## [2.3.0] - 05/09/2024
6063

61-
* **Changes**
62-
* `icon` is optional when using the default contructor
63-
* `icon` parameter is exposed when using success, info and error constructors
64-
65-
* **Enhancement**
66-
* Reduced package size by removing all unnecessary code and files
64+
- **Changes**
65+
- `icon` is optional when using the default contructor
66+
- `icon` parameter is exposed when using success, info and error constructors
6767

68+
- **Enhancement**
69+
- Reduced package size by removing all unnecessary code and files
6870

6971
## [2.2.2] - 09/07/2024
7072

71-
* **Changes**
72-
* Update package deployment track
73+
- **Changes**
74+
- Update package deployment track
7375

7476
## [2.2.1] - 30/06/2024
7577

76-
* **Bug Fix**
77-
* Add safearea rendering support for top notifications [Issue#127](https://github.com/koukibadr/Elegant-Notification/issues/127)
78+
- **Bug Fix**
79+
- Add safearea rendering support for top notifications [Issue#127](https://github.com/koukibadr/Elegant-Notification/issues/127)
7880

7981
## [2.2.0] - 09/06/2024
8082

81-
* **Enhancement**
82-
* Remove package assets svg files to reduce package size
83-
* Replace assets with Material icons
83+
- **Enhancement**
84+
- Remove package assets svg files to reduce package size
85+
- Replace assets with Material icons
8486

8587
## [2.1.2] - 17/04/2024
8688

87-
* **Bug Fix:**
88-
* Fix offsetAnimation initialization error
89+
- **Bug Fix:**
90+
- Fix offsetAnimation initialization error
8991

9092
## [2.1.1] - 13/04/2024
9193

92-
* **Enhancements:**
93-
* Update package documentation and pubspec file
94+
- **Enhancements:**
95+
- Update package documentation and pubspec file
9496

9597
## [2.1.0] - 06/04/2024
9698

97-
* **Enhancements:**
98-
* Add border attribute of type `BoxBorder` [Issue #119](https://github.com/koukibadr/Elegant-Notification/issues/119)
99-
* Migrate radius to borderRadius of type `BorderRadius`
99+
- **Enhancements:**
100+
- Add border attribute of type `BoxBorder` [Issue #119](https://github.com/koukibadr/Elegant-Notification/issues/119)
101+
- Migrate radius to borderRadius of type `BorderRadius`
100102

101103
## [2.0.0] - 30/03/2024
102104

103-
* **Enhancements:**
104-
* Elegant notification now support stacked toasts [PR Link](https://github.com/koukibadr/Elegant-Notification/pull/111)
105-
* Removal of `enableShadow` and `shadowColor` attribute and replace it with `shadow` of `BoxShadow` type.
106-
* Add `animationCurve` attribute
107-
* remove `onActionPressed` function attribute.
105+
- **Enhancements:**
106+
- Elegant notification now support stacked toasts [PR Link](https://github.com/koukibadr/Elegant-Notification/pull/111)
107+
- Removal of `enableShadow` and `shadowColor` attribute and replace it with `shadow` of `BoxShadow` type.
108+
- Add `animationCurve` attribute
109+
- remove `onActionPressed` function attribute.
108110

109111
## [1.14.0] - 10/03/2024
110112

111-
* **Enhancements:**
112-
* Removal of `closeOnTap` attribute and replace it with `isDismissible` with `dismissDirection` attributes [PR Link](https://github.com/koukibadr/Elegant-Notification/pull/109)
113-
* Rename `onTap` attribute to `onNotificationPressed`
114-
* Add `dismissDirection` to customize the direction where the notification can be dismissed
115-
113+
- **Enhancements:**
114+
- Removal of `closeOnTap` attribute and replace it with `isDismissible` with `dismissDirection` attributes [PR Link](https://github.com/koukibadr/Elegant-Notification/pull/109)
115+
- Rename `onTap` attribute to `onNotificationPressed`
116+
- Add `dismissDirection` to customize the direction where the notification can be dismissed
116117

117118
## [1.13.1] - 02/03/2024
118119

119-
* Update lint rules to avoid `Dangling library doc comment` analysis error
120-
120+
- Update lint rules to avoid `Dangling library doc comment` analysis error
121121

122122
## [1.13.0] - 21/01/2024
123123

124-
* `notificationPosition` and `NotificationPosition` are removed completly from the notification package
125-
* **Enhancement:**
126-
* `onTap` added to the package class, a callback that will be invoked when the notification is tapped [PR](https://github.com/koukibadr/Elegant-Notification/pull/105)
127-
* `closeOnTap` added to indicate if the notification will be dismissed or not when the notification is pressed [PR](https://github.com/koukibadr/Elegant-Notification/pull/105)
128-
124+
- `notificationPosition` and `NotificationPosition` are removed completly from the notification package
125+
- **Enhancement:**
126+
- `onTap` added to the package class, a callback that will be invoked when the notification is tapped [PR](https://github.com/koukibadr/Elegant-Notification/pull/105)
127+
- `closeOnTap` added to indicate if the notification will be dismissed or not when the notification is pressed [PR](https://github.com/koukibadr/Elegant-Notification/pull/105)
129128

130129
## [1.12.0] - 14/01/2024
131130

132-
* Replace `notificationPosition` with `position` with `Alignment` type instead of `NotificationPosition`
131+
- Replace `notificationPosition` with `position` with `Alignment` type instead of `NotificationPosition`
133132

134133
## [1.11.2] - 27/09/2023
135134

136-
* Update package license to MIT license
135+
- Update package license to MIT license
137136

138137
## [1.11.1] - 09/09/2023
139138

140-
* Fix const error in `toast_content.dart` file
139+
- Fix const error in `toast_content.dart` file
141140

142141
## [1.11.0] - 13/08/2023
143142

144-
* Add width, height and padding to progress indicator widget [#88](https://github.com/koukibadr/Elegant-Notification/issues/88)
145-
* Update package example
143+
- Add width, height and padding to progress indicator widget [#88](https://github.com/koukibadr/Elegant-Notification/issues/88)
144+
- Update package example
146145

147146
## [1.10.1] - 28/06/2023
148147

149-
* DRY refactorings:
150-
* assertions in ```elegant_notification.dart```
151-
* Default icon size property
148+
- DRY refactorings:
149+
- assertions in `elegant_notification.dart`
150+
- Default icon size property
152151

153152
## [1.10.0] - 08/05/2023
154153

155-
* Added RTL support [#84](https://github.com/koukibadr/Elegant-Notification/issues/84)
154+
- Added RTL support [#84](https://github.com/koukibadr/Elegant-Notification/issues/84)
156155

157156
## [1.9.1] - 16/03/2023
158157

159-
* Support any type of widget in Title and description attributes
160-
158+
- Support any type of widget in Title and description attributes
161159

162160
## [1.8.1] - 16/03/2023
163161

164-
* Fix unhandled exception of the overlay creation with Flutter 3.7 [issue](https://github.com/koukibadr/Elegant-Notification/issues/80)
162+
- Fix unhandled exception of the overlay creation with Flutter 3.7 [issue](https://github.com/koukibadr/Elegant-Notification/issues/80)
165163

166164
## [1.8.0] - 14/03/2023
167165

168-
* Customizable progress indicator background color [#78](https://github.com/koukibadr/Elegant-Notification/issues/78)
169-
* Customizable close button widget [PR #77](https://github.com/koukibadr/Elegant-Notification/pull/77)
166+
- Customizable progress indicator background color [#78](https://github.com/koukibadr/Elegant-Notification/issues/78)
167+
- Customizable close button widget [PR #77](https://github.com/koukibadr/Elegant-Notification/pull/77)
168+
170169
## [1.7.0] - 11/02/2023
171170

172-
* Added overlay config to package
173-
* Added slide back animation
171+
- Added overlay config to package
172+
- Added slide back animation
174173

175174
## [1.6.4] - 09/10/2022
176175

177-
* Add support for all display alignment positions (TopLeft, TopCenter, TopRight, CenterLeft, Center, CenterRight, BottomLeft, BottomCenter, BottomRight)
176+
- Add support for all display alignment positions (TopLeft, TopCenter, TopRight, CenterLeft, Center, CenterRight, BottomLeft, BottomCenter, BottomRight)
178177

179178
## [1.6.3] - 18/09/2022
180179

181-
* Fix inactive screen bug when toast is displayed
180+
- Fix inactive screen bug when toast is displayed
182181

183182
## [1.6.2] - 13/09/2022
184183

185-
* Fix back button with onDismiss callback usage
184+
- Fix back button with onDismiss callback usage
186185

187186
## [1.6.1] - 06/08/2022
188187

189-
* Update package flutter 3 support
188+
- Update package flutter 3 support
190189

191190
## [1.6.0] - 02/07/2022
192191

193-
* Fix toast dismiss issues
192+
- Fix toast dismiss issues
194193

195194
## [1.5.5] - 02/07/2022
196195

197-
* Fix static analysis issues
196+
- Fix static analysis issues
198197

199198
## [1.5.4] - 30/05/2022
200199

201-
* Support Flutter 3 null safety
202-
* Update enum names
200+
- Support Flutter 3 null safety
201+
- Update enum names
203202

204203
## [1.5.2] - 08/04/2022
205204

206-
* Fix alignment position display bug (Center, Bottom, Top)
205+
- Fix alignment position display bug (Center, Bottom, Top)
207206

208207
## [1.5.1] - 15/02/2022
209208

210-
* Fix alignment position display bug (Center, Bottom, Top)
209+
- Fix alignment position display bug (Center, Bottom, Top)
211210

212211
## [1.5.0] - 06/02/2022
213212

214-
* Add dismiss and onDismiss parameters
215-
* Add barrier dismissable option
216-
* Bug fixes
213+
- Add dismiss and onDismiss parameters
214+
- Add barrier dismissable option
215+
- Bug fixes
217216

218217
## [1.4.0] - 22/01/2022
219218

220-
* Add fromBottom animation type
221-
* Add notification width and height parameters
222-
* Bug fixes
219+
- Add fromBottom animation type
220+
- Add notification width and height parameters
221+
- Bug fixes
223222

224223
## [1.3.0] - 09/01/2022
225224

226-
* Add notification position parameter
227-
* Merge title and titleStyle parameters
228-
* Merge description and descriptionStyle parameters
229-
* Add action widget with onActionPressed callback
230-
* Add autoDismiss attribute
231-
* Bug fixes
225+
- Add notification position parameter
226+
- Merge title and titleStyle parameters
227+
- Merge description and descriptionStyle parameters
228+
- Add action widget with onActionPressed callback
229+
- Add autoDismiss attribute
230+
- Bug fixes
232231

233232
## [1.2.0] - 31/12/2021
234233

235-
* Optional title
236-
* Add background attribute to built-in themes
237-
* Add display progress indicator attribute to built-in themes
238-
* Customizable notification duration
239-
* Bug fixes
234+
- Optional title
235+
- Add background attribute to built-in themes
236+
- Add display progress indicator attribute to built-in themes
237+
- Customizable notification duration
238+
- Bug fixes
240239

241240
## [1.1.0] - 26/12/2021
242241

243-
* Enhanced rendering performance
244-
* Animated progress bar indicator
242+
- Enhanced rendering performance
243+
- Animated progress bar indicator
245244

246245
## [1.0.0] - 14/08/2021
247246

248-
* Built-in notification types
249-
* Display animations types
250-
* Full customization of the notification
251-
* Onclose and ondismiss function callback
247+
- Built-in notification types
248+
- Display animations types
249+
- Full customization of the notification
250+
- Onclose and ondismiss function callback

0 commit comments

Comments
 (0)