Extensão PHP do MongoDB 1.13.0 – Lançamento
Classifique este anúncio
The PHP team is happy to announce that version 1.13.0 of the mongodb PHP extension is now available on PECL. Thanks also to our intern for 1.13.0, Tanil Su, who added functionality for server discovery and monitoring!
MongoDB\Driver\Manager::\_\_construct()
supports two new URI options: srvMaxHosts
and srvServiceName
.srvMaxHosts
pode ser usado com clusters fragmentados para limitar o número de hospedeiros que serão adicionados a uma lista inicial após a pesquisa inicial de SRV.srvServiceName
pode ser usado com implantações autogerenciadas para personalizar o nome do serviço padrão (i.e. “mongodb”).
This release introduces support for SDAM Monitoring, which applications can use to monitor internal driver behavior for server discovery and monitoring. Similar to the existing command monitoring API, applications can implement the
MongoDB\Driver\Monitoring\SDAMSubscriber
interface and registering the subscriber globally or for a single Manager using MongoDB\Driver\Monitoring\addSubscriber()
or MongoDB\Driver\Manager::addSubscriber
, respectively. In addition to many new event classes, this feature introduces the ServerDescription and TopologyDescription classes.Esta versão também atualiza nossas dependências libbson e libmongoc para 1.21.1. A dependência libmongocrypt foi atualizada para 1.3.2.
Note that support for MongoDB 3.4 and earlier has been removed.
A complete list of resolved issues in this release may be found at: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=12484&version=32494
Documentation is available on PHP.net:
http://php.net/set.mongodb
Você pode baixar e instalar a fonte manualmente ou instalar a extensão com:
pecl install mongodb-1.13.0
ou atualize com:pecl upgrade mongodb-1.13.0
Windows binaries are available on PECL:
http://pecl.php.net/package/mongodb