head 1.23; access; symbols pkgsrc-2023Q4:1.21.0.2 pkgsrc-2023Q4-base:1.21 pkgsrc-2023Q3:1.19.0.4 pkgsrc-2023Q3-base:1.19 pkgsrc-2023Q2:1.19.0.2 pkgsrc-2023Q2-base:1.19 pkgsrc-2023Q1:1.18.0.4 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.2 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.16.0.4 pkgsrc-2022Q3-base:1.16 pkgsrc-2022Q2:1.16.0.2 pkgsrc-2022Q2-base:1.16 pkgsrc-2022Q1:1.15.0.4 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.2 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.14.0.4 pkgsrc-2021Q3-base:1.14 pkgsrc-2021Q2:1.14.0.2 pkgsrc-2021Q2-base:1.14 pkgsrc-2021Q1:1.11.0.2 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.9.0.2 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.8.0.4 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.2 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.6.0.2 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.5.0.8 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.4 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.2 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.4.0.2 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.3.0.8 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.2 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.1.0.12 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.8 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.6 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.4 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.2 pkgsrc-2016Q3-base:1.1; locks; strict; comment @# @; 1.23 date 2024.02.28.16.22.25; author taca; state Exp; branches; next 1.22; commitid Wfh8eOOLoEVfBd0F; 1.22 date 2024.02.15.21.46.17; author wiz; state Exp; branches; next 1.21; commitid Z9EcEqnllIrrOzYE; 1.21 date 2023.11.08.13.18.28; author wiz; state Exp; branches; next 1.20; commitid PsuHTklAIsF4bOLE; 1.20 date 2023.10.24.22.08.32; author wiz; state Exp; branches; next 1.19; commitid MTsrqKm6aGrQAVJE; 1.19 date 2023.04.19.08.09.27; author adam; state Exp; branches; next 1.18; commitid B8gCWhWtMX9vZGlE; 1.18 date 2022.12.15.00.02.24; author wiz; state Exp; branches; next 1.17; commitid x1xfK128a6m3kA5E; 1.17 date 2022.11.23.16.19.37; author adam; state Exp; branches; next 1.16; commitid ju2K3LUYlTJKqQ2E; 1.16 date 2022.04.18.19.10.38; author adam; state Exp; branches; next 1.15; commitid eC9Na3jrfOOUpIAD; 1.15 date 2021.12.08.16.03.41; author adam; state Exp; branches; next 1.14; commitid 2PyWjHx5T8rqARjD; 1.14 date 2021.06.04.14.01.20; author taca; state Exp; branches; next 1.13; commitid 2N4Zmqc4lpJVVOVC; 1.13 date 2021.06.04.14.00.35; author taca; state Exp; branches; next 1.12; commitid GoPTUlT4F3EHVOVC; 1.12 date 2021.04.21.11.41.13; author adam; state Exp; branches; next 1.11; commitid fph0Axs0eT3az9QC; 1.11 date 2021.03.07.13.21.57; author taca; state Exp; branches; next 1.10; commitid f9CcQGw2nqoMznKC; 1.10 date 2021.01.03.08.07.51; author taca; state Exp; branches; next 1.9; commitid hCr01bu3YAiARfCC; 1.9 date 2020.11.05.09.07.42; author ryoon; state Exp; branches; next 1.8; commitid VqGaBtHnBBcd5GuC; 1.8 date 2020.06.02.08.23.26; author adam; state Exp; branches; next 1.7; commitid nisovMpvvZm3RCaC; 1.7 date 2020.04.12.08.28.25; author adam; state Exp; branches; next 1.6; commitid 7jZFLCnc3RCww44C; 1.6 date 2020.01.18.21.48.59; author jperkin; state Exp; branches; next 1.5; commitid JW4hJgY8ZdoTFdTB; 1.5 date 2019.04.03.00.32.31; author ryoon; state Exp; branches; next 1.4; commitid pkuNrSZ2MZiLWPhB; 1.4 date 2019.03.05.14.26.42; author adam; state Exp; branches; next 1.3; commitid tIeEmPWdefmCubeB; 1.3 date 2018.01.07.20.56.44; author joerg; state Exp; branches; next 1.2; commitid GKU5FHZSNdHCdZlA; 1.2 date 2017.12.06.21.18.00; author jdolecek; state Exp; branches; next 1.1; commitid zIKh6GV6RB93mShA; 1.1 date 2016.08.04.16.03.53; author jdolecek; state Exp; branches; next ; commitid CSOSoXZwVII7l0hz; desc @@ 1.23 log @databases/php-mongodb: update to 1.17.2 Drop php56 and support php74 and later. Currently, it dose not use databases/mongo-c-driver but use bundled libraries since we don't have databases/libmongocrypt package yet(?). Changes from 1.9.1 is too many to write here, please refer . @ text @# $NetBSD: Makefile,v 1.22 2024/02/15 21:46:17 wiz Exp $ MODNAME= mongodb PECL_VERSION= 1.17.2 CATEGORIES+= databases MAINTAINER= bartosz.kuzma@@gmail.com HOMEPAGE= http://docs.mongodb.org/ecosystem/drivers/php/ COMMENT= MongoDB database driver LICENSE= apache-2.0 PHP_VERSIONS_SUPPORTED= 74 80 81 82 USE_TOOLS+= pkg-config gmake # To use system mongodb library, we require libmongocrypt package. # So, currently bundled libraries. CONFIGURE_ARGS+= --with-mongodb-system-libs=no CONFIGURE_ARGS+= --with-openssl-dir=${BUILDLINK_PREFIX.openssl} CPPFLAGS.NetBSD+= -D_POSIX_C_SOURCE=200809L -D_NETBSD_SOURCE .include "../../security/openssl/buildlink3.mk" #.include "../../databases/mongo-c-driver/buildlink3.mk" .include "../../devel/snappy/buildlink3.mk" .include "../../lang/php/json.mk" .include "../../lang/php/ext.mk" .include "../../mk/bsd.pkg.mk" @ 1.22 log @php-mongodb: doesn't update php 8.3 either XXX: someone should update this @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2023/11/08 13:18:28 wiz Exp $ d4 1 a4 1 PECL_VERSION= 1.9.1 a9 1 PKGREVISION= 6 d12 1 a12 2 # newer versions support 8.1+ PHP_VERSIONS_INCOMPATIBLE= 56 81 82 83 d15 3 a17 2 CONFIGURE_ARGS+= --with-libbson CONFIGURE_ARGS+= --with-libmongoc d19 1 d22 1 a22 1 .include "../../databases/mongo-c-driver/buildlink3.mk" @ 1.21 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2023/10/24 22:08:32 wiz Exp $ d14 1 a14 1 PHP_VERSIONS_INCOMPATIBLE= 56 81 82 @ 1.20 log @*: bump for openssl 3 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2023/04/19 08:09:27 adam Exp $ d10 1 a10 1 PKGREVISION= 5 @ 1.19 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/12/15 00:02:24 wiz Exp $ d10 1 a10 1 PKGREVISION= 4 @ 1.18 log @php-mongodb: mark as not supporting php 8.1 and 8.2 This package needs an update to a newer version to support them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2022/11/23 16:19:37 adam Exp $ d10 1 a10 1 PKGREVISION= 3 @ 1.17 log @massive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2022/04/18 19:10:38 adam Exp $ d13 2 a14 1 PHP_VERSIONS_INCOMPATIBLE= 56 @ 1.16 log @revbump for textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/12/08 16:03:41 adam Exp $ d10 1 a10 1 PKGREVISION= 2 @ 1.15 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2021/06/04 14:01:20 taca Exp $ d10 1 a10 1 PKGREVISION= 1 @ 1.14 log @databases/php-mongodb: reset PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2021/06/04 14:00:35 taca Exp $ d10 1 @ 1.13 log @databases/php-mongodb: update to 1.9.1 1.9.1 (2021-04-07) Bug * [PHPC-1713] - Ensure Cursor::current returns null on invalid positions * [PHPC-1748] - Cursor::key returns valid values on invalid positions * [PHPC-1774] - platform field in connection meta data cuts off PHP version * [PHPC-1775] - php_phongo_dbpointer_init uses incorrect size for strncpy * [PHPC-1793] - Compile failure with PHP's master branch (8.1-dev) * [PHPC-1801] - Fix arginfo for Manager::selectServer Task * [PHPC-1739] - Move CI from travis-ci to GitHub Actions * [PHPC-1808] - Upgrade libbson and libmongoc to 1.17.4 Improvement * [PHPC-1795] - Remove usages of xtrace in shell scripts @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2021/04/21 11:41:13 adam Exp $ a9 1 PKGREVISION= 1 @ 1.12 log @revbump for textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/03/07 13:21:57 taca Exp $ d4 1 a4 1 PECL_VERSION= 1.9.0 d15 1 a15 1 USE_TOOLS+= pkg-config @ 1.11 log @Switch to use lang/php/json.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/01/03 08:07:51 taca Exp $ d10 1 @ 1.10 log @databases/php-mongodb: update to 1.9.0 pkgsrc change: Add PHP_VERSIONS_INCOMPATIBLE to exclude php56. Changes are too many to write here, please refer: @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/11/05 09:07:42 ryoon Exp $ a11 2 DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json d22 1 @ 1.9 log @*: Recursive revbump from textproc/icu-68.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/06/02 08:23:26 adam Exp $ d4 1 a4 1 PECL_VERSION= 1.5.3 a9 1 PKGREVISION= 5 d14 2 @ 1.8 log @Revbump for icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/04/12 08:28:25 adam Exp $ d10 1 a10 1 PKGREVISION= 4 @ 1.7 log @Recursive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/01/18 21:48:59 jperkin Exp $ d10 1 a10 1 PKGREVISION= 3 @ 1.6 log @*: Recursive revision bump for openssl 1.1.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2019/04/03 00:32:31 ryoon Exp $ d10 1 a10 1 PKGREVISION= 2 @ 1.5 log @Recursive revbump from textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2019/03/05 14:26:42 adam Exp $ d10 1 a10 1 PKGREVISION= 1 @ 1.4 log @php-mongodb: updated to 1.5.3 MongoDB PHP Driver 1.5.0: It supports all new features for MongoDB 2.6, including: Aggregate can now return a cursor Aggregation pipelines can now be explained Possible to set maxTimeMS for commands and queries Transparent support for the new command-based MongoDB write API New MongoWriteBatch classes (using the new MongoDB write API) Support for MongoDB Enterprise features (e.g. Kerberos, LDAP, X509) Option to tune acceptable server latency for secondary reads (secondaryAcceptableLatencyMS) With this release, some driver functionality which was previously documented as deprecated will now formally raise deprecation notices. This includes: Instantiating the Mongo class Calling MongoCursor::slaveOkay() "wtimeout" and "safe" options for MongoCollection write operations Manipulating public properties on core classes (such as $collection->w) MongoDB PHP Driver 1.4.0: 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. The 1.4.x series also added support for MongoDB 2.4.x. 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/01/07 20:56:44 joerg Exp $ d10 1 @ 1.3 log @Needs pkg-config. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2017/12/06 21:18:00 jdolecek Exp $ d3 3 a5 3 MODNAME= mongodb PECL_VERSION= 1.3.4 CATEGORIES+= databases d7 4 a10 4 MAINTAINER= bartosz.kuzma@@gmail.com HOMEPAGE= http://docs.mongodb.org/ecosystem/drivers/php/ COMMENT= MongoDB database driver LICENSE= apache-2.0 d12 3 a17 3 USE_TOOLS+= pkg-config DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json a20 1 .include "../../devel/libbson/buildlink3.mk" @ 1.2 log @Update php-mongodb to 1.3.4, mostly to get version which is compatible with PHP 7.2 Changes since 1.1.8: 1.3.4 ** Bug * [PHPC-1053] - UTCDateTime constructor reports that its single argument is required 1.3.3 ** Bug * [PHPC-1045] - Segfault if username is not provided for SCRAM-SHA-1 authMechanism * [PHPC-1046] - Do not specify $external as database name in tests ** Task * [PHPC-1044] - Upgrade libbson and libmongoc to 1.8.2 1.3.2 ** Improvement * [PHPC-1026] - Log warnings instead of throwing for unsupported BSON types 1.3.1 ** Bug * [PHPC-1014] - config.m4 produces unterminated quoted string 1.3.0 ** Bug * [PHPC-586] - Create regression tests for tailable cursor iteration * [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers * [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods * [PHPC-712] - Driver should validate BSON documents before insert and update * [PHPC-875] - Allow compiling without SSL * [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04 * [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception * [PHPC-939] - BSON classes should not assign public properties after var_dump() * [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized * [PHPC-951] - CursorId is a signed 64-bit integer * [PHPC-964] - Ensure SASL output variables are always defined in config.m4 * [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes * [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace * [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5 * [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter * [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds * [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2 * [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value ** Epic * [PHPC-909] - Spring cleaning for 1.3.0 ** New Feature * [PHPC-349] - Application Performance Monitoring (APM) * [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation * [PHPC-471] - BulkWrite::insert() should always return the document's ID * [PHPC-587] - CursorId should serialize to BSON as 64-bit integer * [PHPC-772] - Parse authMechanism options in URI options array * [PHPC-839] - Add option maxAwaitTimeMS on getMore commands * [PHPC-926] - Implement Extended JSON spec * [PHPC-976] - Create isDefault() method for read and write concerns * [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods * [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception ** Task * [PHPC-302] - Throw exceptions for unsupported BSON types * [PHPC-640] - Implement interfaces for userland BSON type classes * [PHPC-765] - Connection string spec compliance * [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0 * [PHPC-907] - Remove PHONGO_API macro for exported symbols * [PHPC-908] - Do not declare MINIT functions for each driver class * [PHPC-910] - Reorganize BSON encoding and decoding sources * [PHPC-911] - Prefix symbols and use static decls whenever possible * [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options * [PHPC-928] - Sync release files in PECL package generation script * [PHPC-929] - Skip BSON corpus test for embedded null in code string * [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects * [PHPC-953] - Do not parse undocumented "database" key in URI options array * [PHPC-957] - Use libmongoc constants for applicable URI options * [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts() * [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0 * [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON() * [PHPC-996] - Remove support for PHP 5.4 * [PHPC-997] - Update date/time handling code due to changes in timelib * [PHPC-1004] - Rename ObjectID to ObjectId * [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0 * [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available ** Improvement * [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument * [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite * [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range * [PHPC-887] - Throw exceptions for unexpected types in URI options array * [PHPC-904] - ReadPreference constructor should accept strings * [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback * [PHPC-935] - Validate filter and options in Query constructor * [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid * [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON * [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting * [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException * [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding 1.2.11 ** Bug * [PHPC-875] - Allow compiling without SSL ** Task * [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available 1.3.0RC1 ** Bug * [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds * [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2 * [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value ** Task * [PHPC-996] - Remove support for PHP 5.4 * [PHPC-997] - Update date/time handling code due to changes in timelib * [PHPC-1004] - Rename ObjectID to ObjectId * [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0 * [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available ** Improvement * [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding 1.2.10 ** Bug * [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2 * [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value ** Task * [PHPC-997] - Update date/time handling code due to changes in timelib 1.3.0beta1 ** Bug * [PHPC-586] - Create regression tests for tailable cursor iteration * [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers * [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods * [PHPC-712] - Driver should validate BSON documents before insert and update * [PHPC-875] - Allow compiling without SSL * [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04 * [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception * [PHPC-939] - BSON classes should not assign public properties after var_dump() * [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized * [PHPC-951] - CursorId is a signed 64-bit integer * [PHPC-964] - Ensure SASL output variables are always defined in config.m4 * [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes * [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace * [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5 * [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter ** Epic * [PHPC-909] - Spring cleaning for 1.3.0 ** New Feature * [PHPC-349] - Application Performance Monitoring (APM) * [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation * [PHPC-471] - BulkWrite::insert() should always return the document's ID * [PHPC-587] - CursorId should serialize to BSON as 64-bit integer * [PHPC-772] - Parse authMechanism options in URI options array * [PHPC-839] - Add option maxAwaitTimeMS on getMore commands * [PHPC-926] - Implement Extended JSON spec * [PHPC-976] - Create isDefault() method for read and write concerns * [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods * [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception ** Task * [PHPC-302] - Throw exceptions for unsupported BSON types * [PHPC-640] - Implement interfaces for userland BSON type classes * [PHPC-765] - Connection string spec compliance * [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0 * [PHPC-907] - Remove PHONGO_API macro for exported symbols * [PHPC-908] - Do not declare MINIT functions for each driver class * [PHPC-910] - Reorganize BSON encoding and decoding sources * [PHPC-911] - Prefix symbols and use static decls whenever possible * [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options * [PHPC-928] - Sync release files in PECL package generation script * [PHPC-929] - Skip BSON corpus test for embedded null in code string * [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects * [PHPC-953] - Do not parse undocumented "database" key in URI options array * [PHPC-957] - Use libmongoc constants for applicable URI options * [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts() * [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0 * [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON() ** Improvement * [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument * [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite * [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range * [PHPC-887] - Throw exceptions for unexpected types in URI options array * [PHPC-904] - ReadPreference constructor should accept strings * [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback * [PHPC-935] - Validate filter and options in Query constructor * [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid * [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON * [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting * [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException 1.2.9 ** Bug * [PHPC-940] - php_phongo_free_ssl_opt() attempts to free interned strings * [PHPC-948] - BSON encoding should throw on circular references * [PHPC-949] - Memory leak if Serializable::bsonSerialize() returns keys with null bytes 1.2.8 ** Improvement * [PHPC-936] - Define PHP_MONGODB_VERSION constant for Pickle compatibility 1.2.7 ** Bug * [PHPC-500] - Resolve PHP 7 memory leaks * [PHPC-931] - php_phongo_pclient_t is leaked during MSHUTDOWN * [PHPC-933] - Unnecessary zend_string_release() in phongo_zval_to_bson() for PHP 7 ** Task * [PHPC-411] - Drop system.profile collection before tests 1.2.6 ** Bug * [PHPC-901] - False slaveOk URI option should be ignored * [PHPC-912] - Child processes should not destroy clients created by parent processes * [PHPC-913] - Child process should not re-use mongoc_client_t objects from parent * [PHPC-917] - localThresholdMS should default to 15 milliseconds * [PHPC-923] - Use zend_string_release() to free class names * [PHPC-924] - Cursor::setTypeMap() may unnecessarily convert first BSON document ** Task * [PHPC-736] - Remove zend_str_tolower_dup() in ObjectID construction * [PHPC-825] - Document URI options array for Manager constructor * [PHPC-906] - Make test suite compatible with libbson/libmongoc 1.5.0 and 1.6.0 1.2.5 Fix Windows build scripts 1.2.4 ** Bug * [PHPC-894] - BSON get_properties handlers leak during gc_possible_root() checks * [PHPC-898] - readConcern option should not be included in getMore commands ** Task * [PHPC-897] - Document that connections are initialized lazily * [PHPC-899] - Remind users about BSON comparison behavior 1.2.3 ** Bug * [PHPC-855] - Assertion failure in stream_not_found() after failed getmore operation * [PHPC-856] - Build errors using bundled libbson and system libmongoc * [PHPC-872] - Do not use system crypto policy for OpenSSL on Windows * [PHPC-878] - php_json_serializable_ce missing in PHP versions before 5.5.10 and 5.4.26 * [PHPC-879] - php_date_get_immutable_ce missing in PHP versions before 5.6.8 and 5.5.24 * [PHPC-881] - Windows CA stores should be opened with read-only flag * [PHPC-883] - BSON array keys should be disregarded during visitation * [PHPC-884] - Public property with zero-length name ignored during BSON encoding * [PHPC-885] - Alphabetize Regex flags when instantiating from BSON * [PHPC-886] - Always recalculate field name length when encoding BSON * [PHPC-891] - BSON encoding should throw if PHP keys contain null bytes ** Improvement * [PHPC-635] - WriteResult debug handler should return objects * [PHPC-873] - Do not allow mixing bundled and system libbson and libmongoc libraries ** Task * [PHPC-633] - Add lines to phpinfo() output regarding support for SSL and SASL * [PHPC-714] - Implement BSON corpus test suite * [PHPC-890] - Add license header to source files 1.2.2 ** Bug * [PHPC-849] - Cursor::setTypeMap() leaks current element if called during iteration * [PHPC-851] - Segfault when ReadPreference tag sets are an immutable array * [PHPC-852] - Do not depend on date and standard extensions in config.w32 * [PHPC-853] - config.w32 fails to generate all libmongoc and libbson version constants * [PHPC-854] - Client persistence crashes with ZTS (e.g. Apache) 1.2.1 ** Bug * [PHPC-848] - Fix BSON encoding of immutable arrays and documents with circular references 1.1.10 * PHPC-848: Consult ZEND_HASH_APPLY_PROTECTION() in PHP7 1.2.0 ** Bug * [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL * [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files * [PHPC-481] - Windows reports wrong mongoc and libbson versions * [PHPC-520] - Document driver dependencies * [PHPC-525] - Demonstrate non-empty $filter argument in Query constructor example * [PHPC-530] - Document MongoDB\Driver\Server type constants * [PHPC-554] - Rephrase unsupported/corrupt BSON messages * [PHPC-625] - Document that persistent sockets should not be re-used after forking * [PHPC-673] - Cursor::isDead() returns true despite cursor being alive * [PHPC-674] - Advise users to install pkg-config for building the driver * [PHPC-693] - Unacknowledged WriteResults have null counts * [PHPC-728] - Wrong example on how to provide client certificate * [PHPC-748] - CursorID is not properly expressed on 32-bit platforms * [PHPC-756] - fromJSON() should not evaluate bson_error_t.message as boolean * [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged * [PHPC-788] - Timestamp on 32-bit platforms breaks * [PHPC-790] - UTCDateTime constructor should truncate floats * [PHPC-794] - BulkWrite::update() silently ignores invalid arguments * [PHPC-801] - Empty ReadConcern and WriteConcern should serialize to BSON documents * [PHPC-804] - Timestamp and UTCDateTime constructors should accept integers in strict types mode * [PHPC-838] - Javascript objects are always serialized as BSON code types without scope ** Epic * [PHPC-542] - Remove dependency on mongoc private symbols ** Improvement * [PHPC-359] - Ensure read preference tags sets serialize as documents * [PHPC-424] - Validate that read preference tag set is an array of documents * [PHPC-433] - Persist topology state between requests * [PHPC-486] - Add syntax highlighting to BSON persistence articles * [PHPC-637] - Remind users that connection URIs should be encoded * [PHPC-654] - Implement comparison handlers for BSON types * [PHPC-676] - Do not allow BulkWrite objects to be executed multiple times * [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output * [PHPC-705] - Do not unnecessarily wrap filters in $query * [PHPC-721] - Javascript constructor should throw if code contains null bytes * [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes * [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime * [PHPC-731] - Parse Timestamp argument as strings to accept large integers * [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class * [PHPC-741] - Use consistent exceptions for BSON initialization methods * [PHPC-742] - Regex constructor should default flags arg to empty string * [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings * [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/" * [PHPC-754] - Remove libmongoc-priv system dependency in config.m4 * [PHPC-755] - Remove include of private mongoc-trace.h ** New Feature * [PHPC-459] - BSON objects should implement JsonSerializable * [PHPC-460] - BSON classes should support PHP serialization and var_export() * [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON * [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface * [PHPC-552] - Implement ObjectID::getTimestamp() method * [PHPC-619] - Implement Decimal 128 type spec * [PHPC-716] - Support new readConcern level "linearizable" * [PHPC-729] - Implement __toString() method for Javascript and Binary * [PHPC-730] - Implement getCode() and getScope() for Javascript * [PHPC-734] - Support providing collation per operation * [PHPC-752] - Allow users to set a limit on acceptable staleness * [PHPC-757] - Implement The MongoDB Handshake Protocol * [PHPC-786] - Support appname in URI array options ** Question * [PHPC-723] - Blocking connect() leads to cumulative timeouts for multiple inaccessible servers ** Task * [PHPC-313] - BSON should throw when encountering 64-bit integer on 32-bit platform * [PHPC-416] - Document SSL options * [PHPC-504] - Document how RP, RC, and WC are serialized to BSON * [PHPC-533] - Remove PHONGO_API macro for exported functions * [PHPC-584] - Remove MkDocs documentation in favor of PHP.net documentation * [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions() * [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client * [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document() * [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly * [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set() * [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation * [PHPC-606] - Use mongoc_server_description_t public API * [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server() * [PHPC-609] - Ensure client URI handling uses libmongoc public API * [PHPC-610] - Client construction should use mongoc_write_concern_is_valid() * [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged() * [PHPC-618] - Implement SDAM Monitoring spec * [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0 * [PHPC-630] - Update bson_visitor_t for unsupported type function pointer * [PHPC-653] - Document WriteResult, WriteConcernError, and WriteError classes * [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer * [PHPC-662] - Use mongoc_bulk_operation_get_hint() * [PHPC-663] - Use mongoc_bulk_operation_get_write_concern() * [PHPC-664] - Use mongoc_write_concern_get_w() * [PHPC-665] - Remove private libmongoc and libbson header includes * [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips * [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler * [PHPC-687] - Consolidate struct definitions for PHP 5 and 7 * [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler * [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint() * [PHPC-703] - Update configure scripts for upstream SSL changes * [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"] * [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver * [PHPC-718] - Define extension dependencies * [PHPC-751] - Document MongoDB\BSON\Decimal128 * [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0 * [PHPC-761] - Remove BSON_NAMESPACE constant * [PHPC-769] - Javascript serialization, export, and dump should always include scope field * [PHPC-777] - Document MongoDB\Driver\ReadConcern::LINEARIZABLE * [PHPC-779] - Switch serialization from O type to C type * [PHPC-780] - Document persistent connection behavior * [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution * [PHPC-789] - Remove __wakeup from BSON/* classes * [PHPC-791] - Upgrade libbson and libmongoc to 1.5.0 * [PHPC-796] - Use flexible opts for BulkWrite update and delete * [PHPC-799] - Create notice for all third party libraries * [PHPC-805] - Query "partial" option is now "allowPartialResults" * [PHPC-806] - Document Query options for mongoc_collection_find_with_opts() * [PHPC-807] - Document "collation" option for Query and BulkWrite update/delete * [PHPC-824] - SDAM spec update : Update the topology from each handshake * [PHPC-826] - Document that socket paths must be URL-encoded * [PHPC-827] - Update Max Staleness implementation * [PHPC-829] - BSON Regex flags must be alphabetically ordered 1.1.9 * PHPC-820: Upgrade libbson and libmongoc to 1.3.6 * PHPC-820: Upgrade libbson and libmongoc to 1.3.6 1.2.0alpha3 ** Bug * [PHPC-794] - BulkWrite::update() silently ignores invalid arguments ** Improvement * [PHPC-424] - Validate that read preference tag set is an array of documents * [PHPC-705] - Do not unnecessarily wrap filters in $query ** New Feature * [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON * [PHPC-734] - Support providing collation per operation * [PHPC-752] - Allow users to set a limit on acceptable staleness ** Task * [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution * [PHPC-796] - Use flexible opts for BulkWrite update and delete 1.2.0alpha2 ** Bug * [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged ** Improvement * [PHPC-433] - Persist topology state between requests * [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime * [PHPC-731] - Parse Timestamp argument as strings to accept large integers * [PHPC-742] - Regex constructor should default flags arg to empty string * [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings ** New Feature * [PHPC-552] - Implement ObjectID::getTimestamp() method * [PHPC-716] - Support new readConcern level "linearizable" * [PHPC-757] - Implement The MongoDB Handshake Protocol * [PHPC-786] - Support appname in URI array options ** Task * [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation * [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0 * [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"] * [PHPC-761] - Remove BSON_NAMESPACE constant * [PHPC-769] - Javascript serialization, export, and dump should always include scope field * [PHPC-779] - Switch serialization from O type to C type * [PHPC-789] - Remove __wakeup from BSON/* classes 1.2.0alpha1 ** Bug * [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL * [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files * [PHPC-481] - Windows reports wrong mongoc and libbson versions * [PHPC-530] - Document MongoDB\Driver\Server type constants * [PHPC-554] - Rephrase unsupported/corrupt BSON messages * [PHPC-673] - Cursor::isDead() returns true despite cursor being alive * [PHPC-693] - Unacknowledged WriteResults have null counts * [PHPC-728] - Wrong example on how to provide client certificate * [PHPC-748] - CursorID is not properly expressed on 32-bit platforms ** Improvement * [PHPC-486] - Add syntax highlighting to BSON persistence articles * [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output * [PHPC-721] - Javascript constructor should throw if code contains null bytes * [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes * [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class * [PHPC-741] - Use consistent exceptions for BSON initialization methods * [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/" * [PHPC-754] - Remove libmongoc-priv system dependency in config.m4 * [PHPC-755] - Remove include of private mongoc-trace.h ** New Feature * [PHPC-460] - BSON classes should support PHP serialization and var_export() * [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface * [PHPC-619] - Implement Decimal 128 type spec * [PHPC-729] - Implement __toString() method for Javascript and Binary * [PHPC-730] - Implement getCode() and getScope() for Javascript ** Task * [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions() * [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client * [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document() * [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly * [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set() * [PHPC-606] - Use mongoc_server_description_t public API * [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server() * [PHPC-609] - Ensure client URI handling uses libmongoc public API * [PHPC-610] - Client construction should use mongoc_write_concern_is_valid() * [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged() * [PHPC-630] - Update bson_visitor_t for unsupported type function pointer * [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer * [PHPC-662] - Use mongoc_bulk_operation_get_hint() * [PHPC-663] - Use mongoc_bulk_operation_get_write_concern() * [PHPC-664] - Use mongoc_write_concern_get_w() * [PHPC-665] - Remove private libmongoc and libbson header includes * [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips * [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler * [PHPC-687] - Consolidate struct definitions for PHP 5 and 7 * [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler * [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint() * [PHPC-703] - Update configure scripts for upstream SSL changes * [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver * [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2016/08/04 16:03:53 jdolecek Exp $ d15 1 @ 1.1 log @Add php-mongodb 1.1.8 The purpose of this driver is to provide exceptionally thin glue between MongoDB and PHP, implementing only fundemental and performance-critical components necessary to build a fully-functional MongoDB driver. Countrary to php-mongo, mongodb one supports php 7.x as well as 5.5.x/5.6.x @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/07/04 20:47:30 wiz Exp $ d4 1 a4 1 PECL_VERSION= 1.1.8 d12 6 d19 3 a21 1 .include "../../databases/libmongo-client/buildlink3.mk" @