v1.0.0-beta.1 - First Beta Release
Pre-releaseπ v1.0.0-beta.1 β First Beta Release
This is the first beta (pre-release) of cbl-reactnative v1.0.0, published for community testing and feedback.
This release may contain breaking changes, incomplete features, or undiscovered issues. Do not use in production environments.
Your testing and feedback are highly appreciated π
π Documentation
π Full documentation:
π https://cbl-reactnative.dev/
β¨ Whatβs New
Logging
- Log Sink API β Console, File, and Custom log sinks with configurable levels and domains
LogDomain.ALLβ Enable all log domains with a single option
Listeners & Observability
- Listener Token Management β New
ListenerTokenclass withtoken.remove()API - Collection Change Listeners β Observe all document changes within a collection
- Document Change Listeners β Observe changes for specific document IDs
- Query Change Listeners (Live Queries) β Real-time query result updates
- Replicator Status Change Listeners β Monitor replication state and progress
- Replicator Document Change Listeners β Track per-document replication activity
Replication & Collections
- New
ReplicatorConfigurationAPI
Collections are now passed during initialization viaCollectionConfiguration Collection.fullName()β Retrieve the fully-qualified name (scope.collection)
SDK Updates
- Couchbase Lite 3.3.0
Updated iOS and Android SDKs to Couchbase Lite 3.3.0
π¨ Breaking Changes
- TypeScript
ListenerTokentype changed fromstringβListenerTokenobject
(Impacts only explicitly typed code)
π§Ή Deprecated APIs
(Still available for backward compatibility)
Database.setLogLevel()
β UseLogSinks.setConsole()instead
β οΈ Old and new logging APIs cannot be used togetherconfig.addCollection(collection)
β PassCollectionConfiguration[]via constructorremoveChangeListener()methods
β Usetoken.remove()insteadListenerTokenasstring
β Replaced withListenerTokenobject (TypeScript)
π Bug Fixes
- Fixed encryption key crash when encryption is not required
- Fixed Kotlin import paths and improved logging APIs
- Improved blob validation and array handling
- Fixed custom delete behavior issues
π Migration Guide (from 0.6.x)
-
Logging (Required)
ReplaceDatabase.setLogLevel()withLogSinks.setConsole()Mixing old and new logging APIs is not supported
-
Replicator Configuration (Recommended)
Update to the new constructor-basedReplicatorConfigurationAPI -
Listener Cleanup (Recommended)
ReplaceremoveChangeListener()withtoken.remove() -
TypeScript Updates (Required)
Replace explicitly typedstringlistener tokens withListenerToken