Skip to content

Releases: widesky/jswidesky-client

2.0.6 Minor Release

03 Oct 00:07
Compare
Choose a tag to compare

The following changes have been made to the library:

FIXED

  • Fixed hisDelete date validation on timezone offsets.

2.0.5 Minor Release

07 Jul 01:16
Compare
Choose a tag to compare

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

07 Jun 06:20
Compare
Choose a tag to compare

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

05 Apr 00:03
Compare
Choose a tag to compare

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

07 Nov 07:03
Compare
Choose a tag to compare

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

07 Nov 01:26
Compare
Choose a tag to compare

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

03 Nov 06:27
Compare
Choose a tag to compare

The following changes have been made to the library.

FIXED

  • Replaced x instanceof Array with Array.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 and WideSkyClient.deleteByFilter are caught before
    making a request to the given uri 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 and request-promise for axios.
  • 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

19 Aug 01:48
1.2.2
f2f026e
Compare
Choose a tag to compare

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

20 Jul 00:02
Compare
Choose a tag to compare

The following changes have been made to the library;

FIXED

  • FileUpload API - the argument tag is now nullable.

1.2.0 Milestone Release

18 Jul 03:57
Compare
Choose a tag to compare

The following changes have been made to the library;

ADDED

  • Added API interfaces for calling WideSky's file storage endpoints.