- Clarified that normal
.pmlfiles can be signed and verified too, especially for governance-style workflows such as approvals, release records, procedures, and policy documents. - Documented that registries may be package-only, author-only, or mixed, and that trust-oriented commands can combine multiple
-trustRegistry=...sources. - Clarified validation behavior for split registries: repeated
-trustRegistry=...flags are merged for author lookup, while package-only registries are simply ignored by trust resolution if they do not publishauthors. - Clarified CHM and built-in docs so
registeris no longer confused with macro registries andmacro_install ..._registryworkflows. - Added built-in macro trust-by-origin for shipped bundled macros: known macros from the built-in macro directory can resolve to
trustedwithout detached signatures when their shipped hash matches and they do not trigger hard risk flags. - Prevented accidental trust escalation for modified or extra files in the built-in macro directory by checking real file origin plus a built-in hash manifest instead of trusting
{{macro_dir}}usage alone. - Kept JavaScript and external URL risk flags authoritative, so risky built-in macros still resolve to
untrusted. - Updated
trust,verify,sign,macro_dir, and macro registry documentation to explain the new built-in trust behavior and common trust outcomes. - Expanded the CHM/HTML guides with more workflow-oriented trust guidance, including when to use built-ins, unsigned local macros, or signed registry-delivered macro packs.
- Fixed
signandverifysubcommands so macro paths using{{macro_dir}}resolve correctly there as well.
- Added a full orienting CHM/HTML documentation layer with documentation index, quick start, concepts, authoring guide, macros guide, CLI reference, viewer guide, outputs guide, examples cookbook, reference map, registry guide, trust guide, and generated topic reference pages in
docs/chm/html_docs/. - Added cross-platform help access with
protoparser chm,protoparser chm browser,protoparser chm path,protoparser chm compiled,protoparser chm compiled_path, andprotoparser chm download. - Added an integrated HTML help viewer with TOC so the generated help can be used independently of native Windows CHM support and without duplicate documentation maintenance.
- Added built-in help topics for the help viewer and trust/signature workflow, including
protoparser --docs protoml-chm,trust,sign, andverify. - Added inline
@new_macrosupport directly inside normal.pmldocuments, with optional@end_macrosupport and validation for invalid inline macro definitions. - Added
@participants_importso reusable participant lists can be shared across documents similarly to shared tags. - Added project-local macro registry improvements including
macro_install search, registry-aware package discovery, and sync fallback to the latest available registry version when a pinned version no longer exists. - Added Windows
.pmlfile association support viaprotoparser associateso.pmlfiles can open in the ProtoML viewer instead of unrelated tools. - Added graph export improvements so
protoparser analyze "<file>" graph -output=...now writes both Mermaid source (.mmd) and a browser-ready HTML preview. - Fixed HTML/PDF theme handling so document themes and explicit viewer themes work again consistently in standalone output,
protoviewer, and the browser workbench. - Added metadata hiding support via
-hideMetaand@hide_meta:truefor HTML, Markdown, Text, and PDF output. - Added a lightweight trust and signing workflow for macros and
.pmlfiles:protoparser trust <pml_file>protoparser sign <macro|pml> <file> <private_key.pem> <author> [key_id]protoparser verify <macro|pml> <file>- detached
*.sig.jsonsidecar signatures - registry-based author trust lookup via
-trustRegistry=... - validation and render-time trust enforcement via
-trust=warn|strict|off
- Extended macro registry documentation and trust documentation to cover author trust, detached signatures, remote registries, and the roles of registry admins versus registry users.
- Updated
README.md, built-in docs, and CHM project notes to match the new documentation/help structure and trust model. - Documented an archived HTML Help Workshop installer link for users who want to compile the CHM locally on Windows.
- Updated
SHA256SUMS.txtgeneration so the file records its UTC generation timestamp.
- Added
protoparser macro_install ...groundwork for project-local external macro packs. - Added local macro project definition support with
protoml.macros.json. - Added local macro registry support with
protoml.registry.json. - Added macro pack manifests via
protoml-pack.json. - Added local pack scaffolding, registry add/update/remove utilities, and project sync.
- Added dependency resolution for packs within the same registry by default.
- Added generated
.protoml/macro-packs/macros.index.pmlplus@macros_importsupport for project-local macro imports. - Added macro registry documentation in
docs/and CHM help. - Added
examples/macro-registry-suite/as a local registry and sync example. - Reworked CHM generation to include grouped guide pages and a broad reference generated from
docs/*.pml.
- Added
markdownandtextrenderers for readability-focused exports of.pmldocuments. - Added built-in docs entries for
markdownandtext. - Improved Markdown and text rendering so meeting content keeps headings, links, TOCs, and readable macro output while stripping embedded CSS and JavaScript.
- Changed the default output extensions for
markdownto.mdandtextto.txt. - Added built-in meta keys
@status,@record_id,@confidentiality,@effective_date,@valid_until, and@review_date. - Extended local imported
.pmlmeta preservation for fixed meta keys referenced via@@ref=meta:.... - Added validation warnings for duplicate meta keys and for ambiguous use of built-in meta keys through
@meta=.... - Fixed field inconsistencies between
@signatures/@approvalsparsing and Markdown/Text rendering. - Added
protoparser register <dir> statistics|json|html|pdfas a governance-style document register with status summary, missing metadata checks, review/expiry hints, and open-task visibility across document directories. - Added
protoparser bundle <pml_file>to write a bundled, import-expanded.pmlarchive file. - Added built-in docs entries for
registerandbundle. - Finished the native Windows HTML Help setup in
docs/chm/, including generated topic pages, TOC, index, project file, and working CHM compilation vianpm run build:chm. - Added
protoparser analyze <pml_file> graphfor Mermaid-style import and tag-import graphs. - Added support for saving
protoparser analyze <pml_file> graphoutput directly as a.mmdfile via-output=.... - Improved the graph output styling and labels for better readability.
- Added
@author,@version, and flexible@meta=key:valuemetadata support. - Added
@@ref=...for structured references such as metadata, participant fields, signatures, and approvals. - Added
@@tocfor automatic table of contents generation inside the@meetingblock. - Added
@signatureswith@@signature=idand@approvalswith@@approval=id. - Added
@referencesand@attachmentsblocks for linked supporting context in rendered output. - Added
protoparser validate <pml_file>andprotoparser tags <tags_file> validatefor basic document and shared tag validation. - Added
protoparser macros <pml_file>to inspect registered and used macros across imported.pmlfiles. - Added
protoparser scaffold meeting [target_dir]andprotoparser init [target_dir]for bootstrapping starter ProtoML files and project structures. - Added missing built-in docs entries for newer commands and syntax such as
protocol,title,import,output,tag_sources,analyze,validate,macros,scaffold,init,macro_dir, andgraph.
- Added support for
@title "..."in shared@tags_importfiles so tag statistics outputs (statistics,json,html,pdf) can use a custom report title instead of the file path. - Added full tag statistics support for
@tag_sourceswith structured outputs via:protoparser tags <tags_file> statisticsprotoparser tags <tags_file> jsonprotoparser tags <tags_file> htmlprotoparser tags <tags_file> pdf
- Added support for cross-file tag statistics using multiple shared tag files with nested
@tags_importreferences. - Updated tag statistics so local tag overrides inside referenced source
.pmlfiles are preserved and shown in the task entries. - Added general
.pmlcross-reference analysis viaprotoparser analyze <pml_file> <format>with local stats, resolved stats, content imports, tag imports and recursive reference trees. - Added output directory support via
protoparser <file> <format> <output_dir>e.g.protoparser test.pml html ./html - Added automatic output subdirectories for documents that use
@import ... htmlor@import ... pmlso rendered files are written to folders likehtml/test.htmlinstead of cluttering the source directory. - Added a complete example and feature test set under
examples/feature-suite/including:- 2 shared tag files
- 2
.pmlfiles - 1 imported
.htmlfile - macro usage, imports, tags, nested tag analysis and local tag overrides
- Updated
README.mdto document the new tag analysis, output handling and example usage.
- Added full parser support for
@tagsand@tags_import, including external tag merging and task tag resolution - Added
@protocol "..."to customize the HTML document title and top page heading, with placeholder support such as{{date}} - Added
@meeting "..."as a shorthand to set a custom rendered meeting section title while still opening the@meetingblock - Added support for
@importcommand to include external.pmlor.htmlfiles into the current file. Example usage:- Import file:
@import reference "fileName" typee.g.@import header "header.pml" pml - Output contents:
@@import=headeror@@output=header
- Import file:
- When using the
@importcommand, the imported.pmlcontent will be merged into the current file and processed as if it were part of the original file. This allows for modularization and reuse of common components across multiple files. - Added support for
@protocoland@meetingcommands to allow customization.- Example usage:
@protocol "Custom Protocol Title {{date}}"to set a custom title for the protocol document, with support for placeholders like{{date}}which will be replaced with the current date.@meeting "Custom Meeting Title"to set a custom title for the meeting section while still opening the@meetingblock for content.
- Example usage:
- Fixed an issue with the
@macroloading command and the--listMacroscommand that could not properly process the{{macro_dir}}placeholder for loading macros from the default macro directory.
- Added
imagemacro for embedding images. Supports local and remote images. Example usage:@@macro=image:src=assets/logo.png@@macro=image:src=https://example.com/image.jpg
- Fixed an issue with comments being incorrectly or unintentionally parsed as content. Comments are now properly ignored or filtered during parsing.
- Fixed an issue with the
--docscommand where it would not display documentation correctly.
- Added
protoviewer(protoml-viewer) command to view computed.pmlfiles. - Added builtin macros, you can access them like this
- Added macro help
protoparser help {path_to_macro} - Added command to list all macros in path
protoparser --listMacros <path>or with builtin macrosprotoparser --listMacros {{macro_dir}}andprotoparser --macroHelp <file_path> - Added enhanced help command for internal commands and more accessed via
protoparser --listDocsandprotoparser --docs <name>
There was no CHANGELOG.md file before v1.0.6.
- added
protoparser macro_install ...groundwork for project-local external macro packs - added local macro project definition support with
protoml.macros.json - added local macro registry support with
protoml.registry.json - added macro pack manifests via
protoml-pack.json - added local pack scaffolding, registry add/update/remove utilities, and project sync
- added dependency resolution for packs within the same registry by default
- added macro registry documentation in
docs/and CHM help - added
examples/macro-registry-suite/as a local registry and sync example