Skip to content

Releases: mrousavy/react-native-mmkv

Release 3.0.2

29 Aug 15:49
d0c2d84
Compare
Choose a tag to compare

3.0.2 (2024-08-29)

  • Requires new architecture to be enabled (react-native-mmkv is now the first pure CxxTurboModule! 🥳)
  • Requires react-native 0.75 or higher (for lower react-native versions, use lower react-native-mmkv versions)

✨ Features

🐛 Bug Fixes

  • Update cpp code to support React Native 0.75.1 (#719) (430c2f5)

Release 3.0.1

28 Aug 10:59
e28425c
Compare
Choose a tag to compare

3.0.1 (2024-08-28)

🐛 Bug Fixes

  • revert mmkv submodule to last known stable commit (#724) (94ef180)

Release 3.0.0

27 Aug 09:57
ac35228
Compare
Choose a tag to compare

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)

Release 3.0.0-beta.8

27 Aug 09:54
bb94485
Compare
Choose a tag to compare
Release 3.0.0-beta.8 Pre-release
Pre-release

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

✨ Features

Release 3.0.0-beta.7

22 Jul 15:32
b99c51e
Compare
Choose a tag to compare
Release 3.0.0-beta.7 Pre-release
Pre-release

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

✨ Features

📚 Documentation

Release 3.0.0-beta.6

12 Jun 15:38
b63b014
Compare
Choose a tag to compare
Release 3.0.0-beta.6 Pre-release
Pre-release

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

🐛 Bug Fixes

📚 Documentation

Release 3.0.0-beta.5

30 Apr 16:43
4437f30
Compare
Choose a tag to compare
Release 3.0.0-beta.5 Pre-release
Pre-release

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)

Release 3.0.0-beta.4

30 Apr 14:42
c318819
Compare
Choose a tag to compare
Release 3.0.0-beta.4 Pre-release
Pre-release

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

🐛 Bug Fixes

  • Fix cxxModuleCMakeListsPath path on CLI (a77d2d6)

Release 3.0.0-beta.3

30 Apr 14:27
4b3d8a4
Compare
Choose a tag to compare
Release 3.0.0-beta.3 Pre-release
Pre-release

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

✨ Features

🐛 Bug Fixes

Release 3.0.0-beta.2

29 Apr 11:06
524f68d
Compare
Choose a tag to compare
Release 3.0.0-beta.2 Pre-release
Pre-release

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)