Skip to content

Releases: project-chip/alchemy

v1.6.18

28 May 21:46

Choose a tag to compare

Fixes:

  1. Pad 64-bit hex values in ZAP XML with zeros instead of spaces

v1.6.17

27 May 18:58
64ea07f

Choose a tag to compare

What's Changed

  • Add support for custom errata YAML using errata-path CLI argument by @AryaHassanli in #67

Full Changelog: v1.6.16...v1.6.17

v1.6.16

30 Apr 15:12

Choose a tag to compare

Fixes:

  • No longer crashes when generating a test-script that's filtered to a specific device type

v1.6.15

28 Apr 15:13

Choose a tag to compare

What's Changed

Full Changelog: v1.6.14...v1.6.15

v1.6.14

15 Apr 20:26
0ba81dd

Choose a tag to compare

New Features & Enhancements:

  • ZAPDiff CLI:
    • Introduced the zapdiff CLI tool to compare two sets of ZAP XML files and report mismatches.
    • Added mismatch detection for missing tags, missing attributes, and attribute value differences.
    • Added support for exporting inconsistencies to CSV (mismatches.csv) with structured sorting.
  • ZAPDiff Action:
    • Introduced the ZAPDiff GitHub Action combining ZAP Generation and ZAPDiff CLI to compare ZAP XMLs present in SDK with what is generated directly from Spec. (cmd/action)
  • ZAPDiff HTML Report:
    • Added support for side-by-side diffs in the HTML report.
    • Added interactive features including sorting, filtering, and a diff modal.

v1.6.13

07 Apr 21:59
2ecad6f

Choose a tag to compare

Bug Fixes:

  • Disco Ball:

    • Restricted :xrefstyle: attribute injection to root documents only. (disco/baller.go, disco/option.go, tests/baller_test.go)
  • Provisionality:

    • Fixed resolution of parent entities when checking for provisionality, ensuring correct violation masking when an ancestor of newly added element is provisional. (provisional/compare.go)

v1.6.12

25 Mar 20:46
2127752

Choose a tag to compare

New Features & Enhancements:

  • Errata Handling:

    • Feature Conformance: Added support for specifying feature bit conformance within errata files.
    • Command Responses: Errata can now define or override command response types. (sdk/errata.go, errata/sdk.go)
    • Command Field IDs: Added the ability to specify Field IDs for command fields within errata. (sdk/errata.go, errata/sdk.go)
    • Event Fabric Scoping: Errata now supports overriding the fabric scoping (e.g., fabric-scoped, unscoped) of events.
    • Struct Fabric Scoping: Errata can now override the fabric scoping for structs. (sdk/struct.go, errata/sdk.go)
    • Fabric Sensitivity: Added support for overriding Fabric Sensitivity for events in errata. (sdk/errata.go, errata/sdk.go)
    • List Marking in Structs: Errata can now mark struct fields as lists. (sdk/struct.go, errata/sdk.go)
  • AsciiDoc Overlay:

    • Complex Revision Tables: Improved handling of complex tables within document overlays, particularly for revision history or similar structures. (asciidoc/overlay/overlay.go)
  • Matter Specification Parsing:

    • Bitmap Bit Ranges: Added support for defining ranges of bits (e.g., 2..5) in bitmap definitions. (matter/bitmap.go)
    • Improved Conformance Resolution: Enhancements to the resolution logic for conformances within the spec. (matter/spec/conformance.go)

Bug Fixes:

  • Disco Ball:
    • Fixed an issue where the initial xrefstyle attribute was not correctly set or preserved during the "disco balling" process, ensuring consistent
      cross-referencing. (disco/baller.go)
    • Corrected element injection logic to use copying, preventing unintended side effects. (disco/baller.go)

Internal Changes & Refactoring:

  • Refinements to the overlayState and overlayFileState in the AsciiDoc overlay logic. (asciidoc/overlay/state.go)
  • Updates to table column mapping and cell rendering in spec parsing. (matter/spec/table_info.go)
  • General code cleanup and removal of unused parameters. (asciidoc/overlay/overlay.go)
  • Enhancements to how SDK errata are applied to various Matter entities (Bitmaps, Commands, Events, Structs). (sdk/bitmap.go, sdk/errata.go, sdk/extra.go,
    sdk/struct.go)
  • New options added to DiscoOptions. (disco/option.go)

v1.6.10

03 Mar 20:57
3629322

Choose a tag to compare

Features

  • Automated update of zcl json files in presence of struct attributes during zap generation
  • Add support for errata to introduce extra commands, attributes, and feature bits

Fixes

  • Skip enum values with no name during zap generation

v1.6.9

03 Feb 19:47

Choose a tag to compare

Features:

  • Support for shared-* specification in ZAP errata to force derived clusters to use data types from its parent
  • Disco now places device type component sections in standard order

Fixes:

  • Support numbers in conformance identifiers
  • Remove erroneous provisionality warning for SDK test data types
  • Generate separate CharacteristicEnum under Media Playback cluster in ZAP XML for backwards compatibility

v1.6.8

04 Jan 06:54

Choose a tag to compare

v1.6.8 Pre-release
Pre-release

Adds support for identifiers with numerals in conformance expressions