Skip to content

3.4.3

Compare
Choose a tag to compare
@avsej avsej released this 17 May 15:56
· 77 commits to main since this release
3.4.3
ef79cc8

Rubygems: https://rubygems.org/gems/couchbase/versions/3.4.3
API docs: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.3
Full Changelog: 3.4.2...3.4.3

gem install couchbase -v 3.4.3
# rubygems.org version (does not have precompiled binaries)
gem "couchbase", "3.4.3"

# use official repository, supported Ruby ABIs: 3.0.0, 3.1.0, 3.2.0
gem "couchbase", "3.4.3", :source => "https://packages.couchbase.com/clients/ruby/3.1.0/"

## precompiled binaries (uncomment line with effective ABI version of ruby)
# gem "couchbase", "3.4.3", :platforms => :mri_32, :source => "https://packages.couchbase.com/clients/ruby/3.2.0/"
# gem "couchbase", "3.4.3", :platforms => :mri_31, :source => "https://packages.couchbase.com/clients/ruby/3.1.0/"
# gem "couchbase", "3.4.3", :platforms => :mri_30, :source => "https://packages.couchbase.com/clients/ruby/3.0.0/"

Improvements

  • RCBC-420: Implement RawJsonTranscoder, RawBinaryTranscoder and RawStringTranscoder & check flags when decoding document content (#93).

  • RCBC-427: Add missing query index management options & use InvalidArgument error (#92). Add missing options scope_name, collection_name and index_name for #create_primary method.

  • RCBC-436: Always use PLAIN SASL mechanism with TLS connections (#103, CXXCBC-296).

  • Fix the durability level always being set to none in the C++ core (#99).

  • Add constructor for SearchRowLocation (#95).

  • Change attr to attr_reader (#104).

Underlying C++ SDK Core Changes

  • CXXCBC-324: Check port and network name on session restart (#401).

  • CXXCBC-323: Parse bootstrap_timeout and resolve_timeout in connection string (#400).

  • CXXCBC-327: Bundle Mozilla certificates with the library (#405, #408).
    Source: https://curl.se/docs/caextract.html. Use disable_mozilla_ca_certificates connection string option to disable
    bundled certificates. Use the following script to inspect certificates metadata:

    Couchbase::BUILD_INFO[:cxx_client].select{|k, _| k =~ /mozilla/}
    # =>
    # {:mozilla_ca_bundle_date=>"Tue Jan 10 04:12:06 2023 GMT",
    #  :mozilla_ca_bundle_embedded=>true,
    #  :mozilla_ca_bundle_sha256=>"fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0",
    #  :mozilla_ca_bundle_size=>137}
  • Introduce connection string option dump_configuration for debugging (#398). It logs cluster configuration on trace level.