2.0.0

Added

  • CouchClient

    • getMemberShip()

    • getConfig($nodeName[,$section,$key])

    • setConfig($nodeName,$section,$key,$value)

    • deleteConfig($nodeName,$section,$key)

  • Composer installation now available

Updated

  • CouchAdmin($client,$options)

  • Updated few tests cases


2.0.1

Added

  • CouchClient

    • getIndexes()

    • createIndex(array $fields, $name = null, $ddoc = null, $type = ‘json’)

    • find($selector, array $fields = null, $sort = null, $index = null)

    • explain($selector, array $fields = null, $sort = null, $index = null)

  • CouchClientTest

    • getIndexesTest()

    • createIndexTest()

    • findTest()

    • explainTest()

  • changelist.md

  • codestyle.md

Updated

  • Refactored all the code to follow our code style

  • Travis config to run CheckStyle

  • Code example to correct syntax

Fixed

  • Allow to use _users and _replicator databases directly


2.0.2

Added

  • Couch

    • getAdapter()

    • setAdapter(CouchHttpAdapterInterface $adapter)

    • initAdapter($opts)

  • Adapters

    • CouchHttpAdaterCurl

    • CouchHttpAdapterSocket

  • doc/couch.md

  • changelist.md

Fixed

  • Removed echoes that were causing unexpected output

  • Fixed some classes import

  • Fixed Cookie parsing


2.0.3

Added

  • CouchClient

    • Added query parameters documentation for IDE

  • CouchAdmin

    • setRolesToUser($user,$roles)

  • Added missing tests for the library(code covered at 92%)

  • Added detailed documentation for installation

Updated

  • Fixed continuous stream (changes, continuous replication)

  • Update code examples


2.0.4

Added

  • Configuration

    • PHPOnCouch now supports configuration

    • You can now configure adapters via environment variables or .env files

Updated

  • CouchClient

    • You can now pass credentials separately.

  • Documentation


2.0.5

Updated

  • CouchClient

    • Fixed a bug that prevented user to update document

  • CouchDB 2.1.1 is now supported


2.0.6

Added

  • Support conflicts parameters when querying with find()

  • Make queryAndValid a public function to allow custom requests

Updated

  • Fixed find() that wasn’t returning as array when asArray() was requested.

  • Fixed continuousQuery() regression. The CouchClient is back as the second argument of the callback.


2.0.7

Updated

  • Fixed regression of session/options configuration of the adapters.