changedInput schema / properties / mockResponse / properties / body / description
Previous value: -"Response body string (default: empty)"New value: +"Response body (default: empty). {{ placeholders }} are filled in from the request: {{ json.id }} (a JSON or form body field), {{ body }}, {{ headers.user-agent }}, {{ query.page }}, {{ method }}, {{ path }}, {{ id }}, {{ uuid }}, {{ now }}; filters: | default: \"x\", | json, | lower, | upper, | truncate: 80"
changedInput schema / properties / mockResponse / properties / headers / description
Previous value: -"Response headers (default: none)"New value: +"Response headers (default: none); values may use {{ placeholders }} too"
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / field / description
Previous value: -"Request field to match against"New value: +"What to read: method, path, header (name), query (name), body (text), body_path (path into a JSON or form body), content_type, size"
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / field / enum
Previous value: -[
- "method",
- "path",
- "header",
- "body_contains",
- "body_path",
- "query"
-]New value: +[
+ "method",
+ "path",
+ "header",
+ "query",
+ "body",
+ "body_contains",
+ "body_path",
+ "content_type",
+ "size"
+]
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / name / description
Previous value: -"Header name or query param name (required for header/query, max 256 chars)"New value: +"Header or query parameter name; the email part; spf, dkim or dmarc"
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / op / description
Previous value: -"Comparison operator"New value: +"eq, neq, contains, not_contains, starts_with, ends_with, matches (glob: * one path segment, ** any, ? one character), regex (RE2, searched anywhere; (?i) ignores case), exists, not_exists, gt, gte, lt, lte (numbers)"
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / op / enum
Previous value: -[
- "eq",
- "contains",
- "starts_with",
- "matches",
- "exists"
-]New value: +[
+ "eq",
+ "neq",
+ "contains",
+ "not_contains",
+ "starts_with",
+ "ends_with",
+ "matches",
+ "regex",
+ "exists",
+ "not_exists",
+ "gt",
+ "gte",
+ "lt",
+ "lte"
+]
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / path / description
Previous value: -"JSON dot-notation path (required for body_path, max 256 chars)"New value: +"Dot path for body_path, e.g. data.object.status or items.0.sku or a[\"odd.key\"]"
changedInput schema / properties / responseRules / items / properties / conditions / items / properties / value / description
Previous value: -"Value to compare against (required unless op is \"exists\", max 4096 chars)"New value: +"What to compare with (not for exists and not_exists)"
changedInput schema / properties / responseRules / items / properties / response / properties / body / description
Previous value: -"Response body string (default: empty)"New value: +"Response body (default: empty). {{ placeholders }} are filled in from the request: {{ json.id }} (a JSON or form body field), {{ body }}, {{ headers.user-agent }}, {{ query.page }}, {{ method }}, {{ path }}, {{ id }}, {{ uuid }}, {{ now }}; filters: | default: \"x\", | json, | lower, | upper, | truncate: 80"
changedInput schema / properties / responseRules / items / properties / response / properties / headers / description
Previous value: -"Response headers (default: none)"New value: +"Response headers (default: none); values may use {{ placeholders }} too"