Releases: project-chip/alchemy
Releases · project-chip/alchemy
v0.8.2
Features:
- Support for comparisons in conformance, e.g. "AttributeValue < 5"
- Experimental conformanceXML flag for ZAP generation which embeds conformance information in attributes, commands and events
Fixes:
- Data model generation now generates quieterReporting, diagnostics and sourceAttribution qualities
- Data model PICS codes for base clusters no longer clobber PICS code on aliased clusters
v0.8.1
Features:
- Support for basic type definitions (e.g. aliases for base types)
- Semantic Tag Namespaces & ZAP generation
- ZAP errata now supports overriding cluster names and data type names, and excluding files and clusters from ZAP generation
- Initial spec validation command for checking cross-references
Fixes:
- Various data model lists are now sorted in a stable manner to prevent erroneous diffs
- Command responses are now treated as full data types, and can thus use references to sections
- Mode Tags are now included in ZAP generation, even when not directly referenced
v0.7.3
Features:
- Files can now be marked as "utility-include" in errata, which will cause them to be included during spec parsing (e.g. OperationalState_ErrorStateEnum_BaseValues.adoc)
- Support for the new character constraint (separate limits for bytes vs. codepoints)
- Fields which reference an ambiguous data type outside of their cluster will disambiguate if only one of the ambiguous data types is global
Fixes:
- Some of the sorting of lists in data model was non-deterministic, and thus led to erroneous changes
v0.7.2
Fixes:
- Testplan generation no longer fails trying to find the spec root
- ZAP templates now have a comment with the context of the generation
- Tables with lists of references to other sections now link properly even if the anchor labels do not match
- Added errata for some testplan file naming
v0.7.1
Features:
- Errata file Alchemy now looks for a
.github/alchemy/errata.yaml
file relative to the root of the repo; this contains overrides for handling of spec parsing, disco-balling and ZAP template generation (the initial default file is in PR#10383; until that merges, Alchemy will use a default embedded errata file. - Global Objects in ZAP If Alchemy finds bitmaps, enums, structs, events or commands outside of a cluster definition, it will treat these as global objects; if they're referenced by any cluster during ZAP template generation, it will add them to
src/app/zap-templates/zcl/data-model/chip/global-bitmaps.xml
,global-enums.xml
,global-structs.xml
, etc. - Quality Verification Qualities are now checked against a set of valid qualities for their entity types, and a warning is issued if a quality is used for a nonsensical entity (e.g. Large Message on a Cluster)
Fixes:
- Clusters with TBD-IDs can generate ZAP templates
- The Disallow conformance is now allowed to follow non-qualified mandatory or optional conformances
- ZAP templates now support commandField requirements
- ZAP templates now support long_octet_string
- Data types with names containing spaces are now coerced into valid ZAP names
- Enum values lacking a name column are given names created from the summary or description columns
- Added endpoint and tag data types to ZAP generation
v0.6.3
v0.6.2
Features:
- ZAP template generation automatically adds AtomicRequest and AtomicResponse commands to clusters with at least one attribute with the T quality
- Disco balling range constraints whose limits match the limits of its data type are converted to "all"
- Disco balling features with lower case codes will be capitalized
Fixes:
- ZAP templates should no longer contain types that are only used by attributes, commands or events that are Zigbee-only
- Data Model generation now defaults to master subdirectory, and allows for command line override
- File saves now recursively create parent directories if they do not exist
- Signed temperature type has correct min value
- Correct calculation of table cell widths when the subsequent table cell has a formatter longer than the cell's content
- "Correctly" parse ordered lists with a depth larger than Asciidoc allows
v0.6.1
v0.6.0
Features:
- Adds an Asciidoc-aware word wrap option to format and disco
- Test plans now support commands
Fixes:
- Parser no longer loses context of link: prefix on inline links
- Test plans now exclude Zigbee-only features
- Integer limits in ZAP XML file now use the signedness of the associated data field, rather than the text of the spec