iOS: ForestDB now on the master branch

101 views
Skip to first unread message

Jens Alfke

unread,
Feb 6, 2015, 3:54:12 PM2/6/15
to mobile-c...@googlegroups.com
{If you don't use iOS, or don't build your own Couchbase Lite library from source, you can ignore this}

The master branch of couchbase-lite-ios now supports the ForestDB storage engine. (It also still supports SQLite, and in fact defaults to SQLite, but you can now use ForestDB without having to build a whole separate branch of Couchbase Lite.)

The main thing you need to know is that we changed the database file format, even for SQLite-based databases, and older revisions of CBL can't read it. So once you've run a CBL built from this revision or newer, it will upgrade the databases and you can't go back to an earlier version of the code without losing the data.

For this reason we highly recommend not releasing any iOS apps that include home-built versions of Couchbase Lite, until the next official release (which will be 1.1.)

Full details, including instructions for how to enable ForestDB-based storage in your iOS apps (it's at least twice as fast!), is available on the wiki.

—Jens

Jens Alfke

unread,
Feb 6, 2015, 4:05:59 PM2/6/15
to mobile-c...@googlegroups.com
Oops, wrong wiki link — here's the correct page.
Reply all
Reply to author
Forward
0 new messages