Skip to content

v0.3.0 Release

Compare
Choose a tag to compare
@ganigeorgiev ganigeorgiev released this 02 Aug 10:49
· 219 commits to master since this release

Changes

  • Added client.beforeSend and client.afterSend hooks allowing more advanced request and response customizations (for more details check Send hooks) [#19].
  • Added onChange listener to the AuthStore:
    client.authStore.onChange((token, model) => {
        console.log("Store changed":, token, model);
    })
    
  • Since several users complained about this and for consistency with other js code, the UpperCamelCase API services access is now soft-deprecated. The old format will still continue to work as alias, but for new projects it is recommended to use the lowerCamelCase version:
client.AuthStore.*   => client.authStore.*
client.Admins.*      => client.admins.*
client.Users.*       => client.users.*
client.Records.*     => client.records.*
client.Collections.* => client.collections.*
client.Logs.*        => client.logs.*
client.Settings.*    => client.settings.*
client.Realtime.*    => client.realtime.*