3.0.0¶
Additions since 2.0.0
Couch
getAdapter()
setAdapter(CouchHttpAdapterInterface $adapter)
initAdapter($opts)
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)
Added query parameters documentation for IDE
You can pass credentials separately
Make queryAndValid a public function to allow custom requests
CouchAdmin
setRolesToUser($user,$roles)
Adapters
CouchHttpAdapterCurl
CouchHttpAdapterSocket
Configuration
PHPOnCouch now supports configuration
You can now configure adapters via environment variables or .env files
New documentation: http://php-on-couch.readthedocs.io/
Changes since 2.0.0
CouchClient
You can now pass credentials separately.
Fixes since 2.0.0
Allow to use _users and _replicator databases directly
Fixed Cookie parsing
Fixed
continuousQuery()
regression. The CouchClient is back as the second argument of the callback.
Breaking changes
Renamed autoload.php to Autoload.php:
Since 2.0.0, an
autoload.php
file was shipped to allow users to automatically import classes if not using the composer autoloader. From 3.0.0, you need need to use Autoload.php instead.
3.0.1¶
Updated¶
Updated PHPDotEnv to 3.3
3.0.2¶
Added¶
Added new build scripts to simplify the usage
Updated¶
Updated PHPDotEnv to 4.1
Fixed¶
Fixed error when database permission were fetched without names or roles.
Fixed
setDsn()
which was not updating the upstreamdsnParts
Fixed
auth_cookie_auth
option that was injecting the
Removed¶
Remove old test files
Remove old config files for the tests