Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Database
Created by Guest
Created on May 31, 2021

Old and New values in change tracking

Change streams currently return only the new version of the documents. If there were an option that could be set on the collection for the change streams to also return the old version of the document, it would simplify any business logic that requires the old version.
  • ADMIN RESPONSE
    Aug 1, 2025
    Ability to capture pre-image of the document before change and include both pre- and post-image was released in  MongoDB 6.0. https://www.mongodb.com/docs/manual/release-notes/6.0/#change-streams-with-document-pre--and-post-images ( https://www.mongodb.com/docs/manual/release-notes/6.0/#change-streams-with-document-pre--and-post-images )
  • Attach files
  • Guest
    Sep 10, 2021
    This project is planned for implementation, stay tuned for the upcoming releases.