From 3cc6c963e08dacc12105ab5969cbc71e4e03250e Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sun, 31 Aug 2025 06:32:20 +0500 Subject: [PATCH 1/3] shorten `safe_format` tooltip --- node_formatter.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/node_formatter.py b/node_formatter.py index 51e3a86..83c3d2f 100644 --- a/node_formatter.py +++ b/node_formatter.py @@ -196,11 +196,8 @@ _input_types = _deepfreeze({ "Do recursive format - i.e., allow the chunks from the dictionary to reference other chunks." )}), 'safe_format': (_IO.BOOLEAN, {'default': True, 'label_on': 'yes', 'label_off': 'no', 'tooltip': ( - "Safe mode: If a specific {text pattern} can't be formatted " - "(it doesn't exist in the dict or isn't a valid formatting pattern at all), " - "leave it as-is.\n" - "On: invalid {patterns} preserved intact.\n" - "Off: invalid {patterns} raise an error.\n\n" + "If template contains an invalid {text pattern} which can't be formatted - leave it as-is " + "(instead of throwing an error).\n" "Safe mode is recommended for templates with JSON, CSS, or other literal curly brackets." )}), 'show_status': (_IO.BOOLEAN, {'default': True, 'label_on': 'formatted string', 'label_off': 'no', 'tooltip': ( From deaa99599235b1eda85ef1c98fcdb7fb556a835c Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sun, 31 Aug 2025 06:32:43 +0500 Subject: [PATCH 2/3] `v1.1.1` --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f741bed..164a926 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "string-constructor" -version = "1.1.0" +version = "1.1.1" description = "String formatting (compiling text from pieces) made for humans:\n• Turn parts of prompt into a dictionary - to share them all across the entire workflow as a single connection.\n• Compose your prompt in-place from these snippets and regular text - with just one text field.\n• Easily update the dictionary down the line - get different prompts from the same template.\n• Reference text chunks within each other to build complex hierarchies of self-updating prompts.\n• A true time-saver for regional prompting (aka area composition)." license = {file = "LICENSE.md"} readme = "README.md" From 8b369364f45121956cc1a15cd72f066c6c62e559 Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sun, 31 Aug 2025 06:33:29 +0500 Subject: [PATCH 3/3] CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91a7670..8764012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ No other features planned (but I have nothing against improvements: feel free to To do some fancy stuff with dictionaries, specialized node packs are recommended instead. +# v1.1.1 + +- Shorten tooltip for `safe_format` toggle. + # v1.1.0 - `✨New feature` Safe-formatting mode for `String Formatter`: