@@ -33,6 +33,88 @@ We always recommend using the latest version of the SDK -- it contains all of th
33
33
All patch releases for each dot minor release should be API compatible, and safe to upgrade;
34
34
any changes to expected behavior are noted in the release notes that follow.
35
35
36
+
37
+ === Version 4.2.8 (15 November 2023)
38
+
39
+ Version 4.2.8 is the next patch release of the fourth generation Node.js SDK, bringing a number of improvements.
40
+ Most notably, the 4.2.8 release removes the `OpenSSL` dependency for published prebuilds.
41
+
42
+ [source,bash]
43
+ ----
44
+ $ npm install couchbase@4.2.8
45
+ ----
46
+
47
+ http://docs.couchbase.com/sdk-api/couchbase-node-client-4.2.8/[API Reference]
48
+
49
+ ==== Behavioral Change
50
+
51
+ The Couchbase Node.js SDK now publishes prebuilt binaries that statically link against BoringSSL.
52
+ The change removes the `OpenSSL` requirement from the SDK when using a published prebuild.
53
+ If building the SDK from source, the build will default to statically linking with the `OpenSSL` provided from the Node.js version being used.
54
+ Build options are availalbe if wanting to build from source and statically link against BoringSSL.
55
+
56
+ ==== Fixes
57
+
58
+ * https://issues.couchbase.com/browse/JSCBC-1187[JSCBC-1187]:
59
+ Fixed connstr `trust_store_path` override if `trustStorePath` is not provided in `ConnectOptions`.
60
+
61
+ * https://issues.couchbase.com/browse/JSCBC-1194[JSCBC-1194]:
62
+ Fixed transactions `QueryMode` KV insert.
63
+
64
+ ==== Enhancements
65
+
66
+ * https://issues.couchbase.com/browse/JSCBC-1203[JSCBC-1203]:
67
+ Updated published source tarball to only include necessary files for source install.
68
+
69
+ * https://issues.couchbase.com/browse/JSCBC-1200[JSCBC-1200]:
70
+ Updated published prebuilds to statically link against BoringSSL.
71
+
72
+ * https://issues.couchbase.com/browse/JSCBC-1189[JSCBC-1189]:
73
+ Fixed CRUD tests that have callback.
74
+
75
+ * https://issues.couchbase.com/browse/JSCBC-1185[JSCBC-1185]:
76
+ Added support for bucket settings for 'no dedup' feature.
77
+
78
+ * https://issues.couchbase.com/browse/JSCBC-1179[JSCBC-1179]:
79
+ Reduced default HTTP Idle Timeout.
80
+
81
+ * https://issues.couchbase.com/browse/JSCBC-1016[JSCBC-1016]:
82
+ Removed subdocument exists workaround.
83
+
84
+ ==== Known Issues
85
+
86
+ * http://issues.couchbase.com/browse/JSCBC-1011[JSCBC-1011]:
87
+ Core IO logging is not forwarded through to Node.js.
88
+
89
+ * http://issues.couchbase.com/browse/JSCBC-1040[JSCBC-1040]:
90
+ Distributed tracing is not yet supported.
91
+
92
+ ==== Underlying C++ SDK Core Changes
93
+
94
+ * https://issues.couchbase.com/browse/CXXCBC-387[CXXCBC-387]:
95
+ Optimising tags for `noop_tracer` and cache formatted `mbcp_session` endpoints (https://github.com/couchbaselabs/couchbase-cxx-client/pull/461[#461], https://github.com/couchbaselabs/couchbase-cxx-client/pull/462[#462], https://github.com/couchbaselabs/couchbase-cxx-client/pull/464[#464]).
96
+ * https://issues.couchbase.com/browse/CXXCBC-383[CXXCBC-383]:
97
+ Map `subdoc_doc_too_deep` KV status to `path_too_deep` error code (https://github.com/couchbaselabs/couchbase-cxx-client/pull/455[#455]).
98
+ * https://issues.couchbase.com/browse/CXXCBC-377[CXXCBC-377]:
99
+ Implement `ExtParallelUnstaging` in transactions (https://github.com/couchbaselabs/couchbase-cxx-client/pull/457[#457]).
100
+ * https://issues.couchbase.com/browse/CXXCBC-386[CXXCBC-386]:
101
+ Allow option to statically link against BoringSSL (https://github.com/couchbaselabs/couchbase-cxx-client/pull/458[#458], https://github.com/couchbaselabs/couchbase-cxx-client/pull/465[#465], https://github.com/couchbaselabs/couchbase-cxx-client/pull/471[#471], https://github.com/couchbaselabs/couchbase-cxx-client/pull/474[#474], https://github.com/couchbaselabs/couchbase-cxx-client/pull/478[#478]).
102
+ * https://issues.couchbase.com/browse/CXXCBC-376[CXXCBC-376]:
103
+ Revisit what 'create' and 'update' bucket operations send to the server.
104
+ Make optional bucket settings fields optional, and do not send anything unless the settings explicitly specified (https://github.com/couchbaselabs/couchbase-cxx-client/pull/451[#451]).
105
+ * https://issues.couchbase.com/browse/CXXCBC-374[CXXCBC-374]:
106
+ Return 'bucket_exists' error when the bucket already exists during 'create' operation (https://github.com/couchbaselabs/couchbase-cxx-client/pull/449[#449]).
107
+ * https://issues.couchbase.com/browse/CXXCBC-359[CXXCBC-359]:
108
+ Reduced the default timeout for idle HTTP connections to 1 second.
109
+ The previous default (4.5 seconds) was too close to the 5-second server-side timeout, and could lead to spurious request failures (https://github.com/couchbaselabs/couchbase-cxx-client/pull/448[#448]).
110
+ * https://issues.couchbase.com/browse/CXXCBC-367[CXXCBC-367];
111
+ https://issues.couchbase.com/browse/CXXCBC-370[CXXCBC-370]:
112
+ Added history retention settings to buckets/collection management (https://github.com/couchbaselabs/couchbase-cxx-client/pull/446[#446]).
113
+ * https://issues.couchbase.com/browse/CXXCBC-119[CXXCBC-119]:
114
+ Return booleans for subdocument 'exists' operation instead of error code (https://github.com/couchbaselabs/couchbase-cxx-client/pull/444[#444], https://github.com/couchbaselabs/couchbase-cxx-client/pull/452[#452]).
115
+ * Add more information to diagnose timeouts on NMVB responses (https://github.com/couchbaselabs/couchbase-cxx-client/pull/475[#475]).
116
+
117
+
36
118
=== Version 4.2.7 (25 August 2023)
37
119
38
120
Version 4.2.7 is the next patch release of the fourth generation Node.js SDK, bringing a number of improvements.
0 commit comments