2.5.0-rc-1
Pre-release
Pre-release
·
468 commits
to master
since this release
Changes
Auth
- Add error code enum for Auth API errors by @jan-tennert in #618
All rest errors containing aerror_code
field will now throw aAuthRestException
rather than genericBadRequestExceptions
, etc.
AuthRestException
s contain aerrorCode
field of the typeAuthErrorCode
containing all known error codes.
Two error codes have their own exceptions (but obviously inherit fromAuthRestException)
:AuthWeakPasswordException
andAuthSessionMissingException
.
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
TheexpiresAt
property was saved incorrectly, delaying the expiry date.
Realtime
- Use
Postgrest
spropertyConversionMethod
for getting the property name of primary keys