Repository navigation
ARO 0.11.5
#767
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
ARO 0.11.5 — safer defaults for templates and
Exec, a lot more diagnostics before you hit run time, and aComputestring toolkit.{{ Print <x> to the <template>. }}now escapes& < > " 'when rendering.html/.htm. Deliberate markup opts out with therawtarget:{{ Print <trusted-html> to the <template: raw>. }}— the samerawconventionWritealready uses. Escaping is keyed on the template's extension, so non-HTML templates are unaffected. (Update books and runtime for atomic Store dedup and crawler improvements #476)"%.2f", so3.5printed as3.50and anything past two decimals was silently rounded away in console output, responses and compiled binaries. Output for decimal values changes accordingly (nineExamples/expectation files were updated with it). (Remove noisy debug print statements from runtime #474)✨ Features
Language & runtime
Compute—html-escape,url-encode/url-decode,base64-encode/base64-decode,base64url-encode/base64url-decode(JWT-shaped),json-escape,trimandreplace. Specified in ARO-0019 §3.1. (Redesign website with console-like typography and parallax #482)ActionRegistry.addMiddleware(…)wraps every action invocation with a before/after hook, returning a token for removal. Foundation for tracing, metrics and policy without patching individual actions. (Add Business Activity to error messages #107)Tooling
aro checkvalidates prepositions. Every action already declared its accepted set; nothing checked it, soExec the <r> from the <command: …>.compiled clean and failed at run time with a message that never mentioned the preposition. Now reported at check time with the valid set and a corrected statement. Backed byPrepositionCatalog(70 actions, 128 verbs), generated from the runtime and kept honest by parity tests. Reported as a warning rather than an error, because one runtime fast path currently tolerates unaccepted prepositions. (ARO-0046: Typed Event Extraction using OpenAPI Schemas #479)aro actionsshows verb aliases, looks up single actions, and speaks JSON. The listing printed only canonical names, sokeepaliveandcreatedirectory— both used in this project's own examples — were unfindable with the command whose job is to list actions. Adds a Verbs column,aro actions <name-or-verb>(resolving aliases, with an example statement and near-match suggestions), and--format jsonso SOLARO, the LSP and the MCP server can consume one source instead of each maintaining a partial mirror. (Add WebSocket support (ARO-0048) #483)🐛 Fixes
Safety
Exec … withpasses literal argv, not shell text. Arguments were pasted into a shell command line; they are now passed as an argument vector, so values containing spaces, quotes or;are arguments rather than syntax. (Add runtime metrics tracking (ARO-0044) #471)Parser & semantics
as <Type>is honoured byCompute, and no longer eats the qualifier. ARO-0003 presentsas Floatas the way to ask for decimals, butComputeignored it whileReducehonoured it. Tracing that turned up a worse bug:as Typeoverwrote the result's qualifier, soCompute the <m: length> as Integer from <s>.silently became the identity instead of a length. Qualifier and type annotation are now separate fields. (Run docker builds in parallel with the build stage #475).—<file: "./out/report.json">and similar kept their qualifier truncated at the first dot. (Add integration tests for Application-End handlers #470)aro checkrecognisescommand,urlanddestinationas system objects, ending spurious undefined-symbol reports. AddsSystemObjectCatalog. (Fix ZipService test on Linux CI by using GitLab mirror #478)Diagnostics
Template render error in page.html:3:with the offending line, plus a Mustache hint —{{name}}is inevitable given the syntax, and now suggests{{ Print <name> to the <template>. }}. The underlying fix (CLIErrorFormatter.describe, preferringerrorDescription) stops enum case names leaking for everyLocalizedErrorin the runtime, not just templates. (Strip debug symbols from binaries to reduce artifact size #484)📚 Docs
Scripts/generate-action-reference.py, wired into CI, with role-consistency tests — so the reference can no longer drift from the implementation. (ARO-0047: Command-Line Parameters #480)Scripts/check-proposals.pyin CI. EveryARO-NNNNreference must resolve; eight GitLab issue numbers had been written with theARO-prefix acrossSources/and were corrected. (Implement ARO-0048: WebSocket Support #481)Examples/UserServiceusedClose … for the <application>insideApplication-End— a latent shutdown bug the new preposition check found and fixed.🤖 Model & training
Full history:
git log 0.11.4..0.11.5.All reactions