Skip to content

Commit c572c4d

Browse files
committed
Revert "during MongoClient initialization".
1 parent 8fc6f1c commit c572c4d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/mongodb-handshake/handshake.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -405,19 +405,19 @@ class DriverInfoOptions {
405405
}
406406
```
407407

408-
Note that how these options are provided to a driver during `MongoClient` initialization is left up to the implementer.
408+
Note that how these options are provided to a driver is left up to the implementer.
409409

410410
### Metadata updates after MongoClient initialization
411411

412-
Drivers MUST provide an API that allows appending `DriverInfoOptions` to a MongoClient instance after initialization.
412+
Drivers MUST provide an API that allows appending `DriverInfoOptions` to a `MongoClient` instance after initialization.
413413

414414
After client metadata update, drivers MUST apply updated metadata to newly created connections. Drivers MUST NOT apply
415-
updated metadata to already established connections, create new connections, or close existing connections solely for the purpose of transferring
416-
updated metadata.
415+
updated metadata to already established connections, create new connections, or close existing connections solely for
416+
the purpose of transferring updated metadata.
417417

418418
### Appending metadata
419419

420-
If `DriverInfoOptions` are provided during or after MongoClient initialization, these options MUST NOT replace any
420+
If `DriverInfoOptions` are provided during or after `MongoClient` initialization, these options MUST NOT replace any
421421
existing metadata values, including driver-generated metadata and previously provided options. The provided options MUST
422422
be appended to their respective fields, and be delimited by a `|` character. For example, when
423423
[Motor](https://www.mongodb.com/docs/drivers/motor/) wraps PyMongo, the following fields are updated to include Motor's
@@ -545,7 +545,7 @@ support the `hello` command, the `helloOk: true` argument is ignored and the leg
545545

546546
## Changelog
547547

548-
- 2025-05-07: Add requirement to allow appending to client metadata after MongoClient initialization.
548+
- 2025-05-20: Add requirement to allow appending to client metadata after `MongoClient` initialization.
549549
- 2024-11-05: Move handshake prose tests from spec file to prose test file.
550550
- 2024-10-09: Clarify that FaaS and container metadata must both be populated when both are present.
551551
- 2024-08-16: Migrated from reStructuredText to Markdown.

0 commit comments

Comments
 (0)