Commit Graph

73 Commits

Author SHA1 Message Date
Jeremy Mikola
e5c8889e4d PHPC-2078: Include relocated phongo_version.h in PECL packages
This was missed in 476c5b3ae1
2022-06-07 21:02:46 -04:00
Jeremy Mikola
db4fe3dc8b PHPC-2049: BulkWrite and Query support comment option of any type (#1320)
* PHPC-2049: Bump libmongoc and libmongocrypt submodules

libmongoc master (1.22-dev) now depends on libmongocrypt master (1.5-dev).

libmongoc's bundled zlib library was updated to 1.2.12.

* PHPC-2049: BulkWrite and Query support comment option of any type

MongoDB 4.4+ allows a comment option of any type on most commands. Previously, find required a string type and write commands did not support comment at all. The driver does not validate the option and relies on the server to raise an error.

* Fix title and variable access in BulkWrite and Query let option tests

* Fix grammar in php_phongo_bulkwrite_delete_apply_options comment

* Undefine additional Query option macros
2022-05-20 11:11:18 -04:00
Jeremy Mikola
82aef8fae9 PHPC-2031: Upgrade libmongoc to 1.21.1 and libmongocrypt to 1.3.2 (#1306) 2022-03-23 12:11:45 -04:00
Jeremy Mikola
fc358d6f18 PHPC-2040: Break down php_phongo.c into smaller files
This also cleans up header includes throughout the project. The order follows: libbson, libmongoc, libmongocrypt, PHP, contrib (e.g. PHP array API), internal modules (e.g. php_phongo.h, phongo_bson.h), and class headers. Quoted strings are used for all but PHP includes, which are always sourced from system directories.

php_phongo.h is now responsible for including config.h and assigning the default logging domain.
2022-01-26 20:31:48 -05:00
Jeremy Mikola
fe99deb32a PHPC-1880: Drop support for PHP 7.1 (#1273)
* PHPC-1880: Drop support for PHP 7.1

* Bump PHP versions in AppVeyor config

* PHPC-1880: Update Evergreen config for PHP 7.2+ and MongoDB 5.0

Bump edge-versions:latest-stable to MongoDB 5.0. Drops PHP 7.1 and adds PHP 8.0 to php-versions and newly created php-edge-versions axis.

Use oldest-supported or latest-stable PHP version for matrices other than test-php-versions.

Make variant display names consistent to help detect duplicates.

Remove WiredTiger from mongo-42-storage-engines since it's tested in most other variants by default.

* Revise "cursor not found" error message assertions for latest server version

* Temporarily remove 1.19.x from libmongoc-version axis
2021-11-10 10:28:21 -05:00
Andreas Braun
2ab8d6bac1 Drop support for PHP 7.0 (#1234) 2021-07-01 11:58:02 -04:00
Andreas Braun
3baacb85ee Add missing file mask to packaging script 2021-04-09 13:56:42 +02:00
Andreas Braun
ed31cba5cb PHPC-1739 Move from travis-ci to GitHub Actions (#1199)
* Add GitHub Action workflow for tests

* Add workflow to check formatting

* Remove travis-ci config

* Fix clang-format error

* Add shared json extension for tests

* Hide output for xfail tests

* Use mongo-orchestration configs from drivers-evergreen-tools

* Drop obsolete test scripts

This drops the legacy VM environment and remnants of the travis-ci config

* Remove obsolete server_id config

* Add note about MONGO_ORCHESTRATION_URI to contribution docs

* Restore previous XFAIL behaviour

This did not have the expected effect of preventing diff output for tests that expect failures, so it can be reverted.

* Make SSL certificate path configurable for tests

Since mongo-orchestration will always bring its own certificates, we need to set the correct SSL certificate directory for our tests. This is skipped on GitHub Actions as we don't test SSL builds there (yet). If SSL_DIR was not set, tests requiring SSL will be skipped.

* Fix code review nits
2021-02-23 14:49:54 +01:00
Andreas Braun
d785d5e15e PHPC-1689: Allow driver to compile with PHP 8
* PHPC-1689: Remove remainder of TSRMLS_* macros
* PHPC-1689: Add compatibility macro for PHP 8 object change
* PHPC-1689: Replace PHP_CHECK_GCC_ARG with AX_CHECK_COMPILE_FLAG
* PHPC-1689: phongo_compat_object_handler_type and macros
* PHPC-1689: clone_object handlers
* PHPC-1689: compare_object handlers
* PHPC-1689: replace zend_hash_init_ex with zend_hash_init
* PHPC-1689: get_debug_info and get_properties handlers
2020-10-13 15:24:02 +02:00
Jeremy Mikola
c2f58b607a Include contributing docs and third-party licenses in package 2020-07-08 09:42:16 -04:00
Jeremy Mikola
47c0a353c8 Mark @kvwalker as inactive 2020-06-10 15:18:42 -04:00
Andreas Braun
9ac6f237b0 Update to latest libmongoc version 2020-02-28 08:20:25 +01:00
Andreas Braun
71baad2173 PHPC-1442: Drop support for PHP 5 in PECL packaging 2020-02-11 14:06:09 +01:00
Andreas Braun
a384e42423 Fix missing files in prep-release script 2020-02-04 15:49:00 +01:00
Andreas Braun
7cea21a25a PHPC-1496: Add support for compiling with libmongocrypt 2020-01-08 12:41:41 +01:00
Jeremy Mikola
211845eab7 Add @alcaeus to package.xml template 2019-08-21 13:56:59 -04:00
Andreas Braun
e5b1502f4d PHPC-1377: Remove support for PHP 5.5 2019-07-31 07:44:03 +02:00
Jeremy Mikola
2895669025 PHPC-1364: Include LIBMONGOC_VERSION_CURRENT in PECL package 2019-06-03 15:35:23 -04:00
Derick Rethans
24fe15547d Marking myself as no longer active 2019-01-28 15:35:10 +00:00
Derick Rethans
6362ff7742 PHPC-1174: Fixed PECL package generation due to directory changes
Missed updating these paths in 7c0ccd3e20
2018-06-26 14:10:52 +01:00
Jeremy Mikola
741ada8532 Improve precision of file globs for bundled zlib 2018-05-18 11:45:35 -04:00
Jeremy Mikola
ce45de41fa PHPC-1174: Bump libbson and libmongoc to 1.10.0-dev
This consolidates CFLAGS for bundled libraries, adds a new "common/" build path, and defines new constants as needed.
2018-05-18 11:45:35 -04:00
Jeremy Mikola
4d9dd87c2c Remove "build/" from autotools scripts path
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
2018-05-16 11:03:46 -04:00
Jeremy Mikola
dfa355eeb8 PHPC-1075: Remove libbson/libmongoc m4 files from release tarball 2018-05-16 09:45:27 -04:00
Jeremy Mikola
e0a4f68c62 Restore @bjori as an inactive lead :D
The inner workings of PECL's web rendering remain a mystery. Previous changes in 55dfa5896c did not have the desired effect.
2018-02-14 11:26:31 -05:00
Jeremy Mikola
55dfa5896c Add @kvwalker and deprecate @bjori :) 2018-02-06 13:58:14 -05:00
Derick Rethans
6a65f9f3cd Fixed PHPC-1104: pecl package misses zlib sources 2018-01-30 10:11:36 +00:00
Derick Rethans
e304754706 Add new .m4 files to package.xml.in file 2018-01-23 17:09:44 +00:00
Jeremy Mikola
9812d6713e Upgrade VM to trusty64 and revise mo installation
This also removes unused server versions.
2018-01-08 10:28:56 -05:00
Jeremy Mikola
9f9fe60193 Add missing json MO config to PECL package 2018-01-08 10:28:56 -05:00
Jeremy Mikola
9163f70328 Retire @bjori in PECL package info :( 2017-12-01 13:37:24 -05:00
Jeremy Mikola
333c3a1118 Fix typo in PECL package description 2017-12-01 13:37:05 -05:00
Jeremy Mikola
331fa90055 PHPC-996: Bump min PHP requirement in package.xml to 5.5 2017-09-14 11:35:35 -04:00
Jeremy Mikola
28baf2356b PHPC-349 and PHPC-981: Fix package builds for APM 2017-08-10 14:52:44 -04:00
Jeremy Mikola
10acc01d80 PHPC-928: Consolidate glob paths for phpt files 2017-03-15 11:01:43 -04:00
Jeremy Mikola
4ab0e67b13 PHPC-928: Consolidate tests/utils glob paths 2017-03-15 11:01:43 -04:00
Jeremy Mikola
77d6d99cdc PHPC-928: Include missing run-tests-on.sh file in package 2017-03-15 11:01:43 -04:00
Jeremy Mikola
22567f2558 PHPC-928: Include missing ldapconfig.py file in package 2017-03-15 11:01:43 -04:00
Jeremy Mikola
e2753f54eb PHPC-928: Update package paths for libbson and libmongoc 1.6.0
libbson now uses jsonsl instead of yajl.
2017-03-15 11:01:43 -04:00
Derick Rethans
1481d56dcb Fixed CREDITS file and include it in package.xml too 2016-11-29 13:35:51 +00:00
Jeremy Mikola
3a54c35978 Remove make target for generating release notes from Git logs 2016-08-02 15:57:20 -04:00
Jeremy Mikola
09968d7931 PHPC-447: Generate libmongoc and libbson headers in config.w32
This removes the old config and version headers, which required manual updates and were often out-of-date as a result.

Additionally, this syncs the config header replacements with 1.4.0-beta1.
2016-08-02 10:49:53 -04:00
Jeremy Mikola
36dc63ae83 Encode special characters in commit messages for package.xml 2015-12-22 15:41:46 -05:00
Jeremy Mikola
727eca5461 PHPC-285: Allow for PHP 7.x support in package.xml 2015-12-22 15:31:08 -05:00
Jeremy Mikola
3fbae8ddce Include libbson and libmongoc version files in PECL package 2015-12-15 10:51:22 -05:00
Hannes Magnusson
6b921e5d7c Fix package license to be consistent with the source files 2015-12-11 14:42:58 -05:00
Jeremy Mikola
8a21ca2451 Revise prep-release.php handling
Allows version argument to contain "-stability" suffix, which we'd like for accurate version checking in userland and PHP extension info.
2015-12-07 12:55:52 -05:00
Jeremy Mikola
2d6f16b3b6 Use UTC time when creating package.xml 2015-10-05 22:04:41 -04:00
Jeremy Mikola
12742f050f Bump minimum PHP version requirement to 5.4 2015-08-20 16:03:35 -04:00
Jeremy Mikola
4ab03a46ea Use php.net email addresses for authors 2015-08-20 16:03:35 -04:00