Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/pocketbase/pocketbase from 0.23.12 to 0.24.1 in /pocketbase #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps github.com/pocketbase/pocketbase from 0.23.12 to 0.24.1.

Release notes

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

v0.24.1 Release

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

  • Added missing time macros in the UI autocomplete.

  • Fixed JSVM types for structs and functions with multiple generic parameters.

v0.24.0 Release

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

  • ⚠️ Removed the "dry submit" when executing the collections Create API rule (you can find more details why this change was introduced and how it could affect your app in Removing the dry submit of the Create API rule pocketbase/pocketbase#6073). For most users it should be non-breaking change, BUT if you have Create API rules that uses self-references or view counters you may have to adjust them manually. With this change the "multi-match" operators are also normalized in case the targeted collection doesn't have any records (or in other words, @collection.example.someField != "test" will result to true if example collection has no records because it satisfies the condition that all available "example" records mustn't have someField equal to "test"). As a side-effect of all of the above minor changes, the record create API performance has been also improved ~4x times in high concurrent scenarios (500 concurrent clients inserting total of 50k records - old (58.409064001s) vs new (13.580098262s)).

  • ⚠️ Changed the type definition of store.Store[T any] to store.Store[K comparable, T any] to allow support for custom store key types. For most users it should be non-breaking change, BUT if you are calling store.New[any](https://github.com/pocketbase/pocketbase/blob/HEAD/nil) instances you'll have to specify the store key type, aka. store.New[string, any](https://github.com/pocketbase/pocketbase/blob/HEAD/nil).

  • Added @yesterday and @tomorrow datetime filter macros.

  • Added :lower filter modifier (e.g. title:lower = "lorem").

  • Added mailer.Message.InlineAttachments field for attaching inline files to an email (aka. cid links).

  • Added cache for the JSVM arrayOf(m), DynamicModel, etc. dynamic reflect created types.

  • Added auth collection select for the settings "Send test email" popup (#6166).

  • Added record.SetRandomPassword() to simplify random password generation usually used in the OAuth2 or OTP record creation flows. The generated ~30 chars random password is assigned directly as bcrypt hash and ignores the password field plain value validators like min/max length or regex pattern.

  • Added option to list and trigger the registered app level cron jobs via the Web API and UI.

  • Added extra validators for the collection field int64 options (e.g. FileField.MaxSize) restricting them to the max safe JSON number (2^53-1).

  • Added option to unset/overwrite the default PocketBase superuser installer using ServeEvent.InstallerFunc.

  • Added app.FindCachedCollectionReferences(collection, excludeIds) to speedup records cascade delete almost twice for projects with many collections.

  • Added tests.NewTestAppWithConfig(config) helper if you need more control over the test configurations like IsDev, the number of allowed connections, etc.

  • Invalidate all record tokens when the auth record email is changed programmatically or by a superuser (#5964).

  • Eagerly interrupt waiting for the email alert send in case it takes longer than 15s.

  • Normalized the hidden fields filter checks and allow targetting hidden fields in the List API rule.

  • Fixed "Unique identify fields" input not refreshing on unique indexes change (#6184).

Changelog

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

v0.24.1

  • Added missing time macros in the UI autocomplete.

  • Fixed JSVM types for structs and functions with multiple generic parameters.

v0.24.0

  • ⚠️ Removed the "dry submit" when executing the collections Create API rule (you can find more details why this change was introduced and how it could affect your app in Removing the dry submit of the Create API rule pocketbase/pocketbase#6073). For most users it should be non-breaking change, BUT if you have Create API rules that uses self-references or view counters you may have to adjust them manually. With this change the "multi-match" operators are also normalized in case the targeted collection doesn't have any records (or in other words, @collection.example.someField != "test" will result to true if example collection has no records because it satisfies the condition that all available "example" records mustn't have someField equal to "test"). As a side-effect of all of the above minor changes, the record create API performance has been also improved ~4x times in high concurrent scenarios (500 concurrent clients inserting total of 50k records - old (58.409064001s) vs new (13.580098262s)).

  • ⚠️ Changed the type definition of store.Store[T any] to store.Store[K comparable, T any] to allow support for custom store key types. For most users it should be non-breaking change, BUT if you are calling store.New[any](https://github.com/pocketbase/pocketbase/blob/master/nil) instances you'll have to specify the store key type, aka. store.New[string, any](https://github.com/pocketbase/pocketbase/blob/master/nil).

  • Added @yesterday and @tomorrow datetime filter macros.

  • Added :lower filter modifier (e.g. title:lower = "lorem").

  • Added mailer.Message.InlineAttachments field for attaching inline files to an email (aka. cid links).

  • Added cache for the JSVM arrayOf(m), DynamicModel, etc. dynamic reflect created types.

  • Added auth collection select for the settings "Send test email" popup (#6166).

  • Added record.SetRandomPassword() to simplify random password generation usually used in the OAuth2 or OTP record creation flows. The generated ~30 chars random password is assigned directly as bcrypt hash and ignores the password field plain value validators like min/max length or regex pattern.

  • Added option to list and trigger the registered app level cron jobs via the Web API and UI.

  • Added extra validators for the collection field int64 options (e.g. FileField.MaxSize) restricting them to the max safe JSON number (2^53-1).

  • Added option to unset/overwrite the default PocketBase superuser installer using ServeEvent.InstallerFunc.

  • Added app.FindCachedCollectionReferences(collection, excludeIds) to speedup records cascade delete almost twice for projects with many collections.

  • Added tests.NewTestAppWithConfig(config) helper if you need more control over the test configurations like IsDev, the number of allowed connections, etc.

  • Invalidate all record tokens when the auth record email is changed programmatically or by a superuser (#5964).

  • Eagerly interrupt waiting for the email alert send in case it takes longer than 15s.

  • Normalized the hidden fields filter checks and allow targetting hidden fields in the List API rule.

  • Fixed "Unique identify fields" input not refreshing on unique indexes change (#6184).

Commits
  • 9414986 updated changelog
  • 6628cdf updated tygoja and regenerated jsvm types
  • e521e53 fixed JSVM types for structs and functions with multiple generic parameters
  • 412341f added missing time macros in the UI autocomplete
  • a8b9aee updated otp docs
  • 36df16a reorganized changelog
  • 44a3e84 updated go deps and jsvm types
  • 73f1b22 directly resolve to null for auth check with missing RequestInfo.Auth field
  • c8b29ed bumped app version
  • a43f4bf reuse the random identifier
  • 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.23.12 to 0.24.1.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](pocketbase/pocketbase@v0.23.12...v0.24.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 6, 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.

0 participants