chore(ui, core): update CHANGELOG.md
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -1,14 +1,30 @@
|
|||||||
## 2.2.1
|
## 2.2.1
|
||||||
|
|
||||||
🛑️ Breaking Changes from `2.2.1`
|
⚠️ Deprecated
|
||||||
|
|
||||||
- `MessageSearchListView` paginationParams property is now non-nullable with a default value.
|
- `MessageSearchListView` `paginationParams` property is now deprecated in favor of `limit`.
|
||||||
```dart
|
```dart
|
||||||
|
// previous
|
||||||
paginationParams = const PaginationParams(limit: 30)
|
paginationParams = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
```
|
```
|
||||||
- `UserListView` pagination property is now non-nullable with a default value.
|
- `UserListView` `pagination` property is now deprecated in favor of `limit`.
|
||||||
```dart
|
```dart
|
||||||
|
// previous
|
||||||
pagination = const PaginationParams(limit: 30)
|
pagination = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
|
```
|
||||||
|
- `ChannelListView` `pagination` property is now deprecated in favor of `limit`.
|
||||||
|
```dart
|
||||||
|
// previous
|
||||||
|
pagination = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
```
|
```
|
||||||
|
|
||||||
🔄 Changed
|
🔄 Changed
|
||||||
|
|||||||
@@ -1,14 +1,30 @@
|
|||||||
## Upcoming
|
## Upcoming
|
||||||
|
|
||||||
🛑️ Breaking Changes from `2.2.1`
|
⚠️ Deprecated
|
||||||
|
|
||||||
- `MessageSearchListViewCore` paginationParams property is now non-nullable with a default value.
|
- `MessageSearchListViewCore` `paginationParams` property is now deprecated in favor of `limit`.
|
||||||
```dart
|
```dart
|
||||||
|
// previous
|
||||||
paginationParams = const PaginationParams(limit: 30)
|
paginationParams = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
```
|
```
|
||||||
- `UserListViewCore` pagination property is now non-nullable with a default value.
|
- `UserListViewCore` `pagination` property is now deprecated in favor of `limit`.
|
||||||
```dart
|
```dart
|
||||||
|
// previous
|
||||||
pagination = const PaginationParams(limit: 30)
|
pagination = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
|
```
|
||||||
|
- `ChannelListViewCore` `pagination` property is now deprecated in favor of `limit`.
|
||||||
|
```dart
|
||||||
|
// previous
|
||||||
|
pagination = const PaginationParams(limit: 30)
|
||||||
|
|
||||||
|
// new
|
||||||
|
limit = 30
|
||||||
```
|
```
|
||||||
|
|
||||||
🔄 Changed
|
🔄 Changed
|
||||||
|
|||||||
Reference in New Issue
Block a user