Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-305

[10.0] Breaking changes

      We have a number of breaking changes to introduce before we can release v5.0.0:

      • Removed the isAdmin parameter from Credentials.nickname as that has no effect in new Realm Object Server versions.
      • Deprecated the Credentials.nickname method as the nickname auth provider will not be supported in future Realm Object Server versions.
      • Removed deprecated configuration option partial. Use fullSynchronization in the future.
      • Removed deprecated method Realm.Sync.setFeatureToken() since all features are avaiable for all.
      • Removed deprecated methods Realm.Sync.addListener(serverUrl, adminUser, filterRegex, name, changeCallback) and Realm.Sync.addListener(serverUrl, adminUser, filterRegex, worker). Use Realm.Sync.addListener(config, eventName, changeCallback|worker) in the future.
      • Removed deprecated class_name from Realm.Permissions.Class. Use name in the future.
      • Removed deprecated SSL options validate_ssl, ssl_trust_certificate_path, and open_ssl_verify_callback from configuration. Use ssl in the future.
      • Removed deprecated methods:
      Removed Use instead
      --------------------- -------------
      Realm.automaticSyncConfiguration() Realm.Sync.User.createConfiguration()
      Realm.Sync.User.register() Realm.Sync.User.login(server, Credentials.usernamePassword)
      Realm.Sync.User.adminUser() Realm.Sync.User.login(server, Credentials.adminToken)
      Realm.Sync.User.registerWithProvider() Realm.Sync.User.login(server, Credentials.SOME-PROVIDER)
      Realm.Sync.User.authenticate() {{Realm.Sync.User.login(server, Credentials.SOME-PROVIDER) }}
      Realm.openAsync() Realm.open()

      PR for accumulating all changes: #2411

            Assignee:
            Unassigned Unassigned
            Reporter:
            kenneth.geisshirt@mongodb.com Kenneth Geisshirt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: