model_fetch_firestore 0.6.2 model_fetch_firestore: ^0.6.2 copied to clipboard
A lazy load BLoC wrapper for Firestore collections.
0.6.2 #
- Handling concurrent loading attempts.
- Renamed
FirestoreLazyLoadBloc
toFirestoreListLazyLoader
. - Renamed
FirestoreFrozenLazyLoadBloc
toFirestoreFrozenListLazyLoader
. - Renamed
FirestoreLiveSingleDocumentCollectionBloc
toFirestoreLiveSingleDocumentListLoader
. - Renamed
FirestoreLiveByFilterBloc
toFirestoreLiveModelLoaderByFilter
. - Renamed
FirestoreLiveByIdBloc
toFirestoreLiveModelLoaderById
.
0.6.1 #
- Generating filter parameters from the model String fields, filtering by them in
QueryBuilder
.
0.6.0 #
- BREAKING: Made
QueryBuilder.collectionReference
and.collectionGroupQuery
return the objects withwithCoverter
. Added.mapCollectionReference
and.mapCollectionGroupQuery
for the old versions without it. - Support
model_fetch
0.6.0-7.dev. - Added
FirestoreModel.prefix
and.suffix
to the macro to allow generating multiple loader factories for a model. - Added
FirestoreModel.subcollectionsJson
. withConverter()
changed fromT
toFuture<T>
.- Added
onError
anddispose()
toFirestoreLiveByIdBloc
andFirestoreLiveByFilterBloc
. - Moved the source of truth of the default collection from
QueryBuilder
toAbstractFirestoreLoaderFactory
. - Added
id
to filters. - Added
QueryBuilder.sourceType
. - Make filter constructors const.
- Added
QueryBuilder.filter
,.loaderFactory
,.collectionName
,.collectionReference
,.emptyQuery
. - Added
F
type parameter toQueryBuilder
. - Creating an unnamed constructor for a
Filter
class. - Added
@FirestoreModel
macro. AbstractFirestoreLoaderFactory.onError
made non-abstract, it prints the error.
0.5.7 #
- Support cloud_firestore v5.0.0+.
0.5.6 #
- Bloc management extracted to the
LoaderFactory
ofmodel_fetch
.
0.5.5 #
- Fixed unrecognized platforms on pub.dev.
0.5.4 #
- Added
FirestoreLiveByFilterBloc
.
0.5.3 #
- Added
FirestoreFrozenLazyLoadBloc.loadAllIfCan()
.
0.5.2 #
- Added
onError
toFirestoreLazyLoadBloc
,FirestoreFrozenLazyLoadBloc
,FirestoreLiveSingleDocumentCollectionBloc
.
0.5.0 #
- BREAKING: Renamed
FirestoreFrozenLazyLoadBloc.fetchSize
topageSize
. - Add
AbstractFirestoreLoaderFactory
.
0.4.0 #
- BREAKING:
FirestoreFrozenLazyLoadBloc.backgroundReloadFirstPage
is asynchronous. - BREAKING: Support and require
model_interfaces
v0.3.0. - Fixed linter issues.
- Use
total_lints
. - Licensed under MIT-0.
0.3.0 #
- Added
FirestoreLiveSingleDocumentCollectionBloc
.
0.2.0 #
- Added
FirestoreLiveByIdBloc
.
0.1.1 #
- Removed debug output and comments.
- Support client filters.
0.1.0 #
- Initial release.