Implement Couchbase Lite 4.1 for JVM and Android - #68
Open
jeffdgr8 wants to merge 1 commit into
Open
Conversation
Updates couchbase-lite-java and couchbase-lite-android to 4.1.0 and the vector search extension to 2.0.0. - CollectionConfiguration is bound to its Collection; adds fromCollections - ReplicatorConfiguration built from collection configurations; collections returns Set<CollectionConfiguration> - Document.timestamp and Replicator.correlationId implemented - LogDomain adds PEER_DISCOVERY and MULTIPEER - TLSIdentity.createIdentity takes Set<KeyUsage>; KeyUsage typealias - Listener configurations are collections-only - CouchbaseLite.shutdown() added on JVM (desktop-only 4.1 API) - ktx: removed deprecated Database.`as`() and from(Database) Tests updated to CBL 4.1 behavior, following the upstream 4.1 test suite: collection-based replicator configs, timestamp instead of revision generation, CouchbaseLiteException(NOT_OPEN) on closed databases, copy requires closed database, covering-index query plans, out-of-range long coercion in getInt, version-vector revision ids, and 4.1 log output in the Kermit log sink tests. This also fixes Android compilation, broken since the 3.3.0 bump by the CouchbaseLiteError constructor signature change (java desktop 3.3 was never released, holding jvmCommon at the 3.2 signature). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the Couchbase Lite 4.1 common API for JVM and Android: couchbase-lite-java and couchbase-lite-android 4.1.0, vector search 2.0.0.
CollectionConfiguration, collections-basedReplicatorConfigurationDocument.timestamp,Replicator.correlationId, new log domains,KeyUsage-basedTLSIdentityCouchbaseLite.shutdown()(desktop-only 4.1 API) on JVMJVM tests green across all modules; Android compiles.
🤖 Generated with Claude Code