r--w / pocketbase

PocketBase Go SDK
MIT License
83 stars 30 forks source link

Bump github.com/pocketbase/pocketbase from 0.13.0 to 0.16.1 #73

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps github.com/pocketbase/pocketbase from 0.13.0 to 0.16.1.

Release notes

Sourced from github.com/pocketbase/pocketbase's releases.

v0.16.1 Release

To update the prebuilt executable you can run ./pocketbase update.

  • Fixed backup restore not working in a container environment when pb_data is mounted as volume (#2519).

  • Fixed Dart SDK realtime API preview example (#2523; thanks @​xFrann).

  • Fixed typo in the backups create panel (#2526; thanks @​dschissler).

  • Removed unnecessary slice length check in list.ExistInSlice (#2527; thanks @​KunalSin9h).

  • Avoid mutating the cached request data on OAuth2 user create (#2535).

  • Fixed Export Collections "Download as JSON" (#2540).

  • Fixed file field drag and drop not working in Firefox and Safari (#2541).

v0.16.0 Release

  • 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:

    // 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"}]}}
    const result = await pb.collection("example").getOne("RECORD_ID", {
      expand: "items",
      fields: "name,expand.items.name",
    })
    
  • 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:

    // creates new admin account
    ./pocketbase admin create test@example.com 123456890
    

    // changes the password of an existing admin account ./pocketbase admin update test@example.com 0987654321

    // deletes single admin account (if exists) ./pocketbase admin delete test@example.com

  • Added apis.Serve(app, options) helper to allow starting the API server programmatically.

... (truncated)

Changelog

Sourced from github.com/pocketbase/pocketbase's changelog.

v0.16.1

To update the prebuilt executable you can run ./pocketbase update.

  • Fixed backup restore not working in a container environment when pb_data is mounted as volume (#2519).

  • Fixed Dart SDK realtime API preview example (#2523; thanks @​xFrann).

  • Fixed typo in the backups create panel (#2526; thanks @​dschissler).

  • Removed unnecessary slice length check in list.ExistInSlice (#2527; thanks @​KunalSin9h).

  • Avoid mutating the cached request data on OAuth2 user create (#2535).

  • Fixed Export Collections "Download as JSON" (#2540).

  • Fixed file field drag and drop not working in Firefox and Safari (#2541).

v0.16.0

  • 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:

    // 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"}]}}
    const result = await pb.collection("example").getOne("RECORD_ID", {
      expand: "items",
      fields: "name,expand.items.name",
    })
    
  • 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:

    // creates new admin account
    ./pocketbase admin create test@example.com 123456890
    

    // changes the password of an existing admin account ./pocketbase admin update test@example.com 0987654321

    // deletes single admin account (if exists) ./pocketbase admin delete test@example.com

... (truncated)

Commits


Dependabot compatibility score

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)
dependabot[bot] commented 1 year ago

Superseded by #74.