UNPKG

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