What happened
The release removes A2UICatalogsKey and A2UIDefaultCatalogIDKey; catalogs and surface metadata are now injected only through Surface. It also rejects certain nested regex repetitions with NESTED_QUANTIFIER: patterns where a repeated group can match the empty string in more than one way. The release notes warn these patterns could make NSRegularExpression run for seconds or longer on inputs only a few characters long.
Catalogs can now carry optional Markdown design instructions for agents via CatalogProtocol and Catalog; both Catalog.init and Catalog.derive accept instructions:. A derived catalog does not retain its source catalog’s instructions. When set, instructions are written into v1.0 inline catalogs by MessageProcessor.getRendererCapabilities.
MessageProcessor processing methods add isUserActivated, defaulting to false. MessageProcessor.addCatalog(_:) allows registration after initialization, and later createSurface messages, renderer function calls, and getRendererCapabilities(options:) see the added catalogs. Existing surfaces keep their original catalogs, and duplicate catalog IDs throw A2UICatalogError.
Other changes: NodeResolver generalizes direct data-binding properties to DataBinding<JSONValue> and resolves direct function-call properties while preserving typed resolution for inline dynamic unions. Rejected two-way binding writes now report DATA_ERROR to surface action handling and the MessageProcessor outbound listener, while leaving the data model unchanged. SVGPathParser now draws elliptical arc commands A and a, including arc flags without separators, enabling circles and rounded shapes in Icon svgPath values.
What the archive adds
This follows earlier A2UI coverage of the project’s CLI v0.1.0 and its typesafe component code generator; the Swift release is a separate update. (earlier New Runtime note)
Skill to build now
Pass catalogs through Surface.init(viewModel:catalogs:defaultCatalogID:) or Surface.makeWithBasicCatalogs(viewModel:). Update metadata through SurfaceViewModel using metadata, setMetadata(_:), setExtension(_:value:), or removeExtension(_:); read the three catalog and metadata values from @Environment.
For regex migration, rewrite repetitions so each iteration consumes at least one character—for example, use (?:ab?){3} instead of (?:a?b?){3}. If processing a payload inside a user gesture, pass isUserActivated: true so v1.0 callRendererFunction can invoke functions requiring user activation, including nested calls in its arguments.
Reader takeaway
The breaking change is structural: SwiftUI environment values for catalogs and surface metadata are now read-only, with injection owned by Surface. Before upgrading, move setup to the named Surface and SurfaceViewModel APIs and check regex repetitions that may match empty strings in multiple ways. The release also adds post-initialization catalog registration, but existing surfaces do not inherit later additions.