3.4.0
Release Notes - [3.4.0] (01/06/2024)
🚀 Features
-
Now, in certain methods, you have the option to incorporate the
extraargument to
send metadata to listeners. If the annotation of this parameter in the listener is
a pydantic model, and the metadata provided throughextra, the SDK will attempt to
convert this metadata into that model. -
Added logs to listeners, when a listener is called some useful information are
provided, like the endpoint of this listener and this return
🐛 Bug Fixes
- Fixed typing dues to api changes
✨ Enhancements
-
Previously there was an API to create and manage configuration files, but it was very
simple and not versatile. For this reason, this API has been modified, now config files
are class objects and has been added some features, such as serialization and deserialization.More about usage can be viewed
at this link⚠️ The method create_config_file can still be used, but it has been marked as
deprecated, and will be removed in the future. -
added field
app_idtoFileInfoobject
📝 Docs
-
📚 update config file creation example
-
📚 update request listener example
-
🗑️ removed statistics examples
🚨 Breaking Changes
-
Endpoint.user_merenamed toEndpoint.user; -
removed
Endpoint.user_info; -
removed
Client.user_info; -
renamed
Client.metoClient.user. -
removed support to statistics endpoint:
Client.statisticsmethod;Endpoint.statisticsclass method;- CLI sub-command
statistics;