Skip to content

Commit 103c1f2

Browse files
authored
PHPLIB-795, PHPLIB-796: Remove references to pre-3.6 servers (#893)
* Remove pre-3.6 server versions from Evergreen matrix * Remove references to unsupported pre-3.6 features in docs * Remove version checks for pre-3.6 servers Preserve behavior for only sending bypassDocumentValidation if true. This also removes a reference to an undeclared var in ModifyCollection (PHPLIB-796). * Remove skipped tests for pre-3.6 servers
1 parent b032a82 commit 103c1f2

File tree

99 files changed

+202
-1208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+202
-1208
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -575,18 +575,6 @@ axes:
575575
display_name: "3.6"
576576
variables:
577577
VERSION: "3.6"
578-
- id: "3.4"
579-
display_name: "3.4"
580-
variables:
581-
VERSION: "3.4"
582-
- id: "3.2"
583-
display_name: "3.2"
584-
variables:
585-
VERSION: "3.2"
586-
- id: "3.0"
587-
display_name: "3.0"
588-
variables:
589-
VERSION: "3.0"
590578

591579
- id: edge-versions
592580
display_name: MongoDB Version
@@ -596,9 +584,9 @@ axes:
596584
variables:
597585
VERSION: "5.0"
598586
- id: "oldest-supported"
599-
display_name: "3.0"
587+
display_name: "3.6"
600588
variables:
601-
VERSION: "3.0"
589+
VERSION: "3.6"
602590

603591
- id: driver-versions
604592
display_name: Driver Version

docs/includes/apiargs-MongoDBClient-common-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ type: :php:`MongoDB\\Driver\\ReadConcern <class.mongodb-driver-readconcern>`
44
description: |
55
:manual:`Read concern </reference/read-concern>` to use for the operation.
66
Defaults to the client's read concern.
7-
8-
This is not supported for server versions prior to 3.2 and will result in an
9-
exception at execution time if used.
107
interface: phpmethod
118
operation: ~
129
optional: true

docs/includes/apiargs-MongoDBClient-method-dropDatabase-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ post: |
1313
source:
1414
file: apiargs-MongoDBClient-common-option.yaml
1515
ref: writeConcern
16-
post: |
17-
This is not supported for server versions prior to 3.4 and will result in an
18-
exception at execution time if used.
1916
...

docs/includes/apiargs-MongoDBCollection-common-option.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ type: array
44
description: |
55
An array of filter documents that determines which array elements to modify
66
for an update operation on an array field.
7-
8-
This is not supported for server versions prior to 3.6 and will result in an
9-
exception at execution time if used.
107
interface: phpmethod
118
operation: ~
129
optional: true
@@ -17,9 +14,6 @@ type: boolean
1714
description: |
1815
If ``true``, allows the write operation to circumvent document level
1916
validation. Defaults to ``false``.
20-
21-
This option is available in MongoDB 3.2+ and is ignored for older server
22-
versions, which do not support document level validation.
2317
interface: phpmethod
2418
operation: ~
2519
optional: true
@@ -40,9 +34,6 @@ description: |
4034
:manual:`Read concern </reference/read-concern>` to use for the operation.
4135
Defaults to the collection's read concern.
4236
43-
This is not supported for server versions prior to 3.2 and will result in an
44-
exception at execution time if used.
45-
4637
It is not possible to specify a :manual:`read concern
4738
</reference/read-concern>` for individual operations as part of a
4839
transaction. Instead, set the ``readConcern`` option when starting the

docs/includes/apiargs-MongoDBCollection-method-aggregate-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,4 @@ source:
7878
post: |
7979
This only applies when a :ref:`$out <agg-out>` or :ref:`$merge <agg-merge>`
8080
stage is specified.
81-
82-
This is not supported for server versions prior to 3.4 and will result in an
83-
exception at execution time if used.
8481
...

docs/includes/apiargs-MongoDBCollection-method-createIndex-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,4 @@ post: |
105105
source:
106106
file: apiargs-MongoDBCollection-common-option.yaml
107107
ref: writeConcern
108-
post: |
109-
This is not supported for server versions prior to 3.4 and will result in an
110-
exception at execution time if used.
111108
...

docs/includes/apiargs-MongoDBCollection-method-createIndexes-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ post: |
1717
source:
1818
file: apiargs-MongoDBCollection-common-option.yaml
1919
ref: writeConcern
20-
post: |
21-
This is not supported for server versions prior to 3.4 and will result in an
22-
exception at execution time if used.
2320
...

docs/includes/apiargs-MongoDBCollection-method-drop-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,4 @@ post: |
1313
source:
1414
file: apiargs-MongoDBCollection-common-option.yaml
1515
ref: writeConcern
16-
post: |
17-
This is not supported for server versions prior to 3.4 and will result in an
18-
exception at execution time if used.
1916
...

docs/includes/apiargs-MongoDBCollection-method-dropIndex-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,4 @@ post: |
1919
source:
2020
file: apiargs-MongoDBCollection-common-option.yaml
2121
ref: writeConcern
22-
post: |
23-
This is not supported for server versions prior to 3.4 and will result in an
24-
exception at execution time if used.
2522
...

docs/includes/apiargs-MongoDBCollection-method-dropIndexes-option.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@ post: |
1717
source:
1818
file: apiargs-MongoDBCollection-common-option.yaml
1919
ref: writeConcern
20-
post: |
21-
This is not supported for server versions prior to 3.4 and will result in an
22-
exception at execution time if used.
2320
...

0 commit comments

Comments
 (0)