Skip to content

Releases: project-chip/alchemy

v0.8.2

02 Oct 23:59
Compare
Choose a tag to compare

Features:

  1. Support for comparisons in conformance, e.g. "AttributeValue < 5"
  2. Experimental conformanceXML flag for ZAP generation which embeds conformance information in attributes, commands and events

Fixes:

  1. Data model generation now generates quieterReporting, diagnostics and sourceAttribution qualities
  2. Data model PICS codes for base clusters no longer clobber PICS code on aliased clusters

v0.8.1

01 Oct 18:22
Compare
Choose a tag to compare

Features:

  1. Support for basic type definitions (e.g. aliases for base types)
  2. Semantic Tag Namespaces & ZAP generation
  3. ZAP errata now supports overriding cluster names and data type names, and excluding files and clusters from ZAP generation
  4. Initial spec validation command for checking cross-references

Fixes:

  1. Various data model lists are now sorted in a stable manner to prevent erroneous diffs
  2. Command responses are now treated as full data types, and can thus use references to sections
  3. Mode Tags are now included in ZAP generation, even when not directly referenced

v0.7.3

19 Sep 23:16
Compare
Choose a tag to compare

Features:

  1. 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)
  2. Support for the new character constraint (separate limits for bytes vs. codepoints)
  3. Fields which reference an ambiguous data type outside of their cluster will disambiguate if only one of the ambiguous data types is global

Fixes:

  1. Some of the sorting of lists in data model was non-deterministic, and thus led to erroneous changes

v0.7.2

11 Sep 07:14
Compare
Choose a tag to compare

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

03 Sep 22:35
Compare
Choose a tag to compare

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

15 Aug 07:25
Compare
Choose a tag to compare

Fixes:

  • Crash on test plan generation when a cluster has no features

v0.6.2

09 Aug 17:48
Compare
Choose a tag to compare

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

30 Jul 12:45
Compare
Choose a tag to compare
  • Adds support for atomic write quality to ZAP xml
  • Better description generation for commands and events

v0.6.0

15 Jul 13:15
Compare
Choose a tag to compare

Features:

  1. Adds an Asciidoc-aware word wrap option to format and disco
  2. Test plans now support commands

Fixes:

  1. Parser no longer loses context of link: prefix on inline links
  2. Test plans now exclude Zigbee-only features
  3. Integer limits in ZAP XML file now use the signedness of the associated data field, rather than the text of the spec

v0.5.6

26 Jun 15:24
Compare
Choose a tag to compare

Features:

  • Fewer allocations while parsing asciidoc; ~20% speed up

Fixes:

  • Allow unknown user attributes in section titles; this prevented formatting some test plan docs