The MongoDB Go Driver Team is pleased to release version 1.11.2 of the official Go driver.
Release Notes
This release includes various bug fixes.
Fix timestamp format when converting bson.Raw to Extended JSON
Previously, calling bson.Raw.String would output the wrong Extended JSON type if the BSON document contained a "UTC timestamp" field. This release updates String to output the correct Extended JSON type for timestamps.
Fix retryable reads when using read concerns "linearizable" or "available"
Previously, retried reads could fail if an operation used read concern "linearizable" or "available" because the Go driver set a conflicting configuration for implicit sessions. This release resolves conflicts with "linearizable" or "available" read concerns in retried reads.
For a full list of tickets included in this release, please see the links below:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.mongodb.org/mongo-driver from 1.11.1 to 1.11.2.
Release notes
Sourced from go.mongodb.org/mongo-driver's releases.
Commits
f444b06
Update version to v1.11.29944eff
GODRIVER-2497 Always set causalConsistency=false for implicit sessions. (#1176)4d68f59
GODRIVER-2570 update bsoncore value string to preserve timestamp type (#1150)667bfcf
GODRIVER-2658 Better guard against nil pinned connections. (#1153)af212d0
Update version to v1.11.2-prereleaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)