react-native-mmkv

⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!

OTHER License

Downloads
839.8K
Stars
5.1K
Committers
64

Bot releases are visible (Hide)

react-native-mmkv - Release 2.0.0

Published by mrousavy almost 3 years ago

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?

react-native-mmkv - Release 1.6.3

Published by mrousavy almost 3 years ago

1.6.3 (2022-01-10)

Features

react-native-mmkv - Release 1.6.2

Published by mrousavy almost 3 years ago

1.6.2 (2022-01-05)

Bug Fixes

  • Fix <folly/optional.h> not found error (#276) (879d22d)
react-native-mmkv - Release 1.6.1

Published by mrousavy almost 3 years ago

1.6.1 (2022-01-03)

Features

react-native-mmkv - Release 1.6.0

Published by mrousavy almost 3 years ago

1.6.0 (2022-01-02)

I'm back! Thanks to all my GitHub sponsors for making it possible for me to work on react-native-mmkv and give you guys the fastest key/value storage library for React Native out there. 🔥🖤

🎉 This release now contains support for react-native-web! 🎉

Bug Fixes

Features

react-native-mmkv - Release 1.5.4

Published by mrousavy almost 3 years ago

1.5.4 (2021-12-10)

Bug Fixes

  • do not recreate setter in hooks (#249) (e32f079)
  • Fix createMMKVHook<T> types (fc31ef7)
  • Fix useMMKV not getting initialized (#244) (f9dc907)
  • Fix gradle build with wrong task-name and order (584665c)
react-native-mmkv - Release 1.5.3

Published by mrousavy almost 3 years ago

1.5.3 (2021-10-27)

react-native-mmkv - Release 1.5.2

Published by mrousavy about 3 years ago

1.5.2 (2021-10-18)

react-native-mmkv - Release 1.5.1

Published by mrousavy about 3 years ago

1.5.1 (2021-10-14)

Bug Fixes

  • Fix require-cycle (7fddf78)
  • Use WeakRef to keep track of instances and listeners (#185) (9a480f5)

Reverts

  • Revert "fix: Use WeakRef to keep track of instances and listeners (#185)" (90dd516), closes #185
react-native-mmkv - Release 1.5.0

Published by mrousavy about 3 years ago

1.5.0 (2021-10-11)

Features

Bug Fixes

  • Fix useMMKVNumber name (6fe8b5e)
  • Fix set state with undefined types (e81d0c7)
  • Share onValueChangedListeners across instances (#182) (3580898)

Documentation

  • Separated documentation into multiple markdown files
react-native-mmkv - Release 1.4.0

Published by mrousavy about 3 years ago

1.4.0 (2021-10-11)

Features

Documentation

  • Separated documentation into multiple markdown files
react-native-mmkv - Release 1.3.3

Published by mrousavy about 3 years ago

1.3.3 (2021-10-07)

🎉 This release adds support for React Native 0.66! 🎉

Bug Fixes

react-native-mmkv - Release 1.3.2

Published by mrousavy about 3 years ago

1.3.2 (2021-09-21)

Bug Fixes

  • android: fix monorepo build (#151) (ec8fe06)
  • Use argument count of 1 for MMKV constructor (070a462)
react-native-mmkv - Release 1.3.1

Published by mrousavy about 3 years ago

1.3.1 (2021-09-07)

This release finally fixes the startup crash on Android with react-native 0.64 and below.

Bug Fixes

Performance Improvements

  • Cache functions on JS-side instead of C++ (#131) (7e26464)
react-native-mmkv - Release 1.3.1-beta.0

Published by mrousavy about 3 years ago

1.3.1-beta.0 (2021-09-07)

Bug Fixes

  • make bootstrap script work on windows (#135) (9f1c30c)

Performance Improvements

  • Cache functions on JS-side instead of C++ (#131) (7e26464)
react-native-mmkv - Release 1.3.0

Published by mrousavy about 3 years ago

1.3.0 (2021-09-04)

⚠️ BREAKING CHANGE ⚠️

This version of MMKV comes with a completely redesigned API and contains three major features:

  • 🎉 Support for multiple instances, e.g. to separate a logged in user's data from the global app data
  • 🎉 Support for Encryption!
  • 🎉 Support for custom paths!

Old API

import { MMKV } from 'react-native-mmkv'

MMKV.set('name', 'Marc')
MMKV.getString('name') // --> 'Marc'

New API

import { MMKV } from 'react-native-mmkv'

const storage = new MMKV()
storage.set('name', 'Marc')
storage.getString('name') // --> 'Marc'

Features

Reverts

  • Revert "link against libreactnativejni.so instead of compiling jsi.cpp ourself" (caa93ca)
react-native-mmkv - Release 1.2.5

Published by mrousavy about 3 years ago

1.2.5 (2021-08-09)

react-native-mmkv - Release 1.2.4

Published by mrousavy about 3 years ago

1.2.4 (2021-08-09)

react-native-mmkv - Release 1.2.3

Published by mrousavy about 3 years ago

1.2.3 (2021-08-09)

Bug Fixes

  • Create proxy npm package (67cd112)
react-native-mmkv - Release 1.2.2

Published by mrousavy about 3 years ago

1.2.2 (2021-08-06)

Package Rankings
Top 1.22% on Npmjs.org
Related Projects