Releases: widesky/jswidesky-client
3.1.2 Patch Release
The following changes have been made to the library:
Added
- Throw
HaystackError
andGraphQLError
now include the original request error
thrown by the client package in therequestError
property, and the HTTP
status instatus
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 ahttp2
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
3.1.0 Minor Release
The following changes have been made to the library:
ADDED
- Added new options under
http
which allows an optional to be passed to the HTTP and HTTPSAgent
used inaxios
requests. See NodeJS 16.x - HTTP Agent options.
3.0.1 - NPM Patch Release
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)
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) toJsWideSky
.
2.1.5 Patch Release
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
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
The following changes have been made to the library:
FIXED
- Added utility class
EntityCriteria
to package exports.
2.1.2 Hotfix Release
The following changes have been made to the library:
FIXED
- Fixed bug
TypeError: Cannot read properties of undefined (reading '0')
when usingWideSkyClient.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
The following changes have been made to the library:
FIXED
- Fixed
getWatchSocket
function returning an invalid socket due to a missing namespace URL.