Releases: swedesjs/vkdart
v2.3.1
Version 2.3.0
Changes:
- The Api class has been renamed to Vkontakte.
- Interfaces of VK sections have been removed; now it is necessary to access methods through the
requestfunction. - The
fetcherparameter to theVkDartclass is required.
News:
-
The
answerfunction has been added to theVkDartMessageEventUpdatemodel, which will send an event with an action
to the user,
which
clicked the callback button. -
The following functions have been added to the
VkDartMessageUpdatemodel:sendMessage: sends a message to the user in the dialog from which the event came. If you specify
thepeerIdsparameter will be sent to the necessary dialogs.replyMessage: does the same thing assendMessage, but replies to the message.setActivity: changes the typing status in the dialog.
-
Added properties to the
MessageModelmodel:actionType: type of service action with chat.actionMemberId: ID of the user who pinned/unpinned/joined, etc.actionText: title of the conversation.actionOldText: old name of the conversation.actionEmail: user email.actionPhoto50: used instead ofphoto50.actionPhoto100: used instead ofphoto100.actionPhoto200: used instead ofphoto200.
The following properties have been removed:
actionMid,photo50,photo100,photo200. -
New threads that produce messages with a service action
chatonChatUser,onChatPin,onChatCreate,onChatPhoto,onChatTitle.
Version 2.2.0
Change:
- Remove class
ApiResponse. - The
VkDartUpdateclass-mixin was removed, theUpdateclass was renamed toVkDartUpdate. (Commit)- The
eventDataproperty has been renamed todata.
- The
- Api.request: implementation of API invocation, function return type and input parameters type. (Commit)
New:
Version 2.1.0
Update:
- The documentation has become more correct and clearer.
- Got rid of the
dia,dia_body,diodependencies.Diowas replaced by thehttppackage anddiabydart:io. - VkDartUpdate: payload property renamed to updateObject.
New:
- MessageModel: function applyPayload is implemented, which overloads the payload correctly.
- HttpClient: for convenient use of requests to the VK server.
- VkDartMessageUpdate: new modifiers.
- VkDartKeyboard: for convenient use of VK keyboards.
Version 2.0.0
Update:
- A census of the API package documentation.
- Refactoring code.
- Got rid of the dependency json_annotation, json_serializable, build_runner
Release:
- Of attachment models, messages, and events.
- Of an unsupported event handler.
- The util library, which contains useful functions for working correctly with the package.
Version 1.3.1
Fix: Longpoll Fetcher: only one event was read at startup.
Version 1.3.6
Update: two donut handlers are combined into one (onDonut())
Version 1.3.5
fix: adjustment of donut handlers.
Version 1.3.4
Refactor: correction in the name of the event handler group_officers_edit, group_change_settings, group_change_photo.
Rename onGroupUpdate() -> onGroupChange()
Version 1.3.3
Refactor: correction in the name of the event handler wall_post_new, wall_repost.
Rename onWallPost() -> onWall()