[Snyk] Upgrade firebase-admin from 5.8.2 to 8.6.1 #1
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.
Snyk has created this PR to upgrade
firebase-admin
from 5.8.2 to 8.6.1.Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
Release notes
Authentication
UserRecord
no longer exposes password hashes that are redacted due to lack of permissions in the service account credentials.setCustomUserClaims()
API to acceptnull
.admin.securityRules()
API for managing Firebase security rules applied on services like Cloud Firestore and Cloud Storage.getFirestoreRuleset()
andgetStorageRuleset()
methods for retrieving rulesets that are currently in effect.releaseFirestoreRuleset()
andreleaseStorageRuleset()
methods for creating new rulesets and applying them to Firestore and Storage.getRuleset()
,createRuleset()
anddeleteRuleset()
methods for managing the lifecycle of a ruleset.Cloud Messaging
Authentication
tenantManager()
on theadmin.auth
interface.authForTenant()
,getTenant()
,listTenants()
,deleteTenant()
,createTenant()
andupdateTenant()
to the newly definedTenantManager
.TenantAwareAuth
interface retrieved viaTenantManager#authForTenant()
for managing users, configuring SAML/OIDC providers, generating email links for password reset, email verification, etc for specific tenants.Realtime Database
@firebase/database
dependency version to 0.5.1. This helps avoid some peer dependency warnings that were observed during package installation.Cloud Messaging
Realtime Database
admin.database().getRules()
method to retrieve the currently applied Realtime Database rules text.admin.database().getRulesJSON()
method to retrieve the currently applied Realtime Database rules as aparsed JSON object.
admin.database().setRules()
method to update Realtime Database rules.@firebase/app
package to a dev dependency.Authentication
admin.auth().importUsers()
API.Cloud Storage
@google-cloud/storage
dependency to v3.0.0. This new major version drops support for Node.js versions older than v8. Sincefirebase-admin
already supports only Node.js v8 and above, this does not have a noticeable impact on users of the Admin SDK.v1
endpoint. This makes it possible to use the SDK in Google Kubernetes Engine again.Realtime Database
@firebase/database
dependency to v0.4.4.Cloud Messaging
messaging.sendAll()
andmessaging.sendMulticast()
APIs.Project Management
projectManagement.listAppMetadata()
API to list the summarized details of up to 100 apps in a Firebase project.projectManagement.setDisplayName()
API to update the display name of a Firebase project.Cloud Firestore
Cloud Storage
Cloud Firestore
Realtime Database
admin.database.ThenableReference
type to extend from the built-inPromise
type.Firebase Auth
auth.listProviderConfigs()
,auth.getProviderConfig()
,auth.deleteProviderConfig()
,auth.updateProviderConfig()
andauth.createProviderConfig()
.🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs