You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pouchdb.apache.org by ja...@apache.org on 2026/04/23 15:01:13 UTC
(pouchdb) 05/07: chore: introduce warning notice when using leveldb adapter
This is an automated email from the ASF dual-hosted git repository.
janl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pouchdb.git
commit 731953afe93ad1655fd9d54f09404182c48124e4
Author: Alba Herrerias <al...@gmail.com>
AuthorDate: Fri Apr 10 14:41:36 2026 +0100
chore: introduce warning notice when using leveldb adapter
---
packages/node_modules/pouchdb-adapter-leveldb/src/index.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/packages/node_modules/pouchdb-adapter-leveldb/src/index.js b/packages/node_modules/pouchdb-adapter-leveldb/src/index.js
index e47209ffb..ec0282f4e 100644
--- a/packages/node_modules/pouchdb-adapter-leveldb/src/index.js
+++ b/packages/node_modules/pouchdb-adapter-leveldb/src/index.js
@@ -34,5 +34,7 @@ LevelDownPouch.valid = function () {
LevelDownPouch.use_prefix = false;
export default function (PouchDB) {
+ console.warn('Warning: leveldb adapter will be deprecated in PouchDB 10.0.0 and removed in 11.0.0. '
+ + 'Read the migration guide here https://pouchdb.com/2026/04/10/migration-to-nodesqlite.html');
PouchDB.adapter('leveldb', LevelDownPouch, true);
}