Skip to content

Realm JavaScript v11.0.0-rc.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Sep 11:51
8d724aa

Breaking change

  • Removed deprecated positional arguments to Email/Password authentication functions
    • The following functions now only accept object arguments:
    Realm.Auth.EmailPasswordAuth.registerUser({email, password});
    Realm.Auth.EmailPasswordAuth.confirmUser({token, tokenId});
    Realm.Auth.EmailPasswordAuth.resendConfirmationEmail({email});
    Realm.Auth.EmailPasswordAuth.retryCustomConfirmation({email});
    Realm.Auth.EmailPasswordAuth.resetPassword({token, tokenId, password});
    Realm.Auth.EmailPasswordAuth.sendResetPasswordEmail({email});
    Realm.Auth.EmailPasswordAuth.callResetPasswordFunction({email, password}, ...args);
  • Unify the call signature documentation of User#callFunction (#3733)
    • Example:
    user.callFunction("sum", 1, 2, 3); // Valid
    user.callFunction("sum", [1, 2, 3]); // Invalid

Enhancements

  • Small improvement to performance by caching JSI property String object #4863

Compatibility

  • React Native >= v0.70.0
  • Atlas App Services.
  • Realm Studio v12.0.0.
  • APIs are backwards compatible with all previous releases of Realm JavaScript in the 10.5.x series.
  • File format: generates Realms with format v22 (reads and upgrades file format v5 or later for non-synced Realm, upgrades file format v10 or later for synced Realms).