Releases: livechat/lc-sdk-python
Releases · livechat/lc-sdk-python
0.3.9
[0.3.9] - 2024-04-22
Added
- New methods in configuration-api v3.5, v3.6 for bot management:
create_bot_template
,delete_bot_template
,update_bot_template
,list_bot_templates
,issue_bot_token
,reset_bot_secret
,reset_bot_template_secret
.
Changed
- Updated outdated packages.
- Enhanced error logging for improved troubleshooting: Automatically includes response headers in the log for server errors, providing detailed information (such as x-debug-id) for more effective issue diagnosis.
- Enhanced timeouts for the RTM and WEB clients.
- Introduced
AccessToken
structure which allows keeping token type in separate field. Previous way of passing tokens as a string of formattype: token
remains supported for backwards compatibility.
Bugfixes
- Enabled instantiation for
CustomerRtmV36
within the 3.6 version of the Customer RTM API. - Adjusted the return types in
get_client
method across RTM and WEB clients. - Fixed an issue where messages in the WebSocket client were incorrectly shared across all instances.
- Fixed
upload_file
method in agent-api v3.4/v3.5/v3.6 classes.
0.3.8
[0.3.8] - 2023-11-30
Added
- Support for
logout
method in agent-api v3.6 web class. - Support for
agent_id
parameter in agent-api v3.6logout
method.
Changed
- Implemented truncation of request params in logging for large data.
Bugfixes
- Allow sending rtm events as a bot by adding
author_id
param.
0.3.7.1
[0.3.7.1] - 2023-09-28
- Re-release of
0.3.7
version.
0.3.7
[0.3.7] - 2023-09-26
Added
reactivate_email
andupdate_company_details
actions in configuration-api v3.6 class.disable_logging
flag for web based clients.
Changed
- Loguru used for logging.
- Required packages to currently newest versions.
Bugfixes
- Fix HTTP request type for
get_product_source
method in Configuration API v3.5 and v3.6. - Fix an issue related to fetching responses in RTM.
0.3.6
[0.3.6] - 2023-03-09
Added
- Added support for billing-api.
- New
highest_available
option forcustomer_monitoring_level
in agent-apilogin
method.
Bugfixes
- Fix
customer_monitoring_level
parameter inlogin
method in agent-api v3.3/v3.4/v3.5 classes. - Fix
httpx
version in setup.cfg
Removed
- Support for
list_customers
method in agent-api v3.6 classes.
0.3.5
[0.3.5] - 2022-11-25
Added
- Support for new batch methods in configuration-api v3.5:
batch_create_bots
,batch_delete_bots
,batch_update_bots
. - Support for new version 3.6.
Changed
- Config now points to v3.5 as stable and 3.6 as dev-preview version.
0.3.4
Added
- New methods in configuration-api v3.5:
list_groups_properties
,get_product_source
. - Support for
default_group_priority
parameter increate_bot
andupdate_bot
methods in configuration-api v3.3/v3.4/v3.5 classes. - Support for
job_title
parameter increate_bot
method in configuration-api v3.3/v3.4/v3.5 classes. - Support for
proxies
andverify
parameters for web base clients.
Changed
- Renamed method
tag_chat_usage
tochat_usage
in reports-api v3.5. - Internal documentation main page and structure.
Bugfixes
- Fix paths for
response_time
andfirst_response_time
methods in reports-api v3.4/v3.5 classes. - Fix
upload_file
method in agent-api v3.4/v3.5 classes.
Removed
- Support for
list_group_properties
,get_license_id
andget_organization_id
method in configuration-api v3.5 class. - Support for
webhook
parameter increate_bot
andupdate_bot
methods in configuration-api v3.3/v3.4/v3.5 classes.
0.3.3
Added
- Support fo new batch methods in configuration-api v3.5:
batch_create_agents
,batch_delete_agents
,batch_update_agents
,batch_approve_agents
,batch_suspend_agents
,batch_unsuspend_agents
.
Changed
- Updated requirements.txt.
Bugfixes
- Fix HTTP method in
get_dynamic_configuration
,get_configuration
,get_localization
,list_group_properties
,list_license_properties
anddelete_event_properties
. - Fix
upload_file
method by changing the way of uploading files; using HTTP multipart encoding.
0.3.2
Added
- Webhooks support. Allows to easily convert webhook's body into parsed data classes.
0.3.1
Changed
- Updated httpx dependency to a version which fixes a potential vulnerability.
- Updated readme file and extended examples with getting pushes from the websocket client.