Skip to content

Releases: mrousavy/react-native-mmkv

Release 1.5.0

11 Oct 15:15
Compare
Choose a tag to compare

1.5.0 (2021-10-11)

Features

Bug Fixes

  • Fix useMMKVNumber name (6fe8b5e)
  • Fix set state with undefined types (e81d0c7)
  • Share onValueChangedListeners across instances (#182) (3580898)

Documentation

  • Separated documentation into multiple markdown files

Release 1.4.0

11 Oct 14:45
Compare
Choose a tag to compare

1.4.0 (2021-10-11)

Features

Documentation

  • Separated documentation into multiple markdown files

Release 1.3.3

07 Oct 09:57
Compare
Choose a tag to compare

1.3.3 (2021-10-07)

🎉 This release adds support for React Native 0.66! 🎉

Bug Fixes

Release 1.3.2

21 Sep 12:16
Compare
Choose a tag to compare

1.3.2 (2021-09-21)

Bug Fixes

  • android: fix monorepo build (#151) (ec8fe06)
  • Use argument count of 1 for MMKV constructor (070a462)

Release 1.3.1

07 Sep 09:42
Compare
Choose a tag to compare

1.3.1 (2021-09-07)

This release finally fixes the startup crash on Android with react-native 0.64 and below.

Bug Fixes

  • fix Android startup crash (925e30c)
  • make bootstrap script work on windows (#135) (9f1c30c)

Performance Improvements

  • Cache functions on JS-side instead of C++ (#131) (7e26464)

Release 1.3.1-beta.0

07 Sep 09:29
Compare
Choose a tag to compare
Release 1.3.1-beta.0 Pre-release
Pre-release

1.3.1-beta.0 (2021-09-07)

Bug Fixes

  • make bootstrap script work on windows (#135) (9f1c30c)

Performance Improvements

  • Cache functions on JS-side instead of C++ (#131) (7e26464)

Release 1.3.0

04 Sep 15:17
Compare
Choose a tag to compare

1.3.0 (2021-09-04)

⚠️ BREAKING CHANGE ⚠️

This version of MMKV comes with a completely redesigned API and contains three major features:

  • 🎉 Support for multiple instances, e.g. to separate a logged in user's data from the global app data
  • 🎉 Support for Encryption!
  • 🎉 Support for custom paths!

Old API

import { MMKV } from 'react-native-mmkv'

MMKV.set('name', 'Marc')
MMKV.getString('name') // --> 'Marc'

New API

import { MMKV } from 'react-native-mmkv'

const storage = new MMKV()
storage.set('name', 'Marc')
storage.getString('name') // --> 'Marc'

Features

Reverts

  • Revert "link against libreactnativejni.so instead of compiling jsi.cpp ourself" (caa93ca)

Release 1.2.5

09 Aug 08:24
Compare
Choose a tag to compare

1.2.5 (2021-08-09)

Release 1.2.4

09 Aug 08:18
Compare
Choose a tag to compare

1.2.4 (2021-08-09)

Release 1.2.3

09 Aug 08:16
Compare
Choose a tag to compare

1.2.3 (2021-08-09)

Bug Fixes

  • Create proxy npm package (67cd112)