v0.0.51
6 July 2026
FieldTypeHttp for live API field values, image effects (invert, blur, brightness, contrast, gamma, pixelate, sharpen), item lifecycle hooks, and HTTP/2 curl fix.
Added
FieldTypeHttp: fieldtype that fetches JSON from a REST API and exposes it for use in templates. Configured via four companion global fields:http_connector(namedconfig.api.connectorsentry or empty for absolute URL),http_url(path or absolute URL),http_query(query params, supports{uuid}and{view}placeholder substitution),http_headers(request headers).decode()returns the parsed JSON;response()gives the rawHttpResponse;ok()checks the status. Never indexed in search.- Image effects:
invert,blur,brightness,contrast,gamma,pixelate,sharpencan now be passed inPageImage::src()/transform()option strings alongsidew,h,fit, andgrayscale. The variant hash is now derived from the raw option string rather than a serialized array. - Global fields
http_connector,http_url,http_query,http_headersadded tophlat/fields/for use byFieldTypeHttp.
Changed
Httpcurl header callback: returnsstrlen($line)(the raw line length including CRLF) instead ofstrlen($line) + 2, fixing a double-count that caused HTTP/2 responses to stall.PageFiles::meta():createdfalls back to the file's mtime only when the file actually exists; previously would error on a missing file.