Releases: ExpressApp/pybotx
Releases · ExpressApp/pybotx
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.
0.22.1 (Aug 25, 2021)
Added
- Add
embed_mentions
argument infrom_message
method.
Fixed
- Fix
EMBED_MENTION_RE
expression
0.22.0 (Aug 19, 2021)
Tested on BotX 1.44.0-rc2
Added
- Sending and handling internal bot notifications.
0.21.3 (Aug 23, 2021)
Fixed
- Bot's method
authorize()
now not fall if cant take some tokens. Just logging and skip invalid credentials.
0.21.2 (Aug 3, 2021)
Fixed
File
is now serializing when sending message.
0.21.1 (Jul 28, 2021)
Fixed
- Make the
body
attribute ofReply
event optional. - Add
AttachmentMeta
model toReply
event instead ofAttachments
.
0.21.0 (Jul 23, 2021)
Tested on BotX 1.42.0-rc4
Fixed
- Remove
Dict[str, Any]
from type oferror_data
field ofBotDisabledResponse
,
now it can only beBotDisabledErrorData
.