Skip to content

Releases: ammarahm-ed/react-native-mmkv-storage

v0.11.0

03 Nov 09:58
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.3...v0.11.0

v0.10.3

21 Aug 17:49
Compare
Choose a tag to compare

What's New

  • Upgrade to MMKV v1.3.9
  • Upgrade example app to react-native 0.75.2
  • Added useMMKVRef hook

What's Changed

New Contributors

Full Changelog: v0.9.0...v0.10.3

v0.9.0

10 Mar 15:06
Compare
Choose a tag to compare

Breaking Change

  • Works only on react native 0.71.x and above.

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.0

28 Jul 10:47
Compare
Choose a tag to compare

What's Changed

Flipper Support 🎉

Thanks to pnthach95 flipper plugin is finally here. https://github.com/pnthach95/flipper-plugin-react-native-mmkv-storage. It supports logging and manipulating storage values on the fly.

You can install it directly from plugin manager:

BREAKING CHANGE

The default iOS keychain accessibility level has been changed to AFTER_FIRST_UNLOCK from WHEN_UNLOCKED. You can read more about why this change was made here #263 #246 & #195. If your app functionality depends on WHEN_UNLOCKED accessibility level. You must set it manually:

export const encryptedStorage = new MMKVLoader()
  .setAccessibleIOS(IOSAccessibleStates.WHEN_UNLOCKED)
  .withInstanceID('encrypted')
  .withEncryption()
  .initialize();

New Contributors

Full Changelog: v0.7.6...v0.8.0

v0.7.6

22 May 09:14
Compare
Choose a tag to compare

What's Changed

  • Fix useMMKVStorage typings and falsy values persistance by @douugbr in #254
  • Added support for RN 0.69

New Contributors

  • @douugbr made their first contribution in #254

Full Changelog: v0.7.5...v0.7.6

v0.7.5

11 May 19:12
Compare
Choose a tag to compare

Fix: set defaultValue parameter in useMMKVStorage hook optional

v0.7.4

11 May 11:03
Compare
Choose a tag to compare

What's Changed

  • Fix: check for undefined on pathname when checking for chrome debugger by @hosseintalebi in #250
  • Use RCTBridgeModule's bridge property instead of [RCTBridge currentBridge] by @cltnschlosser in #249
  • Fix removeItem breaking useMMKVStorage hook #252
  • Fix useMMKVStorage hook not returning same default value as get/set functions #252

New Contributors

Full Changelog: v0.7.3...v0.7.4

v0.7.3

08 May 15:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.7.3

v0.7.2

29 Apr 18:51
Compare
Choose a tag to compare

What's New

  1. Remote Debugging with in-memory adapter
  2. Add type assertions when setting values to storage #240

What's Fixed

  1. Fix CI issues when building project on android #242
  2. Fix useMMKVStorage hook not updating when removing a value or setting it to null/undefined #163 @autoreleasefool

What's Changed

The default MMKVStorage.Loader import has been deprecated in favor of direct importing. @unfernandito

Before:

import MMKVStorage from "react-native-mmkv-storage";

const MMKV  = new MMKVStorage.Loader().initialize();

Now more simple and clear:

import {MMKVLoader} from "react-native-mmkv-storage";

const MMKV = new MMKVLoader().initialize();

v0.7.1

13 Apr 18:29
Compare
Choose a tag to compare
  • fix: add missing types on async functions