Releases: ammarahm-ed/react-native-mmkv-storage
Releases · ammarahm-ed/react-native-mmkv-storage
v0.7.2
What's New
- Remote Debugging with in-memory adapter
- Add type assertions when setting values to storage #240
What's Fixed
- Fix CI issues when building project on android #242
- Fix
useMMKVStoragehook 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
- fix: add missing types on async functions
v0.7.0
What's New
- Migrate codebase to typescript
- Add support for RN 0.68 #230
- Add new builder function
withPersistedDefaultValues. Use it to persist default value passed to hook - Added in-memory storage adapter which can be used for testing with jest.
- Run example app with local symlinks
- Expo support in docs
- Add support for type generics in
useMMKVStoragehook
What's Fixed
- fix: secure storage unable to read data from keychain closes #195 Huge thanks to @JoniVR for this
- fix: incorrect return type for hooks
- Fix mmkv not init on main thread on iOS
v0.6.12
- Fix build failing on android when upgrading from 0.6.10
v0.6.11
v0.6.10
- Fixed auto linking in React Native 0.67.x
v0.6.9
What's New
- Fixed migration from 0.3.7 to 0.6.x
- Fixed
defaultValuenot passed as a param when using a mutator function insetValue.
v0.6.8
- Fix multiple META-INF/MANIFEST.MF path error during detox build #199 Thanks to @andreialecu and @gersomvg
- Fixed support for android API 21 & 22. #196
v0.6.7
- Fix google developer console security warning/app review rejection #194
- Fix typescript compilation errors @hatem-72
- Fix multiple
META-INF/MANIFEST.MFpath error @gersomvg - Fix migration issue when upgrading from v0.4.4
- Refactor C++ code on android @Waqar144
- Add notice about the
Mapdata type not being supported @DysphoricUnicorn - Fix return type for
getKeys@Mookiies - Update docs related to
useIndex/useMMKVStoragehooks
v0.6.6
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
setNewValuefunction inuseMMKVStoragehook