diff --git a/.changeset/fix-save-content-flicker.md b/.changeset/fix-save-content-flicker.md deleted file mode 100644 index 3b946018d..000000000 --- a/.changeset/fix-save-content-flicker.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@valbuild/ui": patch ---- - -Fix two flickers on save: - -- Field content briefly reverted to its pre-edit value before settling on the saved value. In fs mode, `publish()` now bakes the optimistic (patched) value into the local sources as it drops the just-saved patches, so the displayed value stays stable until the next sources sync. -- The Save button briefly flicked back to enabled right after saving. `publish()` now invalidates the server-side patch-id snapshot when it empties it, so the button transitions enabled → disabled cleanly instead of reading a stale value until the next sync. diff --git a/packages/cli/package.json b/packages/cli/package.json index 7f393bff4..631b7ad4a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@valbuild/cli", "private": false, - "version": "0.97.3", + "version": "0.97.4", "description": "Val CLI tools", "repository": { "type": "git", diff --git a/packages/next/package.json b/packages/next/package.json index 2b302f97c..8bc1bc126 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -12,7 +12,7 @@ "next", "react" ], - "version": "0.97.3", + "version": "0.97.4", "scripts": { "typecheck": "tsc --noEmit", "test": "jest" diff --git a/packages/react/package.json b/packages/react/package.json index 082d242d3..eda94f269 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@valbuild/react", - "version": "0.97.3", + "version": "0.97.4", "private": false, "description": "Val - React internal helpers", "repository": { diff --git a/packages/server/package.json b/packages/server/package.json index ccea11792..80640ae6d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -16,7 +16,7 @@ "./package.json": "./package.json" }, "types": "dist/valbuild-server.cjs.d.ts", - "version": "0.97.3", + "version": "0.97.4", "scripts": { "typecheck": "tsc --noEmit", "test": "jest", diff --git a/packages/ui/package.json b/packages/ui/package.json index 838da425b..e21ccd4fc 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@valbuild/ui", - "version": "0.97.3", + "version": "0.97.4", "sideEffects": false, "repository": { "type": "git",