Releases: couchbase/couchbase-cxx-client
1.0.3-rc.2
Full Changelog: 1.0.3-rc.1...1.0.3-rc.2
What's Changed
- CXXCBC-574: fix memory leak when open fails in public API by @avsej in #649
- CXXCBC-600: Reduce origin::to_json output for Columnar builds by @thejcfactor in #678
- CXXCBC-582: Add cluster labels, keyspace & outcome in metrics by @DemetrisChr in #677
- CXXCBC-614: fix memory leak in observe_poll by @avsej in #679
- Update list of RPM-based platforms by @avsej in #676
1.0.3-rc.1
Full Changelog: 1.0.2...1.0.3-rc.1
What's Changed
- CXXCBC-303: Fix RPM for AmazonLinux by @avsej in #663
- CXXCBC-303: Fix RPM for RHEL 8 by @avsej in #664
- Use timestamp from the tag for reproducible tarballs by @avsej in #665
- CXXCBC-598: Columnar - propagate bootstrap errors to HTTP operations by @thejcfactor in #666
- CXXCBC-602: Columnar - report first non-retriable code/message in query error by @DemetrisChr in #667
- CXXCBC-599: Update allowed connection string options by @thejcfactor in #668
- CXXCBC-604: Columnar - apply raw options last by @DemetrisChr in #669
- Allow to query current log level by @avsej in #672
- CXXCBC-311: SDKs must encode URIs by @Matt-Woz in #674
- CXXCBC-606: Fix detection of disfunctional node by @avsej in #673
- Add missing template parameters to fix compiler warnings by @avsej in #671
1.0.2
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.2
Full Changelog: 1.0.1...1.0.2
Fixes
- CXXCBC-577: Reduce duplicated code in http_component (#657).
- CXXCBC-593: Apply configuration profile as the last step (#655).
- CXXCBC-552: Cleanup network selection options (#651). Deprecates
behavior_options#network()in favor tonetwork_options#preferred_network() - Update code samples in API reference (#653).
- CXXCBC-576: Ensure all HTTP sessions are stopped when closing the core cluster (#648).
Columnar changes
- CXXCBC-577: Add columnar database management operations.
- CXXCBC-588: Update timeout sent to server on each columnar query retry (#654).
- CXXCBC-580: Report last error when timing out on columnar query retries (#650).
Build and Test Infrastructure
- CXXCBC-303: Update build scripts to produce RPM packages (#660).
- CXXCBC-597: Use static library for ASIO and update it to 1.31.0 (#658).
- CXXCBC-596: Do not include tao_json_serializer.hxx by default (#656).
- Include in string_hex.h (#652)
1.0.1
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.1
Full Changelog: 1.0.0...1.0.1
Enhancements
- CXXCBC-564: Allow to specify all operations (Get, Replace, Delete, Insert and Query) in pillowfight workload (#640).
- Improve logging of DNS client (#634).
- CXXCBC-568: Cancel deferred operations when closing HTTP session manager (#643).
Fixes
- CXXCBC-531: Fix memory leak in range scan implementation (#645, 610).
- CXXCBC-573: Avoid uninitialized reads in the logger test (#610).
- CXXCBC-572: Always initialize service_type (#610).
- CXXCBC-569: Resolve cycle in shared pointers for
transaction_context(#641). - CXXCBC-550]: Fixed use-after-move issue in command handler (#628)
- Fix build of Ruby wrapper on Windows (#636).
- Fix behaviour when reading is complete before returning HTTP streaming resp (#624).
Columnar changes
In this release new build mode for Columnar has been introduced. The CMake flag -DCOUCHBASE_CXX_CLIENT_COLUMNAR would produce special version of the library that is optimized for usage with Columnar deployments.
- Add initial Columnar core implementation (#616).
- CXXCBC-525: Open cluster connection in background (#621).
- Use
open_in_backgroundwhen creating test cluster in Columnar mode (#625). - CXXCBC-542: Richer error information from columnar core (#626).
- Update columnar log message, enable
dispatch_timeoutif in connection string (#627). - Add helper method for serializing ctx into columnar error message (#632).
- Add columnar query positional params (#635).
- CXXCBC-543: Add retries for columnar query (#637).
- CXXCBC-562: Provide HTTP session manager with updated cluster (#638).
- CXXCBC-556: Use versioned columnar query endpoint (#639).
- CXXCBC-557: Add global columnar timeout config (#642).
1.0.0
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0
Full Changelog: 1.0.0-dp.15...1.0.0
Enhancements
-
CXXCBC-509: Allow to restrict replica set to selected server group. This feature allows to implement network optimization when traffic cost between server groups is higher than in the local group. In this case the application might select preferred server group in the connection options, and later opt-in for local operations during replica reads. Related tickets: CXXCBC-546, CXXCBC-513, CXXCBC-513, CXXCBC-509 (#614, #593, #587, #571, #566).
-
CXXCBC-530: Include 'min' parameter when encoding disjunction FTS queries (#604)
-
CXXCBC-394: Hide tao::json where it is possible. We still have taocpp/json headers in places where default JSON transcoder is being used.
-
CXXCBC-449: Do not expose ASIO in public API.
-
CXXCBC-381: Use std::shared_ptr for transactions_context and attempt_context. (#590)
-
CXXCBC-510: Support binary objects in transactions. This changes allows to use transcoders in transactions API. (#576)
-
Improvements in Vector Search:
- Add invalid argument check. (#578)
- CXXCBC-514 Support for base64 encoded vector types (#575)
- CXXCBC-516: Return
feature_not_availablewhen upserting vector search index to incompatible cluster. (#572)
-
CXXCBC-407: Allow to use 0 as a max expiry for new collections. (#569)
-
CXXCBC-496: Convert C++ Public API Error handling to use
couchbase::error. Related tickets: CXXCBC-492, CXXCBC-498, CXXCBC-499, CXXCBC-500, CXXCBC-508, CXXCBC-526 (#570, #557, #562, #560, #564, #567, #603, #597, #595, #594). -
Update stability levels for API 3.6 level. Remove deprecated
search_query(#602).
Fixes
-
CXXCBC-517: Add HTTP session retries when SDK fails to resolve hostnames (#589).
-
CXXCBC-445: Return
request_canceledon IO error in HTTP session. (#568) -
CXXCBC-511: Prevent use of HTTP session if idle timer has expired. (#565)
-
CXXCBC-523: Clean up dump_configuration config output (#577)
-
CXXCBC-531: Fix deadlock in cluster destructor (public API) (#608)
-
CXXCBC-534: Fix callbacks to avoid
bad_function_callexception. (#606) -
CXXCBC-518: Handle alternate addresses when locating preferred_node. (#574)
Build and Tests Fixes
1.0.0-dp.15
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.15
Full Changelog: 1.0.0-dp.14...1.0.0-dp.15
Enhancements
- CXXCBC-443: Public API for Range Scan. (#546)
- CXXCBC-489: Support scoped eventing functions. (#548)
- CXXCBC-489: Add
version_7_2_0 eventingfunction language compatibility. (#554) - CXXCBC-470: Distinguish between 'unset' and 'off' query_profile (#551)
Fixes
- CXXCBC-487: Check if alternate addressing is used when bootstrapping. (#545)
- CXXCBC-503: Ignore configuration if it contains an empty vBucketMap. (#556, #558)
- CXXCBC-30: Inconsistent behaviour when using subdoc opcodes incorrectly (#559)
- CXXCBC-492: Use retry strategy in collections_component's get_collection_id. (#552)
- CXXCBC-494: Fix memory issue in range scan implementation. (#549)
- Always attempt to extract common query code if error has not been set. (#561) Fixes quota/rate limit checks for older servers.
Build and Tests Fixes
- CXXCBC-502: Apply
/bigobjfor SDK objects only. (#550) Avoid using global add_definitions() as it might leak to non-CXX languages (likeASM_NASMon Windows). - Add feature check for scoped analyze_document in tests (#555)
- Update dependencies (#543)
1.0.0-dp.14
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.14
Full Changelog: 1.0.0-dp.13...1.0.0-dp.14
Fixes
-
CXXCBC-482: Range scan orchestrator should use best effort retry strategy by default. (#542)
-
CXXCBC-481: Fix potential crash when parsing search result hits. (#541)
-
CXXCBC-461: Do not send ping to nodes that have not completed bootstrap. (#540)
-
CXXCBC-462: Fix hanging when specifying a custom metadata collection via the public API & expose errors. (#532)
-
CXXCBC-480: LookupInAnyReplica should not enforce any limits on number of specs in the library. (#539)
-
CXXCBC-479: Fix capabilities check for replica LookupIn operations. (#537)
-
CXXCBC-336: Do not fallback to 8.8.8.8, if we cannot obtain system DNS server (#533)
-
CXXCBC-448: Expose hooks for fork() scenarios. (#536)
See
example_fork::main()intest/test_integration_examples.cxx.
Build and Tests fixes
-
CXXCBC-458: Run transactions hooks asychronously. (#538)
-
Fix build with GCC 14. (#535)
-
Cleanup output of the transaction code sample. (#534)
-
Fix query error context fields. (#531)
1.0.0-dp.13
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.13
Full Changelog: 1.0.0-dp.12...1.0.0-dp.13
New features and enhancements
-
CXXCBC-456: handle 0x0d (config_only) status from KV (#523).
On 0x0d (EConfigOnly) status code SDK will request new configuration, and send current operation to retry orchestrator. -
CXXCBC-191: Create Index Key Encoding (#519)
-
CXXCBC-442: Add support for raw_json and raw_string transcoders (#514, #515)
-
Add full_set option to view query options (#517)
Fixes
-
CXXCBC-345: Range scan improvements & resolve concurrency issues (#525).
-
CXXCBC-284: Do not use session that is not bootstrapped to poll for config (#528)
-
CXXCBC-447: Use addresses from the config to bootstrap bucket (#516)
-
CXXCBC-450: Reset bootstrap handler before re-bootstrap (#524).
We do not want any actions from old bootstrap handler once the session decided to re-bootstrap.
For example, bucket could not be selected, but we might still get configuration responses before
socket reset. -
Update view design_document rev to be optional (#526).
-
Change encoded search request showrequest param from string to boolean. (#518)
-
CXXCBC-452: Update capabilities and fail fast when selected feature is not available. (#522, #513)
- CXXCBC-431: Add check for history retention bucket capability in collection create/update (#502, #505)
- CXXCBC-421: Return feature_not_available when query preserve expiry is not supported (#510)
Build optimizations and Tools
-
Improvements in cbc-pillowfight (#529)
- record latencies and display histogram in the end of the run,
- fix termination condition when using multiple threads,
- use running average for runtime rate display,
- allow to configure separate batch size for queries,
- fixed links in the reference pages.
-
Fix doxygen warnings and update config (#530).
-
Test improvements.
1.0.0-dp.12
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.12
Full Changelog: 1.0.0-dp.11...1.0.0-dp.12
New features and enhancements
- CXXCBC-401: Add ping & diagnostics to public API. (#498, #503)
- CXXCBC-346: Support for maxTTL value of -1 for collection 'no expiry'. (#500)
- CXXCBC-442: Support for raw_json and raw_string transcoders. (#514)
- CXXCBC-440: Support for Scoped Search Indexes. (#512, #513)
Fixes
- CXXCBC-284: Reduce network traffic when polling for cluster configuration. (#504)
- CXXCBC-422: Add insufficient credentials error code to common query error code conversion. (#511)
- CXXCBC-421: Return
feature_not_availablewhen query preserve expiry is not supported. (#510) - CXXCBC-426: Get with very large projection test is returning fields outside of the projection. (#499)
Build optimizations
- CXXCBC-446: Improve logging formatting. (#508, #506, #509)
- CXXCBC-446: Run sanitizers with TLS connections. (#507)
- CXXCBC-431: Add check for history retention bucket capability in collection create/update. (#502, #505)
- Add cap to
exp_delayto limit number of transaction retries. (#494) - Declare boringssl as system library (#509)
1.0.0-dp.11
API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.11
Full Changelog: 1.0.0-dp.10...1.0.0-dp.11
Fixes
-
CXXCBC-404: KV_LOCKED status should be exposed as
cas_mismatchfor unlock. (#479) -
CXXCBC-403: Allow retries for KV
not_my_vbucketresponse. (#480) -
CXXCBC-368: Subscribe to clustermap notifications to speedup failover. (#490)'
-
CXXCBC-419: Ensure that MCBP protocol parser starts with clean state. Fixes protocol parsing issues when bootstrap sequence is being retried. (#496)
-
CXXCBC-409: Add handling for 'index does not exist' query error. (#492)
-
CXXCBC-391: Fix transactions API inconsistencies. (#482)
- Remove
kv_timeout - Rename
expiration_timetotimeout
- Remove
-
CXXCBC-408: Search Public API Issues. (#487)
- implement search sort geo distance
- add constructor to phrase query with vector
- add
doc_id_queryencode - complete search row location definition
New features and enhancements
- CXXCBC-309: Implement Search index management public API (#483)
- CXXCBC-100: Add ability to set timeout for ping. (#486)
- CXXCBC-412: Support
document_not_lockedresponse. (#491) - CXXCBC-308: Add analytics index manager in the public API. (#484)
Build optimizations
- CXXCBC-332: Hide implementation of the
core::clusterclass into object file to speedup the build. (#415) - CXXCBC-411: fix logger issues by compiler (#488)