|
| 1 | +## 2.3.0 |
| 2 | + |
| 3 | +Changes: |
| 4 | + |
| 5 | +- The Api class has been renamed to Vkontakte. |
| 6 | +- Interfaces of VK sections have been removed; now it is necessary to access methods through the `request` function. |
| 7 | +- The `fetcher` parameter to the `VkDart` class is required. |
| 8 | + |
| 9 | +News: |
| 10 | + |
| 11 | +- The `answer` function has been added to the `VkDartMessageEventUpdate` model, which will send an event with an action |
| 12 | + to the user, |
| 13 | + which |
| 14 | + clicked the callback button. |
| 15 | +- The following functions have been added to the `VkDartMessageUpdate` model: |
| 16 | + - `sendMessage`: sends a message to the user in the dialog from which the event came. If you specify |
| 17 | + the `peerIds` parameter will be sent to the necessary dialogs. |
| 18 | + - `replyMessage`: does the same thing as `sendMessage`, but replies to the message. |
| 19 | + - `setActivity`: changes the typing status in the dialog. |
| 20 | +- Added properties to the `MessageModel` model: |
| 21 | + - `actionType`: type of service action with chat. |
| 22 | + - `actionMemberId`: ID of the user who pinned/unpinned/joined, etc. |
| 23 | + - `actionText`: title of the conversation. |
| 24 | + - `actionOldText`: old name of the conversation. |
| 25 | + - `actionEmail`: user email. |
| 26 | + - `actionPhoto50`: used instead of `photo50`. |
| 27 | + - `actionPhoto100`: used instead of `photo100`. |
| 28 | + - `actionPhoto200`: used instead of `photo200`. |
| 29 | + |
| 30 | + The following properties have been removed: `actionMid`, `photo50`, `photo100`, `photo200`. |
| 31 | +- New threads that produce messages with a service action |
| 32 | + chat `onChatUser`, `onChatPin`, `onChatCreate`, `onChatPhoto`, `onChatTitle`. |
| 33 | + |
1 | 34 | ## 2.2.0
|
| 35 | + |
2 | 36 | Change:
|
| 37 | + |
3 | 38 | - Remove class `ApiResponse`.
|
4 |
| -- The `VkDartUpdate` class-mixin was removed, the `Update` class was renamed to `VkDartUpdate`. ([Commit](https://github.com/swedesjs/vkdart/commit/215637989b6b3e9758ab0340006641db4eaeb7b3#diff-d57374fc48bdddbb8ba6e673b90a428de20bce6e128f5435b36d5c662f3be063)) |
5 |
| - - The `eventData` property has been renamed to `data`. |
6 |
| -- [Api.request](https://pub.dev/documentation/vkdart/latest/vkdart.vkontakte/Api/request.html): implementation of API invocation, function return type and input parameters type. ([Commit](https://github.com/swedesjs/vkdart/commit/4af4bd67a6767162e40beed3344d96fbf0978d1d)) |
| 39 | +- The `VkDartUpdate` class-mixin was removed, the `Update` class was renamed |
| 40 | + to `VkDartUpdate`. ([Commit](https://github.com/swedesjs/vkdart/commit/215637989b6b3e9758ab0340006641db4eaeb7b3#diff-d57374fc48bdddbb8ba6e673b90a428de20bce6e128f5435b36d5c662f3be063)) |
| 41 | + - The `eventData` property has been renamed to `data`. |
| 42 | +- [Api.request](https://pub.dev/documentation/vkdart/2.2.0/vkdart.vkontakte/Api/request.html): implementation of API |
| 43 | + invocation, function return type and input parameters |
| 44 | + type. ([Commit](https://github.com/swedesjs/vkdart/commit/4af4bd67a6767162e40beed3344d96fbf0978d1d)) |
7 | 45 |
|
8 | 46 | New:
|
9 |
| -- [VkDartLikeUpdate](https://pub.dev/documentation/vkdart/latest/vkdart.model/VkDartLikeUpdate-class.html), [VkDartMarketOrderUpdate](https://pub.dev/documentation/vkdart/latest/vkdart.model/VkDartMarketOrderUpdate-class.html), [VkDartWallUpdate](https://pub.dev/documentation/vkdart/latest/vkdart.model/VkDartWallUpdate-class.html): new [modifiers](https://github.com/swedesjs/vkdart/commit/599d169782a82190e4ebff20624baf40c52c1321). |
| 47 | + |
| 48 | +- [VkDartLikeUpdate](https://pub.dev/documentation/vkdart/2.2.0/vkdart.model/VkDartLikeUpdate-class.html), [VkDartMarketOrderUpdate](https://pub.dev/documentation/vkdart/latest/vkdart.model/VkDartMarketOrderUpdate-class.html), [VkDartWallUpdate](https://pub.dev/documentation/vkdart/latest/vkdart.model/VkDartWallUpdate-class.html): |
| 49 | + new [modifiers](https://github.com/swedesjs/vkdart/commit/599d169782a82190e4ebff20624baf40c52c1321). |
10 | 50 |
|
11 | 51 | ## 2.1.0
|
| 52 | + |
12 | 53 | Change:
|
| 54 | + |
13 | 55 | - The documentation has become more correct and clearer.
|
14 | 56 | - Got rid of the `dia`, `dia_body`, `dio` dependencies. `Dio` was replaced by the `http` package and `dia` by `dart:io`.
|
15 |
| -- [VkDartUpdate](https://pub.dev/documentation/vkdart/2.1.0/vkdart.model/VkDartUpdate-class.html): payload property renamed to updateObject. |
| 57 | +- [VkDartUpdate](https://pub.dev/documentation/vkdart/2.1.0/vkdart.model/VkDartUpdate-class.html): payload property |
| 58 | + renamed to updateObject. |
16 | 59 |
|
17 | 60 | New:
|
18 |
| -- [MessageModel](https://pub.dev/documentation/vkdart/2.1.0/vkdart.vkontakte/MessageModel-class.html): function [applyPayload](https://pub.dev/documentation/vkdart/2.1.0/vkdart.vkontakte/MessageModel/applyPayload.html) is implemented, which overloads the payload correctly. |
19 |
| -- [HttpClient](https://pub.dev/documentation/vkdart/2.1.0/vkdart.util/HttpClient-class.html): for convenient use of requests to the VK server. |
20 |
| -- [VkDartMessageUpdate](https://pub.dev/documentation/vkdart/2.1.0/vkdart.model/VkDartMessageUpdate-class.html): new [modifiers](https://github.com/swedesjs/vkdart/commit/a0b2c137d6202a48173c792aa125e53c42ff01d2). |
21 |
| -- [VkDartKeyboard](https://pub.dev/documentation/vkdart/2.1.0/vkdart.util/VkDartKeyboard-class.html): for convenient use of VK keyboards. |
| 61 | + |
| 62 | +- [MessageModel](https://pub.dev/documentation/vkdart/2.1.0/vkdart.vkontakte/MessageModel-class.html): |
| 63 | + function [applyPayload](https://pub.dev/documentation/vkdart/2.1.0/vkdart.vkontakte/MessageModel/applyPayload.html) is |
| 64 | + implemented, which overloads the payload correctly. |
| 65 | +- [HttpClient](https://pub.dev/documentation/vkdart/2.1.0/vkdart.util/HttpClient-class.html): for convenient use of |
| 66 | + requests to the VK server. |
| 67 | +- [VkDartMessageUpdate](https://pub.dev/documentation/vkdart/2.1.0/vkdart.model/VkDartMessageUpdate-class.html): |
| 68 | + new [modifiers](https://github.com/swedesjs/vkdart/commit/a0b2c137d6202a48173c792aa125e53c42ff01d2). |
| 69 | +- [VkDartKeyboard](https://pub.dev/documentation/vkdart/2.1.0/vkdart.util/VkDartKeyboard-class.html): for convenient use |
| 70 | + of VK keyboards. |
22 | 71 |
|
23 | 72 | ## 2.0.0
|
| 73 | + |
24 | 74 | Change:
|
| 75 | + |
25 | 76 | - A census of the API package documentation.
|
26 | 77 | - Refactoring code.
|
27 | 78 | - Got rid of the dependency json_annotation, json_serializable, build_runner
|
28 | 79 |
|
29 |
| -New: |
| 80 | +New: |
| 81 | + |
30 | 82 | - Of attachment models, messages, and events.
|
31 | 83 | - Of an unsupported event handler.
|
32 | 84 | - The util library, which contains useful functions for working correctly with the package.
|
33 | 85 |
|
34 | 86 | ## 1.3.6
|
| 87 | + |
35 | 88 | Change: two `donut` handlers are combined into one (`onDonut()`)
|
36 | 89 |
|
37 | 90 | ## 1.3.5
|
| 91 | + |
38 | 92 | fix: adjustment of `donut` handlers.
|
39 | 93 |
|
40 | 94 | ## 1.3.4
|
41 |
| -Refactor: correction in the name of the event handler `group_officers_edit`, `group_change_settings`, `group_change_photo`. |
| 95 | + |
| 96 | +Refactor: correction in the name of the event |
| 97 | +handler `group_officers_edit`, `group_change_settings`, `group_change_photo`. |
42 | 98 | Rename `onGroupUpdate()` -> `onGroupChange()`
|
43 | 99 |
|
44 | 100 | ## 1.3.3
|
| 101 | + |
45 | 102 | Refactor: correction in the name of the event handler `wall_post_new`, `wall_repost`.
|
46 | 103 | Rename `onWallPost()` -> `onWall()`
|
47 | 104 |
|
48 | 105 | ## 1.3.2
|
| 106 | + |
49 | 107 | Add: Added a handler for the `message_reaction_event` event.
|
50 | 108 |
|
51 | 109 | ## 1.3.1
|
| 110 | + |
52 | 111 | Fix: `Longpoll Fetcher`: only one event was read at startup.
|
53 | 112 |
|
54 | 113 | ## 1.3.0
|
| 114 | + |
55 | 115 | Change:
|
| 116 | + |
56 | 117 | - Documentation on using.
|
57 | 118 | - File structure package.
|
58 | 119 | - Structure of using the package.
|
59 | 120 | - Example file.
|
60 | 121 |
|
61 |
| -New: |
| 122 | +New: |
| 123 | + |
62 | 124 | - **Event class**. Interface containing event streams.
|
63 | 125 | - Functions to listen for specific events.
|
64 | 126 |
|
65 | 127 | ## 1.2.0
|
| 128 | + |
66 | 129 | - Removed attachment interfaces to make the package lighter.
|
67 | 130 | - Removed support for Longpoll API, now only Callback API.
|
68 | 131 | - The structure of the Callback API interface has been changed.
|
69 | 132 | - Added lists of `update types`.
|
70 | 133 |
|
71 | 134 | ## 1.1.2
|
| 135 | + |
72 | 136 | - Added `getAttachmentFromJson()` function.
|
73 | 137 | - Correction in the interface name `AudioAttachment`.
|
74 | 138 | - Added error handler to using `CallbackAPI`
|
75 | 139 |
|
76 | 140 | ## 1.1.1
|
| 141 | + |
77 | 142 | - Fixed incorrect operation of the `api.request()` function.
|
78 | 143 | - Amendments have been made to the documentation.
|
79 | 144 |
|
|
0 commit comments