Skip to content

1.0.0

Compare
Choose a tag to compare
@avsej avsej released this 26 Jun 23:32
· 54 commits to main since this release
1.0.0
65c8d1f

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)