Skip to content

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

v0.7.0

12 Apr 20:23
c10a624
Compare
Choose a tag to compare

What's New

  1. Migrate codebase to typescript
  2. Add support for RN 0.68 #230
  3. Add new builder function withPersistedDefaultValues. Use it to persist default value passed to hook
  4. Added in-memory storage adapter which can be used for testing with jest.
  5. Run example app with local symlinks
  6. Expo support in docs
  7. Add support for type generics in useMMKVStorage hook

What's Fixed

  1. fix: secure storage unable to read data from keychain closes #195 Huge thanks to @JoniVR for this
  2. fix: incorrect return type for hooks
  3. Fix mmkv not init on main thread on iOS

v0.6.12

01 Feb 15:01
Compare
Choose a tag to compare
  • Fix build failing on android when upgrading from 0.6.10

v0.6.11

29 Jan 13:34
Compare
Choose a tag to compare
  • Fix #195 & #141
  • Change theme of documentation to improve readability

v0.6.10

21 Jan 10:26
Compare
Choose a tag to compare
  • Fixed auto linking in React Native 0.67.x

v0.6.9

15 Jan 04:30
Compare
Choose a tag to compare

What's New

  • Fixed migration from 0.3.7 to 0.6.x
  • Fixed defaultValue not passed as a param when using a mutator function in setValue.

v0.6.8

08 Jan 17:42
Compare
Choose a tag to compare
  1. Fix multiple META-INF/MANIFEST.MF path error during detox build #199 Thanks to @andreialecu and @gersomvg
  2. Fixed support for android API 21 & 22. #196

v0.6.7

29 Dec 19:30
Compare
Choose a tag to compare
  • Fix google developer console security warning/app review rejection #194
  • Fix typescript compilation errors @hatem-72
  • Fix multiple META-INF/MANIFEST.MF path error @gersomvg
  • Fix migration issue when upgrading from v0.4.4
  • Refactor C++ code on android @Waqar144
  • Add notice about the Map data type not being supported @DysphoricUnicorn
  • Fix return type for getKeys @Mookiies
  • Update docs related to useIndex/useMMKVStorage hooks

v0.6.6

18 Oct 04:38
Compare
Choose a tag to compare

New

Auto linking on android

Thanks to @retyui. Now you can simply link library with your project with a single command.

`npx mmkv-link`

withServiceName prop on iOS

Now you can set a custom service name for iOS keychain. This helps you solve any issues when you use any other library for storing sensitive information such as react-native-keychain. Thanks to Andrei Tofan

Fixed

  • Fixed build issues on android, especially on older versions of react-native.
  • Added missing dependencies to setNewValue function in useMMKVStorage hook

v0.6.5

07 Oct 08:03
Compare
Choose a tag to compare
  • Fix build failing on RN 0.66

v0.6.4

22 Sep 18:53
Compare
Choose a tag to compare
  • Add support for monorepo projects
  • Fix falsy value not being set in hook #163 Thanks to @pnthach95