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
pybotx
models frombotx
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)
Added
- SmartApps main functionality.
0.27.0 (Nov 8, 2021)
Added
pin_message
andunpin_message
methods.
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_login
andcts_logout
system events.
0.24.0 (Sep 14, 2021)
Removed
- File extensions validation.
File.has_supported_extension
classmethod.
Added
- Multiple mime-types.
Changed
File.get_ext_by_mimetype
now don't raiseValueError
and returnsNone
if mimetype not found.
0.23.2 (Sep 09, 2021)
Added
- Add
file_name
param todownload_file
method 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
data
andfiles
fields toHTTPRequest
for sending multipart/form-data in request. - Add
expected_type
field toHTTPRequest
andexpected_type
property toBaseBotXMethod
to allow interacting with non JSON responses. - Add
should_process_as_error
field toHTTPRequest
so that errors that are not in
the range of 400 to 599 can be added. - Add
raw_data
toHTTPResponse
so that you can process raw content of response.