Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 2.11 KB

CHANGELOG.md

File metadata and controls

75 lines (45 loc) · 2.11 KB

Changelog

All notable changes to this project will be documented in this file.

1.6.0 - 2023-06-12

NOTE: We will be abandoning a standalone @nozbe/withObservables package and merging it into @nozbe/watermelondb. This might be the last release of this package.

If you're using withObservables WITHOUT WatermelonDB, please file an issue. If there's enough demand for a standalone package, we'll consider maintaining it.

  • Update react, @types/react peer dependencies to allow React 18. This fixes issues by NPMv7 users
  • Fix Flow issues when running Flow 0.199.1
  • Fix Flow issues when in exact_by_default mode
  • Bump hoist-non-react-statics dependency
  • Mark @types/hoist-non-react-statics and @types/react peer dependencies as optional (for non-TS users)
  • Remove unused _isMounted property
  • Internal: bump all dependencies

1.4.1 - 2022-08-31

  • Fix Flow issues when running Flow 0.185.2

1.4.0 - 2021-06-28

  • add helpful Component.displayName to make it easier to distinguish between withObservables in React DevTools

1.3.0 - 2021-04-07

  • use WatermelonDB 0.22 api to differentiate between Model and Query objects
  • fix warnings when using React 17

1.2.0 - 2021-03-25

  • Observable errors are now re-thrown in render, so that you can catch them with an Error Boundary
  • withObservable no longer has a dependency on RxJS package, which makes it leaner, more performant and should hopefully fix persistent issues with rxjs-compat that some users have

1.0.8 - 2020-12-17

  • Fix Flow issues when running Flow 0.140.0

1.0.7 - 2020-10-27

  • Improve performance
  • Name functions for easier debugging / profiling
  • Fix RxJS issue

1.0.5 - 2019-08-10

  • Fix Typescript bindings

1.0.4 - 2019-08-02

  • Add Typescript bindings

1.0.3 - 2019-03-14

  • Add hoist-non-react-statics

1.0.2 - 2018-10-26

  • [Flow] Fixed types for Flow 0.84.0

1.0.1 - 2018-09-19

Fixed

  • Fixed Flow typings for withObservables (this now works without any setup)
  • Fixed Flow for injecting props using WatermelonDB Relation objects (skipping .observe())

1.0.0 - 2018-09-07

Initial release of withObservables HOC