sincecutoff.com

What changed in mongosh.

We scan this tool’s changelog a few times a day and keep the changes that would alter your agent’s next action: 1 since June 2026, each linked to its source.

YOUR MODEL or

Changes

INTRODUCED
1 CHANGES
LATEST 2026-06-25 · 1 TOOLS
JUN 252026

mongosh shell API adds Session.bulkWrite()

When repository code needs to submit multiple MongoDB writes through a session, call `Session.bulkWrite(operations, options)` with an array of write-operation documents. The operation requires MongoDB 8.0 or later.

const session = db.getMongo().startSession(); session.bulkWrite([ { namespace: "<db>.<collection>", name: "insertOne", document: { <field>: <value> } }, { namespace: "<db>.<collection>", name: "updateOne", filter: { <field>: <value> }, update: { $set: { <field>: <value> } } } ]);
evidence github.comscore 0.90open card ↗