From 8e1c24a06b5b48ef0e4390de206f7df4171ea91c Mon Sep 17 00:00:00 2001 From: Yakov Litvin Date: Wed, 14 Aug 2024 15:17:31 +0300 Subject: [PATCH] Deprecating credentials in url: first commit (#321) This is to create a PR where other changes to the docs can be added --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 885fb96..6b35cc1 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ To use `nano` you need to connect it to your CouchDB install, to do that: const nano = require('nano')('http://localhost:5984'); ``` -> Note: The URL you supply may also contain authentication credentials e.g. `http://admin:mypassword@localhost:5984`. +> Note: Supplying authentication credentials in the URL e.g. `http://admin:mypassword@localhost:5984` is deprecated. Use `nano.auth` instead. To create a new database: