Skip to content

Releases: Cumulocity-IoT/cumulocity-python-api

Release 3.4.0-beta.1

21 Aug 16:03
Compare
Choose a tag to compare
Release 3.4.0-beta.1 Pre-release
Pre-release
  • Updated and rewrote Notification 2.0 listener implementation. Added additional parameters for more control:
    consumer_name, shared, auto_ack and auto_unsubscribe. Added unsubscribe function for removing
    subscribers on demand. Both AsyncListener and Listener now provide consistent start/stop functions
    which take care of coroutine and thread creation. The listen function can still be invoked directly if
    necessary.

Release 3.3.0

12 Aug 11:18
Compare
Choose a tag to compare

This release includes many usability and stability fixes:

  • Added get_by function to inventory API to return a single object by query.
  • Added CumulocityApp class to module c8y_tk.app which allows working with Cumulocity interactively, e.g. in a
    Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
    ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
    c8y-go-cli tool.
  • Added c8y_tk.app packages with SubscriptionListener class to ease development of multi_tenant microservices
    which need to act on all subscribed tenants or on added/removed subscriptions alike.
  • Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
  • Single and multi tenant applications now automatically set the application_key property from the standard
    APPLICATION_KEY environment variable.
  • Added get_count function to Operations API.
  • Added as_values parameter to get_all and select functions of the Inventory, DeviceInventory,
    DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API.
  • Added code coverage reporting to test target for invoke.
  • Updated as_tuple for complex objects as well as the as_values parameter for select
    and get_all functions to work with strings or 2-tuples. The use of a dictionary
    was removed as dictionaries don't define an order.
  • Added as_values parameter to the Measurements API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Version 3.3.0 RC2

01 Aug 14:03
6134a5f
Compare
Choose a tag to compare
Version 3.3.0 RC2 Pre-release
Pre-release
  • Added get_by function to inventory API to return a single object by query.
  • Added CumulocityApp class to module c8y_tk.app which allows working with Cumulocity interactively, e.g. in a
    Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
    ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
    c8y-go-cli tool.
  • Added c8y_tk.app packages with SubscriptionListener class to ease development of multi_tenant microservices
    which need to act on all subscribed tenants or on added/removed subscriptions alike.
  • Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
  • Single and multi tenant applications now automatically set the application_key property from the standard
    APPLICATION_KEY environment variable.
  • Added get_count function to Operations API.
  • Added as_values parameter to get_all and select functions of the Inventory, DeviceInventory,
    DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API.
  • Added code coverage reporting to test target for invoke.
  • Updated as_tuple for complex objects as well as the as_values parameter for select
    and get_all functions to work with strings or 2-tuples. The use of a dictionary
    was removed as dictionaries don't define an order.
  • Added as_values parameter to the Measurements API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Version 3.3.0 RC1

31 Jul 15:49
Compare
Choose a tag to compare
Version 3.3.0 RC1 Pre-release
Pre-release
  • Added CumulocityApp class to module c8y_tk.app which allows working with Cumulocity interactively, e.g. in a
    Jupyther notebook. It will deal with environment variables just like the other connection helpers but will also
    ask interactively for missing info, e.g. a second factor with 2FA. It also integrates well with the
    c8y-go-cli tool.
  • Added c8y_tk.app packages with SubscriptionListener class to ease development of multi_tenant microservices
    which need to act on all subscribed tenants or on added/removed subscriptions alike.
  • Adding debug logs to base API as default urllib3 logs are not helpful for our purpose.
  • Single and multi tenant applications now automatically set the application_key property from the standard
    APPLICATION_KEY environment variable.
  • Added get_count function to Operations API.
  • Added as_values parameter to get_all and select functions of the Inventory, DeviceInventory,
    DeviceGroupInventory, Events, Alarms, Users, Operations, and AuditRecords API.
  • Added code coverage reporting to test target for invoke.
  • Updated as_tuple for complex objects as well as the as_values parameter for select
    and get_all functions to work with strings or 2-tuples. The use of a dictionary
    was removed as dictionaries don't define an order.
  • Added as_values parameter to the Measurements API select and get_all functions.
  • Adding c8y_tk.analytics package with to_numpy, to_series and to_data_frame functions to
    ease incorporating Cumulocity data into standard analytics pipelines.

Release 3.3.0-beta.11

25 Jul 14:46
ee0cc7b
Compare
Choose a tag to compare
Release 3.3.0-beta.11 Pre-release
Pre-release
Merge pull request #78 from Cumulocity-IoT/feature/better-get_last

Feature/better get last

Release 3.3.0-beta.9

28 May 07:58
Compare
Choose a tag to compare
Release 3.3.0-beta.9 Pre-release
Pre-release

Updated typing to be more generic.

Release 3.3.0-beta.10

28 May 09:17
Compare
Choose a tag to compare
Release 3.3.0-beta.10 Pre-release
Pre-release

Fixed application key to be optional for injected environments.

Release 3.3.0-beta.8

28 May 06:43
069ea0d
Compare
Choose a tag to compare
Release 3.3.0-beta.8 Pre-release
Pre-release

Single and multi tenant applications now automatically set the application_key property from the standard APPLICATION_KEY environment variable.

Release 3.3.0-beta.7

16 May 15:59
bcefb10
Compare
Choose a tag to compare
Release 3.3.0-beta.7 Pre-release
Pre-release
  • Added release candidate version of subscription listener extension.

Release 3.3.0-beta.6

05 May 15:50
Compare
Choose a tag to compare
Release 3.3.0-beta.6 Pre-release
Pre-release
  • Adding preview version of new subscription listener extension