Releases: widesky/jswidesky-client
Releases · widesky/jswidesky-client
2.0.6 Minor Release
The following changes have been made to the library:
FIXED
- Fixed
hisDelete
date validation on timezone offsets.
2.0.5 Minor Release
The following changes have been made to the library:
FIXED
- Fixed file upload not working when given as a
Buffer
.
2.0.4 - Minor Release
The following changes have been made to the library.
ADDED
- Added support for WideSky
hisDelete
endpoint,/api/hisDelete
. This function is for deleting
historical timeseries data within a given range for the given points. - On 401 unauthorised errors and having an existing token, the client will attempt to re-login to force refresh
the tokens and retry the request.
2.0.3 - Minor Release
The following changes have been made to the library.
ADDED
- Added support for the WideSky
createUser
endpoint,/api/admin/user
. As its name implies, this function is use for
creating a new user account in WideSky through one of the supported local/scram authentication method. - Added support for the WideSky
watchSub
endpoint,/api/watchSub
. This allows a user to subscribe to a watch. - Added a function to extend the lease of a watch.
- Added support for the WideSky
watchUnsub
endpoint,/api/watchUnsub
. This allows a user to unsubscribe to a watch. - Added a function to retrieve an API socket using a watch.
2.0.2 Minor Release
The following changes have been made to the library.
FIXED
- Added conditional import for importing
axios
when run by either a browser or node process.
2.0.1 Minor Release
The following changes have been made to the library.
Changed
- Updated built packages to up-to-date with v2.0.0
2.0.0 Major Release
The following changes have been made to the library.
FIXED
- Replaced
x instanceof Array
withArray.isArray(x)
to resolve.
peculiar issues with passing arrays in NodeRED function nodes. - Formatting using
moment
includes the milliseconds of the DateTime object. - Invalid inputs for
WideSkyClient.find
andWideSkyClient.deleteByFilter
are caught before
making a request to the givenuri
for the client. - An empty of array of entity id's given to functions
WideSkyClient.deleteById
and
WideSkyClient.read
will now throw an error.
CHANGED
- Replaced deprecated packages
request
andrequest-promise
foraxios
. - Updated packages:
moment-timezone
v0.5.31 -> v0.5.38.jsesc
v2.5.1 -> v3.0.2.
- Converted WideSkyClient to an ES6 class.
REMOVED
- Package
bluebird
1.2.2 Minor Release
The following changes have been made to the library;
FIXED
- A list of dev dependencies that were found to contain vulnerabilities have now been upgraded. These modules include:
- webpack
- webpack-cli
- webpack-dev-server
- proxyquire
- nyc
- npm-run-all
- mocha
1.2.1 Minor Release
The following changes have been made to the library;
FIXED
- FileUpload API - the argument
tag
is now nullable.
1.2.0 Milestone Release
The following changes have been made to the library;
ADDED
- Added API interfaces for calling WideSky's file storage endpoints.