# What changed in mingo

> 14 changes in mingo 7 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/npm/mingo/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## mingo 7

### Breaking changes

- Prevents read and write access to Object.prototype members. (7.2.5) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#725--2026-10-15)

### Fixes and other changes

- Enforces own keys when they conflict with Object.prototype properties. (7.2.5) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#725--2026-10-15)
- Corrects change reporting for edge cases when updating with $bit. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Applies strictly to integeral values. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrects behavior for $elemMatch with an empty field. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Correctly handles the restrictSearchWithMatch option using query filter syntax. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrects behavior when $in is used with a regex. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrects change reporting for edge cases when updating with $inc. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Fixes failures when $min is used with an empty field. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrects behavior when $nin is used with a regex. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Fixes update failures caused by not adding the destination to updateParams. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrects the types configuration that was incorrect in 7.2.3. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Improves argument validation for update operators. (7.2.4) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#724--2026-08-07)
- Corrected incorrect type configurations. (7.2.3) — [release notes](https://github.com/kofrasa/mingo/blob/5e090d7f4efbaaa45a0a4eb7ac991cd279f5522c/CHANGELOG.md#723--2026-08-03-deprecated)
