Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Latest commit

 

History

History
194 lines (116 loc) · 8.42 KB

CHANGELOG.md

File metadata and controls

194 lines (116 loc) · 8.42 KB

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)

Bug Fixes

  • admin: Relax peerDependencies firebase-admin version range (70e108f)

7.0.4 (2020-11-21)

Bug Fixes

  • web: Support firebase js sdk v8 (16ef76a)

7.0.3 (2020-10-17)

Bug Fixes

  • Fix 'delete' operator must be optional (3011958)
  • Remove instanceof from query paging methods (104a3bd)

7.0.2 (2020-08-19)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

BREAKING CHANGES

  • Change to monorepo and introduce @firestore-simple/admin and @firestore-simple/web (#132)

⚠️ Previous firestore-simple is DEPRECATED!

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'

New feature

🎉 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.

Features

  • feat: monorepo #132
  • Fix class name more simply. #141
  • Fix export from index.ts #142

6.0.1 (2020-03-05)

  • chore(test): Skip flaky tests #122

6.0.0 (2020-03-05)

BREAKING CHANGES

  • 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)

BREAKING CHANGES

  • Bugfix 'update' accept generic type S(ed3258e)
  • Remove fetchByQuery (b3ae47a)

Bug Fixes

  • throw error when nesting batch or bulkSet/bulkDelete (a7e2b74)

Features

v4.0.1 2019/11/5

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

v4.0.0 2019/06/26

https://github.com/Kesin11/Firestore-simple/compare/v3.1.0..v4.0.0

  • Braking changes
    • Fix FirestoreSimple.collection generics type arguments
      • FirestoreSimple.collection<T> to FirestoreSimple.collection<T, S>
      • For this changes, improve property name completion and restriction in most methods
    • Remove deprecated methods fetchDocument and fetchCollection
  • #23 Improve generic typing
    • encode() argument can now assign Firestore.FieldValue type.
  • #25 Remove deprecated methods
  • #27 Support firestore 'update'
  • Bump some dependencies by Renovate

v3.1.0 2019/05/25

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

v3.0.0 2019/05/13

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() and set() will return only document id
  • Support transaction.
  • Add collectionFactory for subcollection.
  • Rewrite all test code using jest.
  • Rewrite all example code with v3.

v2.0.1 2018/12/03

  • More TypeScript friendly using generic typing.
  • Add encode and decode for convert object when before post and after fetch.
  • Support subclass based way.
  • Support onSnapshot partially.

v1.0.1 2018/06/01

  • First stable release