mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-20 19:08:54 +00:00

This interface extends Iterator and is implemented internally by MongoCursor and MongoCommandCursor. In addition to the interface methods, "see also" links were added on the implemented methods to point back to the interface documentation (as we did for Iterator methods). https://jira.mongodb.org/browse/PHP-1328 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335760 c90b9560-bf6c-de11-be94-00142212c4b1
125 lines
5.6 KiB
XML
125 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<appendix xmlns="http://docbook.org/ns/docbook" xml:id="changelog.mongo" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>&ChangelogListingTitle;</title>
|
|
<para>&ChangelogListingDescription;</para>
|
|
|
|
<simplesect xml:id="changelog.mongo.1.5">
|
|
<title>MongoDB PHP Driver 1.5.0</title>
|
|
<para>
|
|
It supports all new features for MongoDB 2.6, including:
|
|
|
|
<simplelist>
|
|
<member>Aggregate can now return a cursor</member>
|
|
<member>Aggregation pipelines can now be explained</member>
|
|
<member>Possible to set maxTimeMS for commands and queries</member>
|
|
<member>Transparent support for the new command-based MongoDB write API</member>
|
|
<member>New MongoWriteBatch classes (using the new MongoDB write API)</member>
|
|
<member>Support for MongoDB Enterprise features (e.g. Kerberos, LDAP, X509)</member>
|
|
<member>Option to tune acceptable server latency for secondary reads (secondaryAcceptableLatencyMS)</member>
|
|
</simplelist>
|
|
</para>
|
|
<para>
|
|
With this release, some driver functionality which was previously
|
|
documented as deprecated will now formally raise deprecation notices. This
|
|
includes:
|
|
<simplelist>
|
|
<member>Instantiating the Mongo class</member>
|
|
<member>Calling MongoCursor::slaveOkay()</member>
|
|
<member>"wtimeout" and "safe" options for MongoCollection write operations</member>
|
|
<member>Manipulating public properties on core classes (such as $collection->w)</member>
|
|
</simplelist>
|
|
</para>
|
|
<note>
|
|
<para>
|
|
No previously deprecated features have been removed.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Changes in behaviour:
|
|
<simplelist>
|
|
<member>Setting the mongo.native_long INI setting now raises an error on 32-bit
|
|
platforms, and now defaults to true for 64-bit platforms.</member>
|
|
</simplelist>
|
|
</para>
|
|
</simplesect>
|
|
|
|
<simplesect xml:id="changelog.mongo.1.4">
|
|
<title>MongoDB PHP Driver 1.4.0</title>
|
|
<para>
|
|
The 1.4 series introduced fundemental changes in how connections are created to the MongoDB servers.
|
|
The driver now utilizes PHP native streams, so all normal PHP stream options apply.
|
|
Furthermore, an experimental Stream Context Support was added.
|
|
</para>
|
|
<para>
|
|
The 1.4.x series also added support for MongoDB 2.4.x.
|
|
</para>
|
|
<para>
|
|
The most important improvements however deal with the handling of replica sets,
|
|
especially nodes that timeout and nodes that are unreachable for various
|
|
reasons. Besides the improvements to replica set handling, this release
|
|
addresses issues with read preferences through mongos nodes. It also
|
|
adds support for SSL enabled connections as well as journal and fsync
|
|
connection string options.
|
|
</para>
|
|
</simplesect>
|
|
|
|
<simplesect xml:id="changelog.mongo.1.3">
|
|
<title>MongoDB PHP Driver 1.3.0</title>
|
|
<para>
|
|
The 1.3 series introduced several major changes to the extension such as
|
|
completely rewritten <link linkend="mongo.connecting">connection
|
|
handling</link> (and removal of the pooling mechanism), support for
|
|
<link linkend="mongo.readpreferences">ReadPreferences</link> and change the
|
|
default <link linkend="mongo.writes">WriteConcerns</link> to be
|
|
<emphasis>acknowledged</emphasis> by introducing a new class
|
|
<link linkend="class.mongoclient">MongoClient</link> which serves as a
|
|
replacement class for the now deprecated <classname>Mongo</classname> class.
|
|
</para>
|
|
<para>
|
|
The driver now also supports connecting to multiple mongos instances (the
|
|
Mongo Shard router) for loadbalancing.
|
|
</para>
|
|
<para>
|
|
Other enhancements include improved logging for easier connection handling
|
|
debugging with <classname>MongoLog</classname> and support for the
|
|
<link xlink:href="&url.mongodb.docs.aggregation;">Aggregation Framework</link>
|
|
via the <methodname>MongoCollection::aggregate</methodname> method.
|
|
</para>
|
|
</simplesect>
|
|
|
|
|
|
<simplesect>
|
|
<title>Changes to existing methods</title>
|
|
<para>
|
|
Following is a list of all improvements to existing methods since
|
|
their inception.
|
|
</para>
|
|
<?phpdoc generate-changelog-for="mongo.batch mongo.connecting mongo.context mongo.core mongo.exceptions mongo.gridfs mongo.manual mongo.manual.intro mongo.miscellaneous class.mongo class.mongobindata class.mongoclient class.mongocode class.mongocollection class.mongocommandcursor class.mongoconnectionexception class.mongocursor class.mongocursorinterface class.mongocursorexception class.mongocursortimeoutexception class.mongodate class.mongodb class.mongodbref class.mongodeletebatch class.mongoduplicatekeyexception class.mongoexception class.mongoexecutiontimeoutexception class.mongogridfs class.mongogridfscursor class.mongogridfsexception class.mongogridfsfile class.mongoid class.mongoinsertbatch class.mongoint32 class.mongoint64 class.mongolog class.mongomaxkey class.mongominkey class.mongopool class.mongoprotocolexception class.mongoregex class.mongoresultexception class.mongotimestamp class.mongoupdatebatch class.mongowritebatch class.mongowriteconcernexception mongo.queries mongo.readpreferences ref.mongo mongo.security mongo.setup mongo.sqltomongo mongo.testing mongo.trouble mongo.tutorial mongo.types mongo.updates mongo.writeconcerns mongo.writes" ?>
|
|
</simplesect>
|
|
|
|
|
|
</appendix>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|