Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog:All: Bump go.mongodb.org/mongo-driver from 1.3.3 to 1.6.0 #34

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 19, 2021

Bumps go.mongodb.org/mongo-driver from 1.3.3 to 1.6.0.

Release notes

Sourced from go.mongodb.org/mongo-driver's releases.

MongoDB Go Driver 1.6.0

The MongoDB Go driver team is pleased to release version 1.6.0 of the official Go driver.

This release supports several new features introduced in MongoDB server version 5.0.

Documentation 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 Jira where a list of current issues can be found.

This release adds versioned API: a new feature in MongoDB 5.0 that allows user-selectable API versions, subsets of MongoDB server semantics, to be declared on a Client with ServerAPIOptions. See an explanatory blog post here.

ServerAPIOptions can be declared on a Client in the Go driver with SetServerAPIOptions. Within a ServerAPIOptions instance, ServerAPIVersion specifies the declared API version, Strict specifies whether the server should error when it receives a command that is not part of the declared API version, and DeprecationErrors specifies whether the server should error when it receives a command that is deprecated in the declared API version.

The Go driver now supports connecting to any MongoDB service (such as MongoDB Serverless) that is running behind a load balancer.

ClientOptions contains a new LoadBalanced flag that can be set with SetLoadBalanced or by passing loadBalanced=true into the initial URI string.

This release allows the creation of time-series collections: a new collection type that will automatically organize time-series data into buckets on insert, while automatically unwinding the buckets for query purposes.

CreateCollectionOptions contains a new TimeSeriesOptions field that can be set with SetTimeSeries. The fields of TimeSeriesOptions are defined as follows. TimeField specifies the name of the top-level field that will represent the timestamp in the collection's documents. MetaField can specify the name of the top-level field that will describe the series in the collection's documents. Granularity can specify the desired granularity of the time-series data (at present, this value can be "seconds", "minutes" or "hours").

CreateCollectionsOptions also contains a new ExpireAfterSeconds field that can be set with SetExpireAfterSeconds. ExpireAfterSeconds can specify how many seconds to wait before old time-series data should be deleted from the time-series collection.

Let can now be specified on aggregates. See an explanation and examples of the let option in the aggregate documentation.

AggregateOptions contains a new Let field that can be set with SetLet.

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

MongoDB Go Driver 1.5.4

The MongoDB Go driver team is pleased to release version 1.5.4 of the official Go driver.

This release contains several bug fixes, including:

  • Prevent clearing server connection pools on operation-scoped timeouts.
  • Always enable SRV polling when setting a mongodb+srv:// URI via ApplyURI().

Documentation 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 Jira where a list of current issues can be found.

... (truncated)

Commits
  • 0ad1666 Update version to v1.6.0
  • 75b6b0b GODRIVER-1870 Remove insertedCount assertions and improve usage of unsetOrMat...
  • c3b779c GODRIVER-2051 resync cursor-related tests (#697)
  • d41f348 GODRIVER-1900 add SetBatchSize to driver.BatchCursor (#699)
  • 69f9561 GODRIVER-2019 test against 5.0 servers (#687)
  • dbf6945 GODRIVER-2031 Document that Cursor isn't goroutine safe (#696)
  • 5199a0b GODRIVER-2037 Don't clear the connection pool on client-side connect timeout ...
  • 6d6365b GODRIVER-2057 Fix uri merging on options.ClientOptions (#689)
  • fcfd2a3 GODRIVER-2032 bump maxWireVersion (#693)
  • f7a600e GODRIVER-2033 add let option for aggregate (#690)
  • Additional commits viewable in compare view

Dependabot compatibility score

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](https://github.com/mongodb/mongo-go-driver) from 1.3.3 to 1.6.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.3.3...v1.6.0)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 19, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 26, 2021

Superseded by #35.

@dependabot dependabot bot closed this Jul 26, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/go.mongodb.org/mongo-driver-1.6.0 branch July 26, 2021 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants