Skip to content

Releases: mrousavy/react-native-mmkv

Release 2.10.1

03 Jul 09:13
Compare
Choose a tag to compare

2.10.1 (2023-07-03)

🐛 Bug Fixes

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

Release 2.10.0

23 Jun 10:05
Compare
Choose a tag to compare

2.10.0 (2023-06-23)

✨ Features

📚 Documentation

  • Add docs about App Groups (140023f)

Release 2.9.0

20 Jun 09:11
Compare
Choose a tag to compare

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)

Release 2.8.0

07 Apr 09:43
Compare
Choose a tag to compare

2.8.0 (2023-04-07)

✨ Features

🐛 Bug Fixes

Release 2.6.3

01 Mar 13:57
Compare
Choose a tag to compare

2.6.3 (2023-03-01)

📚 Documentation

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

🐛 Bug Fixes

Release 2.6.2

24 Feb 08:57
Compare
Choose a tag to compare

2.6.2 (2023-02-24)

🐛 Bug Fixes

  • Convert std::string explicitly before c_str() (f098f79)

Release 2.7.0

12 Feb 10:34
c9788c7
Compare
Choose a tag to compare

2.7.0 (2023-02-12)

New fastWrites prop

2.7.0 adds a new prop to the MMKV configuration that changes the behaviour of set calls.

  • When fastWrites is set to true, MMKV does not overwrite previous values when calling set. This is faster, but uses more memory.
  • When fastWrites is set to false, MMKV deletes the previous value before calling set. This makes sure the storage size is always as small as possible, with the added performance cost of one delete call before setting.

Before this version, MMKV behaved as if fastWrites was set to true (i.e.; fast, but use more memory). Now after this PR, fastWrites is false by default, because users were complaining in #440 that the storage size grows too big.

🐛 Bug Fixes

✨ Features

Release 2.6.1

17 Jan 09:38
Compare
Choose a tag to compare

2.6.1 (2023-01-17)

⚠️ BREAKING CHANGE ⚠️

Starting from 2.6.0., react-native-mmkv only works on react-native 0.71 and above.

If you use react-native 0.70 and below, you should use react-native-mmkv 2.5.1.

🐛 Bug Fixes

  • Depend on RN >= 0.71 (1f12ee4)
  • Fix build when new architecture is not enabled (#499) (1dd1143)
  • Fix Validate Android CI (5a4f000)

Release 2.6.0

16 Jan 12:25
Compare
Choose a tag to compare

2.6.0 (2023-01-16)

⚠️ BREAKING CHANGE ⚠️

Starting from 2.6.0., react-native-mmkv only works on react-native 0.71 and above.

If you use react-native 0.70 and below, you should use react-native-mmkv 2.5.1.

🐛 Bug Fixes

  • Add getBuffer to getPropertyNames in HostObject (#470) (77982c1)

📚 Documentation

✨ Features

Release 2.5.1

24 Oct 10:23
Compare
Choose a tag to compare

2.5.1 (2022-10-24)

🐛 Bug Fixes

  • Fix iOS TypedArray.h lookup (740c810)

✨ Features