From 965176a7fa4438d74e805f7ef2c09a830e72a9f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:40:51 +0000 Subject: [PATCH] deploy: a6e14bbb39dbb05b1cd88c378739367504477fd2 --- 404.html | 2 +- CNAME | 1 - DataSync/capella.html | 2 +- DataSync/remote-sync-gateway.html | 12 +++-- ProductNotes/compatibility.html | 2 +- ProductNotes/release-notes.html | 2 +- ProductNotes/supported-platforms.html | 2 +- Queries/live-queries.html | 2 +- Queries/query-result-set.html | 2 +- Queries/query-troubleshooting.html | 2 +- ...lusplus-mobile-and-server-differences.html | 2 +- Queries/sqlplusplus.html | 2 +- StartHere/build-run.html | 2 +- StartHere/install.html | 2 +- StartHere/prerequisites.html | 8 +-- Troubleshooting/troubleshoot-crashes.html | 2 +- Troubleshooting/troubleshoot-queries.html | 2 +- Troubleshooting/using-logs.html | 2 +- api-reference.html | 2 +- assets/js/295b567d.69cf5257.js | 1 - assets/js/295b567d.ef0dc828.js | 1 + assets/js/98e2200e.82609965.js | 1 - assets/js/98e2200e.c11532a6.js | 1 + assets/js/a7cb794f.30c99c14.js | 1 - assets/js/a7cb794f.993fd822.js | 1 + ...7b2ec.6d0d5ce2.js => a7e7b2ec.f29bd64f.js} | 2 +- assets/js/d211126e.6deec1a1.js | 1 + assets/js/d211126e.80a47ad6.js | 1 - assets/js/d22a0e6a.4570b277.js | 1 - assets/js/d22a0e6a.a3bfa71d.js | 1 + assets/js/f9585397.0323e3b0.js | 1 - assets/js/f9585397.e160bfd7.js | 1 + assets/js/runtime~main.5f78187e.js | 1 + assets/js/runtime~main.6e9e134b.js | 1 - blobs.html | 6 +-- blog.html | 2 +- blog/archive.html | 2 +- blog/intro-blog-post.html | 2 +- blog/tags.html | 2 +- blog/tags/couchbase-lite.html | 2 +- blog/tags/hello.html | 2 +- blog/tags/ionic.html | 2 +- blog/tags/mobile.html | 2 +- category/data-sync.html | 2 +- category/product-notes.html | 2 +- category/queries.html | 2 +- category/start-here.html | 2 +- category/troubleshooting.html | 2 +- database-prebuilt.html | 2 +- databases.html | 49 +++++++++++++++---- documents.html | 31 +++++++----- full-text-search.html | 2 +- index.html | 2 +- indexes.html | 2 +- learning-path.html | 2 +- migration.html | 25 +++++++--- scopes-collections.html | 9 ++-- typed-data.html | 2 +- 58 files changed, 142 insertions(+), 85 deletions(-) delete mode 100644 CNAME delete mode 100644 assets/js/295b567d.69cf5257.js create mode 100644 assets/js/295b567d.ef0dc828.js delete mode 100644 assets/js/98e2200e.82609965.js create mode 100644 assets/js/98e2200e.c11532a6.js delete mode 100644 assets/js/a7cb794f.30c99c14.js create mode 100644 assets/js/a7cb794f.993fd822.js rename assets/js/{a7e7b2ec.6d0d5ce2.js => a7e7b2ec.f29bd64f.js} (59%) create mode 100644 assets/js/d211126e.6deec1a1.js delete mode 100644 assets/js/d211126e.80a47ad6.js delete mode 100644 assets/js/d22a0e6a.4570b277.js create mode 100644 assets/js/d22a0e6a.a3bfa71d.js delete mode 100644 assets/js/f9585397.0323e3b0.js create mode 100644 assets/js/f9585397.e160bfd7.js create mode 100644 assets/js/runtime~main.5f78187e.js delete mode 100644 assets/js/runtime~main.6e9e134b.js diff --git a/404.html b/404.html index 39880db..64653f7 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@
By default, Couchbase Lite gets all the channels to which the configured user account has access.
This behavior is suitable for most apps that rely on user authentication
and the sync function
to specify which data to pull for each user.
Optionally, it’s also possible to specify a string array of channel names on Couchbase Lite’s replicator configuration object. In this case, the replication from Sync Gateway will only pull documents tagged with those channels.
+Optionally, it’s also possible to specify a string array of channel names on Couchbase Lite’s replicator configuration object by passing in a CollectionConfiguration object when adding in a collection.
+const config = new ReplicatorConfiguration(target);
const collectionConfig = new CollectionConfiguration();
collectionConfig.setChannels(['channel1', 'channel2']);
config.addCollection(collection, collectionConfig);
In this case, the replication from Sync Gateway will only pull documents tagged with those channels.
+Push replicator will ignore this filter.
By default, Couchbase Lite will replicate all documents that belong to the channels specified in the collection configuration. However, you can override this behavior by filtering
the documents using the CollectionConfiguration
object.
const config = new ReplicatorConfiguration(target);
const collectionConfig = new CollectionConfiguration();
collectionConfig.setDocumentIDs(['doc1', 'doc2', 'doc3']);
config.addCollection(collection, collectionConfig);
This is a Breaking Change at 3.0
CouchbaseLite Replicator ERROR: {Repl#2} Got LiteCore error: WebSocket error 1006 "connection closed abnormally"
If Sync Gateway is configured with a self signed certificate, and your app points to a wss
scheme but the replicator configuration isn’t using the certificate you will encounter an error with status code 5011
— see: Example 23
CouchbaseLite Replicator ERROR: {Repl#2} Got LiteCore error: Network error 11 "server TLS certificate is self-signed or has unknown root cert"
CouchbaseLite Replicator ERROR: {Repl#2} Got LiteCore error: Network error 11 "server TLS certificate is self-signed or has unknown root cert"