firebase-admin
v13 → v14
Preview supported changes from the namespaced Firebase Admin API to the modular API introduced in v14.
Validation status
Benchmarked on 12 valid public repositories: 316 of 340 detected change groups were migrated automatically. Review every proposed change against the official migration guide.
WHAT CHANGES
From namespace to modules.
The migration targets known API patterns that can be mapped with confidence. It does not promise to understand every project-specific wrapper or dynamic usage.
Example: Firestore initialization
BEFORE
import * as admin from 'firebase-admin';
const db = admin.firestore(); PREVIEW
import { getFirestore } from
'firebase-admin/firestore';
const db = getFirestore();- Removed or unsupported APIs and ambiguous patterns are reported for manual work.
- Project-specific behavior, initialization order, and runtime configuration still need review.
- Run the project’s own checks and consult Firebase’s official migration guide before adopting a change.
Preview command
upstreamfix migrate firebase-admin@14 --cwd ./your-projectAfter review, --write verifies and commits eligible changes on a new Git branch.CURRENTLY
Local migration.
No automatic PR.
The prototype does not monitor package releases, discover new migration rules, or open pull requests. See current product boundaries.