Skip to content

Latest commit

 

History

History
99 lines (60 loc) · 2.56 KB

CHANGELOG.md

File metadata and controls

99 lines (60 loc) · 2.56 KB

2.1.0

2.0.1

  • Inline a dependency that uses ES module syntax (Fix #13)

2.0.0

  • (No changes)

2.0.0-beta.3

  • Use use-subscription

2.0.0-beta.2

  • Fix excessive re-rendering from bulkDocs
  • Fix keeping original docs array always internal
  • Update dependencies

2.0.0-beta.1

  • Optimize caching change requests
  • Fix memory leak in listening changes
  • Fix #7: Show errors from PouchDB

2.0.0-beta.0

  • Add concurrent API variant
  • Breaking change: In case of missing document useGet returns null (same for doc value in <Get>)
  • Breaking change: In case of removed document useGet returns {"_id": ..., "_rev": ..., "_deleted": true} (same for doc value in <Get>)
  • Breaking change: Remove render and component render props from <Get> and <Find> → Use children render prop
  • Breaking change: children render prop behaves like render and component render prop in v1
  • Update dependencies

1.0.0

  • Add Hooks API
  • Add optional db prop to <Get> and <Find>
  • Breaking change: remove exists prop from <Get> render methods. Use !!doc
  • Breaking change: remove attachment prop from <Get> render methods. Use doc._attachments
  • Breaking change: component and render render props require the use of <Suspense> as a parent component
  • Breaking change: <Get> render props are called even if document does not exist
  • Update DB connection when <PouchDB /> props change
  • Fix infinite suspense loop if database request throws error
  • Update dependencies

0.3.2

  • Fix #5: Using <Find /> with sort option and remote database

0.3.1

  • Update package-lock.json

0.3.0

  • Update dependencies (major)

0.2.1

  • Update dependencies (minor)

0.2.0

  • Use new React 16.3 context and ref APIs. Ready for React 17.

0.1.6

  • Update peerDependencies: Remove compatibility with React 17

0.1.5

  • #3 Immutable manipulation on docs array in find. (@bkniffler)

0.1.4

  • Fix closing the database on unmount

0.1.3

  • Pool PouchDB connections

0.1.2

  • Add package.json repository field
  • Add missing dependency @babel/runtime
  • Update example

0.1.1

  • Fix gh-pages example
  • Update readme

0.1.0

  • First release