- Updated
@clarify/api
to 0.3.0
- Support for including
enumValues
is restored. - Added new payload formats: You're now allowed to send in just a number as the payload, an object containing a time and a value, or the existing format, an object with two arrays with
times
andvalues
. - Allow setting
valueType
on the signal.type
is being renamed tovalueType
on the API. We will be tratingtype
as an alias forvalueType
.
- Remove override fields from
clarify-api
node. You can only configure it using a credentials file. - All
input
errors are now catchable, and won’t be send through the wire if the request fails. - The
clarify_insert
node no longer has an output, all errors are catchable using ancatch
block. - Remove support for Node 12
- Moved packaged from
@searis/node-red-contrib-clarify
to@searis/node-red-contrib-clarify
.- We’ll continue to publish the old package for the lifetime of the v2, but we’ll deprecate it.
- Remove override fields from
clarify-api
node. You can only configure it using a credentials file. - All
input
errors are now catchable, and won’t be send through the wire if the request fails. - Remove support for Node 12
- Moved packaged from
@searis/node-red-contrib-clarify
to@searis/node-red-contrib-clarify
.- We’ll continue to publish the old package for the lifetime of the v2, but we’ll deprecate it.
- Use less strict input id (topic) requirements
- Changed default branch name from
master
tomain
.
- Change outputs to only output data from Clarify servers.
- Merged the two outputs from the insert block into one output. See node documentation for more information.
- Change Clarify URLs from clarify.us to clarify.io.
- Moved code from repo github.com/searis to github.com/clarify.
- Bugfix: reset mutex on http error in fetchToken
- Minimum buffertime is 5 seconds
- Use new endpoint for access tokens
Updated the format of the messages according to this proposal: #28
- The Input ID is put in
msg.topic
- The signal meta data is moved out of the payload to
msg.signal
msg.payload.data.times
is renamed/moved tomsg.payload.times
msg.payload.data.series
is renamed/moved tomsg.payload.values
New message format:
msg:
topic: "<Input ID>"
payload:
times: ["<timestamp>", ...]
values: [(<number>||null), ...]
signal: <Signal> // Match https://docs.clarify.io/reference#signal