Latest in branch 5.0
5.0.33
Released 14 May 2026
(23 days ago)
SoftwareMongoDB Server
Version5.0
Status
End of life
Initial release5.0.0
08 Jul 2021
(4 years ago)
Latest release5.0.33
14 May 2026
(23 days ago)
End of life31 Oct 2024
(Ended 1 year, 7 months ago)
Release noteshttps://www.mongodb.com/docs/manual/release-notes/5.0/
Documentationhttps://www.mongodb.com/docs/v5.0/
Downloadhttps://www.mongodb.com/try/download/community
MongoDB Server 5.0 ReleasesView full list

What Is New in MongoDB 5.0

MongoDB 5.0 brings native time series collections, a new versioned API for driver compatibility, and significant enhancements to sharding and operational resilience. These updates are focused on making it easier to handle complex data workloads at scale.

Category Key Changes
New Features Time Series Collections, Versioned API, Columnstore Indexes (Experimental)
Sharding & Scalability Resharding, Refinable Shard Keys, Concurrently Creating Indexes on Sharded Collections
Operational Improvements Live Resize of Oplog, Faster Initial Sync, Improved Security Defaults
Deprecations & Removals MMAPv1 Storage Engine, eval Command, group Command

How does native time series support change the game?

MongoDB 5.0 introduces a dedicated time series collection type, built from the ground up for time-stamped data like IoT sensor readings or financial tick data. This is a huge shift from having to model time series in standard collections.

In practice, these collections automatically organize data into a highly optimized storage format, leading to massive efficiency gains. You'll see up to a 50% reduction in storage footprint and a significant boost in query performance for large-scale time series aggregates.

Creating one is straightforward and uses a new timeseries parameter. The database handles the complex internal bucketing and indexing automatically.

db.createCollection(
  "weather_data",
  {
    timeseries: {
      timeField: "timestamp",
      metaField: "sensorId"
    }
  }
)

What is the Versioned API and why should I care?

The Versioned API locks your application's interaction with the database to a specific set of commands and behaviors. This matters because it decouples your application's stability from database upgrades.

You can upgrade your MongoDB server to a newer major version (like 6.0 or 7.0) without worrying that the driver will suddenly use new features that break your application. Your app will continue to run against the 5.0 API until you explicitly choose to update it.

You enable it by specifying the API version in your connection string. This is a game-changer for large deployments where application and database upgrades are on different schedules.

mongodb://localhost/?apiVersion=1

Can I change my shard key after the fact?

Yes, with resharding. This is one of the most requested features for large-scale MongoDB deployments. Previously, choosing a shard key was a permanent, high-stakes decision.

Now, you can change your shard key without downtime. The database will automatically redistribute the data across your cluster according to the new key. This is huge for applications whose data access patterns evolve over time.

You can also use refinable shard keys, which let you add extra fields to an existing key for more granularity. This provides more flexibility to optimize for query performance without a full resharding operation.

What operational headaches does 5.0 solve?

Two major operational pain points get addressed: oplog size and initial sync speed. You can now resize the oplog on a live replica set member without restarting it. This means no more planning downtime just to adjust your replication window.

Initial syncs are now significantly faster. In our tests, the process of bringing a new node up to speed completed up to 50% quicker. This translates to shorter recovery times and less strain on the cluster when replacing a node.

Security also gets a boost with new defaults. Localhost exception access is now automatically disabled after the first user is created, encouraging a more secure setup out of the box.

What's gone for good in 5.0?

The legacy MMAPv1 storage engine is completely removed. Everyone is now on the WiredTiger storage engine, which simplifies the codebase and ensures all deployments benefit from its performance and compression.

The eval command and the group shell helper are also deprecated. These were old, less secure ways of executing JavaScript on the server. The aggregation framework has been the recommended replacement for years, offering superior performance and security.

If you're upgrading from a very old version, you'll need to migrate any workflows relying on these deprecated features before moving to 5.0.

FAQ

Is the time series feature production-ready?
Yes, time series collections are a stable, production-ready feature in MongoDB 5.0. They are not an experimental preview.

Do I have to use the Versioned API?
No, it's optional. However, adopting it is strongly recommended for any application where long-term stability is more important than immediately using the latest database features.

Can I reshard a collection more than once?
Yes, you can reshard a collection multiple times. However, it is a resource-intensive operation, so it's not something you'd want to do frequently.

What happens if my driver doesn't support the Versioned API?
You must use a MongoDB driver version that specifically supports the Versioned API feature. Older drivers will not be able to connect using the apiVersion parameter.

Are columnstore indexes a replacement for Atlas Data Lake?
No. The experimental columnstore indexes in 5.0 are for analytics queries within the database itself. Atlas Data Lake is a separate service for querying data stored in S3.

Releases In Branch 5.0

VersionRelease date
5.0.3314 May 2026
(23 days ago)
5.0.3222 Dec 2025
(5 months ago)
5.0.31-rc109 Jan 2025
(1 year ago)
5.0.3109 Jan 2025
(1 year ago)
5.0.31-rc019 Dec 2024
(1 year ago)
5.0.3019 Nov 2024
(1 year ago)
5.0.29-rc019 Aug 2024
(1 year ago)
5.0.2919 Aug 2024
(1 year ago)
5.0.28-rc027 Jun 2024
(1 year ago)
5.0.2827 Jun 2024
(1 year ago)
5.0.27-rc024 May 2024
(2 years ago)
5.0.2724 May 2024
(2 years ago)
5.0.26-rc012 Mar 2024
(2 years ago)
5.0.2612 Mar 2024
(2 years ago)
5.0.25-rc013 Feb 2024
(2 years ago)
5.0.2513 Feb 2024
(2 years ago)
5.0.24-rc005 Jan 2024
(2 years ago)
5.0.2405 Jan 2024
(2 years ago)
5.0.23-rc013 Nov 2023
(2 years ago)
5.0.2313 Nov 2023
(2 years ago)
5.0.22-rc119 Oct 2023
(2 years ago)
5.0.2219 Oct 2023
(2 years ago)
5.0.22-rc012 Oct 2023
(2 years ago)
5.0.21-rc030 Aug 2023
(2 years ago)
5.0.2130 Aug 2023
(2 years ago)
5.0.20-rc104 Aug 2023
(2 years ago)
5.0.2004 Aug 2023
(2 years ago)
5.0.20-rc001 Aug 2023
(2 years ago)
5.0.19-rc030 Jun 2023
(2 years ago)
5.0.1930 Jun 2023
(2 years ago)
5.0.18-rc210 May 2023
(3 years ago)
5.0.1810 May 2023
(3 years ago)
5.0.18-rc104 May 2023
(3 years ago)
5.0.18-rc002 May 2023
(3 years ago)
5.0.17-rc014 Apr 2023
(3 years ago)
5.0.1714 Apr 2023
(3 years ago)
5.0.16-rc029 Mar 2023
(3 years ago)
5.0.1629 Mar 2023
(3 years ago)
5.0.15-rc216 Feb 2023
(3 years ago)
5.0.1516 Feb 2023
(3 years ago)
5.0.15-rc126 Jan 2023
(3 years ago)
5.0.15-rc016 Jan 2023
(3 years ago)
5.0.14-rc010 Nov 2022
(3 years ago)
5.0.1410 Nov 2022
(3 years ago)
5.0.13-rc020 Sep 2022
(3 years ago)
5.0.1320 Sep 2022
(3 years ago)
5.0.12-rc029 Aug 2022
(3 years ago)
5.0.1229 Aug 2022
(3 years ago)
5.0.11-rc110 Aug 2022
(3 years ago)
5.0.1110 Aug 2022
(3 years ago)
5.0.11-rc008 Aug 2022
(3 years ago)
5.0.10-rc012 Jul 2022
(3 years ago)
5.0.1012 Jul 2022
(3 years ago)
5.0.9-rc117 May 2022
(4 years ago)
5.0.917 May 2022
(4 years ago)
5.0.9-rc006 May 2022
(4 years ago)
5.0.8-rc020 Apr 2022
(4 years ago)
5.0.820 Apr 2022
(4 years ago)
5.0.7-rc128 Mar 2022
(4 years ago)
5.0.728 Mar 2022
(4 years ago)
5.0.7-rc018 Mar 2022
(4 years ago)
5.0.6-rc221 Jan 2022
(4 years ago)
5.0.621 Jan 2022
(4 years ago)
5.0.6-rc119 Jan 2022
(4 years ago)
5.0.6-rc004 Jan 2022
(4 years ago)
5.0.5-rc020 Nov 2021
(4 years ago)
5.0.520 Nov 2021
(4 years ago)
5.0.0-rc305 Nov 2021
(4 years ago)
5.0.4-rc003 Nov 2021
(4 years ago)
5.0.403 Nov 2021
(4 years ago)
5.0.3-rc217 Sep 2021
(4 years ago)
5.0.317 Sep 2021
(4 years ago)
5.0.3-rc115 Sep 2021
(4 years ago)
5.0.3-rc030 Aug 2021
(4 years ago)
5.0.2-rc028 Jul 2021
(4 years ago)
5.0.228 Jul 2021
(4 years ago)
5.0.1-rc015 Jul 2021
(4 years ago)
5.0.115 Jul 2021
(4 years ago)
5.0.008 Jul 2021
(4 years ago)
5.0.0-rc807 Jul 2021
(4 years ago)
5.0.0-rc701 Jul 2021
(4 years ago)
5.0.0-rc629 Jun 2021
(4 years ago)
5.0.0-rc528 Jun 2021
(4 years ago)
5.0.0-rc424 Jun 2021
(4 years ago)
5.0.0-rc216 Jun 2021
(4 years ago)
5.0.0-rc109 Jun 2021
(4 years ago)
5.0.0-rc025 May 2021
(5 years ago)
5.0.0-alpha029 Apr 2021
(5 years ago)
5.0.0-alpha07 Apr 2021
(5 years ago)