Skip to content

Releases: couchbase/couchbase-lite-net

2.0.0 Developer Build #12

12 Jul 21:24
2.0.0-db012
Compare
Choose a tag to compare
Pre-release

Notable Changes

  • ILiveQuery API finalized
  • ToLiveQuery() -> ToLive()
  • Dropped "Factory" suffix from Query classes (e.g. QueryFactory -> Query)
  • Added JOIN, GROUP BY, HAVING, and SELECT to the query engine (see QueryTest.cs for examples of how to use)
  • Add parameters, functions, and meta functionality to queries

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

To get symbols for this build add this URL to your symbol server list:
http://mobile.nuget.couchbase.com/symbols/Developer/

2.0.0 Developer Build #11

28 Jun 08:26
2.0.0-db011
Compare
Choose a tag to compare
Pre-release

Notable Changes

  • At long last support for Xamarin iOS and Android
  • Added authentication classes for HTTP Basic and session cookie (can be used for OpenID connect implicit flow)
  • Added PinnedServerCertificate, Authenticator, and Cookies to ReplicatorConfiguration
  • Removed ReplicatorTarget class and replaced with ReplicatorConfiguration constructors which directly take a Database or Uri
  • Switched dependency injection to use Microsoft.Extensions.DependencyInjection and logging to use Microsoft.Extensions.Logging to make it more easier and familiar to do these two operations. Note: This means that the LogLevel class is in the Microsoft.Extensions.Logging namespace and it doesn't have a Verbose setting. Instead use Debug. It will be the same as Verbose for release builds, but contain additional info in debug builds.

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

To get symbols for this build add this URL to your symbol server list:
http://mobile.nuget.couchbase.com/symbols/Developer/

2.0.0 Developer Build #10

20 Jun 00:16
2.0.0-db010
Compare
Choose a tag to compare
Pre-release

This release is an out of band release that corrects a severe issue at the native level with pull replication. There are no other changes API or otherwise, so the documentation for Developer Build #9 still applies.

2.0.0 Developer Build #9

19 Jun 09:27
2.0.0-db009
Compare
Choose a tag to compare
Pre-release

The way the library handles DI is now more public. The calls the Activate() that are required perform some injection of dependency classes which vary by platform, but not all platforms imaginable are supported and if the native libraries work for X platform but they do not have a support package, this will let third parties inject their own classes and not be blocked.

ReplicationOptions has become ReplicatorConfiguration and the IReplication interface has become a concrete class (Replicator). These replications are now constructed independently.

The Compact() issue from DB8 has also been fixed.

Online / offline reaction (local network change) and TLS support has been integrated by implementing a new approach to replication with .NET. .NET provides the TCP stream (with optional TLS) while LiteCore frames and reacts to web socket messages. HTTP Basic auth is also now supported via the AuthOptionsDictionary class on ReplicatorOptionsDictionary.

I also realized that I wasn't including PDB files with the Nuget packages even though I meant to. This should be corrected starting with this DB. Our feed service will strip the symbols by default, but make them accessible via a symbols server @ http://mobile.nuget.couchbase.com/symbols/Developer/ This includes both C# symbols and C++ symbols for Windows (other platforms are embedded into the actual libraries).

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #8

31 May 23:44
2.0.0-db008
Compare
Choose a tag to compare
Pre-release

This build contains a few more APIs on Database. One known issue is that Compact() will not collect garbage attachments yet. This needs implementation at the LiteCore level. DatabaseOptions has been renamed to DatabaseConfiguration. Also the way that the native libraries are delivered has changed, and therefore .NET Core now also needs to register its support classes via Couchbase.Lite.Support.NetDesktop.Activate().

This DB also introduces the ILiveQuery interface which is a query that will automatically update in reaction to database changes.

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #7

16 May 03:24
2.0.0-db007
Compare
Choose a tag to compare
Pre-release

This build contains replication, with the caveat that functional testing for it is not quite yet in place so it hasn't been strenuously verified. Furthermore, the API has been overhauled yet again. I backed off on the "everything is an interface" concept because the API spec was relying more and more on user-created objects and the factories started to get out of hand. Now, for example, databases will be created just by making a new Database(). As of this DB, there are now 220 unit tests that pass for .NET Core (3 different OS) and UWP.

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #5

14 May 08:01
2.0.0-db005
Compare
Choose a tag to compare
Pre-release

This build contains a few enhancements under the hood like automatic migration. It also contains the interface for replication, though the public API for creating them got unfortunately left out. It will be in DB7 (DB6 will be skipped to play catch up to our schedule)

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #4

21 Apr 21:36
2.0.0-db004
Compare
Choose a tag to compare
Pre-release

This developer build brings a good chunk of what we refer to as the "cross platform query API." This API is one that is meant to be as similar as possible between the four languages we support, and so it is not the same as LINQ, which will come at a later date (although the two look quite similar).

NOTE The Select(String) API does work in theory, but currently the result API is not finished so there is no way to extract the results yet. This will definitely be worked out ASAP.

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #3

17 Mar 23:58
2.0.0-db003
Compare
Choose a tag to compare
Pre-release

This developer build brings the concept of subdocuments (embedded JSON objects in a document), with some taming of the dispatch queue model (A database gets a queue and all the objects associated with it share the same one. Callback queue has been removed, and callbacks now come over the action queue so that it is safe to access the DB directly from the callback). Thread safety checking has been made optional (default OFF) and can be enabled in the DatabaseOptions class.

For more detailed notes about this release, see this document and for an API reference, see this page.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/

2.0.0 Developer Build #2

07 Mar 00:03
2.0.0-db002
Compare
Choose a tag to compare
Pre-release

Despite the number being 2, this is the first developer build for Couchbase Lite .NET version 2.0.0. The reason it is number 2 is to keep parity with the other platforms. For more detailed notes about this release, see this document and for an API reference, see the attached compiled HTML files.

To get this build from Nuget, add this URL to your package sources:
http://mobile.nuget.couchbase.com/nuget/Developer/