b2e30a6b02
* Commands without content can be ended with "/>" instead of a full "<ppp:/command>". This applies to "stn i", "echo" and "ext" commands. * Fix and better logging on evaluating final user variables. * Variables can be used inside a wildcard identifier, as in __wildcard${x:1}__.
Antonio Cordero Balcazar2025-12-08 10:57:12 +01:00
22c5c77904
* Choice commands: include wildcard choices allowing composability in wildcards. * Detection of circular references in wildcards. * Cache for extranetwork mappings.
Antonio Cordero Balcazar2025-10-05 16:08:27 +02:00
db43d409f8
* removed unnecessary processing of variables. * error control when reading wildcard or mapping files, and second chance for files with incorrect encoding. * fix processing inside extranetwork tag.
v2.12.1
Antonio Cordero Balcazar2025-09-27 13:22:19 +02:00
8769c21ee5
* new "optional" parameter for choices/wildcard. * added "$$" to end of parameters as first choice in a wildcard, to avoid confusion with a choice that could be considered parameters. * additional fixes in the parser.
v2.12.0
Antonio Cordero Balcazar2025-09-02 17:42:48 +02:00
54a20117ce
* New extranetworks command to group the triggers with the extranetwork. * Mapping of extranetworks through the new command. This allows you to use a "virtual" extranetwork that is converted to a real one depending on conditions, like the model kind/variant. * Fixed a parsing bug with the if command. * Some refactoring and additional checks.
Antonio Cordero Balcazar2025-09-01 16:50:46 +02:00
fe61e54f41
* Selection of prompt parser based on heuristics to improve parsing time on simpler cases. * Improved timing logging. * Refactor application support handling. * Enhanced regex patterns in ppp.py for wildcard and choice detection to ensure proper escaping. * Included icon source files.
Antonio Cordero Balcazar2025-06-08 19:10:51 +02:00
c03339a618
* Better processing of interruptions using an exception. * New option on_warning to stop on invalid content. * New option cleanup_extra_separators_include_eol to choose whether to also remove adjacent EOLs when removing extra separators or not. Default is not to do it. In previous versions it was forced. * Refactoring of the cleanup method. * Only simplify attention modifiers when the merge attention option is set. * A1111: avoid logging about HR prompts and avoid saving them in extra metadata when not different. * A1111: consider options and environment info in the caching of results. * Some refactorings.
v2.11.0
Antonio Cordero Balcazar2025-05-13 21:38:02 +02:00
b837f38422
* if_wildcards option defaults now to stop. * ComfyUI: new wildcards_input. * removed json import since yaml can read them. * more models detected in ComfyUI. * ComfyUI: example workflow.
Antonio Cordero Balcazar2025-04-19 17:10:36 +02:00
5e3c8cbc44
* ComfyUI: updates to the ComfyUI registry workflow. * A1111: option to add original prompts to metadata. * fixed some bogus import error shenanigans. * warn when a model name detects multiple variants.
Antonio Cordero Balcazar2025-04-11 17:49:10 +02:00
a1958db81f
* Improved conditions with bool operations. * Enhance PromptPostProcessorComfyUINode to return variables. * New PromptPostProcessorSelectVariableComfyUINode for selecting variables. * Fixed detection of Flux Schnell in Forge. * Improved documentation.
v2.9.0
Antonio Cordero Balcazar2025-02-09 18:34:53 +01:00
e059a6d821
* add ifundefined modifier when setting variables. * ComfyUI: better flux detection. * Saving of UI settings and prompt/negative prompt to metadata.
Antonio Cordero Balcazar2024-12-30 14:20:45 +01:00
b06bcfa677
* Turned pony detection into detection of any kind of variant models based on filename. Added illustrious. Breaking change: the setting is different and changed pony substrings are not imported. * Fixed and refactored some UI settings. Slight change in the generation of batched seeds. * Detection of reforge. * Small refactoring when getting choices.
Antonio Cordero Balcazar2024-12-15 13:32:05 +01:00
ee7ba94a30
* fix error in i2i detection. * check for lingering special character sequences. * small refactorings.
v2.8.1
Antonio Cordero Balcazar2024-11-23 14:00:43 +01:00
3810320f6e
* Simpler versioning * Cache now takes wildcard definitions into consideration. * ComfyUI: node is not cached if wildcard processing is active. * Add a space with prefix and suffix if needed. * Checks requirements before installing them.
v2.8.0
Antonio Cordero Balcazar2024-10-20 13:39:52 +02:00
a18e5e659c
* Improved processing of wildcards and choices. * Support for prefix and suffix in wildcard options and object format of the options in json/yaml files.
Antonio Cordero Balcazar2024-10-12 16:48:24 +02:00
93f0102897
* Fix a bug with the variable echo command. * Fix a bug obtaining random seed. * Reading version number from pyproject file. * A1111: Support for forcing the same seed/variation seed to all images in a batch. * A1111: Support for unlinking the seed from the image seed and specifying one for the prompt. * ComfyUI: Warning on use of invalid constructs. Related settings kept but default to False.
Antonio Cordero Balcazar2024-10-06 18:49:09 +02:00
0b03e1773f
* Added pyproject.toml to publish to ComfyUI registry. * ComfyUI: optional modelname and model, and allowed sending a classname string instead of a model (#12)
v2.7.0
Antonio Cordero Balcazar2024-10-05 11:30:33 +02:00
b019c5604b
chore(publish): Add Github Action for Publishing to Comfy Registry
snomiao2024-10-01 16:01:06 +00:00
42f7fc65cc
* Fixed "dictionary changed size during iteration" error. * Support for choice labels and their use for filtering wildcard choices. * New system variable _modelclass and renaming of _sd->_model, _sdname->_modelname and _sdfullname->_modelfullname. * Support for auraflow models with _is_auraflow. * Option to "join attention" when sending to negative replaced and generalized as "merge attention". * Improved processing of extranetwork tags.
v2.6.0
Antonio Cordero Balcazar2024-09-21 16:50:29 +02:00
8a960df0aa
* Add support for wildcards. * Better debug log. * Set commands support lazy evaluation and content addition. * Unified in one tree and processing phase. * Supports Flux. * Fix evaluation of string variable as truthy. * Show invalid wildcards. * Better detection of installed UI. * Improved cache of results. * Works as a ComfyUI node. * Debug setting changed to debug level. * Fixes in variable use. * Added timing reporting. * Detection of more model types. * Installation script for requirements. * Extension metadata for A1111. * Lark grammar in separate file and cached. * Improved conditions for if command. * Avoid repeats in the processing of prompts. * Fix multiple loading of settings.
v2.5.0
Antonio Cordero Balcazar2024-06-09 15:31:50 +02:00
bad0d24fbe
* New cleanup options: Remove additional extra separators, Use EOL instead of Space before BREAKs, Use EOL instead of Space before ANDs * New format for commands * New commands: "set", "echo" and "if/elif/else" * Option to Remove extra network tags.
v2.4.0
Antonio Cordero Balcazar2024-03-31 13:20:04 +02:00
e8643680f9
* Support for prompt composition (AND) and cleaning around it. * Option to cleanup around extra network tags. * Improved cleanup. * Some refactoring.
v2.3.0
Antonio Cordero Balcazar2023-12-17 17:58:23 +01:00
3fc61c8dd1
* Improved documentation. * New options to choose whether to process in img2img. * Option to detect and do something with unwanted wildcards. * Cleanup processing rewritten and separated in multiple options.
v2.2.0
Antonio Cordero Balcazar2023-12-07 23:13:29 +01:00
77a74a8088
* Renamed the extension to "Prompt Post-Processor". * Improved logging. * Fix compatibility with A1111 hiresfix.
v2.1.5
Antonio Cordero Balcazar2023-11-17 17:03:20 +01:00
c8a7b6c815
* New parser, which now supports the attention, alternation and scheduling modifiers and replicates them in the negative prompt when necessary. Implements issue #1. * Removed configuration of tag format since it cannot be done with the new parser.
v2.0.0
Antonio Cordero Balcazar2023-08-12 19:09:39 +02:00