r--w / pocketbase

PocketBase Go SDK
MIT License
81 stars 29 forks source link

Bump github.com/pocketbase/pocketbase from 0.13.0 to 0.16.2 #74

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.2.

Release notes

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

v0.16.2 Release

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

  • Fixed backups archive not excluding the local backups directory on Windows (#2548).

  • Changed file field to not use dataTransfer.effectAllowed when dropping files since it is not reliable and consistent across different OS and browsers (#2541).

  • Auto register the initial generated snapshot migration to prevent incorrectly reapplying the snapshot on Docker restart (#2551).

  • Fixed missing view id field error message typo.

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:

... (truncated)

Changelog

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

v0.16.2

  • Fixed backups archive not excluding the local backups directory on Windows (#2548).

  • Changed file field to not use dataTransfer.effectAllowed when dropping files since it is not reliable and consistent across different OS and browsers (#2541).

  • Auto register the initial generated snapshot migration to prevent incorrectly reapplying the snapshot on Docker restart (#2551).

  • Fixed missing view id field error message typo.

v0.16.1

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

... (truncated)

Commits
  • e9969ed updated changelog
  • 511259e fixed missing view id field error message typo
  • 6b16b78 #2551 auto register the initial generated snapshot migration to prevent inc...
  • 231ddc9 #2541 removed file field dataTransfer.effectAllowed checks
  • 5bf2f69 fixed formatting
  • ce28a9a #2548 use fileath.Clean on the fs.WalkDirFunc argument to ensure that the s...
  • db20e38 updated backups test to ensure that the backups dir is not part of the genera...
  • 286046e improved update cmd version check
  • 4440b5f updated changelog
  • d7745ba #2541 fixed file field drag and drop not working in Firefox and Safari
  • Additional commits viewable in compare view


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 #75.