Skip to content

2.5.0-rc-1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jan-tennert jan-tennert released this 03 Jun 14:10
· 468 commits to master since this release
1712cba

Changes

Auth

  • Add error code enum for Auth API errors by @jan-tennert in #618
    All rest errors containing a error_code field will now throw a AuthRestException rather than generic BadRequestExceptions, etc.
    AuthRestExceptions contain a errorCode field of the type AuthErrorCode containing all known error codes.
    Two error codes have their own exceptions (but obviously inherit from AuthRestException): AuthWeakPasswordException and AuthSessionMissingException.
    API errors not containing this field will throw the generic exceptions.
  • Fix a major bug causing sessions to be refreshed later than they should be in 9b73c03 by @jan-tennert
    The expiresAt property was saved incorrectly, delaying the expiry date.

Realtime

  • Use Postgrests propertyConversionMethod for getting the property name of primary keys