Repository navigation
2.23.0
Upgrading
- One migration adds five nullable columns to
automation_connection_operations(body_mode,
content_type,raw_body,headers,response_format) and widensmethodto 32 characters:
runphp artisan migrate. Existing operations readnullas before (JSON body from rows,
answer detected automatically, no extra headers) and behave exactly as they did. composer.jsonnow requiresext-domandext-libxml(XML answers, CalDAV).- Behaviour change: a Filter that does not match inside a loop body now skips only that
item instead of stopping the run (see Changed: loops). Outside loops nothing changes.
Added: raw requests on connection operations
- [new] Any method. An operation accepts any RFC 7230 token, uppercased on save (
REPORT,
PROPFIND,MKCALENDAR). The CP lists the common ones and has Other method for the rest. - [new] Raw body. Request content can be Raw text: a template with its own content type, where
{{ input.x }}inserts text,{{ input.x | json }}a JSON literal and{{ input.x | xml }}an
XML-escaped value. A raw body goes out on GET too. - [new] Operation headers. Templated key/value headers per operation, over the connection's default
headers. The connection's auth header always wins, so an operation can neither replace nor read it.
Added: response formats
- [new]
response_format:auto(by Content-Type),json,xmlortext. XML is read into an array
without namespaces (d:hrefishref), so response map paths like
multistatus.response.0.hrefwork; an element that repeats becomes a list. - [new] Every operation's output now carries
headers: the response headers, names lowercased, masked
like the rest of the output, withoutset-cookie.{{ node.headers.etag }}is the ETag.
Added: CalDAV
- [new]
caldav.find_events(connection, range, optionalurl_contains): oneREPORTcalendar-query,
a list of{href, etag, uid, summary, dtstart, url, url_id, description}.url_idis the id at
the end of the URL (32 hex or a UUID), which for a Notion link is the page id. No raw calendar
text in the output or the run log. - [new]
caldav.upsert_description_block(connection, href, block text, two markers): freshGET, the
block set between the markers in DESCRIPTION,PUTwithIf-Matchonly when something changed.
statusiswritten,unchanged,skipped_empty(empty block, nothing touched),conflict
(412, fails so a retry reads again) orerrorwith areason;marker_missing(start marker
without end marker) never writes. A test run reads and reportswould_writewithout a PUT. - [new] Only DESCRIPTION, DTSTAMP and LAST-MODIFIED change; the rest of the event goes back byte for
byte (VALARM, other folding,LANGUAGE/ALTREPparameters), lines fold at 75 octets without
cutting UTF-8, and the written text is always CRLF. Ported with its tests from the
anders-band.de gig calendar. - [new] Every VEVENT of the resource gets the block, intentionally. A changed occurrence of a
recurring series (RECURRENCE-ID) has its own DESCRIPTION, and that is what the calendar app
shows on that date; written into the series only, the block would be missing exactly where
someone moved a date. - [new] A
200without any VEVENT (login page, empty body) fails withreason: not_icsinstead of
passing asunchanged. - [new] Header names compare case-insensitively: a default or operation header named like the auth
header (authorization,X-API-KEYagainstx-api-key) is dropped, never merged with the
credential.HostandContent-Lengthcannot be configured (refused on save, dropped at
send time), and a raw body's content type replaces anyContent-Typeheader. - [new] The credential is a connection (base URL = calendar collection, Basic auth), so each brand has
its own calendar and there is no env key. Without one both actions do nothing and say so. An
hrefon another host than the collection is refused, not sent the credential. - [new] New option source
connectionsfor pickers of the current brand's connections.
Added: token filters
- [new]
join:sep(default", ",\nfor a line break),pluck:key(dot notation),first,last,
split:sep,replace:from,to,json_decode,where:key,value. - [new]
date:format,zoneformats in a time zone ({{ x | date:H:i,Europe/Berlin }}). A date
given as a Notion date value formats its start. - [new] Quoted arguments keep their spaces and may contain
|and,(join:" | ",
replace:",",";"). A quote only counts right after:or,, so unquoted arguments,
apostrophes included, behave as before.
Added: Compose Text
compose_text builds a block of plain text from the run data with Antlers: loops,
conditions, modifiers, timezone date formatting. Output text and is_empty. Sandboxed:
only the run context as data, no cascade, no tags except foreach, only data modifiers, no
PHP and no method calls; anything else fails the node with the reason. Data named like a tag
(user, form) reads as data. A render stops at 64 KB of text or 50,000 steps. Tidy blank lines
(on by default) collapses the blank lines conditions and loops leave behind. Pure, so a test
run renders what a real run would.
A schema field can now declare resolve_tokens: false; the executor hands it over as stored.
The Compose Text template uses it, so the variables inside a loop reach Antlers instead of
being emptied as tokens first.
Added: Notion (read only)
- [new]
notion.query_data_source: rows of a data source, with a raw JSON filter and sorts, a
Related to any of filter (relation property plus page IDs), pagination up to a request
cap withhas_more. An empty ID list reads no rows and asks nothing. - [new]
notion.get_pages: pages by ID, from a list, JSON or text, IDs or Notion links. A page
that cannot be read fails the node unless Skip pages that cannot be read is on. - [new]
notion.page_text: the text blocks of a page as a tree and as plain text, 1 to 3 levels;
callouts carryheading(their text or a leading quote) andbody; empty blocks and empty
template labels (Zimmer gebucht:) can be skipped.
Properties come as plain values (text, numbers, option names, relation IDs, rollups as
lists, formula values). Dates carry the time zone applied: start/end in ISO 8601 with the
offset written in, plus start_date, start_time, end_date, end_time in a chosen zone.
The credential is a connection with bearer auth (handle notion by default); the nodes
always call https://api.notion.com/v1/ with Notion-Version: 2025-09-03, sending only the
token (no default headers). Without a connection or token, or with a connection whose auth is
not bearer, they read nothing and fail with that reason. Limits per run: 50 requests per
query, 1000 children per block, 300 requests per node. All three run for real in a test run,
since they only read.
Changed: loops skip items instead of ending the run
- A Filter inside a loop body ends only the current item. Before, the first item that did
not match stopped the whole run and every later item was never processed. In nested loops a
Filter ends the item of the loop it sits in. A Stop node inside a loop still ends the run; a
Filter outside any loop still stops it. - New Loop option
on_item_error:stop(default, as before) fails the run when a node in
the body fails;continueends only that item and goes on with the next. The failed node
stays in the run log as failed, the loop's output gainsfailed_itemsandfailed
([{index, error}], readable after the loop as{{ nodes.<loop>.failed_items }}), and the
run keeps its status but carries an error message naming the loop, the count and the failed
indexes, so it shows on the run and in the lists. There is no separate partial status and no
failure alert for such a run. Only a node's failed result skips the item; an error of the
engine itself (database, run log) still fails the run. The failures are written to the run's
context as they happen, so they survive a Delay in a later item. - A Delay or Wait inside a loop body still ends the loop, as before: the run resumes as a plain
path, the remaining items do not run, and in the rest of the body a Filter stops the run and
on_item_errordoes not apply. Documented indocs/architecture.md. _on_error: continueon a node is unchanged and different: without anerroredge it
continues on the default edge, so the next step runs without the failed node's output. The
Loop option ends the item at the failed node instead. Seedocs/architecture.md.
Added: import updates an existing automation in place
- [new] Import strategy
update(APIhandle_strategy: "update",automations:sync --strategy=update,
and the Update the automation with the same handle switch on the Import page): the
automation with the file's handle gets its name, description, nodes and edges; id, uuid,
handle, enabled state and run history stay, and the graph before the import is saved as a
revision. Nodes whosenode_keysurvives keep their uuid. Without a matching automation it
creates one. The API needsedit automationsfor it and answers200with
meta.updated: true. A file that says what the automation already holds (order of nodes,
edges and config keys aside) writes nothing: no revision, no audit entry, no version bump,
meta.unchanged: true, and the sync command prints(unchanged), so--watchdoes not
pile up revisions. The default is unchanged: a new, disabled automation with a suffixed
handle.
Fixed: file sync wrote to / with the default config
- [fix]
automations.file_storage.pathships asnull, andconfig($key, $default)does not fall
back on null, so Sync to file andautomations:sync --from=dbwrote/{handle}.json(or
failed on permissions). An unset or empty path now meansresource_path('automations'); a
path that is only/is refused with an error.