Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c018fc4
bulkWrite function
shimonewman Jul 6, 2025
92008d9
Adding bulkUpsert workaround instad of bulkRrites
shimonewman Jul 7, 2025
ba4d7dc
bulkUpsert
shimonewman Jul 7, 2025
60f2c00
bulkUpsert
shimonewman Jul 7, 2025
414d4d0
added BulkUpsert test
shimonewman Jul 8, 2025
0f42269
Remove trailing whitespace in Client.php and MongoTest.php for code c…
shimonewman Jul 10, 2025
deaa001
cleanup
shimonewman Jul 14, 2025
088d890
merged bulkUpsert() with upsert
shimonewman Jul 20, 2025
9c67b64
detect replicaSet
shimonewman Jul 21, 2025
8fe9907
update phpStan
shimonewman Jul 22, 2025
0353429
fix for codeQL
shimonewman Jul 22, 2025
348cf87
updating ext to 2.1.1
shimonewman Jul 22, 2025
a243548
composer format
shimonewman Jul 22, 2025
a50588f
phpStan fix
shimonewman Jul 22, 2025
f9dd89d
Update variable type annotation in Client.php from stdClass to object
shimonewman Jul 22, 2025
101a7b2
Remove unused variable annotation in Client.php
shimonewman Jul 22, 2025
00b9956
Update PHP MongoDB extension version to 2.1.1 in Dockerfile-php-8.0
shimonewman Jul 22, 2025
0516d0d
Update GitHub Actions workflow to use PHP version 8.3 only
shimonewman Jul 22, 2025
12a267d
Remove unsupported php versions
shimonewman Jul 23, 2025
757e61d
Update src/Client.php
shimonewman Jul 23, 2025
03d1ba4
Update return type of getCnonce method to nullable string and enhance…
shimonewman Jul 23, 2025
7c8b6e9
Refactor comment formatting and clean up whitespace in Client.php
shimonewman Jul 23, 2025
91a780b
Update src/Client.php
abnegate Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3'] # add PHP versions as required
php-versions: ['8.3'] # add PHP versions as required

steps:
- name: Checkout repository
Expand Down
57 changes: 0 additions & 57 deletions Dockerfile-php-8.0

This file was deleted.

57 changes: 0 additions & 57 deletions Dockerfile-php-8.1

This file was deleted.

57 changes: 0 additions & 57 deletions Dockerfile-php-8.2

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile-php-8.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN composer update --ignore-platform-reqs --optimize-autoloader \

FROM appwrite/utopia-base:php-8.3-0.1.0 as compile

ENV PHP_MONGO_VERSION=1.11.1
ENV PHP_MONGO_VERSION=2.1.1

RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
},
"require": {
"php": ">=8.0",
"ext-mongodb": "*",
"mongodb/mongodb": "1.10.0"
"ext-mongodb": "2.1.1",
"mongodb/mongodb": "2.1.0"
},
"require-dev": {
"fakerphp/faker": "^1.14",
"phpunit/phpunit": "^9.4",
"swoole/ide-helper": "4.8.0",
"laravel/pint": "1.2.*",
"phpstan/phpstan": "1.8.*"
"phpstan/phpstan": "2.1.*"
}
}
Loading