Hey folks, just a quick update that we have released version 1.3.5 of Couchbase .NET SDK! This a maintenance release and includes the following fixes:
- NCBC-438: Add finalizer to CouchbaseClient to ensure resources are released
Add a destructor to CouchbaseClient which disposes the SocketPool which gives reliable socket tear down for applications cleanly terminating.
- NCBC-425: SetSocketOption throws exception under mono runtime
This fixes the bug that threw the exception and makes the LingerOptions an optional configuration by adding lingerEnabled and lingerTime options to the socketPool configuration in the app.config. The socket will use the default linger options (as defined by the IP stack) if lingerEnabled is false or not set in the configuration. If lingerEnabled is true and the lingerTime value is specified is zero, then no linger time will be used. If lingerEnabled is true and the lingerTime is greater than zero, the linger time will be set to the value specified in the lingerTime option. You can change these values like so in the App.Config:
Ref: LingerOption Class MSDN
- NCBC-388: Improve NUnit Tests
DeleteBucket() should be called before checking that the bucket is deleted and is no longer listed.
- NCBC-415: Fixes regression bug in which wrong GetView overload was called
This is the same fix as NCBC-425 but adds Unit Tests.
- NCBC-416: Method overloading ambiguity with named parameters
This is a fix for a regression bug where the method overloading was differentiated with return type only; hence wrong method was invoked from public IView GetView(string designName, string viewName). This caused the rows to be null when iterating over a view with no output other than it’s keys.
- NCBC-399: Standardize to SPACES for indenting in source files
Replaced all tabs with four spaces per the VS standard
How to Get It
A Special Thanks
I want to give a shout out to Jim Walker and Virat Swarswat who contributed patches to this release. The client is an open-source project and needs community involvement to succeed!