Skip to content

Releases: widesky/jswidesky-client

3.1.2 Patch Release

12 Mar 07:18
Compare
Choose a tag to compare

The following changes have been made to the library:

Added

  • Throw HaystackError and GraphQLError now include the original request error
    thrown by the client package in the requestError property, and the HTTP
    status in status for convenience.
  • Exported request errors:
    • RequestError: A base class for all request errors created.
    • HaystackError: A error for a Haystack type response error.
    • GraphQLError: A error for a GraphQL type response error.
  • Added modules:
    • http2-wrapper
    • axios-http2-adapter
  • axios module now uses a http2 adapter which allows it to make calls using the HTTP/2.0
    protocol.

Fixed

  • HisWritePayload class not accepting boolean values.

3.1.1 Patch Release

03 Jun 03:48
Compare
Choose a tag to compare

The following changes have been made to the library:

Changed

  • The http option keepAlive will now default to true if it is not specified.

Fixed

  • WideSkyClient.batch.updateOrCreate errored with list type tags.

3.1.0 Minor Release

23 May 04:56
Compare
Choose a tag to compare

The following changes have been made to the library:

ADDED

3.0.1 - NPM Patch Release

20 Mar 23:49
Compare
Choose a tag to compare

No changes have been made. The package was released with a new tag 3.0.1 as NPM does not allow package versions to be
duplicated, even in the case where a package's version was unpublished. This is documented in npm Unpublish Policy - Considerations.

3.0.0 - Major Release (BREAKING CHANGE)

20 Mar 23:48
Compare
Choose a tag to compare

Note: The v3.0.0 package for @widesky/jswidesky-client does not exist in NPM as it was unpublished. Please use v3.0.1 or later instead.

The following changes have been made to the library, that includes a breaking change:

Fixed

  • Fixed minified file error "Invalid or expected token".

Changed

  • BREAKING CHANGE: Changed minified file name from "wideskyClient.min.js" to "jsWideSky.min.js".
  • BREAKING CHANGE: Changed default export name of minified file from wideskyClient (assuming this was set as a default
    when not specified in the webpack configuration) to JsWideSky.

2.1.5 Patch Release

13 Mar 02:12
Compare
Choose a tag to compare

The following changes have been made to the library:

CHANGED

  • getWatchSocket function now accounts for subpath in URL when retrieving a socket connection.

2.1.4 Patch Release

31 Jan 05:59
Compare
Choose a tag to compare

The following changes have been made to the library:

CHANGED

  • Changed the error message produced when more than 1 GraphQL error is encountered. Previously, all that was logged
    was "More than 1 error encountered" which is too vague. This has been changed to "More than 1 GraphQLError
    encountered" with additional logs detailing each GraphQL error encountered as " @ locations/s ...".

2.1.3 Hotfix Release

31 Jan 01:07
Compare
Choose a tag to compare

The following changes have been made to the library:

FIXED

  • Added utility class EntityCriteria to package exports.

2.1.2 Hotfix Release

19 Jan 05:16
Compare
Choose a tag to compare

The following changes have been made to the library:

FIXED

  • Fixed bug TypeError: Cannot read properties of undefined (reading '0') when using WideSkyClient.batch.hisWrite.

CHANGED

  • Added empty payload check.

ADDED

  • Size property to HisWritePayload to get the number of rows currently added to the payload.

2.1.1 Hotfix Release

08 Dec 00:57
Compare
Choose a tag to compare

The following changes have been made to the library:

FIXED

  • Fixed getWatchSocket function returning an invalid socket due to a missing namespace URL.