I’m very excited that we’ve just uploaded a first developer build of Couchbase 
Lite 2.0. [Docs 
<https://developer.couchbase.com/documentation/mobile/2.0/couchbase-lite/ios.html>]
 [Direct download 
<https://packages.couchbase.com/releases/couchbase-lite/ios/2.0DB1/couchbase-lite-ios_community_2.0DB1.zip>]

“Developer Builds” are a new Couchbase program where we make available 
snapshots of work in progress — somewhere in between ‘nightly builds’ and a 
traditional alpha/beta preview release.  DBs [that acronym is not confusing at 
all] are built from commits that seem stable, but they haven’t been through 
formal QA. We plan to release one every few weeks.

You can read all about the DB1 release here 
<https://developer.couchbase.com/documentation/mobile/2.0/couchbase-lite/ios.html>.
 The key bullet points:
We’ve learned from five years of experience and built a new cross-platform 
engine [LiteCore], and designed a new API.
Performance is currently about six times as fast as 1.4 (on iOS), and we 
haven’t even started on serious optimization work yet.
Querying uses a more familiar expression-based API, much like Core Data or 
LINQ, and is very compatible with the N1QL query language found on Couchbase 
Server.
The Document API is easier to use, with mutable document properties. Native 
object modeling will be available on all platforms.
Conflict handling is a lot easier: the library does the work of detecting 
conflicts and invokes your handlers to resolve them.

Since this is an early pre-alpha release, there are some serious limitations:
Only runs on iOS, macOS and tvOS. We are working on other platforms; it looks 
like .NET will be the next available. Progress will be fast because most of the 
code is cross-platform (the Obj-C bindings are < 3k LOC.)
Only the Objective-C API is available; we’re working on a native Swift API that 
will be a lot more idiomatic than the bridged classes.
No replicator yet. 😫
No REST API (Listener) yet.😭
Some of the key document features — subdocuments and model objects — aren’t 
available yet.
We’re hard at work, and some of these should be resolved as early as DR2, 
coming in a few weeks; others will take longer, but obviously before the final 
release.

Even if you can’t yet work with this release, I recommend looking through the 
documentation 
<https://developer.couchbase.com/documentation/mobile/2.0/couchbase-lite/ios.html>
 or the API reference 
<http://cb-mobile.s3.amazonaws.com/api-references/couchbase-lite-2.0DB1/index.html>
 to get prepared for what’s coming.

If you have any questions or general feedback, feel free to post here (but 
start a new thread please.)
If you find bugs, please file them on Github 
<https://github.com/couchbase/couchbase-lite-ios/issues?utf8=%E2%9C%93&q=is:open%202.0%20in:title>;
 put “2.0” at the start of the title. Thanks!

—Jens

PS: One nice improvement specific to Apple platforms is that our source code 
now works better with CocoaPods and Carthage. So instead of downloading the 
binary, you can if you wish just add a line to a podspec or Cartfile and 
automatically build this release into an app. Instructions are in the README 
<https://github.com/couchbase/couchbase-lite-ios/blob/feature/2.0/README.md>.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/6850525C-4EA8-415B-A7B2-E20315FA99C6%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to