Merge branch 'dev': v1.1.1

This commit is contained in:
Lex Darlog (DRL)
2025-08-31 06:34:16 +05:00
3 changed files with 7 additions and 6 deletions
+4
View File
@@ -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`:
+2 -5
View File
@@ -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': (
+1 -1
View File
@@ -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"