@@ -405,19 +405,19 @@ class DriverInfoOptions {
405
405
}
406
406
```
407
407
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.
409
409
410
410
### Metadata updates after MongoClient initialization
411
411
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.
413
413
414
414
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.
417
417
418
418
### Appending metadata
419
419
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
421
421
existing metadata values, including driver-generated metadata and previously provided options. The provided options MUST
422
422
be appended to their respective fields, and be delimited by a ` | ` character. For example, when
423
423
[ 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
545
545
546
546
## Changelog
547
547
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.
549
549
- 2024-11-05: Move handshake prose tests from spec file to prose test file.
550
550
- 2024-10-09: Clarify that FaaS and container metadata must both be populated when both are present.
551
551
- 2024-08-16: Migrated from reStructuredText to Markdown.
0 commit comments