Skip to content

Releases: Kinvey/js-sdk

3.11.4

09 Jul 21:07
Compare
Choose a tag to compare

Full Changelog

Bug Fixes

  • MLIBZ-2580: Use correct Authorization header value when sending a request to refresh a MIC access token. #315
  • MLIBZ-2585: Queue network requests while in the middle of refreshing a MIC access token. #321
  • MLIBZ-2586: Use PubNub fork to fix Live Service on Android for NativeScript. #326

3.11.3

29 Jun 18:43
Compare
Choose a tag to compare

Full Changelog

Enhancements

  • MLIBZ-2575: Validate file size before uploading. MLIBZ-2443 and MLIBZ-2444 are related. #313

Bug Fixes

  • MLIBZ-2552: Don't try to access undefined. #312
  • MLIBZ-2450: Prevent the active user from being removed when clearing the DataStore cache and local storage is used as the storage adapter. #311
  • MLIBZ-2526: Remove _kmd.local property before sending entity to the backend. #310

3.11.1

01 Jun 18:41
Compare
Choose a tag to compare

Full Changelog

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

23 May 18:33
Compare
Choose a tag to compare

Full Changelog

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

08 May 12:28
Compare
Choose a tag to compare

Full Changelog

Enhancements

  • MLIBZ-2422: Add validation that checks if a redirectUri provided to mic.login() is a string. If the redirectUri is not a string then an Error 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 and kinveyFileTLS 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

29 Mar 19:23
Compare
Choose a tag to compare

Full Changelog

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 in Query.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

29 Mar 19:23
Compare
Choose a tag to compare
v3.10.1-beta.0 Pre-release
Pre-release
v3.10.1-beta.0

3.10.0

26 Feb 22:54
Compare
Choose a tag to compare

Full Changelog

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 of LiveService. #254

Tests

  • Fix live service unit tests #255
  • Added PhoneGap Android execution in Travis #253

Maintenance

  • Update the package-lock.json to use the new test runner. #240

3.5.1

30 Jun 17:56
Compare
Choose a tag to compare

Full Changelog

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

  • Active User Bug #128
  • Add missing protocol to custom hostnames #129

Closed Issues

None

3.5.0

20 Apr 15:13
Compare
Choose a tag to compare

Full Changelog

Added

  • usePopupClass() as a static function to the User class for registering a popup class to be used for MIC authentication.
  • Tests to increase code coverage to 90%.

Removed

  • init() static function on Kinvey namespace. This was deprecated with v3.3.3.
  • baseUrl, protocol, and host properties on a client instance. These were deprecated with v3.0.0.
  • syncCount() and purge() on CacheStore and SyncStore instances. These were deprecated with v3.2.0.

Changed

  • restore() static function from the User 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 by toPlainObject(). The returned result is the exact same.
  • save(), create(), and update() 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() and removeById() 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 be Kinvey.SyncOperation.Create, Kinvey.SyncOperation.Update, or Kinvey.SyncOperation.Delete.

Merged Pull Requests

  • Increase Test Coverage #122
  • Add a function to overwrite Popup class #124
  • Cleanup #125

Closed Issues

None