MongoDB 5.0.0-rc0 is released

MongoDB 5.0.0-rc0, the first release candidate of MongoDB 5.0, is out and is ready for testing. This is the culmination of the past year’s worth of development and marks the first release under the new rapid release cadence. Please review the release notes for more about the exciting new features, along with upgrade procedures and instructions on how to report an issue. Here are some of the highlights with more to come as we approach in July:

Accelerating developer productivity and application performance across more workloads:

  • Versioned API: Future-proof your applications. Upgrade to the latest MongoDB releases without the fear of introducing backward-breaking changes that require application-side rework.
  • Long-Running Snapshot Queries (preview): Support for complex queries over large data sets that can run against replicas and across sharded clusters, maintaining strong consistency with snapshot isolation guarantees without impacting the performance of your live, transactional workloads
  • x.509 Certificate Rotation: You can now rotate x.509 certificates without any database downtime.
  • Audit Log Enhancements: The audit log has been enriched to capture each event’s metadata, such as the application name, providing a more holistic view of activities against your database. You can now also reconfigure audit log filters as an online operation.

Even higher database resilience and efficiency:

  • Default majority write concern: Elevates MongoDB’s default write behavior to the (w:majority) concern. Operations will commit only when they have been applied to the primary and have been persisted to the journals of a majority of replicas, providing stronger durability guarantees out of the box.
  • Schema validation: Now easier and more user-friendly to enforce data governance with descriptive error messages generated whenever an operation fails validation, helping you identify and remediate code errors faster.
  • Resumable index builds: Reducing the impact of planned maintenance to your users, in-flight index builds will now automatically resume from where they left off after a node restarts.
  • Default zStandard compression: Replacing snappy as MongoDB’s default compressor library, zStd exposes the ability to configure the compression level for database storage, providing you much more flexibility in balancing space savings against CPU overhead.

MongoDB 5.0 Release Notes | Changelog | Downloads

-- The MongoDB Team