Skip to content

a2ui-core 0.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 19:18
· 63 commits to main since this release
d63fd43
  • BREAKING CHANGE: Enforce basic catalog function argument and return-type validation across StrictBaseModel, SchemaValidator, and PayloadValidator: reject str and bool values on pure int/float fields (such as length.min, length.max, numeric.min, and numeric.max), enforce anyOf required-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 as openUrl.args.url), and validate declared returnType values on nested function calls against the catalog function definition on pre-1.0 surfaces. Recommended migration: pass numeric values to min and max, supply at least one bound on length and numeric, pass a scheme-prefixed URI to openUrl.url, and match or omit returnType on nested function calls (#4173, #4187).
  • BREAKING CHANGE: (v1_0) Update ComponentCommon and Checkable schemas, Catalog.validation_schema, and ComponentModel.component_tree to emit @catalogId, @metadata, @accessibility, and @checks on v1.0 surfaces (ComponentModel.component_tree writes envelope metadata under @metadata), while PayloadValidator and MessageProcessor gate component metadata and catalogId envelope handling to v1.0+ surfaces (so pre-1.0 surfaces treat them as ordinary component properties), dual-read legacy bare catalogId, metadata, accessibility, and checks when undeclared as custom properties by the component schema, validate @metadata.extensions keys as UAX #31 identifiers, reject null @catalogId / legacy catalogId, and reject components specifying both @-prefixed and bare forms of the same mixin (#1376, #3466, #3511, #4012, #4037, #4044).
  • Resolve component properties that reference FunctionCall directly (including allOf-constrained branches) in GenericBinder and NodeResolver (#3809).
  • (v1_0) Accept the path key of ChildList templates in GenericBinder (#3809).

Published to PyPI: a2ui-core 0.7.0

pip install a2ui-core==0.7.0