Skip to content

v0.18.0 Release

Compare
Choose a tag to compare
@ganigeorgiev ganigeorgiev released this 05 Sep 08:42
· 67 commits to master since this release
  • Added pb.backups.upload(data) action (available with PocketBase v0.18.0).

  • Added experimental autoRefreshThreshold option to auto refresh (or reauthenticate) the AuthStore when authenticated as admin.
    This could be used as an alternative to fixed Admin API keys.

    await pb.admins.authWithPassword("test@example.com", "1234567890", {
      // This will trigger auto refresh or auto reauthentication in case
      // the token has expired or is going to expire in the next 30 minutes.
      autoRefreshThreshold: 30 * 60
    })