Skip to content

Releases: mrousavy/react-native-mmkv

Release 3.2.0

17 Dec 14:39
Compare
Choose a tag to compare

3.2.0 (2024-12-17)

🐛 Bug Fixes

  • Fix web support for memory warning listener and types (#762) (02a00ae)

Release 3.1.0

22 Oct 09:18
Compare
Choose a tag to compare

3.1.0 (2024-10-22)

✨ Features

  • New MMKV Core and readOnly mode (#753) (4f96988)
  • Trim MMKV on memoryWarning - GC safe via WeakRef! (#741) (9eab449)

🐛 Bug Fixes

  • Adds support for 16k page-size on Android (#753) (4f96988)
  • Enable macOS and tvOS in podspec (#745) (0e897d8)
  • Fix "Identifier 'module' has already been declared" on web (#739) (437fd33)
  • Fix mode enum being a number instead of a string in codegen (#754) (bf4512b)
  • Make npm package smaller (12c0517)

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)