Community Day Trivia #25: Which MongoDB Java driver version added support for connection to MongoDB Atlas Serverless?

We’ll be posting trivia challenges throughout the Community Day event!

The best answer for each challenge will be marked as a solution and earn the poster a promo code for $100 of Atlas credits and a Community Day 2021 Trivia Winner forum badge that can also be used as a title on the forums.

A great answer will include some information such as a link to more information or a tip on how you figured out the solution.

You can help us decide the best answer to a trivia challenge by liking great responses! To give everyone a chance at earning Atlas credits, we will use “have you already had a trivia solution accepted” to break ties in favour of those who haven’t had a solution yet.

Which MongoDB Java driver version added support for connection to MongoDB Atlas Serverless ?

This is introduced in Version 4.3
EDIT: version 4.3 of the Java driver
New features of the 4.3 Java driver release include:

  • Added support for MongoDB Versioned API. For more information, see our Versioned API guide.
  • Added support for connection to MongoDB Atlas Serverless Instances. For more information on setup, see our documentation on how to Create a New Serverless Instance
  • Added a builder API for the setWindowFields pipeline stage to allow the use of window operators
  • Added support for setting Netty io.netty.handler.ssl.SslContext
  • Added support for snapshot reads to ClientSession
  • Limited the rate of establishing new connections per connection pool
  • Removed most restrictions on allowed characters in the field names of documents you insert or replace. This is a behavioral change for any application that is relying on client-side enforcement of these restrictions.

Thanks for the great answer @Student_al_St!

I’ll be following up with a $100 Atlas promo code :slight_smile:


This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.