Skip to content

Releases: couchbase/couchbase-cxx-client

1.0.1

22 Aug 19:55
1.0.1
58d46d7
Compare
Choose a tag to compare

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_background when creating test cluster in Columnar mode (#625).
  • CXXCBC-542: Richer error information from columnar core (#626).
  • Update columnar log message, enable dispatch_timeout if 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

26 Jun 23:32
1.0.0
65c8d1f
Compare
Choose a tag to compare

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_available when 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_canceled on 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_call exception. (#606)

  • CXXCBC-518: Handle alternate addresses when locating preferred_node. (#574)

Build and Tests Fixes

  • Add cmake task to generate tarball (#596)

  • Do not refer to core headers in public API (#599)

  • Cleanup attempt_context implementation. (#586)

  • Do not use default parameters for virtual functions in transactions (#588)

  • Do not fetch config if no sessions in the bucket (#573)

  • Improve test stability (#563, #613)

1.0.0-dp.15

17 Apr 15:57
1.0.0-dp.15
1b506b0
Compare
Choose a tag to compare
1.0.0-dp.15 Pre-release
Pre-release

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

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 /bigobj for SDK objects only. (#550) Avoid using global add_definitions() as it might leak to non-CXX languages (like ASM_NASM on Windows).
  • Add feature check for scoped analyze_document in tests (#555)
  • Update dependencies (#543)

1.0.0-dp.14

13 Mar 19:59
1.0.0-dp.14
933e87e
Compare
Choose a tag to compare
1.0.0-dp.14 Pre-release
Pre-release

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

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

01 Mar 21:46
1.0.0-dp.13
684beaa
Compare
Choose a tag to compare
1.0.0-dp.13 Pre-release
Pre-release

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.

    • Add to_raise getter (#521)
    • Skip some tests against Capella (#520)

1.0.0-dp.12

01 Feb 21:48
1.0.0-dp.12
0461e77
Compare
Choose a tag to compare
1.0.0-dp.12 Pre-release
Pre-release

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

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_available when 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_delay to limit number of transaction retries. (#494)
  • Declare boringssl as system library (#509)

1.0.0-dp.11

22 Dec 19:19
1.0.0-dp.11
8ceabca
Compare
Choose a tag to compare
1.0.0-dp.11 Pre-release
Pre-release

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_mismatch for unlock. (#479)

  • CXXCBC-403: Allow retries for KV not_my_vbucket response. (#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_time to timeout
  • CXXCBC-408: Search Public API Issues. (#487)

    • implement search sort geo distance
    • add constructor to phrase query with vector
    • add doc_id_query encode
    • complete search row location definition

New features and enhancements

Build optimizations

  • CXXCBC-332: Hide implementation of the core::cluster class into object file to speedup the build. (#415)
  • CXXCBC-411: fix logger issues by compiler (#488)

1.0.0-dp.10

10 Nov 04:53
1.0.0-dp.10
333e2e9
Compare
Choose a tag to compare
1.0.0-dp.10 Pre-release
Pre-release

API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.10
Full Changelog: 1.0.0-dp.9...1.0.0-dp.10

Fixes

  • CXXCBC-383: Map subdoc_doc_too_deep KV status to path_too_deep error code. (#455)
  • CXXCBC-382: Fix raw_binary_transcoder so that gets on binary data are possible. (#459)

New features and enhancements

  • CXXCBC-377: Implement ExtParallelUnstaging in transactions. (#457)
  • CXXCBC-363: Add examples for bulk operations. (#442)
  • Add more information to diagnose timeouts on NMV responses. (#475)
  • Migrate cbc tools from docopt to CLI11. (#466)

Runtime performance optimizations

Build optimizations

  • CXXCBC-386: Allow option to statically link against BoringSSL. (#458, #465, #471, #474, #478)
  • Migrate dependencies from git submodules to CPM.cmake. (#460)
  • Hide symbols for the dependencies. (#467)
  • Treat third party dependences as system libraries. (#469)
  • Allow to cache Mozilla certificates. (#470)

1.0.0-dp.9

20 Sep 03:41
1.0.0-dp.9
a873bb9
Compare
Choose a tag to compare
1.0.0-dp.9 Pre-release
Pre-release

API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.9
Full Changelog: 1.0.0-dp.8...1.0.0-dp.9

  • CXXCBC-376: Revisit what 'create' and 'update' bucket operations send to the server. Make optional bucket settings fields optional, and do not send anything unless the settings explicitly specified. (#451)

  • CXXCBC-374: Return 'bucket_exists' error when the bucket already exists during 'create' operation. (#449)

  • CXXCBC-359: Reduce default HTTP idle timeout to 1 second (#448)

  • CXXCBC-367, CXXCBC-370: Add history retention settings to buckets/collection management. (#446)

  • CXXCBC-119: Return booleans for subdocument 'exists' operation instead of error code. (#444, #452)

  • Detect 'collection_not_found' error in 'update_collection' response (#450)

1.0.0-dp.8

17 Aug 18:39
1.0.0-dp.8
43cf66a
Compare
Choose a tag to compare
1.0.0-dp.8 Pre-release
Pre-release

API documentation: https://docs.couchbase.com/sdk-api/couchbase-cxx-client-1.0.0-dp.8