Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 4, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.mongodb.org/mongo-driver require minor v1.10.2 -> v1.11.4

Release Notes

mongodb/mongo-go-driver

v1.11.4: MongoDB Go Driver 1.11.4

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.11.4 of the official Go driver.

Release Notes

This release includes optimizations to reduce memory consumption in reading compressed wire messages. The release also offers codec support for decoding struct container fields as either map or document types, rather than an ancestor type.

Additionally, the mongo package will support a closed approach for checking transaction error labels. For example:

err = client.Ping(ctx, nil)

var le mongo.LabeledError
if errors.As(err, &le) && le.HasErrorLabel("TransientTransactionError") {
    log.Fatalf("transient transaction error: %v", le)
}

For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.11.3: MongoDB Go Driver 1.11.3

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.11.3 of the official Go driver.

Release Notes

This release reduces memory usage under some query workloads and fixes a bug that can cause undefined behavior when reading the Raw field on database error types, including CommandError and WriteException.


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.11.2: MongoDB Go Driver 1.11.2

Compare Source

⚠️ Retracted

This release has been retracted due to a bug that can cause undefined behavior when reading the Raw field on database error types, including CommandError and WriteException.

Please use version 1.11.3 or higher.


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:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.11.1: MongoDB Go Driver 1.11.1

Compare Source

⚠️ Retracted

This release has been retracted due to a bug that can cause undefined behavior when reading the Raw field on database error types, including CommandError and WriteException.

Please use version 1.11.3 or higher.


The MongoDB Go Driver Team is pleased to release version 1.11.1 of the official Go driver.

Release Notes

This release contains a bug fix for heartbeat buildup with streaming protocol when the Go driver process is paused in an FAAS environment (e.g. AWS Lambda). This release also includes a bug fix for handling sequential "NoWritesPerformed" labeled operation errors, in that they should still return the "previous indefinite error".

P.S. We want to hear about how Go developers use MongoDB and the MongoDB Go Driver! If you haven't already, please take the 2022 MongoDB Go Developer Survey.


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.11.0: MongoDB Go Driver 1.11.0

Compare Source

⚠️ Retracted

This release has been retracted due to a bug that can cause undefined behavior when reading the Raw field on database error types, including CommandError and WriteException.

Please use version 1.11.3 or higher.


The MongoDB Go Driver Team is pleased to release version 1.11.0 of the official Go driver.

Release Notes

This release improves the Timeout API and behavior, reduces memory allocations when running most operations, and fixes several bugs. It also removes support for some legacy versions of MongoDB and Go. See below for more details.

Improve Timeout API and Behavior

Setting Timeout on a mongo.Client to enable a client-level default operation timeout is a feature added in version 1.10.0 of the driver. Various improvements have been made to this API. In particular:

  • If Timeout is set, the driver will now retry as many times as possible before the context's deadline instead of just once. This should improve application resiliency when using Timeout.
  • The mongo.IsTimeout error helper has been extended to catch more timeout errors.
  • New GridFS methods have been added that take contexts instead of using SetReadDeadline and SetWriteDeadline.

This feature will remain a provisional API while we gather feedback on its design and solidify our specification.

Reduce Memory Allocations

Reduce memory allocations in several critical paths in operation execution.

Fix SRV Polling

Fix a severe bug in SRV polling which may prevent changes in SRV records from updating the servers that the Go driver attempts to connect to when the MongoDB connection string includes a username and password.

Remove Support for Legacy MongoDB Versions

As of this release, the Go driver now requires MongoDB 3.6 or newer.

Remove Support for Legacy Go Versions

As of this release, the Go driver now requires Go 1.13 or newer.

Additional Features and Improvements
  • Improve server-side resource cleanup when using the Cursor.All and Session.WithTransaction functions.
  • Add support for GCP service accounts when using GCP KMS.
  • Allow specifying the SERVICE_HOST Kerberos authentication parameter in the authMechanismProperties connection string option.
  • Improve error message when operations fail due to context cancellation.

For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.10.6: MongoDB Go Driver 1.10.6

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.10.6 of the official Go driver.

Release Notes

This release resolves a panic when aborting a transaction. More specifically, from the pull request:

Users are occasionally seeing panics from the ServerConnectionID() call here. The driver was panic'ing because topology.Connection did not implement a ServerConnectionID() method that guarded against the underlying, embedded connection being nil.


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.10.5: MongoDB Go Driver 1.10.5

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.10.5 of the official Go driver.

Release Notes

This release contains a bugfix for heartbeat buildup with streaming protocol when the Go driver process is paused in an FAAS environment (e.g. AWS Lambda).


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!


P.S. We want to hear about how Go developers use MongoDB and the MongoDB Go Driver! If you haven't already, please take the 2022 MongoDB Go Developer Survey.

v1.10.4: MongoDB Go Driver 1.10.4

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.10.4 of the official Go driver.

Release Notes

This release contains several bugfixes. One of the bugfixes removes a severe bug in SRV polling which may prevent changes in SRV records from updating the servers that the Go Driver attempts to connect to when the MongoDB connection string includes a username and password.


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

v1.10.3: MongoDB Go Driver 1.10.3

Compare Source

The MongoDB Go Driver Team is pleased to release version 1.10.3 of the official Go driver.

Release Notes

This release contains several bugfixes.


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from f56d51a to 29a20f9 Compare November 20, 2022 18:34
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.10.3 fix(deps): update module go.mongodb.org/mongo-driver to v1.11.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from 29a20f9 to b4cb366 Compare March 16, 2023 17:57
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.11.0 fix(deps): update module go.mongodb.org/mongo-driver to v1.11.3 Apr 3, 2023
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from b4cb366 to aa555b0 Compare April 3, 2023 15:06
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.11.3 fix(deps): update module go.mongodb.org/mongo-driver to v1.11.4 Apr 17, 2023
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from aa555b0 to e3ef594 Compare April 17, 2023 11:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant