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 hidden (Show)

react-native-mmkv - Release 3.0.1 Latest Release

Published by mrousavy about 2 months ago

3.0.1 (2024-08-28)

🐛 Bug Fixes

  • revert mmkv submodule to last known stable commit (#724) (94ef180)
react-native-mmkv - Release 3.0.0

Published by mrousavy about 2 months ago

3.0.0 (2024-08-27)

react-native-mmkv V3 is now stable!!! 🎉🥳

V3 is a complete rewrite of the react-native-mmkv codebase to make it a pure C++ TurboModule (which has a better startup speed), and now shares a single codebase across iOS and Android for consistency 👏

[!IMPORTANT]
react-native-mmkv 3.0.0 requires react-native 0.74 or higher!

✨ Features

  • Fully rewrite react-native-mmkv to a single pure C++ / CxxTurboModule 🫴 (#656 / 87dedcd / 660cda3)
  • Add trim() func and size property (b2d80fa)
  • BREAKING: Use ArrayBuffer instead of Uint8Array in getBuffer (c03ef4d)
  • BREAKING: Properly throw errors if set or recrypt failed (#706) (0fde8a5)
  • Support AppGroups 🚀 (#705) (5a63632)
  • Add Automocking in vitest (#666) (86d5e94)
  • Support 16KB page size on newer Android phones 🥳

🐛 Bug Fixes

  • Fix encryption not working on keys longer than 10 characters 🔥
  • Fix closing destroy (3c2babd / 6eacc14)
  • Only generate C++ bindings, skip Java/ObjC (e89a472)
  • Use FORCE_POSIX to force C++ (8fa5ec7)
  • Always trim, remove WeakRef (6dfc8e1)
  • Only log Warnings or Errors in Release (cb5347b)
  • Increase heap (ac130f8)
  • Throw error if TurboModules are not found (8770d5d)
  • Use isTest (57a4545)
  • Eagerly initialize TurboModule because Proxies are slow (#671) (d1f9a1a)

💨 Performance Improvements

  • Make react-native-mmkv a CxxTurboModule - faster, and less initialization overhead/complexity!
  • Clear memory cache on trim and dtor (c01acb5)

📚 Documentation

  • Update Jotai wrapper documentation - remove the double JSON.stringify() and JSON.parse() (#661) (ff26c4e)
react-native-mmkv - Release 3.0.0-beta.8

Published by mrousavy about 2 months ago

3.0.0-beta.8 (2024-08-27)

✨ Features

react-native-mmkv - Release 3.0.0-beta.7

Published by mrousavy 3 months ago

3.0.0-beta.7 (2024-07-22)

✨ Features

📚 Documentation

react-native-mmkv - Release 3.0.0-beta.6

Published by mrousavy 4 months ago

3.0.0-beta.6 (2024-06-12)

🐛 Bug Fixes

📚 Documentation

react-native-mmkv - Release 3.0.0-beta.5

Published by mrousavy 6 months ago

3.0.0-beta.5 (2024-04-30)

✨ Features

🐛 Bug Fixes

  • Eagerly initialize TurboModule because Proxies are slow (#671) (d1f9a1a)
  • Remove MMKV/ submodule copy (#672) (7f2af42)

📚 Documentation

  • Update Jotai wrapper documentation - remove the double JSON.stringify() and JSON.parse() (#661) (ff26c4e)
react-native-mmkv - Release 3.0.0-beta.4

Published by mrousavy 6 months ago

3.0.0-beta.4 (2024-04-30)

🐛 Bug Fixes

  • Fix cxxModuleCMakeListsPath path on CLI (a77d2d6)
react-native-mmkv - Release 3.0.0-beta.3

Published by mrousavy 6 months ago

3.0.0-beta.3 (2024-04-30)

✨ Features

🐛 Bug Fixes

react-native-mmkv - Release 3.0.0-beta.2

Published by mrousavy 6 months ago

3.0.0-beta.2 (2024-04-29)

🐛 Bug Fixes

  • Add dev dependencies (13c3783)
  • Always trim, remove WeakRef (6dfc8e1)
  • Extract to Types (2989c33)
  • Fix dependencies (c1eedbc)
  • Fix lazy export (7018389)
  • Fix lazy init (c2e610d)
  • Lazily create TurboModule (5a4319e)
  • Only log Warnings or Errors in Release (cb5347b)
  • Try use WeakRef (84016a1)
  • Upgrade and include config (4e93c86)
  • Use __dirname until latest RC with patch is out (c462b3c)
  • Use Proxy for lazily getting TurboModules (1350529)

📚 Documentation

  • Update Jotai wrapper documentation - remove the double JSON.stringify() and JSON.parse() (#661) (ff26c4e)
react-native-mmkv - Release 3.0.0-beta.1

Published by mrousavy 7 months ago

3.0.0-beta.1 (2024-03-27)

✨ Features

  • Add trim() func and size property (b2d80fa)
  • Autolink iOS (b62ed49)
  • Create PlatformContext TurboModule (87dedcd)
  • Implement MmkvPlatformContext on iOS (660cda3)
  • Scaffold TurboModule base (94522bd)
  • Update MMKV to latest (4ab420b)
  • Upgrade to RN 0.74 (6375e75)
  • Use ArrayBuffer instead of Uint8Array (c03ef4d)

🐛 Bug Fixes

  • Create proper types and delete yarn (fe3b567)
  • Fix Android build (0f33f1c)
  • Fix build now? (6e8e20f)
  • Fix closing destroy (3c2babd)
  • Fix includes (ee1caba)
  • Only enable WeakRef if it is supported (e6ee073)
  • Only generate C++ bindings, skip Java/ObjC (e89a472)
  • Pin RN CLI to 14 (b6a095b)
  • Properly configure (e33c6e3)
  • Refactor everything to use proper types (731a3a6)
  • Set it up (157aef1)
  • Use FORCE_POSIX to force C++ (8fa5ec7)

💨 Performance Improvements

  • Clear memory cache on trim and dtor (c01acb5)
react-native-mmkv - Release 2.12.2

Published by mrousavy 7 months ago

2.12.2 (2024-03-12)

🐛 Bug Fixes

  • Allow function type in useObject hook (#646) (3739aab)
  • Use install_modules_dependencies in podspec (#643) (c946fba)
  • Use named parameters again for useMMKVObject (f519992)

📚 Documentation

react-native-mmkv - Release 2.12.1

Published by mrousavy 8 months ago

2.12.1 (2024-02-15)

💨 Performance Improvements

  • Synchronously update value when key changes without an additional render (#632) (f3e2ad3)
react-native-mmkv - Release 2.12.0

Published by mrousavy 8 months ago

2.12.0 (2024-02-15)

🐛 Bug Fixes

  • Fix namespace/AndroidManifest.package error on Android Gradle Plugin 8/React Native 0.73 (#624) (8ca6ae5)
  • Fix getAllKeys on web (#616) (6fa83b5)

✨ Features

react-native-mmkv - Release 2.11.0

Published by mrousavy 11 months ago

2.11.0 (2023-11-10)

📚 Documentation

✨ Features

🐛 Bug Fixes

  • Don't leak encryption key in logs (a8995cc)
  • Fix "Failed to create MMKV instance" reload/fast refresh JSI error on Expo (#602) (1c58a78)
  • Fix correct behavior of function setState parameter (#598) (f391f9b)
  • Include banner in npm package (6327d85)
react-native-mmkv - Release 2.10.2

Published by mrousavy about 1 year ago

2.10.2 (2023-08-25)

🐛 Bug Fixes

  • revert change AndroidManifest to support RN < 0.71 (#561) (40b71fe)
react-native-mmkv - Release 2.10.1

Published by mrousavy over 1 year ago

2.10.1 (2023-07-03)

🐛 Bug Fixes

  • prevent console.warn spam in server environment (#556) (5092a36)
react-native-mmkv - Release 2.10.0

Published by mrousavy over 1 year ago

2.10.0 (2023-06-23)

✨ Features

📚 Documentation

  • Add docs about App Groups (140023f)
react-native-mmkv - Release 2.9.0

Published by mrousavy over 1 year ago

2.9.0 (2023-06-20)

🐛 Bug Fixes

  • Add src/ to npm package to fix web not building (9be3bb5)
  • Fix a potential memory leak on setting a new value for an existing key.
  • Upgrade min support target to iOS 11 / macOS 10.13 / tvOS 13 / watchOS 4.
  • Rollback the lazy load optimization due to reported ANR issues.

✨ Features

  • Add in-memory storage as a fallback for disabled LocalStorage (#533) (a60d0b3)
  • Add support for upcoming react native 0.73 (#550) (bf0bbc3)

📚 Documentation

  • Add reactotron-react-native-mmkv reference to README (#552) (bb38bdc)
  • Add Recoil docs (f782aa1)
  • Create WRAPPER_RECOIL (#534) (31c857e)
  • Fix .md name (5ecaad2)
  • Update deprecated expo install instructions to npx expo install (#543) (9b88efc)
react-native-mmkv - Release 2.8.0

Published by mrousavy over 1 year ago

2.8.0 (2023-04-07)

✨ Features

🐛 Bug Fixes

react-native-mmkv - Release 2.6.3

Published by mrousavy over 1 year ago

2.6.3 (2023-03-01)

📚 Documentation

  • Fix a mistake in WRAPPER_REACT_QUERY.md (#517) (6780a7c)

🐛 Bug Fixes

Package Rankings
Top 1.22% on Npmjs.org
Related Projects