Repository navigation
Releases
v2.2.0
ayida v2.2.0
ayida compiles a C4 software architecture from HCL into diagrams, markdown, a site, queries
and an MCP server for assistants. See the changelog.
Coming from loko 1.6? Follow Upgrading to 2.0.
Install
# Homebrew (macOS and Linux)
brew install --cask madstone-tech/tap/ayida
# Go
go install github.com/madstone-tech/ayida/v2@v2.2.0
# Docker
docker run --rm -v "$PWD:/workspace" ghcr.io/madstone-tech/ayida:v2.2.0 buildOr download an archive below and put ayida on your PATH. Verify with ayida --version.
Generated views can run from top to bottom, diagrams render with d2 0.10, and TOON output follows
spec v4.4. Rebuild committed diagrams and sites, and review them: the new layout engines place
some nodes differently. MCP clients and scripts that parse TOON must read spec v4.4.
Added
directiononprojectanddeploymentsets the direction of generated views.
direction = "down"on the project lays out the landscape, the system and container views,
and the deployment views from top to bottom. Adeploymentblock can set its own value, which
wins for that environment's view. Declared views keep their owndirection. Without the
attribute, the diagrams, pages and export stay the same. In themicroservicesexample,
"down"changes the landscape from 5,129 × 584 px to 1,585 × 2,314 px. MCPapply_edit,
schema,ayida diffand the export know the attribute
(ADR-0026).- The
wide_viewhint stops when the author setsdirectionon the project, or on the
deploymentblock of a deployment view.
Changed
- Diagrams render with d2 0.10. d2 moved to the module
github.com/d2lang/d2, and versions
after 0.7.2 exist only there. Its elk and dagre engines are now Go code, so builds are much
faster: on a model of 1,000 elements, a full build takes 2.9 s instead of 63 s with elk, and
2.8 s instead of 8 s with dagre. SVG files are about 30 % smaller, because d2 embeds its fonts as
WOFF2. The engines place some nodes differently: in the examples, 8 of 32 diagrams change size,
by 7 % of their area at most. A committed diagram or site can therefore change after a rebuild. - The module requires Go 1.27.4, as d2 0.10 does.
go installwith an older Go 1.27 still
works: by default (GOTOOLCHAIN=auto), Go downloads 1.27.4 by itself. - The
wide_viewhint namesdirection = "down"for a wide landscape or deployment view. It
no longer suggests a declared view of the same elements, because such a view loses the system
edges or the deployment structure. The hint for a deployment view now points at its
deploymentblock (ADR-0026). - TOON output follows spec v4.4 (toon-go 1.0.1,
#13).
This changes the default output of the MCP tools, andexport,queryanddiffwith
--format toon. An array length reads[N]instead of[#N]. An array of objects with nested
objects is now one table. MCP clients and scripts that parse TOON must read spec v4.4. The
output is the same size or smaller: 5 to 6 % for the larger example exports, and 43 % for MCP
validatewith full ranges.jsonoutput does not change. - The examples give every element its own prose page. The
serverlessexample now sends each
order through an SNS topic to one queue for each processor, and its deployment view uses
direction = "down". It needs ayida 2.2 (ayida_version = "~> 2.2").
Full Changelog: v2.1.1...v2.2.0
v2.1.1
ayida v2.1.1
ayida compiles a C4 software architecture from HCL into diagrams, markdown, a site, queries
and an MCP server for assistants. See the changelog.
Coming from loko 1.6? Follow Upgrading to 2.0.
Install
# Homebrew (macOS and Linux)
brew install --cask madstone-tech/tap/ayida
# Go
go install github.com/madstone-tech/ayida/v2@v2.1.1
# Docker
docker run --rm -v "$PWD:/workspace" ghcr.io/madstone-tech/ayida:v2.1.1 buildOr download an archive below and put ayida on your PATH. Verify with ayida --version.
Changes
A patch release for the Homebrew cask. The language, the diagnostics and the diagrams do not
change. The repository is now public: report a vulnerability in private as
SECURITY.md describes.
Fixed
- Homebrew no longer warns about the ayida cask. The 2.0.0 and 2.1.0 casks used a Ruby
postflightblock, so everybrewcommand that loaded the cask printed "Callingpostflightis
deprecated!". The cask now usespostflight_steps, which removes the macOS quarantine attribute
in the same way. Runbrew upgrade --cask ayidato get it.
Changed
- The Madstone Eye notice records the permission to distribute the glyph. The text reaches
assets/LICENSES.txtin every built site andlicenses/NOTICE-madstone-eye.txtin the release
archives. A committed site therefore changes in this one file after a rebuild.
Full Changelog: v2.1.0...v2.1.1
v2.1.0
ayida v2.1.0
ayida compiles a C4 software architecture from HCL into diagrams, markdown, a site, queries
and an MCP server for assistants. See the changelog.
Coming from loko 1.6? Follow Upgrading to 2.0.
Install
# Homebrew (macOS and Linux)
brew install --cask madstone-tech/tap/ayida
# Go
go install github.com/madstone-tech/ayida/v2@v2.1.0
# Docker
docker run --rm -v "$PWD:/workspace" ghcr.io/madstone-tech/ayida:v2.1.0 buildOr download an archive below and put ayida on your PATH. Verify with ayida --version.
Changelog
New Features
- 8877d51: feat(cli): complete argument and flag values in the shell (@andhijeannot)
- 416ac7f: feat(gitrepo): list the revision names of the repository (@andhijeannot)
Full Changelog: v2.0.0...v2.1.0
v2.0.0
ayida v2.0.0
ayida compiles a C4 software architecture from HCL into diagrams, markdown, a site, queries
and an MCP server for assistants. See the changelog.
Coming from loko 1.6? Follow Upgrading to 2.0.
Install
# Homebrew (macOS and Linux)
brew install --cask madstone-tech/tap/ayida
# Go
go install github.com/madstone-tech/ayida/v2@v2.0.0
# Docker
docker run --rm -v "$PWD:/workspace" ghcr.io/madstone-tech/ayida:v2.0.0 buildOr download an archive below and put ayida on your PATH. Verify with ayida --version.
Changelog
Breaking Changes
- b4789c9: chore!: rename the project from loko to ayida (Andhi Jeannot andhi@madstone.io)
New Features
- 3a705a2: feat(024): add the semantic diff, the changelog and the MCP diff tool (Andhi Jeannot andhi@madstone.io)
Bug Fixes
- 83517f2: fix(024): build the attribute key list without a length sum (Andhi Jeannot andhi@madstone.io)
- 2d63ca2: fix(html): rebuild the search link root from its depth (Andhi Jeannot andhi@madstone.io)
Other
- c189613: build(release): put breaking changes in the release notes and fix the first-tag footer (Andhi Jeannot andhi@madstone.io)
Full Changelog: https://github.com/madstone-tech/ayida/commits/v2.0.0