WatermelonDB 0.7.0 已发布,WatermelonDB 是一个高性能的 React 数据库框架,可构建功能强大的 React 和 React Native 应用,可在保持快速的同时从数百个记录扩展到数万个记录。
WatermelonDB 是一种在 React Native 和 React Web 应用中处理用户数据的新方法。它针对在 React/React Native 中构建复杂应用进行优化,其首要目标是提高实际性能。简单来说,就是保证的的应用必须快速启动。
更新内容:
Deprecations
- [Schema] Column type ‘bool’ is deprecated — change to ‘boolean’
New
- Added support for Schema Migrations. See
Schema/migrations/index.js
for more details. Detailed documentation will be provided in the next minor release.
Changes
- Fixed “dependency cycle” warning
- [SQLite] Fixed rare cases where database could be left in an unusable state (added missing transaction)
- [Flow] Fixes
oneOf()
typing and some other variance errors - [React Native] App should launch a little faster, because schema is only compiled on demand now
- Updated Flow to 0.85
源码下载:
转自 https://www.oschina.net/news/101491/watermelondb-0-7-0-released