couchbasepecl.php.netCouchbase Server PHP extensionThe PHP client library provides fast access to documents stored in a Couchbase Server.Sergey Avseyevavsejsergey@couchbase.comyes2020-02-042.6.22.3.0stablestableApache V2
* fixed possible segfault in N1QL request
* fixed windows build for PHP 7.4
* PCBC-646: Fixed issue with blank string decoding.
5.6.01.4.8igbinarypecl.php.netigbinarycouchbase2019-06-032.6.12.3.0stablestableApache V2
* documentation updates
* improved test integration with CouchbaseMock
2018-10-052.6.02.3.0stablestableApache V2
* PCBC-562: Allow disabling caching (persistent) connections by setting couchbase.pool.max_idle_time_sec to zero.
* PCBC-560: Positional, named and raw parameters for Analytics
2018-08-102.5.12.3.0stablestableApache V2
* PCBC-557: Better FTS example
* PCBC-533: Implement experimental FTS index management API
2018-07-052.5.02.3.0stablestableApache V2
* PCBC-551: Do not complain about missing igbinary on start
* PCBC-552: Pass logger to lcb_create to catch all log messages
* PCBC-553: Check if crypto provider implements IV and signatures
* PCBC-554: Fix search query descending order to use "desc"
* PCBC-544: Implement CertAuthenticator for extra checks
* Fixes for PHP 7.3
2018-06-072.4.72.3.0stablestableApache V2
* PCBC-534: Add profile N1QL query parameter.
* PCBC-538: do not dereference NULL values after encoding.
* PCBC-549, PCBC-541: Update crypto interfaces.
2018-04-132.4.62.3.0stablestableApache V2
* PCBC-523: Add tracing support for queries and the rest of KV commands.
* PCBC-536: Make it clear that timeout properties use microseconds.
* PCBC-531: Field encryption (See https://packagist.org/packages/couchbase/couchbase-encryption).
* PCBC-537: Implement Bucket#getName() returning bucket name.
2018-03-092.4.52.3.0stablestableApache V2
* PCBC-527: Initial tracing implementation. The extension checks if libcouchbase has tracing support, and sets up hooks for fetch/persist operations to report encoding/decoding times. This functionality is preview and is not enabled by default.
* PCBC-519: Implement log redaction. When `log_redaction=on` is specified in the connection string, the library will wrap sensitive data in the logs in special tags, which can be processed by the `cblogredaction` tool from the server distribution.
2018-02-122.4.42.3.0stablestableApache V2
* PCBC-508: Add support for FTS advanced sorting
2018-01-042.4.32.3.0stablestableApache V2
* PCBC-518: Detect and cleanup connections left in bad state
* PCBC-525: Fix memory leak for schemaless connspec
* PCBC-497: Add health check functions
* PCBC-524: Fix memory leak when using authenticateAs()
* PCBC-520: Add example for authentication with x.509 certificate
* PCBC-522: Check username/password for NULL in Classic Authenticator
* PCBC-516: Append information about runtime to HELLO string
2017-11-132.4.22.3.0stablestableApache V2
* PCBC-515: allow to specify expiration for subdocument mutations
* PCBC-509: implement fulldoc operations for subdoc API
* PCBC-442: fail fast view requests on ephemeral buckets
* PCBC-513: make public API non-final (remove final attribute from classes and methods)
2017-10-052.4.12.3.0stablestableApache V2
* PCBC-493: Implement subdoc GET_COUNT API.
* Update AnalyticsQuery API: removed experimental hostname() method as it derived from cluster config now.
* Allow to override default pool connectime idle time with `couchbase.pool.max_idle_time_sec` INI setting.
* PCBC-503, PCBC-504: Improve running tests.
2017-09-052.4.02.3.0stablestableApache V2
* Add more examples (XATTRs and RBAC user management).
* PCBC-505: Enable error maps for libcouchbase 2.8.0. For higher versions it will be enabled by libcouchbase.
* PCBC-499: Expose more query options on N1QL query for advanced tuning query performance
* PCBC-485: Expose enhanced error message. The server might fill properties "context" and "ref" of the error.
2017-07-192.3.42.3.0stablestableApache V2
* PCBC-495: update user management APIs
* PCBC-478: add tests for Error Map using CouchbaseMock
2017-05-312.3.32.3.0stablestableApache V2
* PCBC-487: Fix adhoc vs prepared query logic. It should be inversed manually before 2.3.3.
* PCBC-494: Fix double free error in passthruEncoder
* PCBC-475: Add support for Term Range Query (full text search).
* PCBC-475: Add support for geo search queries.
* PCBC-468: Add support for user CRUD in ClusterManager
* PCBC-489: Add shortcut for PasswordAuthenticator as Cluster->authenticateAs($username, $password)
2017-05-022.3.22.3.0stablestableApache V2
* PCBC-473: fix incorrect bucket reference copy in subdocument
mutation/lookup builders, which might lead to segfault.
* PCBC-474: fix segfault when using ViewQuery::keys()
* PCBC-476: do not call destructors on unintialized ZVALs. Fixes possible
segfaults with view queries on PHP 5.x.
* PCBC-477: lookup JsonSerializable interface in run time, instead of compile time
using php_json_serializable_ce symbol. This fixes support on some 5.4-5.5 builds.
* PCBC-479: do not allow to create objects in invalid state. For example Cluster
might return an instance, and only show PHP warning on invalid arguments.
* PCBC-481: Bucket->counter() without specifying delta value results in
null pointer dereference.
* PCBC-482: mapSize/setExists/setRemove methods of Bucket did not check if 'get'
sub-request had thrown exception. This cause segfault, if operation executed on
keys which do not exist.
* PCBC-453: verify that ClusterManager supports ephemeral buckets
* PCBC-451: add RBAC support in \Couchbase\PasswordAuthenticator class (Couchbase
Server 5.x feature).
* PCBC-440: add experimental support of extended attributes for subdocument operations.
2017-04-052.3.12.3.0stablestableApache V2
* PCBC-459: restore \Couchbase\Bucket::unlock() method, which has been
lost in refactoring
* PCBC-460: prefer managed strings to persistent when storing document
values.
* PCBC-461: deallocate intermediate results when using encoder compression
* PCBC-462: replace new lines in log entries with space
* PCBC-464: fix NumericRangeFacet with NULL boundary on PHP 5.4
* PCBC-463: fix incorrect reference counting on Search API. (might lead to
segfaults and leaks)
* PCBC-465: check encoded ViewQuery before sending to libcouchbase
* PCBC-467: intermediate values in Datastructures API might leak.
(e.g. result of internal "get" to find out size of the list)
* PCBC-469: implement SearchQuery->sort() function to support sorting FTS
results, which is accessible in Couchbase Server 4.6+
* PCBC-471: fixed issue, when the library always use credentials for the
first bucket in Authenticator.
* PCBC-441: add experimental support of Analytics query.
https://developer.couchbase.com/documentation/server/4.5/analytics/introduction.html
2017-03-072.3.02.3.0stablestableApache V2
* PCBC-443: Remove PCS dependency and rewrite PHP stubs using Zend C API
* PCBC-382: Implement cluster-level authorization using ClassicAuthenticator
* Migrate API to \Couchbase namespace (old API still available on toplevel as aliases,
see tests/AliasesTest.php)
* PCBC-383: Cross-bucket joins for N1QL (see examples/api/couchbase.N1qlQuery.crossBucket.php)
* Refresh API documentation, describe all input options, put everything into single file
(see api/*.php), and prepare them for PHPStorm (https://github.com/JetBrains/phpstorm-stubs/pull/180)
* PCBC-386: Implement Datastructures API: List, Set, Map and Queue (see tests/DatastructuresTest.php)
* Improve connection management, persistent connections by default, track and close idle connections.
2016-12-262.2.42.2.0stablestableApache V2
This is the GA release of the 2.2.4 SDK. It is a maitenance release
with several fixes:
Changes:
* PCBC-401: embed PHP classes using pcs. This fixes performance issue,
where the extension spending time during each request to evaluate
and load Couchbase classes written in PHP. The pecl/pcs extension
have to be installed and loaded before loading couchbase SDK.
* PCBC-439: reset MCISCOMPRESSED before type detection.
This fixes decoding compressed values.
* PCBC-438: install callback for replica read command.
This fixes getFromReplica() returning NULL.
* Documentation updates and bug fixes
2016-10-042.2.32.2.0stablestableApache V2
This is the GA release of the 2.2.3 SDK. It is a maitenance release
with several fixes:
Changes:
* PCBC-389: deserialize legacy docs as JSON with falling back to old behaviour
* PCBC-428: use correct exception when credentials missing for CouchbaseClusterManager
* Documentation updates and bug fixes
2016-09-062.2.22.2.0stablestableApache V2
This is the GA release of the 2.2.2 SDK. It is a maitenance release
with several fixes:
Changes:
* PCBC-410: consolidate libcouchbase and extension loggers, and expose them through PHP logger
* PCBC-409: bubble errors from server on view upsert
* PCBC-417: do not send duplicated requests for multi-get
* PCBC-423: report N1QL error details via logger
* Documentation updates and bug fixes
2016-08-082.2.12.2.0stablestableApache V2
This is the GA release of the 2.2.1 SDK. It is a maitenance release
with several fixes:
Changes:
* PCBC-416: fix segfault on multi-get for duplicated keys.
* PCBC-414: return $this from N1qlQuery methods
* Documentation updates and bug fixes
2016-07-062.2.02.2.0stablestableApache V2
This is the GA release of the 2.2.0 SDK. It includes more features
to support new Couchbase Server 4.5 release and bug fixes.
Changes:
* PCBC-393: Support for enhanced durability
* PCBC-398: expose methods for parameterized N1QL queries
* PCBC-382: cluster level authentication
* Expose meta for N1QL and Search queries
* Documentation updates and bug fixes
2016-06-292.2.0beta42.2.0betabetaApache V2
This is the fourth beta release of the 2.2.0 SDK. It includes more features
to support new Couchbase Server 4.5 release and bug fixes.
Changes:
* PCBC-380: support AT_PLUS consistency
* PCBC-381: support for Full Text Search queries
* Various minor fixes and improvements
2016-05-252.2.0beta32.2.0betabetaApache V2
This is third beta release of 2.2.0 SDK. It includes more features
to support upcoming Couchbase Server release, stability fixes and
smaller improvements.
Changes:
* PCBC-379: Support for Subdocument API
* PCBC-385: Support for Index Management
* PCBC-394: Expose CAS as a bytestring
* PCBC-392: Client announce its version in the server logs
* PCBC-397: Additive connection string options are not clobbered anymore
* PCBC-395: Type checks properly enforced for booleans
* Various minor changes
2016-04-192.2.0beta22.2.0betabetaApache V2
This is a minor update to the PHP 2.2.0 Beta SDK.
It includes fixes in package manifest and build script.
2016-04-192.2.0beta12.2.0betabetaApache V2
This is a major update to the PHP 2.2 SDK.
Changes:
* PCBC-360: refactoring to support PHP 7
* PCBC-376: reentrant transcoders
* PCBC-369: allow to use system fastlz
* PCBC-373: ensure view query values are properly url encoded
* Various minor changes
2015-11-042.1.02.1.0stablestable
This is a minor update to the PHP 2.1 SDK.
Changes:
* PCBC-356: Added support for N1QL prepared statements.
* PCBC-363: Fix issue related to passing invalid ID arguments.
* PCBC-366: Correct issue with legacy transcoder compression.
* Various minor changes
2014-04-282.0.0dp12.0.0dp1betabeta
First developer preview release of 2.0 version of PHP client.
2014-06-242.0.0dp22.0.0dp2betabeta
This is a minor update to the existing PHP 2.0 developer
preview.
New features in a nutshell:
* Cluster constructor now accepts a Couchbase Connection String.
* Support for cross-SDK compatible data-type flags.
* Client-side support for SSL connections.
2014-08-212.0.0beta2.0.0betabetabeta
This is a minor update to the existing PHP 2.0 developer preview
2.
Changes:
* Added uncommited by stable management APIs.
* Made minor changes to various methods to allow easier use.
2014-09-162.0.0beta22.0.0beta2betabeta
This is a minor update to the existing PHP 2.0 beta.
Changes:
* Added support for cross-sdk data storage/retrieval.
* Added method to debug generated view queries.
* Fixed numerous minor bugs since beta.
2014-09-192.0.02.0.0stablestable
This is the first GA release of the new 2.0 PHP SDK.
No changes since release 2.0.0beta2.
2014-11-042.0.12.0.1stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-303: Allow JSON decoding as associative array.
* Added missing append/prepend forwarders.
* Fixed various issues with query creation and execution.
* Corrected various build issues.
2014-12-022.0.22.0.2stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-310: Corrected segfault occuring in some cases when
running under Apache and IIS.
* Updated PHP script executer to provide accurate error
information in Exception stack traces.
* Refactored code base for better maintainability.
2015-01-052.0.32.0.3stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-318: Fix append/prepend operations failing on new libcouchbase.
* PCBC-319: Correct segfault when using persist_to/replicate_to.
* Corrected typo in N1QL query interface.
2015-02-032.0.42.0.4stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-321: Corrected issue when passing incorrect option parameter type.
* Corrected issue related to setting timeouts.
* PCBC-317: Updated N1QL querying to support DP4.
* Fixed issue with design document management methods.
2015-03-032.0.52.0.5stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* Orphan: Corrected issue where durability checking may not propagate errors.
* PCBC-327: group_level semantics now support server 3.x.
* Orphan: Corrected issue with some ViewQuery methods.
* PCBC-326: Zero-length strings no longer decode as NULL.
2015-04-072.0.62.0.6stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-331: CouchbaseBucketManager now has a flush operation to clear a bucket.
* Orphan: Minor fix to view management return values.
* Orphan: ViewQuery::group_level now can be chained as expected.
* PCBC-334: PHP 5.4 transcoder compatibility issues have been fixed.
* PHP 5.3 support has been deprecated and PHP 5.6 is now fully supported.
* Corrected various memory leaks and segfaults.
2015-04-222.0.72.0.7stablestable
This is a patch update to the PHP 2.0 SDK.
Changes:
* PCBC-339: Add support for using N1QL with CB Server 4.0.0.
* PCBC-343: Added missing touch method to CouchbaseBucket.
2015-11-042.1.02.1.0stablestable
This is a minor update to the PHP SDK.
Changes:
* PCBC-356: Added support for N1QL prepared statements.
* PCBC-363: Fix issue related to passing invalid ID arguments.
* PCBC-366: Correct issue with legacy transcoder compression.
* Various minor changes