We announced MongoDB 3.6 in November. Following great community feedback on the 3.6 release candidates, we’re happy to say that 3.6 is now generally available and ready for production deployments. You can download the community version and MongoDB Enterprise Server today.
MongoDB 3.6 is also available on MongoDB Atlas, so you can try out 3.6 or upgrade your existing Atlas clusters to 3.6.
MongoDB 3.6 makes it easier than ever to work with data in the most natural, efficient, and frictionless way possible. In short, MongoDB helps you go faster when building and scaling apps. Key 3.6 features include:
Change streams enable you to build reactive web, mobile and IoT applications that can view, filter, and act on data changes as they occur in the database. Whenever data is changed in MongoDB, downstream systems are automatically notified of the updates in real time. Change streams provide an easy and efficient way to build reactive, event driven apps.
Retryable writes move the complexity of handling transient systems failures from the application to the database. Instead of you having to implement masses of custom, client-side code, MongoDB automatically retries write operations using exactly-once semantics.
With Schema validation, using syntax derived from the proposed IETF JSON Schema standard, we’ve extended the document validation capabilities originally introduced in MongoDB 3.2. Now, DevOps and DBA teams can define a prescribed document structure for each collection, down to the level of individual fields within nested arrays. And you’re able to tune this as you need: lock the schema down, open it up, apply it to a subset of fields – whatever you need for each app or stage of your project.
Binding to localhost by default: with MongoDB 3.6 all MongoDB packages across all platforms refuse all external connections to the database unless explicitly configured otherwise by the administrator. Combined with new IP whitelisting support, administrators can configure MongoDB to only accept external connections on approved IP addresses. These enhancements greatly reduce the risk of unsecured MongoDB instances unintentionally being deployed into production.
Aggregation enhancements support more expressive queries, giving you faster access to data-driven insights. MongoDB’s document data model allows you to model entities in the same way you represent them in code - as complete objects - so you don't need to worry about JOINs. But for analytics it’s useful to join data across multiple collections. We introduced left outer equijoins in MongoDB 3.2, but now we are expanding this with a more powerful $lookup operator to support the equivalent of SQL subqueries and non-equijoins. MongoDB's Connector for BI, which enables MongoDB to be used as a data source in SQL-based analytics and data visualization tools, takes advantage of these enhancements to deliver higher performance, with more analytic operations pushed natively to the database.
MongoDB Atlas is the best way to run MongoDB in the public cloud. MongoDB 3.6 is available as a fully managed service on Atlas, including important new features to support global applications, and with automated scalability and performance optimizations.
Cross-region replication allows Atlas clusters to span multiple cloud provider regions, maintaining continuous availability in the event of geographic outages, and providing optimal customer experience by distributing data closer to users. Atlas now also supports automatic scaling for storage associated with a cluster, making it easier for you to manage capacity. The new performance advisor continuously highlights slow-running queries and provides intelligent index recommendations to improve performance.
We’d like to acknowledge these users who contributed to this release: adrien petel, aftab muhammed khan, Andrew, atish, Ben Calev, Bodenhaltung, Christian, Curtis Hovey, daniel moqvist, Dawid Esterhuizen, Denis Shkirya, Deyoung Hong, Dmitri Shubin, Edik Mkoyan, Eugene Ivanov, Evan Broder, Gian Maria Ricci, hotdog929, Igor Canadi, Igor Solodovnikov, Igor Wiedler, Ivy Wang, James Reitz, Jelle van der Waa, Jim Van Fleet, Joe, KarenHuang, kurevo18, Marek Skalický, Markus Penttil, Matt Berry, may, Meni Livne, Michael Coleman, Michael Liu, Mike Zraly, Renaud Allard, Richard Hutta, Rob Clancy, ryankall, Sergey, Steven Green, Thales Ceolin, Tom Leibu, Ultrabug, Wayne Wang, and Yuriy Solodkyy.
Thank you! Please keep the feedback coming.
With over a hundred new and updated features, MongoDB 3.6 is our biggest release yet. Download the Guide to What’s New in MongoDB 3.6 to learn more.
Or, to get started now: