Skip to content

Releases: mrousavy/react-native-mmkv

Release 2.3.0

30 Mar 08:18
Compare
Choose a tag to compare

2.3.0 (2022-03-30)

This release now makes MMKV's API even simpler and more consistent 🎉

  • getNumber(...) now returns undefined instead of 0 as a default value, virtually without any added runtime cost
  • getBoolean(...) now returns undefined instead of false as a default value, virtually without any added runtime cost

📚 Documentation

  • Add documentation about debugging MMKV instances (bae1bd8)

🐛 Bug Fixes

✨ Features

  • Use undefined as a default value (BREAKING CHANGE) (#306) (6cbee87)

Release 2.2.0

11 Mar 15:07
Compare
Choose a tag to compare

2.2.0 (2022-03-11)

✨ Features

  • Add useMMKV() for default instance (47a9b60)

Release 2.1.2

09 Mar 15:38
Compare
Choose a tag to compare

2.1.2 (2022-03-09)

Release 2.1.1

09 Mar 09:55
Compare
Choose a tag to compare

2.1.1 (2022-03-09)

📚 Documentation

  • Add wrapper for zustand persist-middleware (#327) (ab0fe8f)

🐛 Bug Fixes

  • Fix CMake build on Windows (#329) (d7f6376)
  • Fix value not updating if key changes in hook (d3ccb65)
  • Main thread error with initialize function (#346) (314c526)
  • Remove unnecessary macOS pbxproj (cb52901)
  • Use RCTUnsafeExecuteOnMainQueueSync instead of dispatch_sync - unsafe is my middle name ;) (41f0471)

Release 2.1.0

09 Feb 08:28
Compare
Choose a tag to compare

2.1.0 (2022-02-09)

🐛 Bug Fixes

✨ Features

  • Re-Crypt an existing Storage instance (storage.recrypt(..)) (#314) (aabc43b)
  • Add useMMKVListener hook (#317) (db31f18)
  • Add MacOS support (#318) (3d0a289)
  • Implement debug-string-representations for MMKV instances (toString() and toJSON()) (#316) (fefca24)
  • Check input parameter validity when instance couldn't be created (#319) (0d95b76)

Release 2.0.1

27 Jan 11:34
Compare
Choose a tag to compare

2.0.1 (2022-01-27)

Bug Fixes

Performance Improvements

  • Remove redundant useMemo (2c5b4aa)

Release 2.0.0

19 Jan 09:21
Compare
Choose a tag to compare

2.0.0 (2022-01-19)

Features

  • MMKV v2 now automatically installs itself, lazily and fast! No need to edit native files or config plugins anymore! 🥳🥳 (#290) (d0c6f01)

Migrating

If you are migrating from v1, you need to undo the changes in your native Android project. Remove the JSI Package, or the .install call to MMKV.

Supporting the Development

💝 If you appreciate the continuous development of react-native-mmkv, please consider sponsoring me on GitHub. I am working on open-source in my free time, so that you have an easier life. What would you do without react-native-mmkv?

Release 1.6.3

10 Jan 08:28
Compare
Choose a tag to compare

1.6.3 (2022-01-10)

Features

Release 1.6.2

05 Jan 08:36
Compare
Choose a tag to compare

1.6.2 (2022-01-05)

Bug Fixes

  • Fix <folly/optional.h> not found error (#276) (879d22d)

Release 1.6.1

03 Jan 12:36
Compare
Choose a tag to compare

1.6.1 (2022-01-03)

Features