Repository navigation
a2ui-core 0.7.0
·
63 commits
to main
since this release
- BREAKING CHANGE: Enforce basic catalog function argument and return-type validation across
StrictBaseModel,SchemaValidator, andPayloadValidator: rejectstrandboolvalues on pureint/floatfields (such aslength.min,length.max,numeric.min, andnumeric.max), enforceanyOfrequired-branch constraints (SchemaKeywords.required_any_of), enforce RFC 3986 scheme-prefixed URI syntax (^[A-Za-z][A-Za-z0-9+.-]*:\S*$) on"format": "uri"fields (such asopenUrl.args.url), and validate declaredreturnTypevalues on nested function calls against the catalog function definition on pre-1.0 surfaces. Recommended migration: pass numeric values tominandmax, supply at least one bound onlengthandnumeric, pass a scheme-prefixed URI toopenUrl.url, and match or omitreturnTypeon nested function calls (#4173, #4187). - BREAKING CHANGE: (v1_0) Update
ComponentCommonandCheckableschemas,Catalog.validation_schema, andComponentModel.component_treeto emit@catalogId,@metadata,@accessibility, and@checkson v1.0 surfaces (ComponentModel.component_treewrites envelope metadata under@metadata), whilePayloadValidatorandMessageProcessorgate componentmetadataandcatalogIdenvelope handling to v1.0+ surfaces (so pre-1.0 surfaces treat them as ordinary component properties), dual-read legacy barecatalogId,metadata,accessibility, andcheckswhen undeclared as custom properties by the component schema, validate@metadata.extensionskeys as UAX #31 identifiers, rejectnull@catalogId/ legacycatalogId, and reject components specifying both@-prefixed and bare forms of the same mixin (#1376, #3466, #3511, #4012, #4037, #4044). - Resolve component properties that reference
FunctionCalldirectly (includingallOf-constrained branches) inGenericBinderandNodeResolver(#3809). - (v1_0) Accept the
pathkey ofChildListtemplates inGenericBinder(#3809).
Published to PyPI: a2ui-core 0.7.0
pip install a2ui-core==0.7.0