forked from pocketbase/pocketbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated the verification api preview example
- Loading branch information
1 parent
f49e90b
commit 47bb0bc
Showing
34 changed files
with
123 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
## (WIP) | ||
## v0.16.0 | ||
|
||
- (@todo docs) Added option to limit the returned API fields using the `?fields` query parameter. | ||
The "fields picker" is applied for `SearchResult.Items` and any other JSON response. For example: | ||
- 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: | ||
```js | ||
// original: {"id": "RECORD_ID", "name": "abc", "description": "...something very big...", "items": ["id1", "id2"], "expand": {"items": [{"id": "id1", "name": "test1"}, {"id": "id2", "name": "test2"}]}} | ||
// output: {"name": "abc", "expand": {"items": [{"name": "test1"}, {"name": "test2"}]}} | ||
|
@@ -11,7 +16,9 @@ | |
}) | ||
``` | ||
|
||
- (@todo docs) Added new `./pocketbase admin` console command: | ||
- Added new `./pocketbase update` command to selfupdate the prebuilt executable (with option to generate a backup of your `pb_data`). | ||
|
||
- Added new `./pocketbase admin` console command: | ||
```sh | ||
// creates new admin account | ||
./pocketbase admin create [email protected] 123456890 | ||
|
@@ -25,27 +32,27 @@ | |
|
||
- Added `apis.Serve(app, options)` helper to allow starting the API server programmatically. | ||
|
||
- New schema fields UI for "tidier" fields list. | ||
- 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 `archive.Create()` and `archive.Extract()` helpers (_currently works only with zip_). | ||
- Added new `tools/archive` helper subpackage for managing archives (_currently works only with zip_). | ||
|
||
- Added new `Filesystem.List(prefix)` helper to retrieve a flat list with all files under the provided prefix. | ||
- 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 `App.NewBackupsFilesystem()` helper to create a dedicated fs abstraction for managing app backups. | ||
- Added new `Filesystem.List(prefix)` helper to retrieve a flat list with all files under the provided prefix. | ||
|
||
- (@todo docs) Added `update` command for the prebuilt executable. | ||
- Added new `App.NewBackupsFilesystem()` helper to create a dedicated filesystem abstraction for managing app data backups. | ||
|
||
- (@todo docs) Added new `App.OnTerminate()` hook. | ||
- 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](https://github.com/pocketbase/pocketbase/pull/2466); thanks @Nikhil1920). | ||
|
||
- Added support for multiple files sort in the Admin UI ([#2445](https://github.com/pocketbase/pocketbase/issues/2445)). | ||
|
||
- Added support for multiple relations sort in the Admin UI. | ||
|
||
- Added `meta.isNew` to the OAuth2 auth JSON response to indicate newly created PocketBase user. | ||
- Added `meta.isNew` to the OAuth2 auth JSON response to indicate a newly OAuth2 created PocketBase user. | ||
|
||
|
||
## v0.15.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ui/dist/assets/AuthMethodsDocs-fdba4410.js → ui/dist/assets/AuthMethodsDocs-0064d07d.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ui/dist/assets/AuthRefreshDocs-598c40a9.js → ui/dist/assets/AuthRefreshDocs-96b8d4e7.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ist/assets/AuthWithOAuth2Docs-4c58b701.js → ...ist/assets/AuthWithOAuth2Docs-a4ae9481.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t/assets/AuthWithPasswordDocs-7af159f4.js → ...t/assets/AuthWithPasswordDocs-24d1c971.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ui/dist/assets/CodeEditor-fa610c65.js → ui/dist/assets/CodeEditor-68dc9d29.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.