Releases: Kinvey/js-sdk
Releases · Kinvey/js-sdk
3.4.2
Changes
- Move mocked classes to the test directory. Fixes a bug that would cause the package to not work when installed from NPM.
3.4.1
Changes
3.3.3
Merged pull requests:
- Added
error.kinveyRequestId
as a property to error objects. This property is set to theX-Kinvey-Request-Id
header value of a Kinvey API response. It isundefined
by default. #84 - Added a global get/set default timeout property on the client. The library sets the default timeout to a value of 60 seconds. You can change this value by passing a default timeout when you initialize the SDK. #85
Kinvey.initialize({
appKey: '<appKey>',
appSecret: '<appSecret>',
defaultTimeout: 30000 // 30 seconds in ms
});
- Delta fetch requests now works with queries. #83
- Fixed a check with
instanceof
in Mobile Identity Connect that caused aTypeError
to be thrown. #87 - Entities will now be persisted when calling
store.sync
on a data store instance. #88 - Fixed issues that caused inconsistencies with Error objects. #89
- Sort, limit, and skip now work correctly when querying the local cache. #90
1.6.0
- Fixed a bug in the promise-queue library that prevented the library from being used in a Titanium environment.
- Fixed race condition in crypto localStorage adapter.
- Fixed
methodUnsupported
warning when using the SDK in a NodeJS environment. - Update sync to batch operations to prevent exhausting network resources, cache database data in memory for faster retrievals, and to not send unnecessary network requests when syncing items created on the client.
1.4.0
- Added support to register for a device for push notifications on TItanium.
- Fixed a bug where an error would be thrown when expecting a promise to be returned. A rejected promise with the error is now returned.
1.3.0
- Added MIC support
- Fixed bug that prevented a user from logging out on Angular
1.2.0
- Enhancement: Added support for setting client app version.
- Enhancement: Added support for setting custom request properties.
1.1.14
Bugfix: Properly get header values from a $http
response