Skip to content

Releases: swedesjs/vkdart

v2.3.1

05 Apr 20:15
v2.3.1
983b6ba

Choose a tag to compare

Changes:

  • Added the ability to subscribe to the main thread twice or more times.

Version 2.3.0

24 Feb 21:35
v2.3.0
58152d3

Choose a tag to compare

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 request function.
  • The fetcher parameter to the VkDart class is required.

News:

  • The answer function has been added to the VkDartMessageEventUpdate model, which will send an event with an action
    to the user,
    which
    clicked the callback button.

  • The following functions have been added to the VkDartMessageUpdate model:

    • sendMessage: sends a message to the user in the dialog from which the event came. If you specify
      the peerIds parameter will be sent to the necessary dialogs.
    • replyMessage: does the same thing as sendMessage, but replies to the message.
    • setActivity: changes the typing status in the dialog.
  • Added properties to the MessageModel model:

    • 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 of photo50.
    • actionPhoto100: used instead of photo100.
    • actionPhoto200: used instead of photo200.

    The following properties have been removed: actionMid, photo50, photo100, photo200.

  • New threads that produce messages with a service action
    chat onChatUser, onChatPin, onChatCreate, onChatPhoto, onChatTitle.

Version 2.2.0

13 Feb 13:38
v2.2.0
7253330

Choose a tag to compare

Change:

  • Remove class ApiResponse.
  • The VkDartUpdate class-mixin was removed, the Update class was renamed to VkDartUpdate. (Commit)
    • The eventData property has been renamed to data.
  • Api.request: implementation of API invocation, function return type and input parameters type. (Commit)

New:

Version 2.1.0

08 Feb 19:11
v2.1.0
39aeff6

Choose a tag to compare

Update:

  • The documentation has become more correct and clearer.
  • Got rid of the dia, dia_body, dio dependencies. Dio was replaced by the http package and dia by dart:io.
  • VkDartUpdate: payload property renamed to updateObject.

New:

Version 2.0.0

04 Feb 17:21
v2.0.0
a4d9b39

Choose a tag to compare

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

31 Jan 16:58
v1.3.1
33aea94

Choose a tag to compare

Fix: Longpoll Fetcher: only one event was read at startup.

Version 1.3.6

03 Feb 09:38
v1.3.6
6dfb913

Choose a tag to compare

Update: two donut handlers are combined into one (onDonut())

Version 1.3.5

03 Feb 09:00
v1.3.5
08f13df

Choose a tag to compare

fix: adjustment of donut handlers.

Version 1.3.4

03 Feb 07:35
v1.3.4
e2c400b

Choose a tag to compare

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

01 Feb 17:47
v1.3.3
82b95b6

Choose a tag to compare

Refactor: correction in the name of the event handler wall_post_new, wall_repost.
Rename onWallPost() -> onWall()