7.0.8 (2021-09-26)
Fix README for archive this project.
- Fix README for archive this packages (09e3c37)
7.0.7 (2021-09-26)
Bump dependencies and fix README for archive this project.
- Fix README for archive this packages (#483)
7.0.6 (2021-04-05)
Bump dependencies.
7.0.5 (2021-01-17)
- admin: Relax peerDependencies firebase-admin version range (70e108f)
7.0.4 (2020-11-21)
- web: Support firebase js sdk v8 (16ef76a)
7.0.3 (2020-10-17)
- Fix 'delete' operator must be optional (3011958)
- Remove instanceof from query paging methods (104a3bd)
7.0.2 (2020-08-19)
- admin: Change firebase-admin dependency type 'dependencies' to 'peerDependencies' (f01fe22)
- web: Change firebase dependency type 'dependencies' to 'peerDependencies' (d4e72e3)
7.0.1 (2020-06-14)
- admin: Bugfix batch methods execute unexpected commit when throw some error (154663f)
- admin: Bugfix runTransaction() execute unexpected commit when throw some error (0f72ae9)
- web: Bugfix batch methods execute unexpected commit when throw some error (c643b5c)
- web: Bugfix runTransaction() execute unexpected commit when throw some error (edb4f3d)
7.0.0 (2020-03-30)
- Change to monorepo and introduce
@firestore-simple/admin
and@firestore-simple/web
(#132)
firestore-simple
is moved to @firestore-simple/admin
and @firestore-simple/web
. Please use these packages insted of firestore-simple
.
If you are using firestore-simple before v7.0.0 with admin SDK, migrate your code like this.
// old
import { FirestoreSimple } from 'firestore-simple'
// new
import { FirestoreSimple } from '@firestore-simple/admin'
🎉 Introduce new @firestore-simple/web
for web SDK.
@firestore-simple/web
has almost same API as @firestore-simple/admin
. So you can use same code with @firestore-simple/web
for web SDK.
6.0.1 (2020-03-05)
- chore(test): Skip flaky tests #122
6.0.0 (2020-03-05)
- Rename module name 'FirestoreSimple' to 'FirestoreSimpleAdmin'(3c6fafe)
Exported class name FirestoreSimple
was DEPRECATED. Please use FirestoreSimpleAdmin
instead.
You can still import FirestoreSimple
, but it will be removed in future versoin.
If you use firestore-simple before v6.0.0, migrate your code like this.
// old
import { FirestoreSimple } from 'firestore-simple'
// new
import { FirestoreSimpleAdmin } from 'firestore-simple'
5.0.1 (2019-12-28)
v5.0.0 was failed to release. So v5.0.1 is just republishing to npm.
5.0.0 (2019-12-28)
- throw error when nesting batch or bulkSet/bulkDelete (a7e2b74)
https://github.com/Kesin11/Firestore-simple/compare/v4.0.0..v4.0.1
- Braking changes
- Nothing
- #36 Refactoring _encode, _decode
- #42 tslint to eslint
- #61 Add retry for flaky callback tests
- #63 Change CI TravisCI to Github Actions
- Update some dependencies by Renovate
https://github.com/Kesin11/Firestore-simple/compare/v3.1.0..v4.0.0
- Braking changes
- Fix FirestoreSimple.collection generics type arguments
FirestoreSimple.collection<T>
toFirestoreSimple.collection<T, S>
- For this changes, improve property name completion and restriction in most methods
- Remove deprecated methods
fetchDocument
andfetchCollection
- Fix FirestoreSimple.collection generics type arguments
- #23 Improve generic typing
encode()
argument can now assignFirestore.FieldValue
type.
- #25 Remove deprecated methods
- #27 Support firestore 'update'
- Bump some dependencies by Renovate
https://github.com/Kesin11/Firestore-simple/compare/v3.0.0..v3.1.0
- #17 Support add() inside runTransaction(). This is firestore-simple original feature.
- #19 Support pagination method: startAt, startAfter, endAt, endBefore
- Bump some dependencies
https://github.com/Kesin11/Firestore-simple/compare/v2.0.1..v3.0.0
- Change almost API.
- Unsupport sub class way introduced from v2.0.1
- Unsupport ReactNative firebase
add()
andset()
will return only document id- Support transaction.
- Add
collectionFactory
for subcollection. - Rewrite all test code using jest.
- Rewrite all example code with v3.
- More TypeScript friendly using generic typing.
- Add
encode
anddecode
for convert object when before post and after fetch. - Support subclass based way.
- Support
onSnapshot
partially.
- First stable release