Skip to content

v0.13.0 Release

Compare
Choose a tag to compare
@ganigeorgiev ganigeorgiev released this 24 Mar 20:03
· 108 commits to master since this release
  • Aliased all BaseModel helpers with $ equivalent to avoid conflicts with the dynamic record props (#169).

    isNew      -> $isNew
    load(data) -> $load(data)
    clone()    -> $clone()
    export()   -> $export()
    // ...

    For backward compatibility, the old helpers will still continue to work if the record doesn't have a conflicting field name.

  • Updated pb.beforeSend and pb.afterSend signatures to allow returning and awaiting an optional Promise (#166; thanks @Bobby-McBobface).

  • Added Collection.indexes field for the new collection indexes support in the upcoming PocketBase v0.14.0.

  • Added pb.settings.generateAppleClientSecret() for sending a request to generate Apple OAuth2 client secret in the upcoming PocketBase v0.14.0.