From 980648d1e5084cbbc7d0a865aa7cefd92e491c19 Mon Sep 17 00:00:00 2001 From: Kamil Listopad Date: Wed, 6 May 2026 14:43:40 +0200 Subject: [PATCH] release: CLI v2.13.2 Co-authored-by: Cursor --- cli/CHANGELOG.md | 2 ++ cli/package-lock.json | 4 ++-- cli/package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 15508de4..dcfd66c3 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,6 +1,8 @@ # Mops CLI Changelog ## Next + +## 2.13.2 - Fix race conditions when two `mops` processes run on the same project (e.g. an editor watcher and `caffeine check --fix`, or back-to-back invocations). `mops check-stable` used a shared `.mops/.check-stable/` scratch dir and `mops check`/`build`/`check-stable` used a shared `/.migrations-/` staging dir; concurrent runs would clobber each other and surface as misleading errors like `.mops/.check-stable/new.most: No such file or directory` or `EEXIST: file already exists, symlink ...`. Both directories are now per-invocation (created via `mkdtemp` and removed when the command finishes). - Deprecate `skipIfMissing` in `[canisters..check-stable]`. Behavior is unchanged for now, but `mops check`/`check-stable` print a warning when it is set. For initial deployments, commit a `.most` file at the configured `path` containing an empty actor (`// Version: 1.0.0\nactor { };`) instead — the stable check then runs against an empty baseline. - Drop the "you may need a migration" hint after a failed stable compatibility check in `mops check`/`check-stable`. The hint guessed at whether the user needed a new migration or a fix to an existing one, and `moc`'s underlying compatibility error already links to the migration docs. diff --git a/cli/package-lock.json b/cli/package-lock.json index 2fa2c7af..8f4851dd 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,12 +1,12 @@ { "name": "ic-mops", - "version": "2.13.1", + "version": "2.13.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ic-mops", - "version": "2.13.1", + "version": "2.13.2", "license": "MIT", "dependencies": { "@iarna/toml": "2.2.5", diff --git a/cli/package.json b/cli/package.json index f60d6991..14c82dd3 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "ic-mops", - "version": "2.13.1", + "version": "2.13.2", "type": "module", "bin": { "mops": "dist/bin/mops.js",