Skip to content

Releases: ExpressApp/pybotx

0.30.0 (Mar 21, 2022)

21 Mar 11:45
5f990f9
Compare
Choose a tag to compare

pybotx library was rewritten to achieve the following goals:

  • Make it easy to maintain (adding new events and methods)
  • Separate pybotx models from botx API for better abstraction
  • Make tests simpler, check real code instead of many mocks
  • Use incoming message context for answer method
  • Add undefined value for fields that can be skipped in payload
  • Drop unused sync client
  • Drop DI system, which was incomplete (no yield support) and hard to maintain
  • Drop next steps (pybotx-fsm solve this task)

0.28.0 (Nov 11, 2021)

14 Dec 10:36
816290d
Compare
Choose a tag to compare

Added

  • SmartApps main functionality.

0.27.0 (Nov 8, 2021)

10 Nov 20:06
e234775
Compare
Choose a tag to compare

Added

  • pin_message and unpin_message methods.

0.26.0 (Nov 1, 2021)

01 Nov 08:13
5c28118
Compare
Choose a tag to compare

Added methods for interacting with sticker pack/stickers - get_sticker_pack_list, get_sticker_pack. get_sticker_from_pack, create_sticker_pack, add_sticker, edit_sticker_pack, delete_sticker_pack, delete_sticker.

0.25.1 (Oct 22, 2021)

26 Oct 09:29
97c8b1c
Compare
Choose a tag to compare

Add embed_mentions argument in answer_message method

0.25.0 (Sep 17, 2021)

20 Sep 06:57
bd9a99d
Compare
Choose a tag to compare

Added

  • cts_login and cts_logout system events.

0.24.0 (Sep 14, 2021)

14 Sep 14:14
6a2c7e4
Compare
Choose a tag to compare

Removed

  • File extensions validation.
  • File.has_supported_extension classmethod.

Added

  • Multiple mime-types.

Changed

  • File.get_ext_by_mimetype now don't raise ValueError and returns None if mimetype not found.

0.23.2 (Sep 09, 2021)

09 Sep 09:29
4d0d827
Compare
Choose a tag to compare

Added

  • Add file_name param to download_file method to provide ability to change the returned file name.

0.23.1 (Aug 30, 2021)

31 Aug 07:14
Compare
Choose a tag to compare

Fixed

  • Memory leak in bot.tasks collection.

0.23.0 (Aug 25, 2021)

25 Aug 12:10
7e2cef0
Compare
Choose a tag to compare

Added

  • Add method for uploading files to chat.
  • Add method for downloading files from chat.

Changed

  • Add data and files fields to HTTPRequest for sending multipart/form-data in request.
  • Add expected_type field to HTTPRequest and expected_type property to BaseBotXMethod
    to allow interacting with non JSON responses.
  • Add should_process_as_error field to HTTPRequest so that errors that are not in
    the range of 400 to 599 can be added.
  • Add raw_data to HTTPResponseso that you can process raw content of response.