Releases: vegather/Disruptive
Releases · vegather/Disruptive
Adds product numbers, fahrenheit, and 2nd gen temp sensor
Updates
- Product numbers: All devices now have a new product number field. This product number is the same product number that can be found on the support pages for both Sensors and Cloud Connectors. Product numbers can be used to sort and filter devices when calling
getAllDevices
. They can also be used as a filter when starting a new event stream by callingsubscribeToDevices
. - Fahrenheit support: In addition to celsius field on temperature events, there is now also a fahrenheit field. Fahrenheit can also be used to create a new temperature event to publish to a device emulator.
- 2nd gen temperature sensor: The new 2nd generation temperature sensor from Disruptive Technologies supports sampling additional temperature samples between two heartbeats. These samples are available as a new
samples
array on aTemperatureEvent
.
Initial Release
This is the initial release of the Swift API for Disruptive Technologies' REST API. It provides full support for all the available endpoints in the REST API, has thorough documentation for all the functions and types, and is well tested.
Adds support for Service Accounts, minor source-breaking changes
- Renamed
ServiceAccount
toServiceAccountCredentials
. This is a source-breaking change. - Added support for the Service Account resource (as well as tests).
- Added
isEmulated
field toDevice
to indicated whether or not the device is an emulated one or not. - Handling edge-case when parsing
ConnectionStatusEvent
. - Improved parsing algorithm for Server Sent Events (DeviceEventStream).
- Removed a convenience function (
subscribeToDevice
) that didn't match the rest of the API. This is a source-breaking change. - Added more unit tests (reached 90% code coverage).
- Various improvements to documentation, such as typo fixes.
Add Data Connector support + misc endpoints implemented
Includes the following changes:
- Full support for Data Connector endpoints
- Implemented endpoint to get a specific organization
- Implemented endpoint to delete a project
- Improved documentation
- Hopefully fixed CI
Various improvements to authentication, docs, API naming, tests
This release contains several source-breaking changes to improve consistency across the API:
- Improvements to naming, as well as default behavior of OAuth2 authentication. Also includes unit tests for authentication
- Added documentation for almost every type, property, and function
- Added endpoint for removing device labels, including tests
- Added more generic label batch update label that matches the REST API's
:batchUpdate
. The remainder of the label related endpoints is implemented as a thin wrapper on top of this. Also added tests - Various minor tweaks to API naming for better consistency
Early Pre-Release
This is the first release of the Swift API for Disruptive Technologies. It provides support for the most common use-cases for version 2 of the Disruptive Technologies REST API.