On This Page

Version 2.6.0 - 2.8.2

Couchbase C Release Notes and Archives

Installation

You can install the C SDK from a repository for your platform, download prebuilt binaries or compile from source.

Quick Installation - Linux

For installation on Linux, install the couchbase-release repository, and then install the libcouchbase packages. The following examples download and install couchbase-release repsitory, a C and C++ compiler, and the C SDK core (libcouchbase2-core), command line tools (libcouchbase2-bin), and the development tools (libcouchbase-devel [RPM] orlibcouchbase-dev [DEB]).

Debian and Ubuntu

# Only needed during first-time setup:
wget http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-2-amd64.deb
sudo dpkg -i couchbase-release-1.0-2-amd64.deb
# Will install or upgrade packages
sudo apt-get update
sudo apt-get install libcouchbase-dev libcouchbase2-bin build-essential

RHEL and CentOS

# Only needed during first-time setup:
wget http://packages.couchbase.com/releases/couchbase-release/couchbase-release-1.0-2-x86_64.rpm
sudo rpm -iv couchbase-release-1.0-2-x86_64.rpm
# Will install or upgrade existing packages
sudo yum install libcouchbase-devel libcouchbase2-bin gcc gcc-c++

Installation on Mac OS X

Quick installation - Mac OS X

To install the library on Mac OS X, first install the de facto package manager for OS X: homebrew. Once homebrew is configured:

brew update # get list of latest packages
brew install libcouchbase

Installing Manually - Linux

If you want to install the C SDK manually, either from a static binary package or by manually configuring the repositories, you can use the following procedures.

The various Linux distributions contain the following packages:

  • libcouchbase2-core: The core library package
  • libcouchbase-dev (or libcouchbase-devel): The development package, required if building SDKs which depend on the C SDK
  • libcouchbase2-bin: The command line utilities (cbc and cbc-pillowfight)
  • libcouchbase2-libevent: Optional but recommended component for I/O performance. Can also be used to integrate with libevent (see Asynchronous Programming).
  • libcouchbase2-libev: Optional, for use with applications that make use of event loop integration with libev (see Asynchronous Programming).

Configuring yum repositories (CentOS, Redhat)

This section assumes you know how to add an external yum repository and Linux quick start explains the steps it will perform on your distribution. To configure the repository:

  1. Find the appropriate repository location for your distribution in the following table. CentOS and RHEL allow 32-bit packages to be installed on a 64-bit system. This is usually not what you want, so ensure that you use the 64-bit repository for your 64-bit system (unless you specifically want the 32-bit SDK).
    Version Architecture Repository
    6 32-bit http://packages.couchbase.com/rpm/6.2/i686
    6 64-bit http://packages.couchbase.com/rpm/6.2/x86_64
    7 64-bit http://packages.couchbase.com/rpm/7/x86_64
  2. Create a couchbase.repo file in your /etc/yum.repos.d directory. It should look similar to the following:
    [couchbase]
    enabled = 1
    name = Couchbase package repository
    baseurl = REPLACE THIS WITH THE ACTUAL REPOSITORY FOR YOUR PLATFORM
    gpgcheck = 1
    gpgkey = http://packages.couchbase.com/rpm/couchbase-rpm.key 

Configuring APT repositories (Debian, Ubuntu)

This section assumes some knowledge of apt and Linux quick start explains the steps it will perform on your distribution. To configure the repository:

  1. Download the Couchbase GPG key from http://packages.couchbase.com/ubuntu/couchbase.key.
  2. Add the key to the list of trusted package keys. Use the apt-key add command. For example, apt-key add couchbase.key.
  3. Create a couchbase.list file in /etc/apt/sources.list.d. The file should contain the repository for your distribution. Repositories are available for the following distributions:
    Distribution Repository Entry
    Precise (Ubuntu 12.04) deb http://packages.couchbase.com/ubuntu precise precise/main
    Trusty (Ubuntu 14.04) deb http://packages.couchbase.com/ubuntu trusty trusty/main
    Xenial (Ubuntu 16.04) deb http://packages.couchbase.com/ubuntu xenial xenial/main
    Debian Wheezy (Old Stable) deb http://packages.couchbase.com/ubuntu wheezy wheezy/main
    Debian Jessie (Stable) deb http://packages.couchbase.com/ubuntu jessie jessie/main

Note that only Ubuntu LTS (long term support) releases are supported. You may try to use an LTS repository for a non-LTS version, but success is not guaranteed.

Installing binary packages without a repository

You can install standalone packages by downloading a containing the necessary binary packages for your platform.

Installing RPMs manually

tar xf libcouchbase-2.4.0_centos62_x86_64.tar
cd libcouchbase-2.4.0_centos62_x86_64/
sudo rpm -ivh libcouchbase-devel-2.4.0-1.el6.x86_64.rpm libcouchbase2-core-2.4.0-1.el6.x86_64.rpm \
 libcouchbase2-bin-2.4.0-1.el6.x86_64.rpm libcouchbase2-libevent-2.4.0-1.el6.x86_64.rpm
> Preparing...                ########################################### [100%]
>    1:libcouchbase2-core     ########################################### [ 25%]
>    2:libcouchbase-devel     ########################################### [ 50%]
>    3:libcouchbase2-bin      ########################################### [ 75%]
>    4:libcouchbase2-libevent ########################################### [100%]

Installing DEBs manually

tar xf libcouchbase-2.2.0_ubuntu1204_amd64.tar
cd libcouchbase-2.2.0_ubuntu1204_amd64
sudo dpkg -i libcouchbase2-core_2.2.0-2453_amd64.deb libcouchbase2-libevent_2.2.0-2453_amd64.deb \
libcouchbase-dev_2.2.0-2453_amd64.deb libcouchbase2-bin_2.2.0-2453_amd64.deb
> Selecting previously unselected package libcouchbase2-core.
> (Reading database ... 28297 files and directories currently installed.)
> Unpacking libcouchbase2-core (from libcouchbase2-core_2.2.0-2453_amd64.deb) ...
> Selecting previously unselected package libcouchbase2-libevent.
> Unpacking libcouchbase2-libevent (from libcouchbase2-libevent_2.2.0-2453_amd64.deb) ...
> Selecting previously unselected package libcouchbase-dev.
> Unpacking libcouchbase-dev (from libcouchbase-dev_2.2.0-2453_amd64.deb) ...
> Selecting previously unselected package libcouchbase2-bin.
> Unpacking libcouchbase2-bin (from libcouchbase2-bin_2.2.0-2453_amd64.deb) ...
> Setting up libcouchbase2-core (2.2.0-2453) ...
> Processing triggers for man-db ...
> Setting up libcouchbase2-bin (2.2.0-2453) ...
> Setting up libcouchbase2-libevent (2.2.0-2453) ...
> Setting up libcouchbase-dev (2.2.0-2453) ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place

Installation from source

You may install the library from source either by downloading a source archive, or by checking out the git repository. Follow the instructions in the archive's README.markdown for further instructions.

Windows Installation

Windows binary packages can be found as downloads for each version listed below. Included are the header files, release and debug variants of the DLLs and import libraries, and release and debug variants of the command line tools. Note that the C SDK does not have any preferred installation path, and it is up to you to determine where to place libcouchbase.dll.

Be sure to select the proper package for the compiler and architecture your application is using.

Note:

If there are no binaries available for your visual studio version, then using a binary from any other visual studio version is likely to work. Most of the issues related to mixing Visual Studio binary versions involve changing and incompatible C++ APIs or incompatible C Runtime (CRT) objects and functions. Since the Couchbase C SDK does not expose a C++ API, and since it does not directly expose any CRT functionality, it should be safe for use so long as your application can link to the library at compile-time. The windows runtime linker will ensure that each binary is using the appropriate version of the Visual C Runtime (MSVCRT.DLL).

If for some reason you cannot use any of the prebuilt Windows binaries, follow the instructions in installation from source (above) to build on Windows.

2.8.2 (October 17 2017)

Additions and bug fixes in this version:

  • CCBC-833, CCBC-834: Update real cluster integration in the test suite.

  • CCBC-860: cbc-connstr: Do not zero out C++ instances.

  • CCBC-859: Fix libm shared object detection on Debian 9.

  • Bugs reported by clang analyzer:

    • CCBC-858: Fix memory leak for compressed packet.
    • CCBC-857: Fix possible NULL pointer dereference in mcreq_reserve_key.
    • CCBC-856: Initialize response struct in H_config.
    • CCBC-855: Fix dead assignments in contrib/genhash.
    • CCBC-854: Init vbguess array before entry lookup.
    • CCBC-853: cbc-proxy: do not use client object after free.
    • CCBC-852: Do not free memory twice in N1QL index manager.
Platform Architecture File
Source Archive Any libcouchbase-2.8.2.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.8.2_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.8.2_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.8.2_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.8.2_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.8.2_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.8.2_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.8.2_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.8.2_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.8.2_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.8.2_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.8.2_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.8.2_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.8.2_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.8.2_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.8.2_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.8.2_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.8.2_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.8.2_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.8.2_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.8.2_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.8.2_amd64_vc14.zip

2.8.1 (September 20 2017)

Additions and bug fixes in this version:

  • CCBC-817: Check nodes number for durability checks. The store with durability requirements will report more specific error when the library cannot fulfill the condition during failover.

  • CCBC-846: Handle enhanced error messages for subdoc operations. The subdoc responses will now expose context and reference ID if present.

  • CCBC-840: Discover and bootstrap analytics service from cluster configuration.

  • CCBC-835: Improve documentation of configuration parameters.

  • CCBC-838: Enable Error Map feature by default.

  • Cleanup and extend minimal, libeventdirect, instancepool examples

  • Tools:

    • improve error reporting
    • experimental subcommand cbc-proxy
    • fix memory leaks
    • retry store operations during population phase in cbc-pillowfight
Platform Architecture File
Source Archive Any libcouchbase-2.8.1.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.8.1_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.8.1_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.8.1_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.8.1_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.8.1_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.8.1_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.8.1_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.8.1_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.8.1_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.8.1_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.8.1_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.8.1_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.8.1_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.8.1_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.8.1_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.8.1_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.8.1_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.8.1_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.8.1_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.8.1_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.8.1_amd64_vc14.zip

2.8.0 (August 31 2017)

Known Isssues:

As reported in Issue CCBC-838, version 2.8.0 should have Error Maps enabled by default, but it does not. Users may work around this issue by specifying errmap_enable=true in connection string or setting it programmatically:

int enabled = 1;
lcb_cntl(instance, LCB_CNTL_SET, LCB_CNTL_ENABLE_ERRMAP, &enabled);

Additions and bug fixes in this version:

  • Add support for OpenSSL-1.1.

  • Mask LOCKED status code for backward compatibility. This code (as well as others possible codes with 'item-locked' attribute) replaced with LCB_KEY_EEXISTS for SET, REPLACE and DELETE operations, and with LCB_ETMPFAIL for the rest.

  • Stop enumerating bootstrap nodes and mechanisms when the server returns authentication error.

  • Fixed double free error with lcb_ping3.

  • Exposed additional N1QL query parameters: lcb_n1p_readonly, lcb_n1p_scancap, lcb_n1p_pipelinecap.

  • Fixed cbc-subdoc/upsert without XATTR.

  • XERROR attributes synchronized with recent list on server.

  • Add missing documentation, and update stability of the API.

  • Do not throttle background configuration polling by throttle interval of configuration error handler.

  • Turn on background polling by default. The library will try to schedule configuration update every 2.5 seconds. To disable it use config_poll_interval=0.

Platform Architecture File
Source Archive Any libcouchbase-2.8.0.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.8.0_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.8.0_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.8.0_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.8.0_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.8.0_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.8.0_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.8.0_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.8.0_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.8.0_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.8.0_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.8.0_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.8.0_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.8.0_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.8.0_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.8.0_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.8.0_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.8.0_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.8.0_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.8.0_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.8.0_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.8.0_amd64_vc14.zip

2.7.7 (August 17 2017)

  • Implement new function lcb_ping3, which sends NOOP-like message to each service in the cluster and allows to measure latency along with health status of the connection. Might be useful for application-side keep-alive mechanisms.

  • Detect and expose bucket type through LCB_CNTL_BUCKETTYPE:

      lcb_BTYPE type;
      lcb_cntl(instance, LCB_CNTL_GET, LCB_CNTL_BUCKETTYPE, &type);
    
  • Fixed setting expiration in subdoc mutations.

  • Fixed DNS SRV support of Fedora 26 and FreeBSD.

  • Fixed DNS SRV with SSL connections.

  • Define EREMOTEIO in libuv

  • New subdocument command to remove whole document

  • New cbc command: cbc-subdoc. It provides interactive shell, where all subdocument commands accessible to inspect and modify documents in the cluster.

  • New cbc command: cbc-ping. It sends NOOP-like messages to all accessible services in the cluster, and displays the status along with latency.

  • Fix cbc-cat --replica, which now allows reading documents from replicas.

  • Implement NOOP command and cbc-pillowfight --noop, which sends NOOP instead of data manipulation commands.

  • Clarify errors found in .cbcrc. Now it will display configuration path along with error message.

    • Issues: [CCBC-759](https://issues.couchbase.com/browse/CCBC-759]
  • Update examples:

    • Support username/password in subdoc and libeventdirect examples
    • Added example for subdoc XATTRs
  • Integrate fix for parallel build with dtrace on FreeBSD https://github.com/freebsd/freebsd-ports/commit/a71e1a86b851d42cd08319d9b28a4424e508e216

  • Make enhanced errors API public

  • Fixed various compiler and cppcheck warnings and documentation update.

Platform Architecture File
Source Archive Any libcouchbase-2.7.7.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.7_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.7_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.7_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.7_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.7_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.7_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.7_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.7_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.7_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.7_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.7_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.7_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.7_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.7_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.7_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.7_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.7_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.7_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.7_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.7_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.7_amd64_vc14.zip

2.7.6 (July 11 2017)

  • Expose enhanced errors for data commands. Couchbase Server 5 might return additional information about errors in the response body. According to SDK-RFC-28, the library allow user code to inspect this information using following functions:

    • lcb_resp_get_error_context(int, const lcb_RESPBASE *)
    • lcb_resp_get_error_ref(int, const lcb_RESPBASE *)

    They both return non-NULL strings if any of error information accessible. The lifetime of these fields limited by lifetime of the response object. * Issues: CCBC-781

  • Report contextualized error messages during negotiation. The event reference could be used to find more details about authentication errors in the server logs.
  • Specify correct protocol level for SO_KEEPALIVE. This fixes setting tcp_keepalive option on connections.
  • Implement Error Map Retries. This implements the mechanics needed to retry commands on various errors based on dynamic settings supplied via the error map.
  • Add cluster admin provider. This provider doesn’t do anything except serve as a source of management hostnames. And the library will fall back to it when bucket is not specified for cluster management connections.
  • Implement RBAC user management in cbc tools. In addition to examples/users, this can be a demonstration of new security APIs which appear in Couchbase Server 5.
  • Allow to inspect query errors in cbc-n1qlback. The command will write details for failed queries to file, specified with option --error-log.

  • Fix memory leak in io::Pool
  • Fix LCB_SDCMD_GET_FULLDOC. This would not actually work beforehand because the opcode it’s mapped to is 0, and we used 0 as a sentinel value for an invalid opcode within the subdoc implementation.
  • Add LCB_NOT_AUTHORIZED error code. This error code maps to Memcached’s EACCESS

  • Don’t send empty Authorization header for HTTP requests, If there’s no username and/or password
  • Internal refactoring:
    • io::Pool - remove empty dtor
    • Fix BadPluginEnvironment test on Fedora where libm.so is ld script
    • Add missing commands for cbc-help
  • Documentation update:
    • Add additional documentation for lcb_n1ql_cancel()
    • Typos
Platform Architecture File
Source Archive Any libcouchbase-2.7.6.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.6_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.6_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.6_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.6_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.6_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.6_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.6_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.6_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.6_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.6_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.6_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.6_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.6_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.6_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.6_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.6_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.6_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.6_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.6_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.6_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.6_amd64_vc14.zip

2.7.5 (May 17 2017)

  • Allow to disable sending the HELLO command when connecting to a server. Sending HELLO will cause a bootstrap failure with Couchbase Server 2.0 and older.

  • Fix error return value on reprepared query. Previously an error was returned if a N1QL query was reprepared, because the prior internal failure status was not updated.

  • Check for more N1QL error strings indicating the need to reprepare a statement.

  • Fix uninitialized memory issue when initializing lcb::Server and mc_PIPELINE

  • Couchbase 5.0 additions for Subdocument. This adds new protocol extensions for Couchbase 5.0. This consists of:

    • New LCB_SDCMD_SET_FULLDOC and LCB_SDCMD_GET_FULLDOC for full-doucument gets and sets via the subdoc API. This allows to access xattrs atomically with the document body.
    • New 'document flags'. These are in the form of LCB_CMDSUBDOC_F_.
    • Issues: CCBC-774
  • Fix bug where CCCP subsystem would be suspended indefinitely. CCCP subsystem would hang if an error was received for the config request itself.

  • Fix bootstrap with LCB_TYPE_CLUSTER. Previously bootstrap would fail because the client would not send proper credentials. Note that at this point, the default bucket must still exist.

  • Ignore empty DNS SRV replies. Some buggy DNS configurations return positive replies to SRV queries, but without actually containing any kind of A record as a response.

  • Enable background polling for configuration changes. This allows the client to periodically poll for configuration changes. This feature is disabled by default. You can use the config_poll_interval setting to enable it in the connection string.

  • Enable TCP Keepalive for newly created sockets. Newly created sockets have TCP keepalive enabled in order to avoid firewalls breaking connections due to inactivity. TCP Keepalive does not yet work for the libuv plugin (e.g. nodejs). You can use the tcp_keepalive=false directive in the connection string to disable it.

Platform Architecture File
Source Archive Any libcouchbase-2.7.5.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.5_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.5_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.5_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.5_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.5_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.5_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.5_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.5_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.5_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.5_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.5_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.5_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.5_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.5_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.5_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.5_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.5_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.5_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.5_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.5_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.5_amd64_vc14.zip

2.7.4 (April 21 2017)

  • Send SELECT_BUCKET command by default if server supports it. This enables new-style 'RBAC' authentication by default. In 2.7.3 users were required to use select_bucket=true in the connection string to enable this feature. In this version, the option is still available but is now mainly useful to disable it.

  • Improve lcb_AUTHENTICATOR API. This provides better documentation and some API/design/implementation fixes to the authenticator interface. The authenticator may be useful for integrators/wrappers who wish to correlate multiple credentials with their buckets. Note that the use of lcb_AUTHENTICATOR is not required for RBAC support. In order to use RBAC, simply make use of the username field in the lcb_create_st struct, or the usernameparameter in the connection string.

  • Fix bug where lcb_get_server_list() would return NULL.

  • Fix bug where client would not recover from failover. Clients from version 2.7.1 through 2.7.3 would not obtain a new cluster map after a node had been failed over (e.g. by hitting the "fail over" button in the UI).

 

Platform Architecture File
Source Archive Any libcouchbase-2.7.4.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.4_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.4_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.4_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.4_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.4_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.4_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.4_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.4_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.4_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.4_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.4_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.4_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.4_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.4_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.4_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.4_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.4_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.4_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.4_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.4_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.4_amd64_vc14.zip

2.7.3 (March 21 2017)

Known Isssues:

As reported in Issue CCBC-766, versions 2.7.1, 2.7.2, and 2.7.3 may result in a stuck client, where operations may consistently fail after a node has been failed over, even if a replica node is available. Users may work around this issue by:

  • Rebalancing the cluster
  • Bringing the failed over node online
  • Downgrading to 2.7.0 or lower.

 

Additions and bug fixes in this version:

  • Provide the ability to send the SELECT_BUCKET when establishing a to a server. This is a building block allowing us to use 'RBAC'/username auth in the future. Note that this requires the select_bucket=true option in the connection string or equivalent, and that this feature as a whole is considered experimental.

  • Provide an option to disable DNS-SRV lookups. Because DNS SRV lookups often result in no result (i.e. NXDOMAIN) - which takes longer, allowing to disable such lookups may speed up startup time. This option is available via the connection string, using dnssrv=off

  • Send client/user-specific identifier in User-Agent HTTP header. The library already does this for data nodes (Memcached). Using it in HTTP services allows better supportability when diagnosing issues by reading the HTTP logs.

  • Fix bug where DNS SRV hostnames would not be used. While DNS SRV lookup was working, the library would not actually attempt bootstrap off those received hostnames.

  • Provide experimental Analytics support. This allows access to the Couchbase Analytics Service, available in some pre-release builds. API and syntax wise, Analytics is very similar to N1QL. To use the analytics service, set the LCB_CMDN1QL_F_CBASQUERY bit in lcb_CMDN1QL::cmdflags, and provide the appropriate host:port combination in the lcb_CMDN1QL::host field. - Currently, analytics support is not used in the cluster map/configuration.

Platform Architecture File
Source Archive Any libcouchbase-2.7.3.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.3_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.3_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.3_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.3_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.3_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.3_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.3_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.3_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.3_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.3_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.3_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.3_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.3_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.3_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.3_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.3_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.3_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.3_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.3_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.3_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.3_amd64_vc14.zip

 

2.7.2 (February 21 2017)

Known Isssues:

As reported in Issue CCBC-766, versions 2.7.1, 2.7.2, and 2.7.3 may result in a stuck client, where operations may consistently fail after a node has been failed over, even if a replica node is available. Users may work around this issue by:

  • Rebalancing the cluster
  • Bringing the failed over node online
  • Downgrading to 2.7.0 or lower.

This release consists of additional internal refactoring and some improved logging messages. There is enhanced experimental XATTR support. This release also contains some bug fixes:

  • Fix build issues on FreeBSD. This allows normal BSD make to be used, rather than forcing gmake

  • Fixed broken JIRA link in README

  • Fix hanging SSL connections in IOCP/Completion mode. This would sometimes stall the connection by not requesting a write if a read was in progress. This would result in the command not being sent and the client hanging. Note that this only affects completion-style I/O plugins such as IOCP and libuv.

  • Rename LCB_SDSPEC_F_VIRTPATH to LCB_SDSPEC_F_MACROVALUES. VIRTPATH is intended for possible future materialized XATTRs.

  • Add LCB_SDSPEC_F_XATTR_DELETED_OK, which maps to the protocol flag of roughly the same name.

 

Platform Architecture File
Source Archive Any libcouchbase-2.7.2.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.2_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.2_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.2_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.2_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.2_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.2_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.2_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.2_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.2_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.2_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.2_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.2_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.2_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.2_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.2_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.2_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.2_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.2_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.2_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.2_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.2_amd64_vc14.zip

2.7.1 (January 20 2017)

Known Isssues:

As reported in Issue CCBC-766, versions 2.7.1, 2.7.2, and 2.7.3 may result in a stuck client, where operations may consistently fail after a node has been failed over, even if a replica node is available. Users may work around this issue by:

  • Rebalancing the cluster
  • Bringing the failed over node online
  • Downgrading to 2.7.0 or lower.

This release consists of additional internal refactoring. More internals have been converted to C++.

  • Provide XATTR (Extended Attribute) prototype support. This provides a prototype implementation of xattrs, allowing the client to access extended (hidden) attributes of a document. This feature can be used on the client side by simply setting the LCB_SDSPEC_F_XATTRPATH bit in the lcb_SDSPEC::options field.

  • Add automatic DNS SRV record lookup when simple hostname supplied. The library will now automatically attempt to look up SRV records for various couchbase services if only one host is present in the connection string. Automatic lookup will not be performed if more than a single host is provded. See the Java Documentationon the matter (go to the bottom of the page).

Platform Architecture File
Source Archive Any libcouchbase-2.7.1.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.1_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.1_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.1_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.1_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.1_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.1_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.1_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.1_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.1_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.1_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.1_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.1_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.1_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.1_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.1_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.1_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.1_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.1_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.1_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.1_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.1_amd64_vc14.zip

2.7.0 (December 21 2016)

This release contains many significant internal enhancements. It does not fix any known bugs or add any new features.

Platform Architecture File
Source Archive Any libcouchbase-2.7.0.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.7.0_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.7.0_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.7.0_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.7.0_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.7.0_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.7.0_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.7.0_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.7.0_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.7.0_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.7.0_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.7.0_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.7.0_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.7.0_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.7.0_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.7.0_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.7.0_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.7.0_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.7.0_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.7.0_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.7.0_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.7.0_amd64_vc14.zip

2.6.4 (November 28 2016)

  • Fix bug in pillowfight where large value sizes would cause a segfault.

  • Allow 64 bit values with cbc-incr and cbc-decr.

  • Fix encoding in lcb_n1p_setconsistent_token. This function would encode it as scan_vector but it should be scan_vectors.

  • Refactor negotiation internals to use C++. This is part of an internal refactoring to move our internals over to C++. This will make the code more manageable and extendable in the future.

Platform Architecture File
Source Archive Any libcouchbase-2.6.4.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.6.4_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.6.4_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.6.4_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.6.4_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.6.4_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.6.4_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.6.4_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.6.4_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.6.4_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.6.4_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.6.4_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.6.4_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.6.4_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.6.4_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.6.4_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.6.4_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.6.4_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.6.4_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.6.4_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.6.4_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.6.4_amd64_vc14.zip

2.6.3 (September 27 2016)

  • Fix memory corruption for some JSON APIs when no rows are returned. This fixes a bug where the JSON parser would read from garbage memory when parsing a response that had no rows, but due to a slow network, would be received in multiple chunks. This affects N1QL, CBFT, and View APIs.

  • Allow to adjust bytes to read per event loop iteration. This allows applications with high network throughput but low CPU capacity to prevent the library from oversaturating a specific event callback invocation or starve other sockets. It may be controlled through the read_chunk_size connection string option or via lcb_cntl_string.

  • Use htonll for CAS values. This allows a consistent representation of CAS values regardless of underlying platform. This allows interoperability between other SDKs with respect to exchanging CAS values. This however may break interoperability with older versions of the same SDK, if the CAS value is being passed around (which it shouldn't be).

  • New subdocument additions. This adds the LCB_SUBDOC_F_MKDOCUMENT flag which allows document creation if the document does not exist, and can be used for mutation operations which may create new paths or values. TheLCB_SUBDOC_CMD_GET_COUNT is also added, which is a new command which retrieves the number of elements (for an array) or key-value items (within an object/dictionary) of a given path. Both these features require Couchbase Server 4.6 (or its prereleases).

Platform Architecture File
Source Archive Any libcouchbase-2.6.3.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.6.3_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.6.3_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.6.3_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.6.3_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.6.3_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.6.3_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.6.3_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.6.3_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.6.3_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.6.3_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.6.3_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.6.3_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.6.3_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.6.3_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.6.3_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.6.3_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.6.3_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.6.3_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.6.3_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.6.3_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.6.3_amd64_vc14.zip

C SDK Version 2.6.2 (July 27 2016)

  • Don't crash on high number of FDs with select plugin. Because select(2) can only accomodate up to a certain number of file descriptors in the application, if opening a socket results in a too-high-numbered FD, the plugin will return an error rather than silently failing during polling.

  • Pillowfight can now set ttl (expiry). This is done via the -e or --expiry option.

  • Log URLs of HTTP requests. This may make it easier to debug some HTTP-based APIs. The URLs are printed as part of the TRACE logging level.

  • Fix crash on shutdown with completion-based I/O. The crash was a result of dereferencing the lcb_t after it had been destroyed. This bug affected completion-based I/O subsystems such as libuv and IOCP.

  • Do not require operation field to be set on lcb_CMDSTORE. Starting from this version, a new lcb_storage_t constant,LCB_UPSERT has been added with a value of 0. This means that upsert operations no longer need to explicitly useLCB_SET, it being the default.

Platform Architecture File
Source Archive Any libcouchbase-2.6.2.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.6.2_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.6.2_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.6.2_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.6.2_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.6.2_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.6.2_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.6.2_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.6.2_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.6.2_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.6.2_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.6.2_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.6.2_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.6.2_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.6.2_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.6.2_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.6.2_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.6.2_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.6.2_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.6.2_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.6.2_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.6.2_amd64_vc14.zip

C SDK Version 2.6.1 (June 21 2016)

  • Index management API now properly handles 'fields' field. Previously this was treated as a csv string, when it is in fact a JSON array.

  • pillowfight now has a --populate-only option, which is useful when simply trying to populate buckets with large amounts of data.

  • Allow to bypass OpenSSL initialization. This allows applications which already have OpenSSL intialization code in place to suppress libcouchbase's own OpenSSL initialization code. You can disable SSL initialization by usingssl=no_global_init in the connection string.

  • Allow to toggle sending of multiple credentials in N1QL queries. You can use the LCB_CMD_F_MULTIAUTH in thelcb_CMDN1QL::cmdflags field to indicate that multiple credentials should be added. Otherwise only the current bucket's credentials will be sent.

  • Fix infinite loop on completion (UV,nodejs,IOCP) type IO plugins. This bug would be triggered when only a single server remained in the cluster and that single server failed. This would result in the client never being able to perform operations due to a delayed reference count decrement.

Platform Architecture File
Source Archive Any libcouchbase-2.6.1.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.6.1_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.6.1_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.6.1_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.6.1_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.6.1_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.6.1_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.6.1_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.6.1_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.6.1_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.6.1_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.6.1_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.6.1_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.6.1_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.6.1_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.6.1_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.6.1_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.6.1_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.6.1_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.6.1_amd64_vc11.zip
Visual Studio 2015 x86 libcouchbase-2.6.1_x86_vc14.zip
Visual Studio 2015 x64 libcouchbase-2.6.1_amd64_vc14.zip

C SDK Version 2.6.0 (May 2016)

  • Improve index management API and implementation. The rawjson field was being ignored and the condition field was missing as well.
  • Add pillowfight support for subdoc. At the simplest level you can simply invoke pillowfight as cbc-pillowfight --subdoc --json <other args>. Refer to the pillowfight documentation for more details.
Platform Architecture File
Source Archive Any libcouchbase-2.6.0.tar.gz
Ubuntu 12.04 x86 libcouchbase-2.6.0_ubuntu1204_i386.tar
Ubuntu 12.04 x64 libcouchbase-2.6.0_ubuntu1204_amd64.tar
Ubuntu 14.04 x86 libcouchbase-2.6.0_ubuntu1404_i386.tar
Ubuntu 14.04 x64 libcouchbase-2.6.0_ubuntu1404_amd64.tar
Ubuntu 16.04 x86 libcouchbase-2.6.0_ubuntu1604_i386.tar
Ubuntu 16.04 x64 libcouchbase-2.6.0_ubuntu1604_amd64.tar
Debian Wheezy x86 libcouchbase-2.6.0_wheezy_i386.tar
Debian Wheezy x64 libcouchbase-2.6.0_wheezy_amd64.tar
Debian Jessie x86 libcouchbase-2.6.0_jessie_i386.tar
Debian Jessie x64 libcouchbase-2.6.0_jessie_amd64.tar
Enterprise Linux 6 x86 libcouchbase-2.6.0_centos62_i686.tar
Enterprise Linux 6 x64 libcouchbase-2.6.0_centos62_x86_64.tar
Enterprise Linux 7 x64 libcouchbase-2.6.0_centos7_x86_64.tar
Visual Studio 2008 x86 libcouchbase-2.6.0_x86_vc9.zip
Visual Studio 2008 x64 libcouchbase-2.6.0_amd64_vc9.zip
Visual Studio 2010 x86 libcouchbase-2.6.0_x86_vc10.zip
Visual Studio 2010 x64 libcouchbase-2.6.0_amd64_vc10.zip
Visual Studio 2012 x86 libcouchbase-2.6.0_x86_vc11.zip
Visual Studio 2012 x64 libcouchbase-2.6.0_amd64_vc11.zip