Open
Conversation
Snyk has created this PR to upgrade pocketbase from 0.10.1 to 0.15.2. See this package in npm: https://www.npmjs.com/package/pocketbase See this project in Snyk: https://app.snyk.io/org/gregstarr/project/b5f9aad8-6a21-49dd-a088-7677905ecef1?utm_source=github&utm_medium=referral&page=upgrade-pr
✅ Deploy Preview for shiny-crumble-7dd594 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade pocketbase from 0.10.1 to 0.15.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: pocketbase
-
0.15.2 - 2023-06-07
-
-
-
0.15.1 - 2023-06-01
- Cancel any pending subscriptions submit requests on realtime disconnect (#204).
-
0.15.0 - 2023-05-21
-
-
-
-
0.15.0-rc - 2023-05-13
-
0.14.4 - 2023-05-05
- Removed the legacy aliased
-
0.14.4-rc - 2023-05-01
-
0.14.3 - 2023-04-28
- Added
-
0.14.2 - 2023-04-28
- Use
-
0.14.1 - 2023-04-28
- Use an absolute url when the SDK is initialized with a relative base path in a browser env to ensure that the generated OAuth2 redirect and file urls are absolute.
-
0.14.0 - 2023-04-18
-
-
// Builds and returns an absolute record file url for the provided filename.
-
0.14.0-rc2 - 2023-04-11
-
0.14.0-rc - 2023-04-05
-
0.13.1 - 2023-03-26
-
-
-
0.13.0 - 2023-03-24
-
-
-
-
-
0.13.0-rc - 2023-03-16
-
0.12.1 - 2023-03-09
-
0.12.1-rc2 - 2023-03-09
-
0.12.1-rc - 2023-03-09
-
0.12.0 - 2023-02-27
-
0.11.1 - 2023-02-23
-
0.11.0 - 2023-02-19
-
0.10.2 - 2023-02-16
-
0.10.1 - 2023-01-21
from pocketbase GitHub release notesReplaced
new URL(...)with manual url parsing as it doesn't seem to be fully supported in React Native (pocketbase#2484).Fixed nested
ClientResponseError.originalErrorwrapping and addedClientResponseErrorconstructor tests.Added
fieldsto the optional query parameters for limiting the returned API fields (available with PocketBase v0.16.0).Added
pb.backupsservice for the new PocketBase backup and restore APIs (available with PocketBase v0.16.0).Updated
pb.settings.testS3(filesystem)to allow specifying a filesystem to test -storageorbackups(available with PocketBase v0.16.0).BaseModel.isNewgetter since it conflicts with similarly named record fields (pocketbase#2385).This helper is mainly used in the Admin UI, but if you are also using it in your code you can replace it with the
$prefixed version, aka.BaseModel.$isNew.OAuth2AuthConfig.queryprop to send optional query parameters (eg.expand) with theauthWithOAuth2(config)call.location.origin + location.pathnameinstead of fulllocation.hrefwhen constructing the browser absolute url to ignore any extra hash or query parameter from the base url.This is a small improvement to the earlier change from v0.14.1.
Added simplified
authWithOAuth2()version without having to implement custom redirect, deeplink or even page reload:Works with PocketBase v0.15.0+.
This method initializes a one-off realtime subscription and will
open a popup window with the OAuth2 vendor page to authenticate.
Once the external OAuth2 sign-in/sign-up flow is completed, the popup
window will be automatically closed and the OAuth2 data sent back
to the user through the previously established realtime connection.
Site-note: when creating the OAuth2 app in the provider dashboard
you have to configure
https://yourdomain.com/api/oauth2-redirectas redirect URL.
The "manual" code exchange flow is still supported as
authWithOAuth2Code(provider, code, codeVerifier, redirectUrl).For backward compatibility it is also available as soft-deprecated function overload of
authWithOAuth2(provider, code, codeVerifier, redirectUrl).Added new
pb.filesservice:🔓 pb.files.getUrl(record, filename, queryParams = {});
// Requests a new private file access token for the current auth model (admin or record).
🔐 pb.files.getToken(queryParams = {});
pb.getFileUrl()is soft-deprecated and acts as alias callingpb.files.getUrl()under the hood.Works with PocketBase v0.15.0+.
Added option to specify a generic
send()return type and definedSendOptionstype (#171; thanks @ iamelevich).Deprecated
SchemaField.uniqueprop since its function is replaced byCollection.indexesin the upcoming PocketBase v0.14.0 release.Aliased all
BaseModelhelpers with$equivalent to avoid conflicts with the dynamic record props (#169).For backward compatibility, the old helpers will still continue to work if the record doesn't have a conflicting field name.
Updated
pb.beforeSendandpb.afterSendsignatures to allow returning and awaiting an optionalPromise(#166; thanks @ Bobby-McBobface).Added
Collection.indexesfield for the new collection indexes support in the upcoming PocketBase v0.14.0.Added
pb.settings.generateAppleClientSecret()for sending a request to generate Apple OAuth2 client secret in the upcoming PocketBase v0.14.0.Commit messages
Package name: pocketbase
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs