Releases: Kinvey/js-sdk
Releases · Kinvey/js-sdk
3.11.4
Bug Fixes
3.11.3
Enhancements
- MLIBZ-2575: Validate file size before uploading. MLIBZ-2443 and MLIBZ-2444 are related. #313
Bug Fixes
3.11.1
Bug Fixes
- MLIBZ-2303:
User.me()
does not delete empty fields #299 - MLIBZ-2455: Fix incorrect TypeScript definition for
User.lookup()
#301 - MLIBZ-2452: NativeScript Android File Uploads throw an Error #300
- MLIBZ-2323: Don't swallow error when using observable #302
Tests
- Add back execution of integration file tests for NativeScript #303
3.11.0
Enhancements
- MLIBZ-2316: Server Side Delta Set #270
Bug Fixes
- Add push bundle for iOS and Android to files property in
package.json
for the Kinvey NativeScript SDK. #296 - MLIBZ-2517: Delete mutiple entities properply with Server Side Delta Set #297
- MLIBZ-2520: Delete entities properly with Auto Pagination #298
Tests
- QA-196: Add integration tests for files. #293
3.10.3
Enhancements
- MLIBZ-2422: Add validation that checks if a
redirectUri
provided tomic.login()
is a string. If theredirectUri
is not a string then anError
will be thrown. #283 - Conforms the use of the iOS keychain to use the same settings as our Swift SDK. #257
- MLIBZ-2429: Don't include the
Push
module by default in the SDK bundle. #282 - Update the
Push
module to use the latest version of the NativeScript Push Plugin.onMessageReceived()
callback for Android was deprecated and added some new config options for iOS. #285 - MLIBZ=2446: Add support for
kinveyFileTTL
andkinveyFileTLS
query parameters for KinveyFile references on a DataStore collection. #289
var dataStore = Kinvey.DataStore.collection('pets');
dataStore.findById('3f583e9f-d064-4a25-a953-6cf0a3dc2ff1', { kinveyFileTTL: 3600, kinveyFileTLS: true })
.subscribe(function(pet) {
/*
{
"_id": "3f583e9f-d064-4a25-a953-6cf0a3dc2ff1",
"_acl": {...},
"dogName": "Bob",
"furColor": "brown with black spots",
"pawPrintPicture": {
"_type": "KinveyFile",
"_id": "325620e4-93dd-4a26-9f84-8a5e62c0db11",
"_filename": "bobsPawPrint.png",
"_acl": { ... },
"_downloadURL": <Google Cloud Storage download URL>,
"_expiresAt": "2018-06-18T23:07:23.394Z"
}
}
*/
}, function(error) {
// ...
});
Bug Fixes
- MLIBZ-2307: Use the correct config options to unregister push on iOS and Android. #284
3.10.2
Enhancements
- MLIBZ-2399: Use the long form Mobile Identity Connect
clientID
in the auth header for KAS endpoints. #263 - MLIBZ-2131: Remove implicit
push()
calls from datastore. #276 - MLIBZ-2332: Add support for
instanceId
config option. #278 - Add default entitlements plist file to NativeScript SDK. #281
Bug Fixes
- Check that value is an object before calling
Object.keys
inQuery.isSupportedOffline()
. #245 - MLIBZ-2133: Use
es6-promise
for promises in live service related files instead of the native promise. #272 - MLIBZ-2393: Fix NativeScript Files #280
Maintenance
- MLIBZ-2410: Expose data access classes from core SDK. #274
- Refactor IndexedDB and WebSQL persisters. #277
Tests
- QA-176: Add integration tests for Mobile Identity Connect #279
v3.10.1-beta.0
v3.10.1-beta.0
3.10.0
Enhancements
- DataStore Redesign #251
Bug Fixes
- MLIBZ-2350: Revert removal of caching db connections in WebSQL. #241
- Added polyfill for
Number.isNaN()
. #243 - MLIBZ-2314: Update typescript definitions to allow anonymous user signup. #242
- Export
LiveServiceFacade
instead ofLiveService
. #254
Tests
Maintenance
- Update the package-lock.json to use the new test runner. #240
3.5.1
Added
None
Removed
None
Changed
https:
will automatically be used when a custom hostname is missing a protocol.- Prevent the active user from being
null
for a short period of time when setting the active user.
Merged Pull Requests
Closed Issues
None
3.5.0
Added
usePopupClass()
as a static function to theUser
class for registering a popup class to be used for MIC authentication.- Tests to increase code coverage to 90%.
Removed
init()
static function onKinvey
namespace. This was deprecated with v3.3.3.baseUrl
,protocol
, andhost
properties on aclient
instance. These were deprecated with v3.0.0.syncCount()
andpurge()
onCacheStore
andSyncStore
instances. These were deprecated with v3.2.0.
Changed
restore()
static function from theUser
class to throw an error whenever it is called. This function required an end user to supply their master secret for their application. We strongly advise not to do this in your application.- All
toJSON()
functions have now been replaced bytoPlainObject()
. The returned result is the exact same. save()
,create()
, andupdate()
on datastore instances no longer accepts an array of entities. This is to help with reporting errors that may occur when saving an entity.remove()
andremoveById()
on datastore instances now returns the count of entities removed and not the actual entity removed.- Results returned when pushing sync items to the backend contain a new property called
operation
. This property will either beKinvey.SyncOperation.Create
,Kinvey.SyncOperation.Update
, orKinvey.SyncOperation.Delete
.
Merged Pull Requests
Closed Issues
None