Exciting news!
The MongoDB Go Driver 2.0 beta is here, and we can’t wait for you to try it! Your feedback helps us shape the next generation of the Go Driver.
What’s new in 2.0?
Version 2.0 introduces many developer quality-of-life improvements. Highlights include:
- Smoother Client Side Operations Timeout (CSOT) experience
- OpenID Connect (OIDC) support
- Clearer, more idiomatic Go code, including:
- More descriptive errors
- Simplified package structure
- Streamlined interface
Check out the MongoDB Docs to see what else is new in this release.
How does this impact older versions?
You can continue using the 1.x version of the Go Driver with confidence and should continue to do so for production use cases. But if you’re curious to see what’s coming, this beta offers a sneak peek at the benefits of version 2.0.
How do I upgrade to 2.0?
Our comprehensive migration guide provides instructions on how to upgrade and will help you navigate the breaking changes in version 2.0. Full documentation is available on pkg.go.dev and assets are available on GitHub.
Questions? Feedback?
We’re all ears! Tag your questions and feedback on the MongoDB Community Forums with “golang”.
Happy coding!
The MongoDB Go Driver Team