Jelajahi Sumber

Merge pull request #81 from alcaeus/release-1.0

Update resources for 1.0.0 release
Andreas 9 tahun lalu
induk
melakukan
5bdafb9051
3 mengubah file dengan 25 tambahan dan 11 penghapusan
  1. 20 0
      CHANGELOG-1.0.md
  2. 4 10
      README.md
  3. 1 1
      composer.json

+ 20 - 0
CHANGELOG.md → CHANGELOG-1.0.md

@@ -3,6 +3,26 @@ CHANGELOG
 
 This changelog references the relevant changes done in minor version updates.
 
+1.0.0 (2016-03-18)
+------------------
+
+All issues and pull requests under this release may be found under the
+[1.0.0](https://github.com/alcaeus/mongo-php-adapter/issues?q=milestone%3A1.0.0)
+milestone.
+
+ * [#74](https://github.com/alcaeus/mongo-php-adapter/pull/74) fixes running an
+ aggregation command and returning a result document instead of a result cursor.
+ This bug was fixed in the underlying mongo-php-library.
+ * [#71](https://github.com/alcaeus/mongo-php-adapter/pull/71) adds checks to
+ all class files to prevent class declarations when `ext-mongo` is already
+ loaded and not using an autoloader.
+ * [#72](https://github.com/alcaeus/mongo-php-adapter/pull/72) fixes wrong
+ argument order in the constructor for the `Timestamp` type.
+ * [#75](https://github.com/alcaeus/mongo-php-adapter/pull/75) adds a warning to
+ `MongoCursor::timeout` to let people now cursor timeouts are no longer supported.
+ * [#77](https://github.com/alcaeus/mongo-php-adapter/pull/77) adds support for
+ the `update` option in `findAndModify` calls.
+
 1.0.0-BETA1 (2016-02-17)
 ------------------------
 

+ 4 - 10
README.md

@@ -19,12 +19,6 @@ but want to migrate to PHP 7 or HHVM on which ext-mongo will not run.
 You should not be using this library if you do not rely on a library using
 `ext-mongo`. If you are starting a new project, please check out [mongodb/mongodb](https://github.com/mongodb/mongo-php-library).
 
-# Stability
-
-This library is still in development and not stable enough to be used in
-production. In addition to the known issues outlined below, other issues or
-fatal errors may occur. Please use at your own risk.
-
 # Installation
 
 This library requires you to have the `mongodb` extension installed, and it
@@ -34,9 +28,9 @@ The preferred method of installing this library is with
 [Composer](https://getcomposer.org/) by running the following from your project
 root:
 
-    $ composer require "alcaeus/mongo-php-adapter=^1.0.0@beta"
+    $ composer require alcaeus/mongo-php-adapter
 
-This package declares that it replaces `ext-mongo`; Composer only allows this
+This package declares that it provides `ext-mongo`; Composer only allows this
 replacement to apply if `composer.json` or a dependency contain a requirement,
 see [composer/composer#2690](https://github.com/composer/composer/issues/2690).
 
@@ -45,7 +39,7 @@ Therefore, you either need to have a dependency on a package which requires
 
     "require": {
         "php": "^7.0",
-        "alcaeus/mongo-php-adapter": "^1.0.0@beta",
+        "alcaeus/mongo-php-adapter": "^1.0.0",
         "doctrine/mongodb": "dev-master"
     }
 
@@ -53,7 +47,7 @@ or you need to explicitly require `ext-mongo` yourself in `composer.json`:
 
     "require": {
         "php": "^7.0",
-        "alcaeus/mongo-php-adapter": "^1.0.0@beta",
+        "alcaeus/mongo-php-adapter": "^1.0.0",
         "ext-mongo": "*"
     }
 

+ 1 - 1
composer.json

@@ -17,7 +17,7 @@
         "phpunit/phpunit": "^4.8 || ^5.0"
     },
     "provide": {
-        "ext-mongo": "1.6.12"
+        "ext-mongo": "1.6.13"
     },
     "autoload": {
         "psr-0": {