Romuald Członkowski
2d4115530c
feat: add patchNodeField operation for surgical string edits (v2.46.0) (#698)
Add dedicated `patchNodeField` operation to `n8n_update_partial_workflow`
for surgical find/replace edits in node string fields. Strict alternative
to the existing `__patch_find_replace` in updateNode — errors on not-found,
detects ambiguous matches, supports replaceAll and regex flags.
Security hardening:
- Prototype pollution protection in setNestedProperty/getNestedProperty
- ReDoS protection rejecting unsafe regex patterns (nested quantifiers)
- Resource limits: max 50 patches, 500-char regex, 512KB field size
Fixes #696
Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 09:53:44 +02:00
..
2026-04-03 09:53:44 +02:00
2026-03-31 12:32:31 +02:00
2026-04-03 09:53:44 +02:00
2026-04-03 09:53:44 +02:00
2026-04-03 09:53:44 +02:00
2025-12-05 12:01:31 +01:00
2026-04-03 09:53:44 +02:00
2026-04-03 09:53:44 +02:00
2026-04-03 09:53:44 +02:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2026-01-13 17:47:27 +01:00
2026-01-13 17:47:27 +01:00
2026-03-31 12:32:31 +02:00
2026-04-01 00:17:27 +02:00
2026-04-01 00:17:27 +02:00
2026-04-01 00:17:27 +02:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2026-03-31 12:32:31 +02:00
2026-03-31 12:32:31 +02:00
2025-12-05 12:01:31 +01:00
2026-03-31 12:32:31 +02:00
2026-03-31 12:32:31 +02:00
2026-03-31 12:32:31 +02:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2026-04-01 00:17:27 +02:00
2026-04-03 09:53:44 +02:00
2026-04-03 09:53:44 +02:00
2025-12-05 12:01:31 +01:00
2026-03-31 12:32:31 +02:00
2026-03-31 12:32:31 +02:00
2026-03-31 12:32:31 +02:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00
2025-12-05 12:01:31 +01:00