v0.13.0 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
andpb.afterSend
signatures to allow returning and awaiting an optionalPromise
(#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.