Releases: DandyLyons/treedocs
Releases · DandyLyons/treedocs
treedocs 0.2.0
Highlights
- Releases the
treedocsCLI as version0.2.0. - Publishes canonical
treedocs.yamlschema0.2.0athttps://dandylyons.github.io/treedocs/schemas/0.2.0/treedocs.schema.json. - Moves the public
latestschema endpoint to schema0.2.0. - Keeps distribution source-only through SwiftPM-backed tooling. No prebuilt artifacts are included in this release.
Schema 0.2.0
- Improve Intellisense hints on
treedocs.schema.json. Now when you edit yourtreedocs.yamlin editors like VS Code, you should have more helpful docs and code completion. - We now consistently use
_prepended strings for our reserved keys. This should make it easier to avoid accidental name collisions with reserved keys for treedocs. Simply avoid naming files or folders with_at the beginning. (Not a perfect solution. Hopefully we'll add something better in the future.)- Renames tree-entry object metadata keys from
description/referencesto_description/_references.
- Renames tree-entry object metadata keys from
- Keeps compact string descriptions unchanged.
- Keeps
_docand_linkreserved metadata keys unchanged. - Reserves underscore-prefixed keys inside
treefor treedocs metadata, allowing real filesystem entries nameddescription/andreferences/.
Compatibility
- The
0.2.0CLI can still read, validate, sync, and updateschema_version: "0.1.0"files using the0.1.0metadata keys. 0.1.0files are deprecated and commands warn with a pointer toDOCS/Migrating treedocs.yaml 0.1.0 to 0.2.0.md.- The
0.1.0schema remains bundled for compatibility.
Verification
swift buildpassed.swift testpassed with 111 tests.treedocs checkpassed.- A fresh
treedocs init --non-interactivewritesschema_version: 0.2.0.
treedocs 0.1.0
Initial public release 🎉
treedocs helps people and AI agents understand codebases faster by keeping a concise, version-controlled map of your repository in treedocs.yaml.
Highlights:
- Generate readable tree documentation for files and folders.
- Keep documentation synchronized with the filesystem using
treedocs sync. - Detect stale, missing, or invalid documentation with
treedocs check. - Explore codebases progressively with
treedocs explore. - Search documented paths and descriptions with
treedocs path. - Inspect links, aliases, and subtrees with
treedocs inspectandtreedocs show. - Store structured descriptions, references, and links in a schema-backed
treedocs.yamlfile. - Use the interactive terminal UI to fill in missing descriptions manually, or let AI agents help draft them.
- Validate against the published JSON Schema for editor, CI, and tooling support.
Install note: treedocs is source-build only for now. The package targets macOS 13+, but installing through Homebrew, Mint, or mise requires a Swift 6-capable build environment, usually Xcode 16+. Prebuilt binaries may be added in the future if enough users want them.
Feedback is much appreciated. Let us know how you are using it in the wild.
The best places to find information, updates, and project news are: