New Features and Behaviour Changes in 2.0.0beta
Bundle Windows packages as zip archives
Refactor the API. This is a full redesign of the current libcouchbase API that’ll allow us to extend parts of the API without breaking binary compatibility. Also it renames all functions to have lcb prefix instead of libcouchbase and LCB/LIBCOUCHBASE in macros.
Implement getter for number of nodes in the cluster: lcb_get_num_nodes()
Add lcb_get_server_list() to get current server list
Deliver HTTP headers via callbacks
Implement RESTful flush in the cbc toolset
Merge lcb_get_locked into lcb_get function
Bundle libvbucket
Fix a problem with allocating too few slots in the backup_nodes. Fixes illegal memory access.
Include sys/uio.h. Needed by OpenBSD
Added --enable-fat-binary. Helps to solve
issues when linking with fat binaries on MacOS.
Differentiate between TMPFAILs. This allows a developer to know if the temporary condition where the request cannot be handled is due to a constraint on the client or the server.
Issues: CCBC-98
Correct buffer length for POST/PUT headers
Issues: CCBC-96
Fix switching to backup node in case of server outage
Issues: CCBC-91
Fix locking keys in multi-get mode
Release the memory allocated by the http parser
Issues: CCBC-89
Fix initialization of backup nodes array. The code switching nodes relies on NULL terminator rather than nbackup_nodes variable. Fixes illegal memory access.
Issues: CCBC-90
Default to IPv4 only
Issues: CCBC-80
Reset timer for commands with NOT_MY_VBUCKET response
Issues: CCBC-91
Sync memcached/protocol_binary.h. Pull extra protocol_binary_datatypes declarations.
Fix bug where HTTP method is not set
Don’t try to put the current node last in the backup list. This may cause “duplicates” in the list if the REST server returns another name for the server than you used. Ex: you specify “localhost” and the REST response contains 127.0.0.1
Release ringbuffer in lcb_purge_single_server
Issues: CCBC-92