This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCHANGELOG
67 lines (43 loc) · 1.72 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Sag-JS Changes
==============
Version 0.5.0
-------------
New Features
* Use JSON when creating a session with CouchDB so we don't have to deal with
URL encoding issues.
Fixed Bugs
* Fixed the response body for HEAD requests in Node 0.10.x.
* Fixed `serverFromURL()` for SSL.
* The callback for `login()` now passes the correct, documented arguments.
Version 0.4.0
-------------
New Features
* Adding 'skip' and 'key' parameters to the getAllDocs() options. Thanks to
Simon Metson for the patch (github/drsm79).
* You can now specify SSL when using Node. Doesn't do anything when running
in the browser.
* Adding function to get active tasks from '/_active_tasks'.
Fixed Bugs
* Fixed serverFromURL() in Node v0.4.x.
Version 0.3.0
-------------
New Features
* You can now initialize your server connection with a URL by using
sag.serverFromURL(). For example,
sag.serverFromURL('http://user:[email protected]/db') would be the
same as using the server() constructor, then login(), and then
setDatabase().
* Implemented the toString() function on the server() API to return a full
URL. For example, it might return 'http://user:[email protected]/db'.
Version 0.2.0
-------------
New Features
* All of the thrown exceptions are now Error's instead of strings. Closes #1.
* Introduction of `on('event', callback)` which allows you to create global
event handlers. Currently the only event supported is 'error' whose
callback gets the response object as its parameter. For example, you can
make a global error handler by specifying
`sag.on('error', function(resp) { ... });`. Closes #5.
Version 0.1.0
-------------
First release, complying with Sag v0.7.1's API.