Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps github.com/pocketbase/pocketbase from 0.24.4 to 0.27.2.

Release notes

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

v0.27.2 Release

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

  • Added workers pool when cascade deleting record files to minimize "thread exhaustion" errors (#6780).

  • Updated the :excerpt fields modifier to properly account for multibyte characters (#6778).

  • Use rowid as count column for non-view collections to minimize the need of having the id field in a covering index (#6739).

v0.27.1 Release

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

  • Updated example geoPoint API preview body data.

  • Added JSVM new GeoPointField({ ... }) constructor.

  • Added partial WebP thumbs support (the thumbs will be stored as PNG; #6744).

  • Updated npm dev dependencies.

v0.27.0 Release

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

  • ⚠️ Moved the Create and Manage API rule checks out of the OnRecordCreateRequest hook finalizer, aka. now all CRUD API rules are checked BEFORE triggering their corresponding *Request hook. This was done to minimize the confusion regarding the firing order of the request operations, making it more predictable and consistent with the other record List/View/Update/Delete request actions. It could be a minor breaking change if you are relying on the old behavior and have a Go tests.ApiScenario that is testing a Create API rule failure and expect OnRecordCreateRequest to be fired. In that case for example you may have to update your test scenario like:

    tests.ApiScenario{
        Name:   "Example test that checks a Create API rule failure"
        Method: http.MethodPost,
        URL:    "/api/collections/example/records",
        ...
        // old:
        ExpectedEvents:  map[string]int{
            "*":                     0,
            "OnRecordCreateRequest": 1,
        },
        // new:
        ExpectedEvents:  map[string]int{"*": 0},
    }

    If you are having difficulties adjusting your code, feel free to open a Q&A discussion with the failing/problematic code sample.

  • Added new geoPoint field for storing {"lon":x,"lat":y} geographic coordinates. In addition, a new geoDistance(lonA, lotA, lonB, lotB) function was also implemented that could be used to apply an API rule or filter constraint based on the distance (in km) between 2 geo points.

  • Updated the select field UI to accommodate better larger lists and RTL languages (#4674).

  • Updated the mail attachments auto MIME type detection to use gabriel-vasile/mimetype for consistency and broader sniffing signatures support.

... (truncated)

Changelog

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

v0.27.2

  • Added workers pool when cascade deleting record files to minimize "thread exhaustion" errors (#6780).

  • Updated the :excerpt fields modifier to properly account for multibyte characters (#6778).

  • Use rowid as count column for non-view collections to minimize the need of having the id field in a covering index (#6739)

v0.27.1

  • Updated example geoPoint API preview body data.

  • Added JSVM new GeoPointField({ ... }) constructor.

  • Added partial WebP thumbs generation (the thumbs will be stored as PNG; #6744).

  • Updated npm dev dependencies.

v0.27.0

  • ⚠️ Moved the Create and Manage API rule checks out of the OnRecordCreateRequest hook finalizer, aka. now all CRUD API rules are checked BEFORE triggering their corresponding *Request hook. This was done to minimize the confusion regarding the firing order of the request operations, making it more predictable and consistent with the other record List/View/Update/Delete request actions. It could be a minor breaking change if you are relying on the old behavior and have a Go tests.ApiScenario that is testing a Create API rule failure and expect OnRecordCreateRequest to be fired. In that case for example you may have to update your test scenario like:

    tests.ApiScenario{
        Name:   "Example test that checks a Create API rule failure"
        Method: http.MethodPost,
        URL:    "/api/collections/example/records",
        ...
        // old:
        ExpectedEvents:  map[string]int{
            "*":                     0,
            "OnRecordCreateRequest": 1,
        },
        // new:
        ExpectedEvents:  map[string]int{"*": 0},
    }

    If you are having difficulties adjusting your code, feel free to open a Q&A discussion with the failing/problematic code sample.

  • Added new geoPoint field for storing {"lon":x,"lat":y} geographic coordinates. In addition, a new geoDistance(lonA, lotA, lonB, lotB) function was also implemented that could be used to apply an API rule or filter constraint based on the distance (in km) between 2 geo points.

  • Updated the select field UI to accommodate better larger lists and RTL languages (#4674).

  • Updated the mail attachments auto MIME type detection to use gabriel-vasile/mimetype for consistency and broader sniffing signatures support.

  • Forced text/javascript Content-Type when serving .js/.mjs collection uploaded files with the /api/files/... endpoint (#6597).

... (truncated)

Commits
  • eb8dd80 bumped app version
  • d97b5b1 #6739 use rowid as count column for non-view collections to minimize the ne...
  • 3885c93 #6780 added temp semaphore to limit the number of goroutines when cleaning ...
  • 5713cf4 #6778 updated the excerpt modifier to properly account for multibyte charac...
  • 9bee3bd added API preview clarification for the geoPoint expected object format
  • b31a0dd bumped app version
  • 2bffa0e updated filesystem.CreateThumb tests
  • 8c0ef15 Merge branch 'master' of github.com:pocketbase/pocketbase
  • 5d46fb0 #6744 added partial webp tumbs support
  • f9b2842 updated changelog
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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](https://github.com/pocketbase/pocketbase) from 0.24.4 to 0.27.2.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](pocketbase/pocketbase@v0.24.4...v0.27.2)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-version: 0.27.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant