Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename useCollection* hooks to useQuery* #198

Merged
merged 2 commits into from
Feb 24, 2023

Conversation

andipaetzold
Copy link
Owner

Existing hooks are deprecated and will be removed with
the next major version update

Existing hooks are deprecated and will be removed with
the next major version update
@github-actions
Copy link

github-actions bot commented Feb 24, 2023

Size Change: +313 B (+1%)

Total Size: 21.3 kB

Filename Size Change
lib/firestore/index.js 143 B +14 B (+11%) ⚠️
lib/firestore/useCollection.js 71 B -505 B (-88%) 🏆
lib/firestore/useCollectionData.js 77 B -613 B (-89%) 🏆
lib/firestore/useCollectionDataOnce.js 82 B -779 B (-90%) 🏆
lib/firestore/useCollectionOnce.js 77 B -741 B (-91%) 🏆
lib/firestore/useQuery.js 574 B +574 B (new file) 🆕
lib/firestore/useQueryData.js 688 B +688 B (new file) 🆕
lib/firestore/useQueryDataOnce.js 859 B +859 B (new file) 🆕
lib/firestore/useQueryOnce.js 816 B +816 B (new file) 🆕
ℹ️ View Unchanged
Filename Size
lib/app-check/index.js 59 B
lib/app-check/useAppCheckToken.js 421 B
lib/auth/index.js 75 B
lib/auth/useAuthIdToken.js 821 B
lib/auth/useAuthIdTokenResult.js 837 B
lib/auth/useAuthState.js 434 B
lib/common/index.js 48 B
lib/common/types.js 31 B
lib/database/index.js 70 B
lib/database/internal.js 158 B
lib/database/useObject.js 396 B
lib/database/useObjectOnce.js 455 B
lib/database/useObjectValue.js 693 B
lib/database/useObjectValueOnce.js 894 B
lib/firestore/internal.js 613 B
lib/firestore/types.js 31 B
lib/firestore/useCountFromServer.js 841 B
lib/firestore/useDocument.js 601 B
lib/firestore/useDocumentData.js 689 B
lib/firestore/useDocumentDataOnce.js 848 B
lib/firestore/useDocumentOnce.js 562 B
lib/firestore/useQueries.js 593 B
lib/firestore/useQueriesData.js 644 B
lib/index.js 107 B
lib/internal/useIsMounted.js 185 B
lib/internal/useListen.js 491 B
lib/internal/useLoadingValue.js 351 B
lib/internal/useMultiListen.js 627 B
lib/internal/useMultiLoadingValue.js 503 B
lib/internal/useOnce.js 724 B
lib/internal/useStableValue.js 200 B
lib/messaging/index.js 60 B
lib/messaging/useMessagingToken.js 417 B
lib/storage/index.js 90 B
lib/storage/internal.js 142 B
lib/storage/useBlob.js 806 B
lib/storage/useBytes.js 771 B
lib/storage/useDownloadURL.js 395 B
lib/storage/useMetadata.js 388 B
lib/storage/useStream.js 813 B

compressed-size-action

@andipaetzold andipaetzold marked this pull request as ready for review February 24, 2023 17:43
@andipaetzold andipaetzold merged commit 47e58ef into main Feb 24, 2023
@andipaetzold andipaetzold deleted the rename-useCollection branch February 24, 2023 18:27
github-actions bot pushed a commit that referenced this pull request Feb 24, 2023
# [2.4.0](v2.3.0...v2.4.0) (2023-02-24)

### Bug Fixes

* rename `useCollection*` hooks to `useQuery*` ([#198](#198)) ([47e58ef](47e58ef))

### Features

* useQueries & useQueriesData ([#199](#199)) ([e3a832d](e3a832d))
@github-actions
Copy link

🎉 This PR is included in version 2.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Feb 24, 2023
# [3.0.0-next.7](v3.0.0-next.6...v3.0.0-next.7) (2023-02-24)

### Bug Fixes

* rename `useCollection*` hooks to `useQuery*` ([#198](#198)) ([47e58ef](47e58ef))

### Features

* useQueries & useQueriesData ([#199](#199)) ([e3a832d](e3a832d))
@github-actions
Copy link

🎉 This PR is included in version 3.0.0-next.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant