You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P1][bug] min_app_version is set to the previous release — either inert or it strands anyone who skips one #568
The manifest sets min_app_version to the tag before the one being released:
PREV_TAG=$(git tag --sort=-v:refname | grep -v "^${TAG}$"| head -1 | sed 's/^v//')if [ -n"$PREV_TAG" ];thenecho"\"min_app_version\": \"$PREV_TAG\",">> update-manifest.json
fi
with a comment asserting: "Plugin honors this: current-version users whose app is below the threshold don't see the update."
Two problems, and the second depends on the first
Is the field read at all? I could not confirm that Tauri's static-JSON updater honours min_app_version. The only min_app_version documented in this repository is in ARCHITECTURE's plugin manifest specification, which is unrelated to the updater. If the updater ignores it, the comment states something untrue about behaviour nobody has verified.
If it is read, the policy is wrong. Setting the floor to the immediately-previous release means anyone who skips a single version can no longer update at all, and has to reinstall by hand. That is the opposite of what an updater is for, and it fails silently — the user simply never sees an update again.
The uncertain reading is the dangerous one, which is reason enough to settle it rather than leave it in place.
Expected
Either the field is removed, or it is set from a deliberate compatibility floor — the oldest version whose installed updater can apply this release — and the behaviour is confirmed against a real client rather than asserted in a comment.
Already fixed, in 5b530c4 ("build the update manifest from the artifacts the updater can use", #572).
min_app_version is not emitted at all. Your second point is the decisive one: set to the previous tag it strands anyone who skips a release, with no signal to them — and since the first point (whether the field is read at all) could not be settled, leaving it in place meant shipping a policy nobody had verified.
The script says so where the manifest is assembled: a compatibility floor belongs there only when there is a real incompatibility to describe.
There is a test named "emits no min_app_version" in scripts/test-build-update-manifest.sh, run in CI.
Activity
fix(release): build the update manifest from the artifacts the update…
EVWorth commentedon Sep 11, 2026
Already fixed, in 5b530c4 ("build the update manifest from the artifacts the updater can use", #572).
min_app_versionis not emitted at all. Your second point is the decisive one: set to the previous tag it strands anyone who skips a release, with no signal to them — and since the first point (whether the field is read at all) could not be settled, leaving it in place meant shipping a policy nobody had verified.The script says so where the manifest is assembled: a compatibility floor belongs there only when there is a real incompatibility to describe.
There is a test named "emits no min_app_version" in
scripts/test-build-update-manifest.sh, run in CI.