React Native Mmkv Versions Save

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

v3.0.0-beta.1

4 weeks 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)

v2.12.2

1 month 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

v2.12.1

2 months ago

2.12.1 (2024-02-15)

💨 Performance Improvements

  • Synchronously update value when key changes without an additional render (#632) (f3e2ad3)

v2.12.0

2 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

v2.11.0

5 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)

v2.10.2

8 months ago

2.10.2 (2023-08-25)

🐛 Bug Fixes

  • revert change AndroidManifest to support RN < 0.71 (#561) (40b71fe)

v2.10.1

9 months ago

2.10.1 (2023-07-03)

🐛 Bug Fixes

  • prevent console.warn spam in server environment (#556) (5092a36)

v2.10.0

10 months ago

2.10.0 (2023-06-23)

✨ Features

📚 Documentation

  • Add docs about App Groups (140023f)

v2.9.0

10 months 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)

v2.8.0

1 year ago

2.8.0 (2023-04-07)

✨ Features

🐛 Bug Fixes