1.0.0
New Features:
- Log Sink API - Console, File, and Custom log sinks with configurable levels and domains
- LogDomain.ALL - New domain to enable all log categories at once
- Listener Token Management - New
ListenerTokenclass withtoken.remove()API - Collection Change Listeners - Monitor all documents in a collection
- Document Change Listeners - Monitor specific documents by ID
- Query Change Listeners (Live Queries) - Real-time query results
- Replicator Status Change Listeners - Monitor replication state and progress
- Replicator Document Change Listeners - Track individual document replication
- New ReplicatorConfiguration API - Collections passed during initialization using CollectionConfiguration
- Collection.fullName() method - Get fully qualified collection name (scope.collection)
- Couchbase Lite 3.3.0 - Updated iOS and Android SDKs to Couchbase Lite 3.3.0
Breaking Changes:
- TypeScript: ListenerToken type changed from string to ListenerToken object (affects explicitly typed code only)
Deprecated APIs (Remain available for backward compatibility):
- Database.setLogLevel() - Use LogSinks.setConsole() instead. Note: Old and new logging APIs cannot be used in tandem.
- config.addCollection(collection) - Pass CollectionConfiguration array in constructor instead
- removeChangeListener() methods - Use token.remove() instead
- ListenerToken type changed from string to ListenerToken object (TypeScript breaking change for explicitly typed code)
Bug Fixes:
- Fixed encryption key crash when key not required
- Fixed Kotlin import paths and enhanced logging methods
- Improved blob data validation and array handling
- Fixed custom delete issues
Migration from 0.6.x:
- Replace Database.setLogLevel() with LogSinks.setConsole() (required - APIs cannot be mixed)
- Update ReplicatorConfiguration to use new constructor pattern (recommended)
- Update listener cleanup to use token.remove() (recommended)
- Update TypeScript code that explicitly typed tokens as string to use ListenerToken (required for TypeScript)