Firebase Admin Node.js SDK v8.3.0
Realtime Database
- Added an
admin.database().getRules()
method to retrieve the currently applied Realtime Database rules text. - Added an
admin.database().getRulesJSON()
method to retrieve the currently applied Realtime Database rules as a
parsed JSON object. - Added an
admin.database().setRules()
method to update Realtime Database rules. - Downgraded the dependency on the
@firebase/app
package to a dev dependency.
Authentication
- Implemented additional argument validation in the
admin.auth().importUsers()
API.
Cloud Storage
- Upgraded the
@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.