Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Release v0.59.0

Louis Choqueld36e7b95ab00
diff --git a/.badges/tests.json b/.badges/tests.json
index 8d2bc1eb6..e27d52897 100644
--- a/.badges/tests.json
+++ b/.badges/tests.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"label": "tests",
- "message": "11750",
+ "message": "11777",
"color": "blue",
"cacheSeconds": 300
}
diff --git a/.test_durations b/.test_durations
index c3b6d4b5d..c56210171 100644
--- a/.test_durations
+++ b/.test_durations
@@ -2595,6 +2595,8 @@
"tests/unit/pipelex/cli/test_format_run_markdown.py::TestFormatRunMarkdown::test_no_main_output_message": 0.0007,
"tests/unit/pipelex/cli/test_format_run_markdown.py::TestFormatRunMarkdown::test_no_main_stuff_falls_back_to_body": 0.0004,
"tests/unit/pipelex/cli/test_format_run_markdown.py::TestFormatRunMarkdown::test_rendered_markdown_is_used": 0.8179,
+ "tests/unit/pipelex/cli/test_graph_render_cmd.py::TestGraphRenderRefusedSpec::test_a_bracketed_path_prints_as_written[[/old]]": 0.0283,
+ "tests/unit/pipelex/cli/test_graph_render_cmd.py::TestGraphRenderRefusedSpec::test_a_bracketed_path_prints_as_written[[draft]]": 2.0576,
"tests/unit/pipelex/cli/test_init_cmd.py::TestInitCmd::test_do_init_config_copies_all_files": 0.7605,
"tests/unit/pipelex/cli/test_init_cmd.py::TestInitCmd::test_do_init_config_creates_target_directory": 0.002,
"tests/unit/pipelex/cli/test_init_cmd.py::TestInitCmd::test_do_init_config_does_not_call_customize_backends": 0.0028,
@@ -5938,6 +5940,7 @@
"tests/unit/pipelex/core/stuffs/test_document_content_url_validation.py::TestDocumentContentUrlValidation::test_validate_resources_existing_local_file": 0.0004,
"tests/unit/pipelex/core/stuffs/test_document_content_url_validation.py::TestDocumentContentUrlValidation::test_validate_resources_nonexistent_local_file": 0.001,
"tests/unit/pipelex/core/stuffs/test_document_content_url_validation.py::TestDocumentContentUrlValidation::test_validate_resources_pipelex_storage_url_skips": 0.112,
+ "tests/unit/pipelex/core/stuffs/test_document_content_url_validation.py::TestDocumentContentUrlValidation::test_validate_resources_remote_url_is_not_probed": 2.0407,
"tests/unit/pipelex/core/stuffs/test_document_content_url_validation.py::TestDocumentContentUrlValidation::test_validate_resources_unreachable_remote_url": 0.0679,
"tests/unit/pipelex/core/stuffs/test_html_content_rendering.py::TestRenderedHtml::test_rendered_html[content0-<div class=\"report-content x&#34; onclick=&#34;alert(1)\"><h1>Title</h1><p>Hi <strong>there</strong>.</p></div>]": 1.5488,
"tests/unit/pipelex/core/stuffs/test_html_content_rendering.py::TestRenderedHtml::test_rendered_html[content1-<img src=\"https://pipelex-pytest-assets.s3.eu-west-3.amazonaws.com/png_example_1.png\" class=\"msg-img\">]": 0.002,
@@ -5958,6 +5961,7 @@
"tests/unit/pipelex/core/stuffs/test_image_content_url_validation.py::TestImageContentUrlValidation::test_validate_resources_existing_local_file": 0.0007,
"tests/unit/pipelex/core/stuffs/test_image_content_url_validation.py::TestImageContentUrlValidation::test_validate_resources_nonexistent_local_file": 0.0009,
"tests/unit/pipelex/core/stuffs/test_image_content_url_validation.py::TestImageContentUrlValidation::test_validate_resources_pipelex_storage_url_skips": 0.1277,
+ "tests/unit/pipelex/core/stuffs/test_image_content_url_validation.py::TestImageContentUrlValidation::test_validate_resources_remote_url_is_not_probed": 0.2415,
"tests/unit/pipelex/core/stuffs/test_image_content_url_validation.py::TestImageContentUrlValidation::test_validate_resources_unreachable_remote_url": 0.082,
"tests/unit/pipelex/core/stuffs/test_json_content_edge_cases.py::TestJSONContentEdgeCases::test_json_with_boolean_and_null": 0.0016,
"tests/unit/pipelex/core/stuffs/test_json_content_edge_cases.py::TestJSONContentEdgeCases::test_json_with_deeply_nested_structure": 0.0009,
@@ -6669,6 +6673,9 @@
"tests/unit/pipelex/graph/test_html_renderer.py::TestRenderMermaidHtml::test_html_styling_included": 0.0042,
"tests/unit/pipelex/graph/test_html_renderer.py::TestRenderMermaidHtml::test_mermaid_code_preserved_in_json": 0.004,
"tests/unit/pipelex/graph/test_html_renderer.py::TestRenderMermaidHtml::test_multiline_mermaid_preserved": 0.0032,
+ "tests/unit/pipelex/graph/test_mermaid_interactive_viewer.py::TestMermaidInteractiveViewer::test_the_page_carries_the_stuff_json": 2.0679,
+ "tests/unit/pipelex/graph/test_mermaid_interactive_viewer.py::TestMermaidInteractiveViewer::test_the_page_loads_no_sanitizer": 0.0327,
+ "tests/unit/pipelex/graph/test_mermaid_interactive_viewer.py::TestMermaidInteractiveViewer::test_the_page_offers_the_json_and_preview_tabs_only": 0.2475,
"tests/unit/pipelex/graph/test_mermaidflow.py::TestMermaidflow::test_controller_renders_as_subgraph": 0.0012,
"tests/unit/pipelex/graph/test_mermaidflow.py::TestMermaidflow::test_data_flow_edges_producer_to_stuff_to_consumer": 0.0004,
"tests/unit/pipelex/graph/test_mermaidflow.py::TestMermaidflow::test_deterministic_output": 0.0008,
@@ -7504,6 +7511,7 @@
"tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_a_surface_whose_documents_root_keys_are_the_users_records_an_open_root": 0.0006,
"tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_every_surface_has_a_ledger": 0.0021,
"tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_every_surface_has_a_reachable_defaults_layer": 0.0014,
+ "tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_every_whole_document_surface_reports_a_refusal_instead_of_raising": 0.28,
"tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_no_surfaces_own_documents_carry_anything_the_diagnosis_cannot_explain": 0.7166,
"tests/unit/pipelex/migration/test_real_surfaces.py::TestTheRealRegistry::test_the_registry_loads": 0.7612,
"tests/unit/pipelex/migration/test_replay_properties.py::TestTheReplayProperties::test_a_document_path_beneath_an_open_node_resolves_to_its_value_schema": 0.0007,
@@ -8692,8 +8700,11 @@
"tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_blank_url_raises_input_error[ ]": 0.0017,
"tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_blank_url_raises_input_error[]": 0.8355,
"tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_directory_path_raises_input_error": 0.0049,
+ "tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_malformed_http_url_raises_caller_facing_input_error[https://]": 2.0355,
+ "tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_malformed_http_url_raises_caller_facing_input_error[https://exa mple.com/file.pdf]": 0.0016,
"tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_missing_file_raises_input_error": 0.1386,
"tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_unreadable_path_message_is_redacted_under_strict_disclosure": 0.5621,
+ "tests/unit/pipelex/pipeline/test_input_normalizer.py::TestInputNormalizerUrlGuards::test_well_formed_http_url_passes_through_unchanged": 0.0257,
"tests/unit/pipelex/pipeline/test_load_libraries_and_activate.py::TestLoadLibrariesAndActivate::test_rejects_bare_string": 0.8943,
"tests/unit/pipelex/pipeline/test_optionality_warnings.py::TestOptionalityWarningLocator::test_a_hierarchical_domain_keeps_its_full_path_in_the_locator": 0.0153,
"tests/unit/pipelex/pipeline/test_optionality_warnings.py::TestOptionalityWarningLocator::test_a_single_segment_domain_splits_at_its_only_dot": 1.3934,
@@ -10352,6 +10363,13 @@
"tests/unit/pipelex/tools/misc/test_diff.py::TestDiff::test_make_diff_dirs_pretty_recursive": 0.0063,
"tests/unit/pipelex/tools/misc/test_diff.py::TestDiff::test_make_diff_dirs_pretty_shows_update_direction": 0.2344,
"tests/unit/pipelex/tools/misc/test_diff.py::TestDiff::test_make_diff_dirs_pretty_with_differences": 0.0042,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_error_status_raises_caller_facing_error[403]": 0.0168,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_error_status_raises_caller_facing_error[404]": 0.0022,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_error_status_raises_caller_facing_error[500]": 2.0473,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_network_failure_raises_caller_facing_error[connect]": 0.0261,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_network_failure_raises_caller_facing_error[protocol]": 2.0535,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_network_failure_raises_caller_facing_error[timeout]": 0.2443,
+ "tests/unit/pipelex/tools/misc/test_file_fetch_utils.py::TestFetchFileFromUrl::test_success_returns_the_bytes": 2.0289,
"tests/unit/pipelex/tools/misc/test_filetype_utils.py::TestDetectFileTypeFromBase64::test_detect_file_type_from_base64_binascii_error_chain": 0.1751,
"tests/unit/pipelex/tools/misc/test_filetype_utils.py::TestDetectFileTypeFromBase64::test_detect_file_type_from_base64_bytes_success": 0.0513,
"tests/unit/pipelex/tools/misc/test_filetype_utils.py::TestDetectFileTypeFromBase64::test_detect_file_type_from_base64_data_url_no_comma": 0.0893,
@@ -10414,6 +10432,21 @@
"tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateHttpUrl::test_other_status_codes_emit_warning[404]": 0.0541,
"tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateHttpUrl::test_other_status_codes_emit_warning[500]": 0.0672,
"tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateHttpUrl::test_other_status_codes_emit_warning[503]": 0.2062,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_existing_local_path_passes": 2.0359,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_internal_uri_is_skipped[data-url]": 0.0005,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_internal_uri_is_skipped[pipelex-storage]": 0.0139,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_malformed_http_url_syntax_raises[no-host]": 0.0222,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_malformed_http_url_syntax_raises[plain-text]": 0.0262,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_malformed_http_url_syntax_raises[space-in-host]": 2.0309,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_malformed_http_url_syntax_raises[wrong-scheme]": 0.0006,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_missing_local_path_raises": 0.0004,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_remote_url_is_not_probed[http]": 0.0208,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_remote_url_is_not_probed[https]": 0.2418,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_remote_url_is_not_probed[unresolvable-host]": 2.0213,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_user_agent_is_product_and_version_only": 2.0371,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_well_formed_http_url_syntax_passes[encoded-query-fragment]": 0.0004,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_well_formed_http_url_syntax_passes[https]": 0.0004,
+ "tests/unit/pipelex/tools/misc/test_http_utils.py::TestValidateUrlResourceExists::test_well_formed_http_url_syntax_passes[localhost-with-port]": 2.0368,
"tests/unit/pipelex/tools/misc/test_image_format.py::TestImageFormat::test_as_file_extension[jpeg-jpg]": 0.0006,
"tests/unit/pipelex/tools/misc/test_image_format.py::TestImageFormat::test_as_file_extension[png-png]": 0.0007,
"tests/unit/pipelex/tools/misc/test_image_format.py::TestImageFormat::test_as_file_extension[webp-webp]": 0.0007,
@@ -10497,7 +10530,19 @@
"tests/unit/pipelex/tools/misc/test_pretty.py::TestPrettyPrint::test_pretty_print_with_special_chars_and_brackets": 0.0017,
"tests/unit/pipelex/tools/misc/test_pretty.py::TestPrettyPrint::test_pretty_print_with_unicode_and_brackets": 0.0016,
"tests/unit/pipelex/tools/misc/test_pretty.py::TestPrettyPrint::test_pretty_print_with_unmatched_brackets": 0.0007,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_a_rich_renderable_prints_as_its_text": 0.0256,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_a_title_rich_reads_as_an_unmatched_tag_still_prints": 0.0006,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_a_title_wider_than_the_terminal_does_not_hang": 0.1941,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_a_title_wider_than_the_terminal_keeps_the_frame_inside_it": 0.0221,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_a_url_prints_under_a_rendered_title_inside_the_terminal": 2.0181,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_an_operator_title_prints_as_the_text_it_renders_to": 0.016,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_structured_stuff_content_prints_text_not_a_repr": 0.0011,
+ "tests/unit/pipelex/tools/misc/test_pretty_poor.py::TestPrettyPoor::test_stuff_content_prints_its_plain_rendering_without_building_a_renderable": 2.0035,
+ "tests/unit/pipelex/tools/misc/test_pretty_print_mode_config.py::TestPrettyPrintModeConfig::test_boot_applies_the_configured_mode_and_teardown_releases_it": 0.4891,
+ "tests/unit/pipelex/tools/misc/test_pretty_print_mode_config.py::TestPrettyPrintModeConfig::test_shipped_default_is_rich": 2.0494,
+ "tests/unit/pipelex/tools/misc/test_pretty_print_mode_config.py::TestPrettyPrintModeConfig::test_teardown_restores_the_mode_held_before_boot_not_the_default": 0.6739,
"tests/unit/pipelex/tools/misc/test_pretty_silent.py::TestPrettySilent::test_pretty_text_still_works_in_silent_mode": 0.0006,
+ "tests/unit/pipelex/tools/misc/test_pretty_silent.py::TestPrettySilent::test_silent_mode_builds_no_renderable_for_stuff_content": 2.053,
"tests/unit/pipelex/tools/misc/test_pretty_silent.py::TestPrettySilent::test_silent_mode_produces_no_stdout": 1.1187,
"tests/unit/pipelex/tools/misc/test_pretty_silent.py::TestPrettySilent::test_silent_mode_produces_no_stdout_for_dict": 0.0005,
"tests/unit/pipelex/tools/misc/test_pretty_without_rich.py::TestPrettyPrintWithoutRich::test_pretty_without_rich_empty_content": 1.0852,
@@ -11869,6 +11914,8 @@
"tests/unit/pipelex/tracing/test_ndjson_dedup_assembly.py::TestNdjsonDedupAssembly::test_multiple_replays_still_correct[3]": 0.002,
"tests/unit/pipelex/tracing/test_ndjson_dedup_assembly.py::TestNdjsonDedupAssembly::test_multiple_replays_still_correct[5]": 0.1046,
"tests/unit/pipelex/tracing/test_ndjson_dedup_assembly.py::TestNdjsonDedupAssembly::test_partial_replay_still_correct": 0.0022,
+ "tests/unit/pipelex/tracing/test_ndjson_event_log.py::TestNdjsonEventLog::test_a_line_the_event_models_refuse_raises_instead_of_vanishing": 0.385,
+ "tests/unit/pipelex/tracing/test_ndjson_event_log.py::TestNdjsonEventLog::test_a_refusal_does_not_quote_the_refused_event": 0.2564,
"tests/unit/pipelex/tracing/test_ndjson_event_log.py::TestNdjsonEventLog::test_cleanup_removes_directory": 0.0021,
"tests/unit/pipelex/tracing/test_ndjson_event_log.py::TestNdjsonEventLog::test_corrupt_line_skipped": 0.1312,
"tests/unit/pipelex/tracing/test_ndjson_event_log.py::TestNdjsonEventLog::test_deduplication": 0.0031,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2d786a3ab..b00dd58a5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,28 +1,28 @@
# Changelog
-## [Unreleased]
+## [v0.59.0] - 2026-09-16
### Added
-- **`pretty_print_mode` in `[runtime.log]` (Breaking)**: `rich` (the default), `poor` or `silent`, applied at boot beside `log_mode`, so a host with no console turns the "Output of pipe" panels off in configuration rather than in code; a silent printer builds no Rich renderable and does not measure the terminal to size one. Teardown returns the mode to whatever the process held before that boot rather than to `rich`, a boot that fails part-way included, so a process that set the mode itself before booting gets its own mode back; a mode assigned after boot is released too. `pipelex doctor` applies the key too. Boot replaces a `PrettyPrinter.mode` assigned in code before it, so set the key instead.
+- **`pretty_print_mode` in `[runtime.log]` (Breaking)**: `rich` (the default), `poor` or `silent`, applied at boot beside `log_mode`, so a host with no console turns the "Output of pipe" panels off in configuration rather than in code; a silent printer builds no Rich renderable at all. Boot now replaces a `PrettyPrinter.mode` assigned in code before it, so set the key instead, and teardown restores whatever mode the process held before that boot. `pipelex doctor` applies the key too.
### Changed
-- **Remote inputs are checked the way the web checks them (Breaking)**: an http(s) URL on a `Document` or `Image` input is validated for syntax when the inputs are shaped, and refused with `PipelineInputUrlInvalidError` when it does not parse; whether the resource exists is decided by the operator that fetches it, which now raises a caller-facing `RemoteFileFetchError` naming the URL and what the server or the network answered, instead of a raw `httpx` error. The former pre-flight HEAD probe is gone: on the hosted runner it ran as workflow code, so a host that stalled the request tripped Temporal's deadlock detector and the run ended `TIMED_OUT` with no error, and its outcome only ever produced a log line. A local file path is still required to exist before the run starts.
-- **The User-Agent is `Pipelex/<version>`**: the `(https://pipelex.com)` suffix is gone. Product and version is the shape a browser or an SDK sends; the crawler convention of a URL in parentheses is what bot walls key on, and the brand sites that stalled the old string until the timeout serve the new one in under a second.
+- **Remote inputs are checked the way the web checks them (Breaking)**: an http(s) URL on a `Document` or `Image` input is only checked for syntax when the inputs are shaped, and refused with `PipelineInputUrlInvalidError` when it does not parse. Whether the resource exists is decided by the operator that fetches it, which raises a caller-facing `RemoteFileFetchError` naming the URL and the answer it got, instead of a raw `httpx` error. The pre-flight HEAD probe is gone: on the hosted runner a host that stalled it could end a run `TIMED_OUT` with no error. A local file path must still exist before the run starts.
+- **The User-Agent is `Pipelex/<version>`**: the `(https://pipelex.com)` suffix is gone, because the crawler-style URL in parentheses is what bot walls key on, and sites that stalled the old string serve the new one promptly.
### Fixed
-- **Poor pretty-print mode**: a panel whose title is wider than the terminal no longer hangs the run in an endless wrapping loop, which every operator pipe's "Output of pipe" panel did on an 80-column headless console, and no longer draws a frame wider than the terminal either — an over-wide title is elided the way Rich's own panel truncates one. Titles print without their Rich markup, including on the branch a bare url takes, which is where every image output lands; a title Rich reads as an unmatched closing tag, such as a path in square brackets, prints as it stands instead of raising on the execution path. An output prints as its plain rendering instead of a Rich object's repr.
-- **A trace event log the current models refuse is no longer read as an empty one**: a stored event that parses as JSON and is then refused was written whole, by a version whose event shape this one no longer accepts — so the read now refuses with a count and a reason, where it used to skip such lines one by one and hand back whatever was left, reported as a success. Because the read refuses as a whole, such a run now reports neither its graph nor its usage and cost total, each with its assembly error set. A line that is not JSON, the half-written record of a crash mid-write, is still skipped with a warning. `pipelex graph render` names the same diagnosis for a graph spec saved by an earlier version, instead of printing a raw traceback whose pydantic error quoted the run's traced content back to the terminal.
+- **Poor pretty-print mode**: a panel whose title is wider than the terminal no longer hangs the run in an endless wrapping loop, which every "Output of pipe" panel did on an 80-column headless console; an over-wide title is elided instead. Titles print without their Rich markup, a title in square brackets no longer raises, and an output prints as its plain rendering rather than a Rich object's repr.
+- **A trace event log the current models refuse is no longer read as an empty one**: an event written by a version whose event shape this one no longer accepts now makes the read refuse with a count and a reason, instead of being skipped and the remainder reported as a success; such a run reports neither its graph nor its usage and cost total, each with its assembly error set. A line that is not JSON, left by a crash mid-write, is still skipped with a warning. `pipelex graph render` gives the same diagnosis for a graph spec saved by an earlier version instead of a raw traceback.
-### Security
+### Removed
-- **`escape_script_tag` escapes `<` rather than the literal `</script>`**: the HTML script-data end-tag also terminates on `</script` followed by a space, a tab, a slash or `>`, so `</script >` and `</script/>` closed an embedded JSON block while passing the filter untouched, and the remainder of the value parsed as live HTML. Every `<` is now escaped as `\u003c`, which no end-tag spelling gets around and which both JSON and JavaScript parse back to `<`. This guards the graph and stuff viewer pages, which embed model-generated traced content and open from `file://` with no CSP.
+- **The text and HTML renderings of traced data (Breaking)**: `stuff_text_content` and `stuff_html_content` under `[interpreter.pipeline_execution.graph.data_inclusion]` are gone, along with a graph `IOSpec`'s `data_text` and `data_html` and the unused `PrettyPrinter.pretty_html` and `PrettyRenderable.rendered_pretty_html`. Runs no longer pay for rendering every traced input and output on the execution path, and the Mermaid graph page now shows a data node's JSON, with a preview for image and PDF content. A graph spec saved by an earlier version is refused when read back; run the pipeline again to get one in the current shape. **Migration:** run `pipelex migrate` — ledger entry `pipelex-config@4` deletes both keys from `~/.pipelex/` and from every project `.pipelex/` file, keeping one timestamped backup per file.
-### Removed
+### Security
-- **The text and HTML renderings of traced data (Breaking)**: `stuff_text_content` and `stuff_html_content` under `[interpreter.pipeline_execution.graph.data_inclusion]` are gone, and so are a graph `IOSpec`'s `data_text` and `data_html`. A run rendered every traced input and output to Rich text and to HTML on the execution path, at a cost that grew with text volume times nesting depth, and only the Mermaid graph page's Pretty and HTML tabs ever read the result; that page now shows a data node's JSON, with a preview for image and PDF content. `PrettyPrinter.pretty_html` and `PrettyRenderable.rendered_pretty_html`, which nothing else called, go with them. A graph spec saved by an earlier version carries the two fields and is refused when it is read back — by `pipelex graph render`, for instance — because an `IOSpec` takes no key it does not declare; run the pipeline again to get a spec in the current shape. **Migration:** run `pipelex migrate` — ledger entry `pipelex-config@4` deletes both keys from `~/.pipelex/` and from every project `.pipelex/` file, keeping one timestamped backup per file.
+- **`escape_script_tag` escapes every `<`**: the filter only matched the literal `</script>`, so `</script >` and `</script/>` closed an embedded JSON block and let the rest of the value parse as live HTML. Every `<` is now escaped as `\u003c`, which guards the graph and stuff viewer pages that embed model-generated traced content.
## [v0.58.0] - 2026-09-14
diff --git a/pyproject.toml b/pyproject.toml
index b4d9d56e8..34bde88ee 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipelex"
-version = "0.58.0"
+version = "0.59.0"
description = "Execute composable AI methods declared in the MTHDS open standard"
authors = [{ name = "Evotis S.A.S.", email = "[email protected]" }]
maintainers = [{ name = "Pipelex staff", email = "[email protected]" }]
diff --git a/uv.lock b/uv.lock
index bd769100c..188b8e855 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3303,7 +3303,7 @@ wheels = [
[[package]]
name = "pipelex"
-version = "0.58.0"
+version = "0.59.0"
source = { editable = "." }
dependencies = [
{ name = "aiofiles" },