Commit 37bbdd5
* BulkWriteCommandBuilder
* Test against mongodb/mongo-php-driver#1790
* Psalm stubs for PHPC BulkWriteCommand classes
* BulkWriteCommandBuilder::withCollection returns a new instance
* Sanity check Manager association in BulkWriteCommandBuilder
* Client::bulkWrite() and ClientBulkWrite operation
* Spec tests for Client::bulkWrite()
* Revise error messages for readConcern and writeConcern in transactions
The transaction spec requires certain language, and this is now expected in spec test for clientBulkWrite.
* BulkWriteCommandBuilder is final
* Re-order BulkWriteCommandBuilder methods to satisfy PedantryTest
* Ignore order of non-public constructors in PedantryTest
* Fix preparation of unacknowledged BulkWriteCommandResults
* Skip CSFLE namedKMS tests that require schema 1.18
* Test Collection::getBuilderEncoder() and getCodec()
Also fixes the return type for getBuilderEncoder()
* Default BulkWriteCommandBuilder options to empty arrays
This is actually required for the union assignment in createWithCollection(). The nullable arrays were copied from the extension, but are inconsistent with other PHPLIB APIs.
* CRUD prose tests 3 and 4
* Update Psalm stubs for PHPC BulkWriteCommand API
* CRUD prose tests 5-9
* Rename BulkWriteCommandBuilder to ClientBulkWrite
Also renames the operation class to ClientBulkWriteCommand to avoid aliasing in Client.
* Server::executeBulkWriteCommand() always returns a BulkWriteCommandResult
* Use dropCollection() helper to ensure collections are cleaned up
* Prose test 11
* Prose test 12
* Prose test 13
* Prose test 15
* Validate assigned $options property instead of ctor arg
* Fix Psalm errors and update baseline
* phpcs fixes
* Test against v2.x
* Fix CS
* Remove readonly qualifier on the class, PHP 8.2 would be required
* Add NoDiscard attribute to 'withCollection' methods
* Switch all EXTENSION_BRANCH versions
* Always build against v2.x
* Append CRYPT_SHARED_LIB_PATH to autoEncryptionOpts in tests
* PHPLIB-1677: Assert unset BulkWriteException.partialResult in CRUD prose tests
* Use explicit null check
Co-authored-by: Copilot <[email protected]>
* Require ext-mongodb 2.1
---------
Co-authored-by: Jérôme Tamarelle <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Andreas Braun <[email protected]>
Co-authored-by: Copilot <[email protected]>
1 parent cca7233 commit 37bbdd5
File tree
41 files changed
+1794
-68
lines changed- .evergreen/config
- generated/build
- templates/build
- .github/workflows
- src
- Exception
- Operation
- stubs/Driver
- tests
- Collection
- SpecTests
- ClientSideEncryption
- Crud
- UnifiedSpecTests
- Constraint
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
41 files changed
+1794
-68
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
238 | 244 | | |
239 | 245 | | |
240 | 246 | | |
| |||
545 | 551 | | |
546 | 552 | | |
547 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
548 | 562 | | |
549 | 563 | | |
550 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
192 | 221 | | |
193 | 222 | | |
194 | 223 | | |
| |||
0 commit comments