Added automated backups (+ cron rotation) APIs and UI for the pb_data directory.
The backups can be also initialized programmatically using app.CreateBackup("backup.zip").
There is also experimental restore method - app.RestoreBackup("backup.zip") (currently works only on UNIX systems as it relies on execve).
The backups can be stored locally or in external S3 storage (it has its own configuration, separate from the file uploads storage filesystem).
Added option to limit the returned API fields using the ?fields query parameter.
The "fields picker" is applied for SearchResult.Items and every other JSON response. For example:
Added apis.Serve(app, options) helper to allow starting the API server programmatically.
Updated the schema fields Admin UI for "tidier" fields visualization.
Updated the logs "real" user IP to check for Fly-Client-IP header and changed the X-Forward-For header to use the first non-empty leftmost-ish IP as it the closest to the "real IP".
Added new tools/archive helper subpackage for managing archives (currently works only with zip).
Added new tools/cron helper subpackage for scheduling task using cron-like syntax (this eventually may get exported in the future in a separate repo).
Added new Filesystem.List(prefix) helper to retrieve a flat list with all files under the provided prefix.
Added new App.NewBackupsFilesystem() helper to create a dedicated filesystem abstraction for managing app data backups.
Added new App.OnTerminate() hook (executed right before app termination, eg. on SIGTERM signal).
Added meta.isNew to the OAuth2 auth JSON response to indicate a newly OAuth2 created PocketBase user.
Added automated backups (+ cron rotation) APIs and UI for the pb_data directory.
The backups can be also initialized programmatically using app.CreateBackup("backup.zip").
There is also experimental restore method - app.RestoreBackup("backup.zip") (currently works only on UNIX systems as it relies on execve).
The backups can be stored locally or in external S3 storage (it has its own configuration, separate from the file uploads storage filesystem).
Added option to limit the returned API fields using the ?fields query parameter.
The "fields picker" is applied for SearchResult.Items and every other JSON response. For example:
Added apis.Serve(app, options) helper to allow starting the API server programmatically.
Updated the schema fields Admin UI for "tidier" fields visualization.
Updated the logs "real" user IP to check for Fly-Client-IP header and changed the X-Forward-For header to use the first non-empty leftmost-ish IP as it the closest to the "real IP".
Added new tools/archive helper subpackage for managing archives (currently works only with zip).
Added new tools/cron helper subpackage for scheduling task using cron-like syntax (this eventually may get exported in the future in a separate repo).
Added new Filesystem.List(prefix) helper to retrieve a flat list with all files under the provided prefix.
Added new App.NewBackupsFilesystem() helper to create a dedicated filesystem abstraction for managing app data backups.
Added new App.OnTerminate() hook (executed right before app termination, eg. on SIGTERM signal).
Added accept file field attribute with the field MIME types (#2466; thanks @Nikhil1920).
... (truncated)
Commits
5551f8f eager update app settings and added isServe check for the auto backups
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/pocketbase/pocketbase from 0.13.0 to 0.16.0.
Release notes
Sourced from github.com/pocketbase/pocketbase's releases.
... (truncated)
Changelog
Sourced from github.com/pocketbase/pocketbase's changelog.
... (truncated)
Commits
5551f8f
eager update app settings and added isServe check for the auto backupsa56a04e
updated deps47bb0bc
updated the verification api preview examplef49e90b
added fields query param to the api docs preview3820f3d
updated page sidebar width stylesfaaf19d
#2510 added missing .length prop to the select searchable check6d0303d
added meta.isNew to the json OAuth2 auth responsed36a044
updated npm deps1cc67ef
added sorting for the multiple relations form field1e2d104
added title attrbite to the collection sidebar items and increased the defaul...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)