Update module github.com/pocketbase/pocketbase to v0.23.10 #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-pocketbase-pocketbase-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.22.23->v0.23.10Release Notes
pocketbase/pocketbase (github.com/pocketbase/pocketbase)
v0.23.10Compare Source
Renew the superuser file token cache when clicking on the thumb preview or download link (#6137).
Upgraded
modernc.org/sqliteto 1.34.3 to fix "disk io" error on arm64 systems.If you are extending PocketBase with Go and upgrading with
go get -umake sure to manually set in your go.mod themodernc.org/libcindirect dependency to v1.55.3, aka. the exact same version the driver is using.v0.23.9Compare Source
strconv.Itoawithstrconv.FormatIntto avoid the int64->int conversion overflow on 32-bit platforms (#6132).v0.23.8Compare Source
Fixed Model->Record and Model->Collection hook events sync for nested and/or inner-hook transactions (#6122).
Other minor improvements (updated Go and npm deps, added extra escaping for the default mail record params in case the emails are stored as html files, fixed code comment typos, etc.).
v0.23.7Compare Source
v0.23.6Compare Source
Fixed
$filesystem.fileFromURLdocumentation and generated type (#6058).Fixed
X-Forwarded-Forheader typo in the suggested UI "Common trusted proxy" headers (#6063).Updated the
textfield max length validator error message to make it more clear (#6066).Other minor fixes (updated Go deps, skipped unnecessary validator check when the default primary key pattern is used, updated JSVM types, etc.).
v0.23.5Compare Source
Fixed UI logs search not properly accounting for the "Include requests by superusers" toggle when multiple search expressions are used.
Fixed
textfield max validation error message (#6053).Other minor fixes (comment typos, JSVM types update).
Updated Go deps and the min Go releleaser GitHub action version to 1.23.4.
v0.23.4Compare Source
Fixed
autodatefields not refreshing when callingSavemultiple times on the sameRecordinstance (#6000).Added more descriptive test OTP id and failure log message (#5982).
Moved the default UI CSP from meta tag to response header (#5995).
Updated Go and npm dependencies.
v0.23.3Compare Source
Fixed Gzip middleware not applying when serving static files.
Fixed
Record.Fresh()/Record.Clone()methods not properly cloningautodatefields (#5973).v0.23.2Compare Source
Fixed
RecordQuery()custom struct scanning (#5958).Fixed
--devlog query print formatting.Added support for passing more than one id in the
Hook.Unbindmethod for consistency with the router.Added collection rules change list in the confirmation popup
(to avoid getting anoying during development, the rules confirmation currently is enabled only when using https).
v0.23.1Compare Source
Renew the superuser file token cache when clicking on the thumb preview or download link (#6137).
Upgraded
modernc.org/sqliteto 1.34.3 to fix "disk io" error on arm64 systems.If you are extending PocketBase with Go and upgrading with
go get -umake sure to manually set in your go.mod themodernc.org/libcindirect dependency to v1.55.3, aka. the exact same version the driver is using.v0.23.0Compare Source
PocketBase v0.23.0 is a major refactor of the internals with the overall goal of making PocketBase an easier to use Go framework.
There are a lot of changes but to highlight some of the most notable ones:
The old documentation could be accessed at pocketbase.io/old.
echowith a new router built on top of the Go 1.22net/httpmux enhancements.daospackages incore.Appto simplify the DB operations (themodelspackage structs are also migrated incore).DBConnectfunction as part of the app configuration to allow differentdatabase/sqlSQLite drivers (turso/libsql, sqlcipher, etc.) and custom builds.Note that we no longer loads the
mattn/go-sqlite3driver by default when building withCGO_ENABLED=1to avoidmultiple definitionlinker errors in case different CGO SQLite drivers or builds are used. You can find an example how to enable it back if you want to in the new documentation.Recordmodel improvements (support for get/set modifiers, simplfied file upload by treating the file(s) as regular field value likerecord.Set("document", file), etc.).id,email,password, etc.)._superusersauth records.The provider key is
instagram2to prevent conflicts with existing linked users.id_tokenpayload for the cases when the provider doesn't have a dedicated user info endpoint.Presentableview, slightly different collection options organization, zoom/pan for the logs chart, etc.)Go/JSVM APIs changes
SDKs changes
Web APIs changes
New
POST /api/batchendpoint.New
GET /api/collections/meta/scaffoldsendpoint.New
DELETE /api/collections/{collection}/truncateendpoint.New
POST /api/collections/{collection}/request-otpendpoint.New
POST /api/collections/{collection}/auth-with-otpendpoint.New
POST /api/collections/{collection}/impersonate/{id}endpoint.⚠️ If you are constructing requests to
/api/*routes manually remove the trailing slash (there is no longer trailing slash removal middleware registered by default).⚠️ Removed
/api/admins/*endpoints because admins are converted to_superusersauth collection records.⚠️ Previously when uploading new files to a multiple
filefield, new files were automatically appended to the existing field values.This behaviour has changed with v0.23+ and for consistency with the other multi-valued fields when uploading new files they will replace the old ones. If you want to prepend or append new files to an existing multiple
filefield value you can use the+prefix or suffix:⚠️ Removed
GET /records/{id}/external-authsandDELETE /records/{id}/external-auths/{provider}endpoints because this is now handled by sending list and delete requests to the_externalAuthscollection.⚠️ Changes to the app settings model fields and response (+new options such as
trustedProxy,rateLimits,batch, etc.). The app settings Web APIs are mostly used by the Dashboard UI and rarely by the end users, but if you want to check all settings changes please refer to the Settings Go struct.⚠️ New flatten Collection model and fields structure. The Collection model Web APIs are mostly used by the Dashboard UI and rarely by the end users, but if you want to check all changes please refer to the Collection Go struct.
⚠️ The top level error response
codekey was renamed tostatusfor consistency with the Go APIs.The error field key remains
code:⚠️ New fields in the
GET /api/collections/{collection}/auth-methodsresponse.The old
authProviders,usernamePassword,emailPasswordfields are still returned in the response but are considered deprecated and will be removed in the future.⚠️ Soft-deprecated the OAuth2 auth success
meta.avatarUrlfield in favour ofmeta.avatarURL.v0.22.28: ReleaseCompare Source
(Backported from v0.23.10) Renew the superuser file token cache when clicking on the thumb preview or download link (#6137).
(Backported from v0.23.10) Upgraded
modernc.org/sqliteto 1.34.3 to fix "disk io" error on arm64 systems.If you are extending PocketBase with Go and upgrading with
go get -umake sure to manually set in your go.mod themodernc.org/libcindirect dependency to v1.55.3, aka. the exact same version the driver is using.v0.22.27Compare Source
deleteevent (#5898).v0.22.26: ReleaseCompare Source
v0.22.25: ReleaseCompare Source
Refresh the old collections state in the Import UI after successful import submission (#5861).
Added randomized throttle on failed filter list requests as a very rudimentary measure since some security researches raised concern regarding the possibity of eventual side-channel attacks.
This is not really a solution for such attacks but it makes it difficult enough to make it less practical. With v0.23.0 there are several other measures taken but they cannot be backported easily. I'll submit a post a little bit later today clarifying more on it (edit: #5683).
v0.22.24: ReleaseCompare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: go.sum
e4dffa346a2b93ad670aUpdate module github.com/pocketbase/pocketbase to v0.22.25to Update module github.com/pocketbase/pocketbase to v0.22.262b93ad670a461a81764bUpdate module github.com/pocketbase/pocketbase to v0.22.26to Update module github.com/pocketbase/pocketbase to v0.22.27461a81764b23907fe01fUpdate module github.com/pocketbase/pocketbase to v0.22.27to Update module github.com/pocketbase/pocketbase to v0.23.023907fe01fc8ac9de654Update module github.com/pocketbase/pocketbase to v0.23.0to Update module github.com/pocketbase/pocketbase to v0.23.1c8ac9de6545557bd8ab5Update module github.com/pocketbase/pocketbase to v0.23.1to Update module github.com/pocketbase/pocketbase to v0.23.25557bd8ab57d8a7b7283Update module github.com/pocketbase/pocketbase to v0.23.2to Update module github.com/pocketbase/pocketbase to v0.23.37d8a7b728356b34f5bcbUpdate module github.com/pocketbase/pocketbase to v0.23.3to Update module github.com/pocketbase/pocketbase to v0.23.456b34f5bcb5349a79092Update module github.com/pocketbase/pocketbase to v0.23.4to Update module github.com/pocketbase/pocketbase to v0.23.55349a790920b259e52ecUpdate module github.com/pocketbase/pocketbase to v0.23.5to Update module github.com/pocketbase/pocketbase to v0.23.60b259e52eccd5504813bUpdate module github.com/pocketbase/pocketbase to v0.23.6to Update module github.com/pocketbase/pocketbase to v0.23.7cd5504813bbb34bb37e7Update module github.com/pocketbase/pocketbase to v0.23.7to Update module github.com/pocketbase/pocketbase to v0.23.8bb34bb37e797583a5b00Update module github.com/pocketbase/pocketbase to v0.23.8to Update module github.com/pocketbase/pocketbase to v0.23.997583a5b00a62c679a68Update module github.com/pocketbase/pocketbase to v0.23.9to Update module github.com/pocketbase/pocketbase to v0.23.1081cad3fa30bfd8e1cddebfd8e1cddeto94bed5349eView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.