This is an automated email from the ASF dual-hosted git repository.
glynnbird pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git
The following commit(s) were added to refs/heads/main by this push:
new 8e1c24a Deprecating credentials in url: first commit (#321)
8e1c24a is described below
commit 8e1c24a06b5b48ef0e4390de206f7df4171ea91c
Author: Yakov Litvin <[email protected]>
AuthorDate: Wed Aug 14 15:17:31 2024 +0300
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: