Skip to content

3.4.0

Choose a tag to compare

@robert-nogueira robert-nogueira released this 01 Jun 08:22
· 126 commits to main since this release

Release Notes - [3.4.0] (01/06/2024)

🚀 Features

  • Now, in certain methods, you have the option to incorporate the extra argument to
    send metadata to listeners. If the annotation of this parameter in the listener is
    a pydantic model, and the metadata provided through extra, 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_id to FileInfo object

📝 Docs

🚨 Breaking Changes

  • Endpoint.user_me renamed to Endpoint.user;

  • removed Endpoint.user_info;

  • removed Client.user_info;

  • renamed Client.me to Client.user.

  • removed support to statistics endpoint:

    • Client.statistics method;
    • Endpoint.statistics class method;
    • CLI sub-command statistics;