-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
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
- depends on
-
RJS-306 diffing update should be default
- Parked
-
RJS-222 Stop polluting the global object
- Ready for Work
-
RJS-246 Align how enums are defined
- Closed
-
RJS-170 Deprecate retrieveAccount and introduce retrieveInfoForUser method to align API with other bindings
- Closed
-
RJS-284 Rename "partial" and "fullSynchronization" SyncConfiguration properties to "mode"
- Closed