Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
⚠️ Replaced
aws-sdk-go-v2
andgocloud.dev/blob
with custom lighter implementation (#6562).As a side-effect of the dependency removal, the binary size has been reduced with ~10MB and builds ~30% faster.
Although the change is expected to be backward-compatible, I'd recommend to test first locally the new version with your S3 provider (if you use S3 for files storage and backups).
⚠️ Prioritized the user submitted non-empty
createData.email
(it will be unverified) when creating the PocketBase user during the first OAuth2 auth.Load the request info context during password/OAuth2/OTP authentication (#6402).
This could be useful in case you want to target the auth method as part of the MFA and Auth API rules.
For example, to disable MFA for the OAuth2 auth could be expressed as
@request.context != "oauth2"
MFA rule.Added
store.Store.SetFunc(key, func(old T) new T)
to set/update a store value with the return result of the callback in a concurrent safe manner.Added
subscription.Message.WriteSSE(w, id)
for writing an SSE formatted message into the provided writer interface (used mostly to assist with the unit testing).Added
$os.stat(file)
JSVM helper (#6407).Added log warning for
async
marked JSVM handlers and resolve when possible the returnedPromise
as fallback (#6476).Allowed calling
cronAdd
,cronRemove
from inside other JSVM handlers (#6481).Bumped the default request read and write timeouts to 5mins (old 3mins) to accommodate slower internet connections and larger file uploads/downloads.
If you want to change them you can modify the
OnServe
hook'sServeEvent.ReadTimeout/WriteTimeout
fields as shown in #6550.Normalized the
@request.auth.*
and@request.body.*
back relations resolver to always returnnull
when the relation field is pointing to a different collection (#6590).Other minor improvements (fixed query dev log nested parameters output, reintroduced
DynamicModel
object/array props reflect types caching, updated Go and npm deps, etc.)