You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
Version 0.4.4 - released 2017-01-08
2
+
-------------
3
+
4
+
- Improved authentication handling: You can now add basic auth credentials to db properties, eliminating need to authenticate each function call. Thanks to @leifg
5
+
- This change makes a number of authenticated functions redundant. These functions have been deprecated and will be removed in release version 0.5
HTTP Basic authentication was first introduced in release version 0.3. Some versions and improvements later, the current best practice is to put the Basic auth credentials into the database properties like so:
Support for this configuration feature has been introduced in release version 0.4.4. It relieves users from having to add the credentials to each authenticated function call. Authentication can now be dealt with once and in one place only.
76
+
68
77
### Create a database
69
78
70
79
```Elixir
@@ -254,8 +263,6 @@ The response would look similar to this:
254
263
"rev"=>"2-7b2f4edf07..."}}}
255
264
```
256
265
257
-
Basic authentication is also supported for this update API.
258
-
259
266
### Delete a document
260
267
261
268
In order to delete a document, you have to pass in its current revision, the same way that you saw above for the update calls.
@@ -272,12 +279,6 @@ You should see a response like this:
Since release 0.4.2, there is also an implementation of the delete functionality in place that wraps the resopnse in a Map. It is located in the top level module Couchdb.Connector and its API is identical to the JSON/String version:
0 commit comments