Releases: ExpressApp/pybotx
Releases · ExpressApp/pybotx
0.30.0 (Mar 21, 2022)
pybotx library was rewritten to achieve the following goals:
- Make it easy to maintain (adding new events and methods)
- Separate
pybotxmodels frombotxAPI for better abstraction - Make tests simpler, check real code instead of many mocks
- Use incoming message context for
answermethod - Add
undefinedvalue for fields that can be skipped in payload - Drop unused sync client
- Drop DI system, which was incomplete (no
yieldsupport) and hard to maintain - Drop next steps (
pybotx-fsmsolve this task)
0.28.0 (Nov 11, 2021)
Added
- SmartApps main functionality.
0.27.0 (Nov 8, 2021)
Added
pin_messageandunpin_messagemethods.
0.26.0 (Nov 1, 2021)
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)
Add embed_mentions argument in answer_message method
0.25.0 (Sep 17, 2021)
Added
cts_loginandcts_logoutsystem events.
0.24.0 (Sep 14, 2021)
Removed
- File extensions validation.
File.has_supported_extensionclassmethod.
Added
- Multiple mime-types.
Changed
File.get_ext_by_mimetypenow don't raiseValueErrorand returnsNoneif mimetype not found.
0.23.2 (Sep 09, 2021)
Added
- Add
file_nameparam todownload_filemethod to provide ability to change the returned file name.
0.23.1 (Aug 30, 2021)
Fixed
- Memory leak in bot.tasks collection.
0.23.0 (Aug 25, 2021)
Added
- Add method for uploading files to chat.
- Add method for downloading files from chat.
Changed
- Add
dataandfilesfields toHTTPRequestfor sending multipart/form-data in request. - Add
expected_typefield toHTTPRequestandexpected_typeproperty toBaseBotXMethod
to allow interacting with non JSON responses. - Add
should_process_as_errorfield toHTTPRequestso that errors that are not in
the range of 400 to 599 can be added. - Add
raw_datatoHTTPResponseso that you can process raw content of response.