NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #19 by repository stars
Latest stable
v0.40.6
Last release 23 days ago
26 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
567 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Deprecated SchemaField.Unique. Unique constraints are now managed via indexes. The Unique field is a no-op and will be removed in future version.
⚠️ Make sure to have a backup of your
pb_datadirectory before upgrading in case the system db indexes migration fail for some reason.
This release introduces experimental Apple OAuth2 integration, unique constraints and indexes management (supporting multiple fields and expressions), relation normalizations and optimizations, and other various improvements.
Added experimental Apple OAuth2 integration.
Added @request.headers.* filter rule support.
Added support for advanced unique constraints and indexes management (#345, #544)
Simplified the collections fields UI to allow easier and quicker scaffolding of the data schema.
Deprecated SchemaField.Unique. Unique constraints are now managed via indexes.
The Unique field is a no-op and will be removed in future version.
Removed the COALESCE wrapping from some of the generated filter conditions to make better use of the indexes (#1939).
Detect id aliased view columns as single relation fields (#2029).
Optimized single relation lookups.
Normalized record values on maxSelect field option change (select, file, relation).
When changing from single to multiple all already inserted single values are converted to an array.
When changing from multiple to single only the last item of the already inserted array items is kept.
Changed the cost/round factor of bcrypt hash generation from 13 to 12 since several users complained about the slow authWithPassword responses on lower spec hardware. The change will affect only new users. Depending on the demand, we might make it configurable from the auth options.
Simplified the default mail template styles to allow more control over the template layout (#1904).
Added option to explicitly set the record id from the Admin UI (#2118).
Added migrate history-sync command to clean _migrations history table from deleted migration files references.
Added new fields to the core.RecordAuthWithOAuth2Event struct:
IsNewRecord bool, // boolean field indicating whether the OAuth2 action created a new auth record
ProviderName string, // the name of the OAuth2 provider (eg. "google")
ProviderClient auth.Provider, // the loaded Provider client instance
Added CGO linux target for the prebuilt executable.
! Renamed daos.GetTableColumns() to daos.TableColumns() for consistency with the other Dao table related helpers.
! Renamed daos.GetTableInfo() to daos.TableInfo() for consistency with the other Dao table related helpers.
! Changed types.JsonArray to support specifying a generic type, aka. types.JsonArray[T].
If you have previously used types.JsonArray, you'll have to update it to types.JsonArray[any].
! Registered the RemoveTrailingSlash middleware only for the /api/* routes since it is causing issues with subpath file serving endpoints (#2072).
! Changed the request logs method value to UPPERCASE, eg. "get" => "GET" (#1956).
Other minor UI improvements.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Removed eager unique collection name check to support lazy validation during bulk import.
Removed eager unique collection name check to support lazy validation during bulk import.
This is a fix for a minor regression introduced with v0.13.3 that is causing collections import with renamed collections to fail because the related records table will be already inserted since the import validations are performed after the record tables sync.
Nothing published for this version
Fixed view collections import (#2044).
Fixed view collections import (#2044).
Updated the records picker Admin UI to show properly view collection relations.
Fixed Admin UI js error when selecting multiple file field as relation "Display fields" (#1989).
file field as relation "Display fields" (#1989).Added HEAD request method support for the /api/files/:collection/:recordId/:filename route (#1976).
HEAD request method support for the /api/files/:collection/:recordId/:filename route (#1976).! Removed the previously deprecated Dao.Block() and Dao.Continue() helpers in favor of Dao.NonconcurrentDB().
Added new "View" collection type allowing you to create a read-only collection from a custom SQL SELECT statement. It supports:
COUNT(), MIN(), MAX(), GROUP BY, etc.)relation fields associationfile fields proxying (up to 5 linked relations, eg. view1->view2->...->base)filter, sort and expandAdded auto fail/retry (default to 8 attempts) for the SELECT queries to gracefully handle the database is locked errors (#1795).
The default max attempts can be accessed or changed via Dao.MaxLockRetries.
Added default max query execution timeout (30s).
The default timeout can be accessed or changed via Dao.ModelQueryTimeout.
For the prebuilt executables it can be also changed via the --queryTimeout=10 flag.
Added support for dao.RecordQuery(collection) to scan directly the One() and All() results in *models.Record or []*models.Record without the need of explicit NullStringMap.
Added support to overwrite the default file serve headers if an explicit response header is set.
Added file thumbs when visualizing relation display file fields.
Added "Min select" relation field option.
Enabled process.env in JS migrations to allow accessing os.Environ().
Added UploadedFiles field to the RecordCreateEvent and RecordUpdateEvent event structs.
! Moved file upload after the record persistent to allow setting custom record id safely from the OnModelBeforeCreate hook.
! Changed System.GetFile() to return directly *blob.Reader instead of the io.ReadCloser interface.
! Changed To, Cc and Bcc of mailer.Message to []mail.Address for consistency and to allow multiple recipients and optional name.
If you are sending custom emails, you'll have to replace:
message := &mailer.Message{
...
// (old) To: mail.Address{Address: "to@example.com"}
To: []mail.Address{{Address: "to@example.com", Name: "Some optional name"}},
// (old) Cc: []string{"cc@example.com"}
Cc: []mail.Address{{Address: "cc@example.com", Name: "Some optional name"}},
// (old) Bcc: []string{"bcc@example.com"}
Bcc: []mail.Address{{Address: "bcc@example.com", Name: "Some optional name"}},
...
}
! Refactored the Authentik integration as a more generic "OpenID Connect" provider (oidc) to support any OIDC provider (Okta, Keycloak, etc.).
If you've previously used Authentik, make sure to rename the provider key in your code to oidc.
To enable more than one OIDC provider you can use the additional oidc2 and oidc3 provider keys.
! Removed the previously deprecated Dao.Block() and Dao.Continue() helpers in favor of Dao.NonconcurrentDB().
Updated the internal redirects to allow easier subpath deployment when behind a reverse proxy.
Other minor Admin UI improvements.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed "Toggle column" reactivity when navigating between collections (#1836).
Increased slightly the fields contrast (#1742).
Fixed js error on empty relation save.
Nothing published for this version
Nothing published for this version
Refactored the relation picker UI to allow server-side search, sort, create, update and delete of relation records (#976).
Refactored the relation picker UI to allow server-side search, sort, create, update and delete of relation records (#976).
Added new RelationOptions.DisplayFields option to specify custom relation field(s) visualization in the Admin UI.
Added Authentik OAuth2 provider (#1377; thanks @pr0ton11).
Added LiveChat OAuth2 provider (#1573; thanks @mariosant).
Added Gitea OAuth2 provider (#1643; thanks @hlanderdev).
Added PDF file previews (#1548; thanks @mjadobson).
Added video and audio file previews.
Added rich text editor (editor) field for HTML content based on TinyMCE (#370).
Currently the new field doesn't have any configuration options or validations but this may change in the future depending on how devs ended up using it.
Added "Duplicate" Collection and Record options in the Admin UI (#1656).
Added filesystem.GetFile() helper to read files through the FileSystem abstraction (#1578; thanks @avarabyeu).
Added new auth event hooks for finer control and more advanced auth scenarios handling:
// auth record
OnRecordBeforeAuthWithPasswordRequest()
OnRecordAfterAuthWithPasswordRequest()
OnRecordBeforeAuthWithOAuth2Request()
OnRecordAfterAuthWithOAuth2Request()
OnRecordBeforeAuthRefreshRequest()
OnRecordAfterAuthRefreshRequest()
// admin
OnAdminBeforeAuthWithPasswordRequest()
OnAdminAfterAuthWithPasswordRequest()
OnAdminBeforeAuthRefreshRequest()
OnAdminAfterAuthRefreshRequest()
OnAdminBeforeRequestPasswordResetRequest()
OnAdminAfterRequestPasswordResetRequest()
OnAdminBeforeConfirmPasswordResetRequest()
OnAdminAfterConfirmPasswordResetRequest()
Added models.Record.CleanCopy() helper that creates a new record copy with only the latest data state of the existing one and all other options reset to their defaults.
Added new helper apis.RecordAuthResponse(app, httpContext, record, meta) to return a standard Record auth API response (#1623).
Refactored models.Record expand and data change operations to be concurrent safe.
Refactored all forms Submit interceptors to use a generic data type as their payload.
Added several store.Store helpers:
store.Reset(newData map[string]T)
store.Length() int
store.GetAll() map[string]T
Added "tags" support for all Record and Model related event hooks.
The "tags" allow registering event handlers that will be called only on matching table name(s) or colleciton id(s)/name(s). For example:
app.OnRecordBeforeCreateRequest("articles").Add(func(e *core.RecordCreateEvent) error {
// called only on "articles" record creation
log.Println(e.Record)
return nil
})
For all those event hooks *hook.Hook was replaced with *hooks.TaggedHook, but the hook methods signatures are the same so it should behave as it was previously if no tags were specified.
! Fixed the json field string value normalization (#1703).
In order to support seamlessly both application/json and multipart/form-data requests, the following normalization rules are applied if the json field is a plain string value:
truefalsenull[1,2,3]{"a":1,"b":2}Additionally, the "Nonempty" json field constraint now checks for null, [], {} and "" (empty string).
Added aria-label to some of the buttons in the Admin UI for better accessibility (#1702; thanks @ndarilek).
Updated the filename extension checks in the Admin UI to be case-insensitive (#1707; thanks @hungcrush).
Other minor improvements (more detailed API file upload errors, UI optimizations, docs improvements, etc.)
Nothing published for this version
Fixed cascade delete for rel records with the same id as the main record (#1689).
Nothing published for this version
Nothing published for this version
Fix realtime API panic on concurrent clients iteration
Fix realtime API panic on concurrent clients iteration (#1628)
app.SubscriptionsBroker().Clients() now returns a shallow copy of the underlying map.
Added Discard() and IsDiscarded() helper methods to the subscriptions.Client interface.
Slow clients should no longer "block" the main action completion.
Nothing published for this version
Fixed fs.DeleteByPrefix() hang on invalid S3 settings (#1575).
Fixed fs.DeleteByPrefix() hang on invalid S3 settings (#1575).
Updated file(s) delete to run in the background on record/collection delete to avoid blocking the delete model transaction. Currently the cascade files delete operation is treated as "non-critical" and in case of an error it is just logged during debug. This will be improved in the near future with the planned async job queue implementation.
Unescaped path parameter values (#1552).
Unescaped path parameter values (#1552).
Updated the GitHub action's min Go version to 1.19.5 since it comes with some minor bugfixes.
Make sure to have a backup of your `pb_data` and to read the notes below before updating (_there is small breaking change in case you are filtering mu…
This release comes with major API rules, filters and fields enhancements.
Make sure to have a backup of your pb_data and to read the notes below before updating (there is small breaking change in case you are filtering multi-relation fields in your client-side code).
Added + and - body field modifiers for number, files, select and relation fields.
{
// oldValue + 2
"someNumber+": 2,
// oldValue + ["id1", "id2"] - ["id3"]
"someRelation+": ["id1", "id2"],
"someRelation-": ["id3"],
// delete single file by its name (file fields supports only the "-" modifier!)
"someFile-": "filename.png",
}
Note1: @request.data.someField will contain the final resolved value.
Note2: The old index ("field.0":null) and filename ("field.filename.png":null) based suffixed syntax for deleting files is still supported.
! Added support for multi-match/match-all request data and collection multi-valued fields (select, relation) conditions.
If you want a "at least one of" type of condition, you can prefix the operator with ?.
// for each someRelA.someRelB record require the "status" field to be "active"
someRelA.someRelB.status = "active"
// OR for "at least one of" condition
someRelA.someRelB.status ?= "active"
Note: Previously the behavior for multi-valued fields was as the "at least one of" type.
The release comes with system db migration that will update your existing API rules (if needed) to preserve the compatibility.
If you have multi-relation filter checks in your client-side code and want to preserve the old behavior, you'll have to prefix with ? your operator(s).
Added support for querying @request.data.someRelField.* relation fields.
// example submitted data: {"someRel": "REL_RECORD_ID"}
@request.data.someRel.status = "active"
Added :isset modifier for the static request data fields.
// prevent changing the "role" field
@request.data.role:isset = false
Added :length modifier for the arrayable request data and collection fields (select, file, relation).
// example submitted data: {"someSelectField": ["val1", "val2"]}
@request.data.someSelectField:length = 2
// check existing record field length
someSelectField:length = 2
Added :each modifier support for the multi-select request data and collection field.
// check if all selected rows has "pb_" prefix
roles:each ~ 'pb_%'
Improved the Admin UI filters autocomplete.
Added @random sort key for RANDOM() sorted list results.
Added Strava OAuth2 provider (#1443; thanks @szsascha).
Added Gitee OAuth2 provider (#1448; thanks @yuxiang-gao).
Added IME status check to the textarea keydown handler (#1370; thanks @tenthree).
Added filesystem.NewFileFromBytes() helper (#1420; thanks @dschissler).
Added support for reordering uploaded multiple files.
Added webp to the default images mime type presets list (#1469; thanks @khairulhaaziq).
Added the OAuth2 refresh token to the auth meta response (#1487).
Fixed the text wrapping in the Admin UI listing searchbar (#1416).
Fixed number field value output in the records listing (#1447).
Fixed duplicated settings view pages caused by uncompleted transitions (#1498).
Allowed sending Authorization header with the /auth-with-password record and admin login requests (#1494).
migrate down now reverts migrations in the applied order.
Added additional list-bucket check in the S3 config test API.
Other minor improvements.
Nothing published for this version
Fixed Record.MergeExpand panic when the main model expand map is not initialized (#1365).
Record.MergeExpand panic when the main model expand map is not initialized (#1365).! Renamed the metadata key original_filename to original-filename due to an S3 file upload error caused by the underscore character (#1343; thanks @yu
! Renamed the metadata key original_filename to original-filename due to an S3 file upload error caused by the underscore character (#1343; thanks @yuxiang-gao).
Fixed request verification docs api url (#1332; thanks @JoyMajumdar2001)
Excluded collectionId and collectionName from the displayable relation props list (1322; thanks @dhall2).
Other minor internal optimizations
Fixed nested multiple expands with shared path (#586).
Fixed nested multiple expands with shared path (#586).
A new helper method models.Record.MergeExpand(map[string]any) was also added to simplify the expand handling and unit testing.
Fixed nested transactions deadlock when authenticating with OAuth2 (https://github.com/pocketbase/pocketbase/issues/1291).
This release comes with major performance and memory consumption improvements. We now internally maintain 2 separate DB pools to increase the read and
This release comes with major performance and memory consumption improvements. We now internally maintain 2 separate DB pools to increase the read and write concurrent throughput and reduce the memory allocation due to large number of open connections. Based on some tests on 2vCPU 2GB Hetzner VPS, the time needed for creating concurrently 10000 records (each with ~300KB body) was reduced from ~120s to ~14s (this includes the network latency). Additionally the writes no longer should exhaust the available read connections meaning that you should be able to query your data even on constant write load.
If after the upgrade you are still getting OOM errors, you may want to set the environment variable GOMEMLIMIT=500MiB before starting the executable to reduce the amount of unreleased memory kept by the GC (it is a soft limit).
Added /api/health endpoint (thanks @MarvinJWendt).
Added support for SMTP LOGIN auth for Microsoft/Outlook and other providers that don't support the PLAIN auth method (#1217).
Reduced memory consumption (you can expect ~20% less allocated memory).
Added support for split (concurrent and nonconcurrent) DB connections pool increasing even further the concurrent throughput without blocking reads on heavy write load.
Improved record references delete performance.
Removed the unnecessary parenthesis in the generated filter SQL query, reducing the "parse stack overflow" errors.
Fixed ~ expressions backslash literal escaping (#1231).
Refactored the core.app.Bootstrap() to be called before starting the cobra commands (#1267).
! Changed pocketbase.NewWithConfig(config Config) to pocketbase.NewWithConfig(config *Config) and added 4 new config settings:
DataMaxOpenConns int // default to core.DefaultDataMaxOpenConns
DataMaxIdleConns int // default to core.DefaultDataMaxIdleConns
LogsMaxOpenConns int // default to core.DefaultLogsMaxOpenConns
LogsMaxIdleConns int // default to core.DefaultLogsMaxIdleConns
Added new helper method core.App.IsBootstrapped() to check the current app bootstrap state.
! Changed core.NewBaseApp(dir, encryptionEnv, isDebug) to NewBaseApp(config *BaseAppConfig).
! Removed rest.UploadedFile struct (see below filesystem.File).
Added generic file resource struct that allows loading and uploading file content from different sources (at the moment multipart/form-data requests and from the local filesystem).
filesystem.File{}
filesystem.NewFileFromPath(path)
filesystem.NewFileFromMultipart(multipartHeader)
filesystem/System.UploadFile(file)
Refactored forms.RecordUpsert to allow more easily loading and removing files programmatically.
forms.RecordUpsert.AddFiles(key, filesystem.File...) // add new filesystem.File to the form for upload
forms.RecordUpsert.RemoveFiles(key, filenames...) // marks the filenames for deletion
Trigger the password validators if any of the others password change fields is set.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed field/column name conflict on record cascade deletion (#1220).
Updated the GitHub goreleaser action to use go 1.19.4 since it comes with some security fixes.
Moved the record file upload and delete out of the db transaction to minimize the locking times.
Added Dao query semaphore and base fail/retry handling to improve the concurrent writes throughput (#1187).
Fixed records cascade deletion when there are "A<->B" relation references.
Replaced c.QueryString() with c.QueryParams().Encode() to allow loading middleware modified query parameters in the default crud actions (#1210).
Fixed the datetime field not triggerering the onChange event on manual field edit and added a "Clear" button (#1219).
Updated the GitHub goreleaser action to use go 1.19.4 since it comes with some security fixes.
Nothing published for this version
There are no breaking changes to the public apis, but depending which exported internals you use in your app, you may have to update your Go code if y…
⚠️ As always, make sure to have a copy of your pb_data directory before upgrading. If you are using PocketBase v0.7.x or older, it is recommended first to upgrade to v0.8.
This release mostly contains internal code improvements and the long-awaited automigrate feature.
Additionally, we also support writing custom db migrations with JavaScript (more documentation and examples will be available soon).
This also means that the migrate command now works identically with the prebuilt executable and when PocketBase is used as framework (in the near future there are also plans to allow binding to the app event hooks with JavaScript).
There are no breaking changes to the public apis, but depending which exported internals you use in your app, you may have to update your Go code if you are extending PocketBase. Please refer to the CHANGELOG or the notes below for more details.
Fixed concurrent multi-relation cascade update/delete (#1138).
Added the raw OAuth2 user data (meta.rawUser) and OAuth2 access token (meta.accessToken) to the auth response (#654).
BaseModel.UnmarkAsNew() method was renamed to BaseModel.MarkAsNotNew().
Additionally, to simplify the insert model queries with custom IDs, it is no longer required to call MarkAsNew() for manually initialized models with set ID since now this is the default state.
When the model is populated with values from the database (eg. after row Scan) it will be marked automatically as "not new".
Added Record.OriginalCopy() method that returns a new Record copy populated with the initially loaded record data (useful if you want to compare old and new field values).
Added new event hooks:
app.OnBeforeBootstrap()
app.OnAfterBootstrap()
app.OnBeforeApiError()
app.OnAfterApiError()
app.OnRealtimeDisconnectRequest()
app.OnRealtimeBeforeMessageSend()
app.OnRealtimeAfterMessageSend()
app.OnRecordBeforeRequestPasswordResetRequest()
app.OnRecordAfterRequestPasswordResetRequest()
app.OnRecordBeforeConfirmPasswordResetRequest()
app.OnRecordAfterConfirmPasswordResetRequest()
app.OnRecordBeforeRequestVerificationRequest()
app.OnRecordAfterRequestVerificationRequest()
app.OnRecordBeforeConfirmVerificationRequest()
app.OnRecordAfterConfirmVerificationRequest()
app.OnRecordBeforeRequestEmailChangeRequest()
app.OnRecordAfterRequestEmailChangeRequest()
app.OnRecordBeforeConfirmEmailChangeRequest()
app.OnRecordAfterConfirmEmailChangeRequest()
The original uploaded file name is now stored as metadata under the original_filename key. It could be accessed via:
fs, _ := app.NewFilesystem()
defer fs.Close()
attrs, _ := fs.Attributes(fikeKey)
attrs.Metadata["original_name"]
Added support for Partial/Range file requests (#1125).
This is a minor breaking change if you are using filesystem.Serve (eg. as part of a custom OnFileDownloadRequest hook):
// old
filesystem.Serve(res, e.ServedPath, e.ServedName)
// new
filesystem.Serve(res, req, e.ServedPath, e.ServedName)
Refactored the migrate command to support external JavaScript migration files using an embedded JS interpreter (goja).
This allow writting custom migration scripts such as programmatically creating collections,
initializing default settings, running data imports, etc., with a JavaScript API very similar to the Go one (more documentation will be available soon).
The migrate command is available by default for the prebult executable,
but if you use PocketBase as framework you need register it manually:
migrationsDir := "" // default to "pb_migrations" (for js) and "migrations" (for go)
// load js files if you want to allow loading external JavaScript migrations
jsvm.MustRegisterMigrations(app, &jsvm.MigrationsOptions{
Dir: migrationsDir,
})
// register the `migrate` command
migratecmd.MustRegister(app, app.RootCmd, &migratecmd.Options{
TemplateLang: migratecmd.TemplateLangJS, // or migratecmd.TemplateLangGo (default)
Dir: migrationsDir,
Automigrate: true,
})
The refactoring also comes with automigrations support.
If Automigrate is enabled (true by default for the prebuilt executable; can be disabled with --automigrate=0),
PocketBase will generate seamlessly in the background JS (or Go) migration file with your collection changes.
The directory with the JS migrations can be committed to your git repo.
All migrations (Go and JS) are automatically executed on server start.
Also note that the auto generated migrations are granural (in contrast to the migrate collections snapshot command)
and allow multiple developers to do changes on the collections independently (even editing the same collection) miniziming the eventual merge conflicts.
Here is a sample JS migration file that will be generated if you for example edit a single collection name:
// pb_migrations/1669663597_updated_posts_old.js
migrate((db) => {
// up
const dao = new Dao(db)
const collection = dao.findCollectionByNameOrId("lngf8rb3dqu86r3")
collection.name = "posts_new"
return dao.saveCollection(collection)
}, (db) => {
// down
const dao = new Dao(db)
const collection = dao.findCollectionByNameOrId("lngf8rb3dqu86r3")
collection.name = "posts_old"
return dao.saveCollection(collection)
})
Added new Dao helpers to make it easier fetching and updating the app settings from a migration:
dao.FindSettings([optEncryptionKey])
dao.SaveSettings(newSettings, [optEncryptionKey])
Moved core.Settings to models/settings.Settings:
core.Settings{} -> settings.Settings{}
core.NewSettings() -> settings.New()
core.MetaConfig{} -> settings.MetaConfig{}
core.LogsConfig{} -> settings.LogsConfig{}
core.SmtpConfig{} -> settings.SmtpConfig{}
core.S3Config{} -> settings.S3Config{}
core.TokenConfig{} -> settings.TokenConfig{}
core.AuthProviderConfig{} -> settings.AuthProviderConfig{}
Changed the mailer.Mailer interface (minor breaking if you are sending custom emails):
// Old:
app.NewMailClient().Send(from, to, subject, html, attachments?)
// New:
app.NewMailClient().Send(&mailer.Message{
From: from,
To: to,
Subject: subject,
HTML: html,
Attachments: attachments,
// new configurable fields
Bcc: []string{"bcc1@example.com", "bcc2@example.com"},
Cc: []string{"cc1@example.com", "cc2@example.com"},
Headers: map[string]string{"Custom-Header": "test"},
Text: "custom plain text version",
})
The new *mailer.Message struct is also now a member of the MailerRecordEvent and MailerAdminEvent events.
Other minor UI fixes and improvements
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
There are no breaking changes if you've already previously migrated to the v0.8.0-rc.
There are no breaking changes if you've already previously migrated to the v0.8.0-rc.
PocketBase v0.8.x works only with JavaScript SDK v0.8+ and the Dart SDK v0.5+.
If you are using PocketBase v0.7.x, please check the migration guide.
Merged the User model the profiles collection per [#376] and added support for multiple auth collections.
Added indirect expand support #312.
The json field type now supports filtering and sorting #423.
The relation field now allows unlimitted maxSelect (aka. without upper limit).
Added support for combined email/username + password authentication (see below authWithPassword()).
Added support for full "manager-subordinate" users management, including a special API rule to allow directly changing system fields like email, password, etc. without requiring oldPassword or other user verification.
Enabled OAuth2 account linking on authorized request from the same auth collection (this is useful for example if the OAuth2 provider doesn't return an email and you want to associate it with the current logged in user).
Added option to toggle the record columns visibility from the table listing.
Added support for collection schema fields reordering.
Added several new OAuth2 providers (Microsoft Azure AD, Spotify, Twitch, Kakao).
Improved memory usage on large file uploads #835.
More detailed API preview docs and site documentation (the repo is located at https://github.com/pocketbase/site).
Other minor performance improvements (mostly related to the search apis).
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed browser crash on large number of relational autocomplete fields [#1053]
Fixed browser crash on large number of relational autocomplete fields [#1053]
Added .jiff to the previewable extensions list [#1047]
Added helper apis.* public methods for expanding relations and safely resolving recursively the email field for auth records [#943]
apis.GetRequestData(c echo.Context) *models.FilterRequestData
apis.EnrichRecord(c echo.Context, dao *daos.Dao, record *models.Record, defaultExpands ...string) error
apis.EnrichRecords(c echo.Context, dao *daos.Dao, records []*models.Record, defaultExpands ...string) error
Updated the auth collections schema validator to not requrie additional fields [#872]
For consistency with the other *Request hooks, OnRecordListExternalAuths event hook was renamed to OnRecordListExternalAuthsRequest
Nothing published for this version
Nothing published for this version
Nothing published for this version
To prevent confusion with the auth method responses, the following endpoints now returns 204 with empty body (previously 200 with token and auth model
To prevent confusion with the auth method responses, the following endpoints now returns 204 with empty body (previously 200 with token and auth model):
POST /api/admins/confirm-password-reset
POST /api/collections/:collection/confirm-password-reset
POST /api/collections/:collection/confirm-verification
POST /api/collections/:collection/confirm-email-change
Improved the random generator (thanks @lbm) and added additional pseudorandom alternatives for the cases where you don't really need "true" random
Updated db pool limits and added logs DB VACUUM on 0 logs setting
Changed the allowed min username length to 3 chars [#961]
Added Twitch OAuth2 provider [#970] (thanks @AdrianGonz97)
Added Kakao OAuth2 provider [#979] (thanks @teddysbeach)
Updated the collection name lookups to be case insensitive for consistency with the form validator [#1028]
Fixed auth collection rules validator when system fields are referenced [#1030]
Other minor improvements (API Preview docs fixes, improved API rules autocomplete, etc.)
One column per quarter.