- Fix missing default selector in
Collection.find
method.
- Fixes string based selectors in findOne method of collection.
This is a marjor release due to changes that were necessary to fix use of the package outside of React Native.
- Added
configureOptionalDeps
as alternative to conditional imports, so that parts that React Native requires can be added as necessary.
- removed use of conditional imports to deal with bundlers such as webpack.
- Rolled back crypto-js version to fix crypo module trying to load outside node environment
- Added
useTracker
hook - Updated
withTracker
to make use ofuseTracker
hook - Package can now be used outside of React Native environment, such as in a web browser.
- NetInfo and AsyncStorage moved to
@react-native-community
packages. - Collection.
find()
now always returns a cursor. Use Collection.find()
.fetch()
as you would in your Meteor app.
- Fixed issue with MongoId being undefined becuase it was being added to the global scope and some bundlers wrap files.
- Fixed issue where Minimongo's batchedUpdates function was set to undefined when not in a React Native environment.
- Fix Bug in Collection.findOne()
- handle $unset in changed event
- Fixed update/remove selector issue