New In 1.0
Release 1.0 (November 2025)
New Features
Couchbase Lite for JavaScript
Couchbase Lite for JavaScript delivers a fully featured and supported, offline-first local database for the browser, combining secure storage, powerful querying, and seamless sync.
Build modern web applications that work reliably without connectivity, with data automatically synchronized when online.
The SDK integrates smoothly with React, Vue, Angular, and contemporary tooling, supports PWAs, and leverages IndexedDB for persistent local storage.
Developers can query local data using SQL++ with built-in powerful indexing to speed up queries—and react to changes with document, collection, and query listeners.
Security features include Web Crypto-based encryption and TLS data sync connection.
Conflict resolution is also available, with automatic handling or custom logic.
Attachments (blobs) are fully supported, replication runs over WebSockets, and the API can be used in conjunction with TypeScript definitions for schema-safe, strongly typed development.
Why Use Couchbase Lite JavaScript?
-
Offline-first: Build web applications that work seamlessly without internet connectivity, automatically syncing data when back online.
-
Official Couchbase Mobile support: The officially supported database for browser applications, providing a reliable alternative to unsupported solutions like PouchDB with Sync Gateway.
-
Modern framework integration: First-class support for React, Vue, and Angular, with seamless integration into modern web development workflows.
-
Enterprise-grade security: Field-level and full database encryption using Web Crypto API, with secure TLS connection for data sync.
-
Progressive Web App ready: Full support for PWAs with offline caching strategies.
-
Powerful querying: Query documents using SQL++ (N1QL) with support for live queries, joins, aggregations, and indexing.
Key Capabilities
-
Local JSON document database: Store and query JSON documents locally in the browser using IndexedDB.
-
SQL++ queries: Execute complex queries with SELECT, WHERE, JOIN, GROUP BY, and aggregation functions.
-
Live queries: Get real-time updates when query results change, perfect for reactive UIs.
-
Bi-directional sync: Sync data with Sync Gateway using WebSocket-based replication with automatic conflict resolution.
-
Change listeners: React to document, collection, and replication changes with event listeners.
-
Blob support: Store and sync binary attachments like images and files.
-
TypeScript support: Full TypeScript type definitions with compile-time type safety for document schemas.
-
Encryption: Built-in encryption support for sensitive data.
-
Indexing: Create indexes on document properties for faster queries.
For more information, see: