From 8ae9441e38c63257295d280a245cb2086469978f Mon Sep 17 00:00:00 2001 From: flemming-it Date: Sat, 30 May 2026 14:57:29 +0200 Subject: [PATCH] =?UTF-8?q?chore(deps):=20pull=20flow-editor=200.1.1=20?= =?UTF-8?q?=E2=80=94=20false-positive=20dirty=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates fai_studio_flow_editor pin from 51f9a1d to 8b918f8. Upstream fix: the editor's dirty-detection compared _code.text against a snapshot taken before CodeController normalisation, so opening any flow whose loaded text the controller silently rewrote (trailing-newline handling, YAML fold markers, line-ending normalisation) immediately read as dirty. Clicking a different file in the list then raised the "Discard unsaved changes?" prompt even though the operator hadn't typed anything. The package now compares _code.fullText (the canonical post-processed value) against a baseline captured AFTER the text assignment. Comparing fullText-to-fullText eliminates the spurious diff. Version: 0.51.1 → 0.51.2 Signed-off-by: flemming-it --- lib/main.dart | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 9457765..2dcb566 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -27,7 +27,7 @@ import 'widgets/widgets.dart'; /// Studio's own build version. Bump on every UI commit so the /// running app self-identifies — visible in the sidebar header /// and quick-glance proof that you're seeing the current build. -const String kStudioVersion = '0.51.1'; +const String kStudioVersion = '0.51.2'; Future main() async { WidgetsFlutterBinding.ensureInitialized(); diff --git a/pubspec.lock b/pubspec.lock index 489a92a..4e5aec4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -125,10 +125,10 @@ packages: description: path: "." ref: main - resolved-ref: "51f9a1d2b1a292a109457ae29dd4e530397fd1c2" + resolved-ref: "8b918f8f2afe5babe663897aa20483708a980c4b" url: "https://git.flemming.ai/fai/studio-flow-editor" source: git - version: "0.1.0" + version: "0.1.1" fake_async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ad82360..34d1ada 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fai_studio description: "F∆I Studio — desktop GUI for the F∆I hub" publish_to: 'none' -version: 0.51.1 +version: 0.51.2 environment: sdk: ^3.11.0-200.1.beta