feat(react): support firebase v12 - #210
Conversation
🦋 Changeset detectedLatest commit: 40976b3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
To view this pull requests documentation preview, visit the following URL: docs.page/invertase/tanstack-query-firebase~210 Documentation is deployed and generated using docs.page. |
48e22a2 to
bb3583d
Compare
bb3583d to
40976b3
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for Firebase v12 to the React package while maintaining backward compatibility with v11.3.0. The changes update peer dependencies, TypeScript configuration, and add testing infrastructure for the new Firebase version.
Key changes:
- Updated Firebase peer dependency to support both v11.3.0 and v12.0.0
- Upgraded TypeScript target from ES2015 to ES2020 to meet Firebase v12 requirements
- Added dedicated CI workflow for testing Firebase v12 compatibility
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/react/package.json | Updated Firebase peer dependency to include v12.0.0 |
| packages/react/tsconfig.json | Upgraded TypeScript target to ES2020 for Firebase v12 compatibility |
| .github/workflows/test-react-firebase-v12.yml | Added new CI workflow to test React package with Firebase v12 |
| .github/workflows/tests.yaml | Removed pnpm cache setup steps to streamline CI |
| dataconnect-sdk/js/default-connector/index.cjs.js | Reordered exports by moving query functions after mutation functions |
| dataconnect-sdk/js/default-connector/esm/index.esm.js | Reordered exports by moving query functions after mutation functions |
| .changeset/firebase-v12-support.md | Added changeset documenting the Firebase v12 support feature |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This PR adds support for firebase v12 in the react package.