Skip to content

Commit 4473079

Browse files
committed
Add upgrade note for boolean validation
1 parent 728e4d8 commit 4473079

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

UPGRADE-2.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ UPGRADE FROM 1.x to 2.0
3838
`allowPartialResults` instead), `maxScan`, `modifiers` (use alternative
3939
top-level options instead), `oplogReplay`, and `snapshot`. Support for
4040
negative `limit` values has been removed (use `singleBatch` instead).
41+
* The `MongoDB\Driver\Manager` constructor now throws if the URI options array
42+
includes a non-boolean value for an option expecting a boolean. This behavior
43+
is now consistent with validation for other option types.

0 commit comments

Comments
 (0)