UNPKG

6.72 kBMarkdownView Raw
1# 2.8.1 (2021-12-02)
2- [FIXED] Regression from version 2.7 resulting in incorrect handling of percent-encoded credentials in the URL user-info.
3
4# 2.8.0 (2021-11-25)
5- [FIXED] Corrected `user-agent` header on requests.
6- [FIXED] Restore of shallow backups created with versions <=2.4.2.
7- [IMPROVED] Added quiet option to backup and restore to suppress batch messages.
8- [IMPROVED] Added a preflight check for restore function to make sure that a target database is new and empty.
9- [IMPROVED] Added handling for errors reading log file.
10- [IMPROVED] Split changes spooling to improve reliability on databases with
11 millions of documents.
12- [UPGRADED] `@ibm-cloud/cloudant`, `commander` and `debug` dependencies.
13
14# 2.7.0 (2021-09-14)
15- [UPGRADED] Cloudant client dependency from `@cloudant/cloudant` to `@ibm-cloud/cloudant`.
16
17# 2.6.2 (2021-08-27)
18- [FIXED] `Invalid document ID: _bulk_get` error when using `@cloudant/cloudant`
19 version `4.5.0`.
20- [UPGRADED] Upgraded `@cloudant/cloudant` dependency to version `4.5.0`.
21- [NOTE] Updated minimum supported engine to Node.js 12 `erbium` LTS.
22
23# 2.6.1 (2021-06-23)
24- [FIXED] Async queue pause/resume behaviour to avoid exhausting listener handles.
25- [UPGRADED] Upgraded `@cloudant/cloudant` dependency to version `4.4.0`.
26
27# 2.6.0 (2020-09-22)
28- [FIXED] Invalid parameters error when using shallow mode.
29- [UPGRADED] Upgraded `@cloudant/cloudant` dependency to version `4.3.0`.
30- [NOTE] Updated minimum supported engine to Node.js 10 `dubnium` LTS.
31
32# 2.5.2 (2020-03-02)
33- [FIXED] Issue with compatibility with Nano 8.2.0.
34
35# 2.5.1 (2019-12-06)
36- [FIXED] Issue with incorrect handling of percent-encoded user info characters
37 via @cloudant/cloudant dependency.
38- [UPGRADED] Upgraded @cloudant/cloudant dependency to minimum version 4.2.3
39- [IMPROVED] Added documentation around encoding of characters in the user info
40 subcomponent of the URL.
41
42# 2.5.0 (2019-10-24)
43- [UPGRADED] Upgraded @cloudant/cloudant dependency to version 4.2.2.
44- [NOTE] Updated minimum supported engine to Node.js 8 “Carbon” LTS.
45
46# 2.4.2 (2019-08-20)
47
48- [FIXED] Preserve document revisions in shallow backup.
49- [UPGRADED] Upgraded commander dependency to version 3.0.0.
50
51# 2.4.1 (2019-06-18)
52
53- [FIXED] Removed inadvertent npm-cli-login dependency.
54- [UPGRADED] Upgraded @cloudant/cloudant dependency to version 4.1.1.
55- [UPGRADED] Upgraded async dependency to version 3.0.1.
56
57# 2.4.0 (2019-03-15)
58
59- [NEW] Added request timeout option. Set via env var `COUCH_REQUEST_TIMEOUT`,
60 as CLI option `--request-timeout`, or programmatically via
61 `options.requestTimeout`.
62- [IMPROVED] Replaced usages of Node.js legacy URL API. Note this changes some
63 URL validation error messages.
64- [IMPROVED] Documentation, help text and log warnings for invalid options in
65 "shallow" mode.
66- [UPGRADED] Moved nodejs-cloudant dependency to 4.x.x.
67
68# 2.3.1 (2018-06-15)
69
70- [FIXED] Concurrent database backups use the same default log file.
71- [FIXED] IAM token URL override option.
72
73# 2.3.0 (2018-05-22)
74
75- [NEW] Check for database existence before starting backup. This provides for
76 better error messages for existence, authentication, and `_bulk_get` problems.
77- [FIXED] Intermittent issues with multiple callbacks, particularly noticeable
78 when using Node.js 10.
79- [FIXED] Issue where a success message could confusingly be output after a
80 fatal error.
81- [UPGRADED] Increased nodejs-cloudant dependency minimum to 2.2.x.
82
83# 2.2.0 (2018-03-06)
84
85- [FIXED] An issue where the `_changes` response stream doesn't get correctly
86 decompressed.
87- [FIXED] Prevent duplicate execution of backup error callbacks.
88- [NOTE] Update engines in preparation for Node.js 4 “Argon” end-of-life.
89
90# 2.1.0 (2018-02-20)
91
92- [NEW] Added API for upcoming IBM Cloud Identity and Access Management support
93 for Cloudant on IBM Cloud. Note: IAM API key support is not yet enabled in the
94 service.
95- [IMPROVED] Enhanced resilience of backup and restore processes by enabling the
96 nodejs-cloudant retry plugin.
97- [IMPROVED] Added URL validation for presence of host and database elements.
98- [UPGRADED] Increased nodejs-cloudant dependency to 2.x.
99
100# 2.0.1 (2018-01-11)
101
102- [NEW] Changed to use nodejs-cloudant for database requests.
103- [IMPROVED] Added compression to restore process requests.
104- [FIXED] An unhandled `readstream.destroy is not a function` error when trying
105 to terminate a restore process that encountered an error.
106- [UPGRADED] Increased debug dependency to 3.0.x.
107
108# 2.0.0 (2017-07-04)
109
110- [NEW] Moved to https://github.com/cloudant/couchbackup repository.
111- [NEW] Validate backup/restore options.
112- [NEW] Add User-Agent header to all requests.
113- [NEW] Added unique CLI exit codes for known error conditions.
114- [NEW] API for using as library that is more Node.js-like.
115- [NEW] Added `changes` event for each batch spooled from the changes feed.
116- [BREAKING CHANGE] The --buffer option is now --buffer-size.
117- [BREAKING CHANGE] The `writeerror` event is now just `error`.
118- [BREAKING CHANGE] The `writecomplete` event is now `finished`.
119- [BREAKING CHANGE] For restoring, the `written` event is now `restored`.
120- [REMOVED] Removed legacy 1.x API.
121- [IMPROVED] Verify database supports `/_bulk_get` endpoint prior to running backup.
122- [IMPROVED] Existence of the restore destination database is checked before
123 starting the restore process.
124- [IMPROVED] Added compression for backup HTTP responses, where supported by the
125 server.
126- [IMPROVED] Added HTTP persistent connection pools corresponding to the backup
127 parallelism.
128- [IMPROVED] Better error handling in couchrestore when remote database
129 cannot be written to.
130- [IMPROVED] Validate HTTP responses when restoring a database.
131- [IMPROVED] Aborts backup and restore processes for known irrecoverable errors.
132- [IMPROVED] Retry restore batches on transient errors.
133- [FIXED] An issue where the process could exit before the backup content was
134 completely flushed to the destination stream.
135- [FIXED] An issue where back pressure on the output stream was ignored
136 potentially resulting in the backup process running out of memory.
137- [FIXED] An issue where the log entry could be written for a batch before the
138 batch was written to the backup file.
139- [FIXED] An issue where a restore of a resumed backup might not complete due to
140 incomplete JSON entries in the backup file.
141- [FIXED] An issue where an empty batch could be written to the backup file.
142- [FIXED] An issue where the restore-time buffer size was ignored.
143- [FIXED] Ensure body 'rows' key exists before performing shallow backup.
144- [FIXED] An issue where write errors were not correctly reported.
145- [FIXED] An issue where couchbackup would attempt to write to an
146 invalid output file.
147
\No newline at end of file