Enhancement:
- core: update other dependecies to "compatible" versions on install
Enhancement:
- datastreams: add "GEOJSON" format type to DataStreams
Enhancement:
- update requests dependency to 2.20
- update other dependecies to "compatible" versions on install
Enhancement:
- core: update package long description
Enhancement:
- core: remove subprocess during installation (make installation Windows compatible)
Enhancement:
- tests: added test for sci firmware update attributes
Enhancements:
- devicecore: add support for adding multiple tags
Changes:
- pypi: upgrade Development Status to "4 - Beta"
Enhancements:
- devicecore: add support for adding and removing tags from a device
Bug Fixes:
- core: updated Device Cloud CRT to latest
- core: updated requirements to latest
Bug Fixes:
- core: All Etherios references have been replaced with Digi. Most importantly, the default URL for the devicecloud is now devicecloud.digi.com. The old URL may not redirect properly at some point in the future.
Bug Fixes:
- sci: Targetting groups now works
Enhancements:
- monitors: basic support for creating HTTP monitors was added
- streams: support for the JSON data type added
- sci: support added for filesystem service added. This allows you to access files and directories on any device supporting this service.
Bug Fixes:
- streams: fix data translations from device cloud <-> python types when reading and writing data points. See https://github.com/digidotcom/python-devicecloud/commit/5ac6c15cddf010709361c16b69e622aca93d6b28
Enhancements:
- monitor: Support for the Monitor API was added allowing for querying, adding, and removing of monitors (limiited to TCP right now).
- monitor: Support for listening for changes and receiving callbacks when monitors are triggered has been added. Support is limited to SSL/TCP for now.
- streams: get_stream() now optionally accepts a
stream_prefix
that allow for restricting which streams are returned based on path. - sci: support added for
get_job_async
- devicecore: provisioning: support added for removing devices from an account.
- core: HTTP sessions are now used in order to allow for HTTP connection reuse and credential reuse (via cookies)
Bug Fixes:
- Unit tests for fixed for Python 3.4
- filedata:
raw
option added to work around some issues when retrieving binary data as base64
Enhancements:
- Integration tests were added for some APIs to further test library correctness
- Documentation for several parts of the system, including streams was enhanced.
- Several APIs now support pagination on large result sets that previously lacked support.
- We now expose the underlying object used to send device cloud API requests via
dc.get_connection()
. This allows users to more easily talk to currently unsupported APIs. Support for the basic API verbs plus helpers for handling pagination and other concerns are included. - Support for group operations in devicecore is now present
- Filedata files and directories can now be deleted
- A new 'ws' API has been added for making direct web service requests
- DeviceCore now has support for provisioning one or multiple devices
API Changes:
- devicecore:
list_devices
was changed toget_devices
. Previously, the code did not match the documentation on this front. Calls todc.devicecore.list_devices
will need to be changed todc.devicecore.get_devices
Bug Fixes:
- streams: When creating a stream, the stream_id was used for the description rather than the provided description.
- core: Library now freezes dependencies. Several dependencies updated to latest versions (e.g. requests). Without this, some combinations of the library and dependencies caused various errors.
Thanks to Dan Harrison, Steve Stack, Tom Manley, and Paul Osborne for contributions going into this release.
Enhancements:
- Additional badges were added to the main README
- Documentation updates and improvements
- Packaging was improved to not valid DRY with version
Bug Fixes:
- PYTHONDC-90: Restructured text is now included with sdist releases. This removes an unsightly warning when installing the package.
- PYTHONDC-91: Mismatches between the documentation and code were fixed.
The initial version of the library was released into the world. This version supported the following features:
- Getting basic device information via DeviceCore
- Listing devices associated with a device cloud account
- Interacting with Device Cloud Data Streams
- Create Streams
- Get Stream (by id)
- List all streams
- Get metadata for a stream
- Write a single datapoint to a stream
- Write many datapoints to a stream (homogeneous bulk write)
- Write many datapoints to multiple streams (heterogeneous bulk write)
- Read data points from a stream (includes control over order of returned data set as well as allowing for retrieving data roll-ups, etc.)
- Support for accessing Device Cloud FileData store
- Get filedata matching a provided condition (path, file extension, size, etc.)
- Write files to filedata store
- Recursively walk filedata directory tree from some root location
- Get full metadata and contents of files and directories.
- Low level support for performing basic SCI commands with limited parsing of results and support for only a subset of available services/commands.