From df5b575973ce4e439bd5d0baf971bc86f827a6f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 09:17:59 +0000 Subject: [PATCH 1/2] chore(main): release builder 0.1.0 --- .release-please-manifest.json | 2 +- src/TriasDev.Templify.Builder/CHANGELOG.md | 98 ++++++++++++++++++++++ 2 files changed, 99 insertions(+), 1 deletion(-) create mode 100644 src/TriasDev.Templify.Builder/CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7b32cc5..79bc4da 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { ".": "1.11.0", - "src": "0.0.0" + "src": "0.1.0" } diff --git a/src/TriasDev.Templify.Builder/CHANGELOG.md b/src/TriasDev.Templify.Builder/CHANGELOG.md new file mode 100644 index 0000000..ca57260 --- /dev/null +++ b/src/TriasDev.Templify.Builder/CHANGELOG.md @@ -0,0 +1,98 @@ +# Changelog + +## 0.1.0 (2026-12-02) + + +### Features + +* **builder:** apply a JSON Patch to a definition and check it ([#274](https://github.com/TriasDev/templify/issues/274)) ([c7758ee](https://github.com/TriasDev/templify/commit/c7758eedf6957166468211680b18d58d0cae6829)) +* **builder:** block conditionals — If/ElseIf/Else, Condition AST and emitter, Switch with mandatory Default ([#265](https://github.com/TriasDev/templify/issues/265)) ([2949773](https://github.com/TriasDev/templify/commit/2949773589e7e52af56901bff93e1444c55e77df)) +* **builder:** Box and Rule ([#282](https://github.com/TriasDev/templify/issues/282)) ([96a1d56](https://github.com/TriasDev/templify/commit/96a1d56848241964f6de90c7af5b391160930f1d)) +* **builder:** bullet lists — levels, loops and conditionals over items ([#283](https://github.com/TriasDev/templify/issues/283)) ([531f18b](https://github.com/TriasDev/templify/commit/531f18b8d0816fdbce31bf3330b71978d9ae7098)) +* **builder:** cells are a string or an object with style; tabs and line breaks inside strings ([#293](https://github.com/TriasDev/templify/issues/293)) ([f1d626a](https://github.com/TriasDev/templify/commit/f1d626a104c43041077e72fe43bfa56fa5865582)) +* **builder:** check stored JSON definitions ([#294](https://github.com/TriasDev/templify/issues/294)) ([d785ba4](https://github.com/TriasDev/templify/commit/d785ba436bae68ea7a1382ee20a59c0b37d25608)) +* **builder:** check stored template copies against the data catalogue ([#294](https://github.com/TriasDev/templify/issues/294)) ([75acab0](https://github.com/TriasDev/templify/commit/75acab040ca58dacd88da152e23b3c0c653185bf)) +* **builder:** compact JSON layout; sample uses inherited styles ([#274](https://github.com/TriasDev/templify/issues/274)) ([35b4c41](https://github.com/TriasDev/templify/commit/35b4c41e5dae5fe00bb22b8628f281c78bff8ffe)) +* **builder:** compare a path with a path in conditions ([#297](https://github.com/TriasDev/templify/issues/297)) ([c521f67](https://github.com/TriasDev/templify/commit/c521f67ac40079eed59a1939418a01fa095549d5)) +* **builder:** component catalog; registered components export as references ([#274](https://github.com/TriasDev/templify/issues/274)) ([0af9358](https://github.com/TriasDev/templify/commit/0af9358dc026c6de603bab6d7aa10b012dacabce)) +* **builder:** component versions in the template stamp ([#294](https://github.com/TriasDev/templify/issues/294)) ([43947c4](https://github.com/TriasDev/templify/commit/43947c475e19aada152112da8ca14818e00b4f22)) +* **builder:** condition parser for JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([286b4cf](https://github.com/TriasDev/templify/commit/286b4cfc377bf405d733edf2c420e4d3aeff5a35)) +* **builder:** consumer test kit TriasDev.Templify.Builder.Testing ([#286](https://github.com/TriasDev/templify/issues/286)) ([3bbab8f](https://github.com/TriasDev/templify/commit/3bbab8f5ad5a1737acb8909e5b1e7254d9d6ab4d)) +* **builder:** data catalogue as JSON and witness validation ([#294](https://github.com/TriasDev/templify/issues/294)) ([7e2aa69](https://github.com/TriasDev/templify/commit/7e2aa69af751d2c1d5b0601d0a8c4bde4822d5f3)) +* **builder:** data catalogue from C# types; import checks paths against it ([#274](https://github.com/TriasDev/templify/issues/274)) ([70efae7](https://github.com/TriasDev/templify/commit/70efae788a6d84a2170b819f3f24c109b0cfc04b)) +* **builder:** data contract — path manifest, hash, JSON, witness payload ([#267](https://github.com/TriasDev/templify/issues/267)) ([31ee00c](https://github.com/TriasDev/templify/commit/31ee00c9069239a13a427dc09697764e042714c7)) +* **builder:** describe the JSON vocabulary for agents ([#274](https://github.com/TriasDev/templify/issues/274)) ([b0df2b4](https://github.com/TriasDev/templify/commit/b0df2b49c2d0d56f3533bdf4987ec12871a8dfd5)) +* **builder:** embedded fonts ([#288](https://github.com/TriasDev/templify/issues/288)) ([a6d8fd1](https://github.com/TriasDev/templify/commit/a6d8fd1cd35dc6732a451b2234a6c2bfdaf84c3e)) +* **builder:** export definitions to JSON ([#274](https://github.com/TriasDev/templify/issues/274)) ([e3825a9](https://github.com/TriasDev/templify/commit/e3825a95d303f32b720a96e647eaeff383f6655f)) +* **builder:** images — inline and as blocks, in headers and loops; PNG/JPEG, alt text, fit ([#280](https://github.com/TriasDev/templify/issues/280)) ([7067fcf](https://github.com/TriasDev/templify/commit/7067fcfb26d3c1c639cce65289dd5bc6ff4c1dfc)) +* **builder:** import diagnostics with JSON pointers ([#274](https://github.com/TriasDev/templify/issues/274)) ([fbf3fc9](https://github.com/TriasDev/templify/commit/fbf3fc93abfaa2a253bd569ab00809699a5a6d7b)) +* **builder:** import JSON definitions; every builder test round-trips ([#274](https://github.com/TriasDev/templify/issues/274)) ([97ede99](https://github.com/TriasDev/templify/commit/97ede9982fad911ad6be261c33ac818a47b5caa7)) +* **builder:** indexed path segments ([#290](https://github.com/TriasDev/templify/issues/290)) ([3780f0b](https://github.com/TriasDev/templify/commit/3780f0b33b7ed6611a65d7b02efc70e82602b3df)) +* **builder:** inherited paragraph styles — default, table text styles, row text style ([#274](https://github.com/TriasDev/templify/issues/274)) ([06ddbdd](https://github.com/TriasDev/templify/commit/06ddbddc5a8e5fc8ba1cfa16c361d617e59634d8)) +* **builder:** inline conditionals and inline expressions ([#281](https://github.com/TriasDev/templify/issues/281)) ([5fa5c88](https://github.com/TriasDev/templify/commit/5fa5c88d68556ac5f27123ac7fc3b270209f5666)) +* **builder:** inline content — character styles, value formats, tabs, line and page breaks ([#264](https://github.com/TriasDev/templify/issues/264)) ([76f66b2](https://github.com/TriasDev/templify/commit/76f66b2d970190c9f4bb82d5be60b9b68815ab69)) +* **builder:** JSON block short forms, inherited styles omitted ([#274](https://github.com/TriasDev/templify/issues/274)) ([15b43aa](https://github.com/TriasDev/templify/commit/15b43aa58dde7379aa71cc02a7e038b9c6a02e0d)) +* **builder:** JSON inline content as strings with placeholders ([#274](https://github.com/TriasDev/templify/issues/274)) ([f9536ea](https://github.com/TriasDev/templify/commit/f9536eada36e4f268905496ba913ee90ec130038)) +* **builder:** JSON layout width without indentation; export without indentation ([#293](https://github.com/TriasDev/templify/issues/293)) ([4625a68](https://github.com/TriasDev/templify/commit/4625a68e86d6d5793d35b67c4f744e532c7bf963)) +* **builder:** JSON Schema of the definition format ([#274](https://github.com/TriasDev/templify/issues/274)) ([ac5caaa](https://github.com/TriasDev/templify/commit/ac5caaa4749fbdaa7c43e22b9d8f5227bcc05fda)) +* **builder:** JSON value encodings ([#274](https://github.com/TriasDev/templify/issues/274)) ([eae559f](https://github.com/TriasDev/templify/commit/eae559f77d8ad00ba7a22326a6296823fc546bed)) +* **builder:** localisation — text catalogs, missing translation fails the build ([#269](https://github.com/TriasDev/templify/issues/269)) ([a51b3e2](https://github.com/TriasDev/templify/commit/a51b3e26115767b436eee69153d11ab42eabe0b7)) +* **builder:** loop metadata under Loop; unguarded name collisions warn ([cf3b663](https://github.com/TriasDev/templify/commit/cf3b6631d69932d7567dcec37e9f8ac20ed1dd9f)) +* **builder:** mark the builder packages experimental (TPLB001) ([78576fe](https://github.com/TriasDev/templify/commit/78576fef2f1a8f5d4449f0c79f0fe9b8cf7ac2fb)) +* **builder:** named assets and images with one size ([#293](https://github.com/TriasDev/templify/issues/293)) ([2078ab1](https://github.com/TriasDev/templify/commit/2078ab1a666683c906bdbba27a13a1f3c5c1e2db)) +* **builder:** names — then in every conditional, if in elseIf, paragraphStyle, verticalAlign ([#293](https://github.com/TriasDev/templify/issues/293)) ([0e25ab3](https://github.com/TriasDev/templify/commit/0e25ab31b2283920be853a56476db095e02de447)) +* **builder:** outline and read a JSON definition by pointer ([#274](https://github.com/TriasDev/templify/issues/274)) ([5ea3aa7](https://github.com/TriasDev/templify/commit/5ea3aa707db00ad8dde95180201e001ad7787f1e)) +* **builder:** outline row columns and a describe index, from the agent trial ([#274](https://github.com/TriasDev/templify/issues/274)) ([2cfebcb](https://github.com/TriasDev/templify/commit/2cfebcb85ad2008aadcbe1fd1188d7ffe1aca51a)) +* **builder:** page setup, header and footer, page number and count, TabRight ([#277](https://github.com/TriasDev/templify/issues/277)) ([bc5a84e](https://github.com/TriasDev/templify/commit/bc5a84e2803a4fb07c92e2253ab09898f6cd7506)) +* **builder:** paragraph loops — ForEach with LoopItem, nesting, outer access; components ([#266](https://github.com/TriasDev/templify/issues/266)) ([1c3abe6](https://github.com/TriasDev/templify/commit/1c3abe64899ba46fa2815aa3c6dd8a786787589b)) +* **builder:** per-side borders for cells and table styles ([#296](https://github.com/TriasDev/templify/issues/296)) ([826664f](https://github.com/TriasDev/templify/commit/826664f842db77c74e224fb7873e4d461220cba2)) +* **builder:** per-side padding for cells, tables and boxes ([#296](https://github.com/TriasDev/templify/issues/296)) ([565ac1e](https://github.com/TriasDev/templify/commit/565ac1e399fd2222cc8ecda35bdf37b4935c40e7)) +* **builder:** placeholder text parser for JSON strings ([#274](https://github.com/TriasDev/templify/issues/274)) ([739887e](https://github.com/TriasDev/templify/commit/739887e1f4e939be5bcedfa86ca9ca9017ef9872)) +* **builder:** preview a JSON definition ([#274](https://github.com/TriasDev/templify/issues/274)) ([f9ed47a](https://github.com/TriasDev/templify/commit/f9ed47aacecd1b2ad7098f74a492e0f9f8226ca2)) +* **builder:** raw block escape hatch ([#285](https://github.com/TriasDev/templify/issues/285)) ([e73ebf3](https://github.com/TriasDev/templify/commit/e73ebf390820b9eecc0c4f4159bc2669563091e0)) +* **builder:** sample order confirmation and package README ([#287](https://github.com/TriasDev/templify/issues/287)) ([3bb5a57](https://github.com/TriasDev/templify/commit/3bb5a57180cc68790184af2aca7acab68a8a273b)) +* **builder:** sample uses a cell's own border and paragraph options ([#296](https://github.com/TriasDev/templify/issues/296)) ([4b01d4f](https://github.com/TriasDev/templify/commit/4b01d4f9248860e5e083098d6651d203722b081b)) +* **builder:** short rule and paragraph-style bottom border ([#296](https://github.com/TriasDev/templify/issues/296)) ([b63bcfb](https://github.com/TriasDev/templify/commit/b63bcfb31363ff2b72fd182e8aada4eb6bdb109b)) +* **builder:** spacer block ([#296](https://github.com/TriasDev/templify/issues/296)) ([e67cc42](https://github.com/TriasDev/templify/commit/e67cc4227ef37df547e7a56975f452ed4b6bf065)) +* **builder:** static tables — columns, table styles, borders, shading, spans, header row ([#278](https://github.com/TriasDev/templify/issues/278)) ([496af50](https://github.com/TriasDev/templify/commit/496af5043073eef4156cf96cf4c0ed00b914793d)) +* **builder:** strict JSON reader — value formats, padding, loop variable shadowing, ==, reserved keys, TB9204 names the difference ([#293](https://github.com/TriasDev/templify/issues/293)) ([6c1c6ce](https://github.com/TriasDev/templify/commit/6c1c6ce16c8cb9f94f7a00fbfcbfdc3a86df9519)) +* **builder:** style parameter first; content methods return their composer ([#293](https://github.com/TriasDev/templify/issues/293)) ([c654d4d](https://github.com/TriasDev/templify/commit/c654d4dc7137d7a8f67122c6a4543afdbb8f3375)) +* **builder:** StyleSheet — units, colours, fonts, named paragraph and character styles ([#263](https://github.com/TriasDev/templify/issues/263)) ([93616c6](https://github.com/TriasDev/templify/commit/93616c60706242148a555ae9e8154199764a338b)) +* **builder:** table indent and space before ([#296](https://github.com/TriasDev/templify/issues/296)) ([a7595db](https://github.com/TriasDev/templify/commit/a7595dba5261e71c2d29a8117ca5b0d825ff98b8)) +* **builder:** table of contents, and build warnings ([#284](https://github.com/TriasDev/templify/issues/284)) ([c705cdf](https://github.com/TriasDev/templify/commit/c705cdf799808135aaf7b4cbc75cb1b6a8ad907b)) +* **builder:** table row loops and RowsIf; blocks, conditions and loops inside cells ([#279](https://github.com/TriasDev/templify/issues/279)) ([2435505](https://github.com/TriasDev/templify/commit/24355056cbc89a42c8741e666f24962360961d0d)) +* **builder:** template identity stamp and upload check ([#268](https://github.com/TriasDev/templify/issues/268)) ([b10bd4e](https://github.com/TriasDev/templify/commit/b10bd4e673e927e0cf07741c82962e5b1a24c56a)) +* **builder:** text keys in JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([6fd03c2](https://github.com/TriasDev/templify/commit/6fd03c26e0cfddb4749ed49df5090fdeb80f1061)) +* **builder:** texts by key, named sections instead of group ([#293](https://github.com/TriasDev/templify/issues/293)) ([a80bfab](https://github.com/TriasDev/templify/commit/a80bfabe91b5bb5d017b7333271c05fd79099e4a)) +* **builder:** theme tokens; components see texts and shared objects ([#293](https://github.com/TriasDev/templify/issues/293)) ([66ce805](https://github.com/TriasDev/templify/commit/66ce805f0a8ec131c8dfadfa4508c367d098744d)) +* **builder:** translations embedded in JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([dec6286](https://github.com/TriasDev/templify/commit/dec6286f3ecc1b08e79c1367ca3b0ad7787bc7d3)) +* **builder:** typed data paths from C# types ([#274](https://github.com/TriasDev/templify/issues/274)) ([669c251](https://github.com/TriasDev/templify/commit/669c251ad4f8bf82b2d55f53448c9dc3fd7c0ac5)) +* **builder:** typed path source generator ([#274](https://github.com/TriasDev/templify/issues/274)) ([44fa57b](https://github.com/TriasDev/templify/commit/44fa57b7a351db680df7355b2ee4bc52248a325e)) +* **builder:** versioned terms component in the sample ([#294](https://github.com/TriasDev/templify/issues/294)) ([7dc767f](https://github.com/TriasDev/templify/commit/7dc767f192504b50d3c06df7144c3811f7bda496)) +* **builder:** walking skeleton — paragraph with a placeholder as .docx and .odt ([#262](https://github.com/TriasDev/templify/issues/262)) ([77e2ff9](https://github.com/TriasDev/templify/commit/77e2ff91012fb3a154725c8c4968cd594aafdcb1)) + + +### Bug Fixes + +* **builder:** a path interpolated into text is reported as TB1002 (API review I2) ([aea124c](https://github.com/TriasDev/templify/commit/aea124c8343dfd3b96aeaebc1b52d9fb54d86327)) +* **builder:** a text in the JSON's texts must have the languages of the others ([#293](https://github.com/TriasDev/templify/issues/293)) ([8317300](https://github.com/TriasDev/templify/commit/83173002f8fb2f716a0956ccc58ff7fe7492c8e7)) +* **builder:** cells end with a paragraph, tables stay apart, style name check ([#291](https://github.com/TriasDev/templify/issues/291)) ([95fcdb8](https://github.com/TriasDev/templify/commit/95fcdb8889f2e9ab8aefc14209fa34d8eb336a41)) +* **builder:** final review of the agent API ([#274](https://github.com/TriasDev/templify/issues/274)) ([1672933](https://github.com/TriasDev/templify/commit/1672933960441f320420b962fab3fde600c2d33c)) +* **builder:** final review of the formatting gaps ([#296](https://github.com/TriasDev/templify/issues/296)) ([e32e67d](https://github.com/TriasDev/templify/commit/e32e67d2bdf4f6509ad1851fe3e04f0d24721e7b)) +* **builder:** final review of the JSON format round ([#293](https://github.com/TriasDev/templify/issues/293)) ([96b272e](https://github.com/TriasDev/templify/commit/96b272eab523872ddac8cc555c325c63442b1ab2)) +* **builder:** final review of the stored-template check ([#294](https://github.com/TriasDev/templify/issues/294)) ([882245c](https://github.com/TriasDev/templify/commit/882245c4c1d376cf9df1173b0c5b49013ae99770)) +* **builder:** list items without an item style inherit the paragraph style ([#274](https://github.com/TriasDev/templify/issues/274)) ([e3ccb7d](https://github.com/TriasDev/templify/commit/e3ccb7d149b35ee375548e7e3140454391a9bf98)) +* **builder:** numbers in conditions are written the same on every runtime ([8ee8f13](https://github.com/TriasDev/templify/commit/8ee8f13b874100d42684504264c469d95abeeaf8)) +* **builder:** ODT row loops under a header repeated the header rule ([8e66041](https://github.com/TriasDev/templify/commit/8e6604181c65781732e8695f715a81dea783d882)) +* **builder:** ODT spacing parity with DOCX ([#298](https://github.com/TriasDev/templify/issues/298)) ([40eade6](https://github.com/TriasDev/templify/commit/40eade615e596f93360a84773f71a2dd460c237f)) +* **builder:** ODT table edges with a row loop or row conditional at the edge ([a7694d6](https://github.com/TriasDev/templify/commit/a7694d69a537157fc026e5b037dddf173791835e)) +* **builder:** one spacer paragraph per position ([#296](https://github.com/TriasDev/templify/issues/296)) ([a8956db](https://github.com/TriasDev/templify/commit/a8956db71e830e13ffe9b8cfdd81cfe61330d321)) +* **builder:** phase 3 review — stack safety, concurrency, error types, naming, kinds ([#274](https://github.com/TriasDev/templify/issues/274)) ([8564415](https://github.com/TriasDev/templify/commit/85644150e8c0f7c40fe0ee3f7ad7f109bfade01b)) +* **builder:** record TBG001 as a warning in the analyzer release file ([3a0a3de](https://github.com/TriasDev/templify/commit/3a0a3de6029d8eb8cf763b68bdbb58474a70d1b5)) +* **builder:** registered components that read shared objects and texts export and import ([#293](https://github.com/TriasDev/templify/issues/293)) ([329bc3a](https://github.com/TriasDev/templify/commit/329bc3a237c5227ab6b9186f4302fa69301b9c83)) +* **builder:** review of the table of contents entry styles ([#295](https://github.com/TriasDev/templify/issues/295)) ([9837a2f](https://github.com/TriasDev/templify/commit/9837a2fc75f30ed784fb5de970454850a6e57321)) +* **builder:** step 1 review — no loop over an indexed path, ASCII index digits, more render-safety tests ([#290](https://github.com/TriasDev/templify/issues/290), [#291](https://github.com/TriasDev/templify/issues/291)) ([5e9147e](https://github.com/TriasDev/templify/commit/5e9147e5a3a2e39868d406f61aa1bf2f16daeffe)) +* **builder:** table of contents field ends in its own paragraph, so index-refreshing converters build it ([#295](https://github.com/TriasDev/templify/issues/295)) ([329f2ac](https://github.com/TriasDev/templify/commit/329f2acb7d2750cf0f53242e7685bb029519ce76)) +* **builder:** text keys review — export self-check, raw XML escaping, verbatim texts on re-export ([#274](https://github.com/TriasDev/templify/issues/274)) ([b081ffc](https://github.com/TriasDev/templify/commit/b081ffc69b97bee22fc5b772af5cd30635f884d5)) +* **builder:** top-of-page rule as a tree pass, after review ([#298](https://github.com/TriasDev/templify/issues/298)) ([a4e545b](https://github.com/TriasDev/templify/commit/a4e545bd59876ac77aaed7b293c249393e829671)) +* **builder:** typed path generator review — InternalsVisibleTo, unsupported shapes, System types, obsolete, TBG001 info ([#274](https://github.com/TriasDev/templify/issues/274)) ([c400354](https://github.com/TriasDev/templify/commit/c400354eadf174eebfe7109868ddd5a3fee2eeb3)) From cca73212dddce6db52d18bd7a4671711b1a03cca Mon Sep 17 00:00:00 2001 From: Vaceslav Ustinov Date: Wed, 2 Dec 2026 10:38:31 +0100 Subject: [PATCH 2/2] docs(builder): release notes for 0.1.0 --- src/TriasDev.Templify.Builder/CHANGELOG.md | 110 ++++----------------- 1 file changed, 21 insertions(+), 89 deletions(-) diff --git a/src/TriasDev.Templify.Builder/CHANGELOG.md b/src/TriasDev.Templify.Builder/CHANGELOG.md index ca57260..0a19358 100644 --- a/src/TriasDev.Templify.Builder/CHANGELOG.md +++ b/src/TriasDev.Templify.Builder/CHANGELOG.md @@ -2,97 +2,29 @@ ## 0.1.0 (2026-12-02) +First preview of the template builder: generate Templify templates (`.docx` and `.odt`) from C# or from a JSON definition, instead of editing them by hand in Word or LibreOffice. -### Features +> **Preview, experimental.** The whole API is marked `[Experimental("TPLB001")]`; opt in with `$(NoWarn);TPLB001`. Breaking changes are allowed in `0.x`. Requires TriasDev.Templify 1.11.0. -* **builder:** apply a JSON Patch to a definition and check it ([#274](https://github.com/TriasDev/templify/issues/274)) ([c7758ee](https://github.com/TriasDev/templify/commit/c7758eedf6957166468211680b18d58d0cae6829)) -* **builder:** block conditionals — If/ElseIf/Else, Condition AST and emitter, Switch with mandatory Default ([#265](https://github.com/TriasDev/templify/issues/265)) ([2949773](https://github.com/TriasDev/templify/commit/2949773589e7e52af56901bff93e1444c55e77df)) -* **builder:** Box and Rule ([#282](https://github.com/TriasDev/templify/issues/282)) ([96a1d56](https://github.com/TriasDev/templify/commit/96a1d56848241964f6de90c7af5b391160930f1d)) -* **builder:** bullet lists — levels, loops and conditionals over items ([#283](https://github.com/TriasDev/templify/issues/283)) ([531f18b](https://github.com/TriasDev/templify/commit/531f18b8d0816fdbce31bf3330b71978d9ae7098)) -* **builder:** cells are a string or an object with style; tabs and line breaks inside strings ([#293](https://github.com/TriasDev/templify/issues/293)) ([f1d626a](https://github.com/TriasDev/templify/commit/f1d626a104c43041077e72fe43bfa56fa5865582)) -* **builder:** check stored JSON definitions ([#294](https://github.com/TriasDev/templify/issues/294)) ([d785ba4](https://github.com/TriasDev/templify/commit/d785ba436bae68ea7a1382ee20a59c0b37d25608)) -* **builder:** check stored template copies against the data catalogue ([#294](https://github.com/TriasDev/templify/issues/294)) ([75acab0](https://github.com/TriasDev/templify/commit/75acab040ca58dacd88da152e23b3c0c653185bf)) -* **builder:** compact JSON layout; sample uses inherited styles ([#274](https://github.com/TriasDev/templify/issues/274)) ([35b4c41](https://github.com/TriasDev/templify/commit/35b4c41e5dae5fe00bb22b8628f281c78bff8ffe)) -* **builder:** compare a path with a path in conditions ([#297](https://github.com/TriasDev/templify/issues/297)) ([c521f67](https://github.com/TriasDev/templify/commit/c521f67ac40079eed59a1939418a01fa095549d5)) -* **builder:** component catalog; registered components export as references ([#274](https://github.com/TriasDev/templify/issues/274)) ([0af9358](https://github.com/TriasDev/templify/commit/0af9358dc026c6de603bab6d7aa10b012dacabce)) -* **builder:** component versions in the template stamp ([#294](https://github.com/TriasDev/templify/issues/294)) ([43947c4](https://github.com/TriasDev/templify/commit/43947c475e19aada152112da8ca14818e00b4f22)) -* **builder:** condition parser for JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([286b4cf](https://github.com/TriasDev/templify/commit/286b4cfc377bf405d733edf2c420e4d3aeff5a35)) -* **builder:** consumer test kit TriasDev.Templify.Builder.Testing ([#286](https://github.com/TriasDev/templify/issues/286)) ([3bbab8f](https://github.com/TriasDev/templify/commit/3bbab8f5ad5a1737acb8909e5b1e7254d9d6ab4d)) -* **builder:** data catalogue as JSON and witness validation ([#294](https://github.com/TriasDev/templify/issues/294)) ([7e2aa69](https://github.com/TriasDev/templify/commit/7e2aa69af751d2c1d5b0601d0a8c4bde4822d5f3)) -* **builder:** data catalogue from C# types; import checks paths against it ([#274](https://github.com/TriasDev/templify/issues/274)) ([70efae7](https://github.com/TriasDev/templify/commit/70efae788a6d84a2170b819f3f24c109b0cfc04b)) -* **builder:** data contract — path manifest, hash, JSON, witness payload ([#267](https://github.com/TriasDev/templify/issues/267)) ([31ee00c](https://github.com/TriasDev/templify/commit/31ee00c9069239a13a427dc09697764e042714c7)) -* **builder:** describe the JSON vocabulary for agents ([#274](https://github.com/TriasDev/templify/issues/274)) ([b0df2b4](https://github.com/TriasDev/templify/commit/b0df2b49c2d0d56f3533bdf4987ec12871a8dfd5)) -* **builder:** embedded fonts ([#288](https://github.com/TriasDev/templify/issues/288)) ([a6d8fd1](https://github.com/TriasDev/templify/commit/a6d8fd1cd35dc6732a451b2234a6c2bfdaf84c3e)) -* **builder:** export definitions to JSON ([#274](https://github.com/TriasDev/templify/issues/274)) ([e3825a9](https://github.com/TriasDev/templify/commit/e3825a95d303f32b720a96e647eaeff383f6655f)) -* **builder:** images — inline and as blocks, in headers and loops; PNG/JPEG, alt text, fit ([#280](https://github.com/TriasDev/templify/issues/280)) ([7067fcf](https://github.com/TriasDev/templify/commit/7067fcfb26d3c1c639cce65289dd5bc6ff4c1dfc)) -* **builder:** import diagnostics with JSON pointers ([#274](https://github.com/TriasDev/templify/issues/274)) ([fbf3fc9](https://github.com/TriasDev/templify/commit/fbf3fc93abfaa2a253bd569ab00809699a5a6d7b)) -* **builder:** import JSON definitions; every builder test round-trips ([#274](https://github.com/TriasDev/templify/issues/274)) ([97ede99](https://github.com/TriasDev/templify/commit/97ede9982fad911ad6be261c33ac818a47b5caa7)) -* **builder:** indexed path segments ([#290](https://github.com/TriasDev/templify/issues/290)) ([3780f0b](https://github.com/TriasDev/templify/commit/3780f0b33b7ed6611a65d7b02efc70e82602b3df)) -* **builder:** inherited paragraph styles — default, table text styles, row text style ([#274](https://github.com/TriasDev/templify/issues/274)) ([06ddbdd](https://github.com/TriasDev/templify/commit/06ddbddc5a8e5fc8ba1cfa16c361d617e59634d8)) -* **builder:** inline conditionals and inline expressions ([#281](https://github.com/TriasDev/templify/issues/281)) ([5fa5c88](https://github.com/TriasDev/templify/commit/5fa5c88d68556ac5f27123ac7fc3b270209f5666)) -* **builder:** inline content — character styles, value formats, tabs, line and page breaks ([#264](https://github.com/TriasDev/templify/issues/264)) ([76f66b2](https://github.com/TriasDev/templify/commit/76f66b2d970190c9f4bb82d5be60b9b68815ab69)) -* **builder:** JSON block short forms, inherited styles omitted ([#274](https://github.com/TriasDev/templify/issues/274)) ([15b43aa](https://github.com/TriasDev/templify/commit/15b43aa58dde7379aa71cc02a7e038b9c6a02e0d)) -* **builder:** JSON inline content as strings with placeholders ([#274](https://github.com/TriasDev/templify/issues/274)) ([f9536ea](https://github.com/TriasDev/templify/commit/f9536eada36e4f268905496ba913ee90ec130038)) -* **builder:** JSON layout width without indentation; export without indentation ([#293](https://github.com/TriasDev/templify/issues/293)) ([4625a68](https://github.com/TriasDev/templify/commit/4625a68e86d6d5793d35b67c4f744e532c7bf963)) -* **builder:** JSON Schema of the definition format ([#274](https://github.com/TriasDev/templify/issues/274)) ([ac5caaa](https://github.com/TriasDev/templify/commit/ac5caaa4749fbdaa7c43e22b9d8f5227bcc05fda)) -* **builder:** JSON value encodings ([#274](https://github.com/TriasDev/templify/issues/274)) ([eae559f](https://github.com/TriasDev/templify/commit/eae559f77d8ad00ba7a22326a6296823fc546bed)) -* **builder:** localisation — text catalogs, missing translation fails the build ([#269](https://github.com/TriasDev/templify/issues/269)) ([a51b3e2](https://github.com/TriasDev/templify/commit/a51b3e26115767b436eee69153d11ab42eabe0b7)) -* **builder:** loop metadata under Loop; unguarded name collisions warn ([cf3b663](https://github.com/TriasDev/templify/commit/cf3b6631d69932d7567dcec37e9f8ac20ed1dd9f)) -* **builder:** mark the builder packages experimental (TPLB001) ([78576fe](https://github.com/TriasDev/templify/commit/78576fef2f1a8f5d4449f0c79f0fe9b8cf7ac2fb)) -* **builder:** named assets and images with one size ([#293](https://github.com/TriasDev/templify/issues/293)) ([2078ab1](https://github.com/TriasDev/templify/commit/2078ab1a666683c906bdbba27a13a1f3c5c1e2db)) -* **builder:** names — then in every conditional, if in elseIf, paragraphStyle, verticalAlign ([#293](https://github.com/TriasDev/templify/issues/293)) ([0e25ab3](https://github.com/TriasDev/templify/commit/0e25ab31b2283920be853a56476db095e02de447)) -* **builder:** outline and read a JSON definition by pointer ([#274](https://github.com/TriasDev/templify/issues/274)) ([5ea3aa7](https://github.com/TriasDev/templify/commit/5ea3aa707db00ad8dde95180201e001ad7787f1e)) -* **builder:** outline row columns and a describe index, from the agent trial ([#274](https://github.com/TriasDev/templify/issues/274)) ([2cfebcb](https://github.com/TriasDev/templify/commit/2cfebcb85ad2008aadcbe1fd1188d7ffe1aca51a)) -* **builder:** page setup, header and footer, page number and count, TabRight ([#277](https://github.com/TriasDev/templify/issues/277)) ([bc5a84e](https://github.com/TriasDev/templify/commit/bc5a84e2803a4fb07c92e2253ab09898f6cd7506)) -* **builder:** paragraph loops — ForEach with LoopItem, nesting, outer access; components ([#266](https://github.com/TriasDev/templify/issues/266)) ([1c3abe6](https://github.com/TriasDev/templify/commit/1c3abe64899ba46fa2815aa3c6dd8a786787589b)) -* **builder:** per-side borders for cells and table styles ([#296](https://github.com/TriasDev/templify/issues/296)) ([826664f](https://github.com/TriasDev/templify/commit/826664f842db77c74e224fb7873e4d461220cba2)) -* **builder:** per-side padding for cells, tables and boxes ([#296](https://github.com/TriasDev/templify/issues/296)) ([565ac1e](https://github.com/TriasDev/templify/commit/565ac1e399fd2222cc8ecda35bdf37b4935c40e7)) -* **builder:** placeholder text parser for JSON strings ([#274](https://github.com/TriasDev/templify/issues/274)) ([739887e](https://github.com/TriasDev/templify/commit/739887e1f4e939be5bcedfa86ca9ca9017ef9872)) -* **builder:** preview a JSON definition ([#274](https://github.com/TriasDev/templify/issues/274)) ([f9ed47a](https://github.com/TriasDev/templify/commit/f9ed47aacecd1b2ad7098f74a492e0f9f8226ca2)) -* **builder:** raw block escape hatch ([#285](https://github.com/TriasDev/templify/issues/285)) ([e73ebf3](https://github.com/TriasDev/templify/commit/e73ebf390820b9eecc0c4f4159bc2669563091e0)) -* **builder:** sample order confirmation and package README ([#287](https://github.com/TriasDev/templify/issues/287)) ([3bb5a57](https://github.com/TriasDev/templify/commit/3bb5a57180cc68790184af2aca7acab68a8a273b)) -* **builder:** sample uses a cell's own border and paragraph options ([#296](https://github.com/TriasDev/templify/issues/296)) ([4b01d4f](https://github.com/TriasDev/templify/commit/4b01d4f9248860e5e083098d6651d203722b081b)) -* **builder:** short rule and paragraph-style bottom border ([#296](https://github.com/TriasDev/templify/issues/296)) ([b63bcfb](https://github.com/TriasDev/templify/commit/b63bcfb31363ff2b72fd182e8aada4eb6bdb109b)) -* **builder:** spacer block ([#296](https://github.com/TriasDev/templify/issues/296)) ([e67cc42](https://github.com/TriasDev/templify/commit/e67cc4227ef37df547e7a56975f452ed4b6bf065)) -* **builder:** static tables — columns, table styles, borders, shading, spans, header row ([#278](https://github.com/TriasDev/templify/issues/278)) ([496af50](https://github.com/TriasDev/templify/commit/496af5043073eef4156cf96cf4c0ed00b914793d)) -* **builder:** strict JSON reader — value formats, padding, loop variable shadowing, ==, reserved keys, TB9204 names the difference ([#293](https://github.com/TriasDev/templify/issues/293)) ([6c1c6ce](https://github.com/TriasDev/templify/commit/6c1c6ce16c8cb9f94f7a00fbfcbfdc3a86df9519)) -* **builder:** style parameter first; content methods return their composer ([#293](https://github.com/TriasDev/templify/issues/293)) ([c654d4d](https://github.com/TriasDev/templify/commit/c654d4dc7137d7a8f67122c6a4543afdbb8f3375)) -* **builder:** StyleSheet — units, colours, fonts, named paragraph and character styles ([#263](https://github.com/TriasDev/templify/issues/263)) ([93616c6](https://github.com/TriasDev/templify/commit/93616c60706242148a555ae9e8154199764a338b)) -* **builder:** table indent and space before ([#296](https://github.com/TriasDev/templify/issues/296)) ([a7595db](https://github.com/TriasDev/templify/commit/a7595dba5261e71c2d29a8117ca5b0d825ff98b8)) -* **builder:** table of contents, and build warnings ([#284](https://github.com/TriasDev/templify/issues/284)) ([c705cdf](https://github.com/TriasDev/templify/commit/c705cdf799808135aaf7b4cbc75cb1b6a8ad907b)) -* **builder:** table row loops and RowsIf; blocks, conditions and loops inside cells ([#279](https://github.com/TriasDev/templify/issues/279)) ([2435505](https://github.com/TriasDev/templify/commit/24355056cbc89a42c8741e666f24962360961d0d)) -* **builder:** template identity stamp and upload check ([#268](https://github.com/TriasDev/templify/issues/268)) ([b10bd4e](https://github.com/TriasDev/templify/commit/b10bd4e673e927e0cf07741c82962e5b1a24c56a)) -* **builder:** text keys in JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([6fd03c2](https://github.com/TriasDev/templify/commit/6fd03c26e0cfddb4749ed49df5090fdeb80f1061)) -* **builder:** texts by key, named sections instead of group ([#293](https://github.com/TriasDev/templify/issues/293)) ([a80bfab](https://github.com/TriasDev/templify/commit/a80bfabe91b5bb5d017b7333271c05fd79099e4a)) -* **builder:** theme tokens; components see texts and shared objects ([#293](https://github.com/TriasDev/templify/issues/293)) ([66ce805](https://github.com/TriasDev/templify/commit/66ce805f0a8ec131c8dfadfa4508c367d098744d)) -* **builder:** translations embedded in JSON definitions ([#274](https://github.com/TriasDev/templify/issues/274)) ([dec6286](https://github.com/TriasDev/templify/commit/dec6286f3ecc1b08e79c1367ca3b0ad7787bc7d3)) -* **builder:** typed data paths from C# types ([#274](https://github.com/TriasDev/templify/issues/274)) ([669c251](https://github.com/TriasDev/templify/commit/669c251ad4f8bf82b2d55f53448c9dc3fd7c0ac5)) -* **builder:** typed path source generator ([#274](https://github.com/TriasDev/templify/issues/274)) ([44fa57b](https://github.com/TriasDev/templify/commit/44fa57b7a351db680df7355b2ee4bc52248a325e)) -* **builder:** versioned terms component in the sample ([#294](https://github.com/TriasDev/templify/issues/294)) ([7dc767f](https://github.com/TriasDev/templify/commit/7dc767f192504b50d3c06df7144c3811f7bda496)) -* **builder:** walking skeleton — paragraph with a placeholder as .docx and .odt ([#262](https://github.com/TriasDev/templify/issues/262)) ([77e2ff9](https://github.com/TriasDev/templify/commit/77e2ff91012fb3a154725c8c4968cd594aafdcb1)) +### Packages +- **TriasDev.Templify.Builder**: the builder, with the typed path source generator included. +- **TriasDev.Templify.Builder.Testing**: a verification kit for your CI (`TemplateVerifier.VerifyAll`: builds every language and format, validates, checks the data contract and samples, schema and determinism). -### Bug Fixes +### What you can build -* **builder:** a path interpolated into text is reported as TB1002 (API review I2) ([aea124c](https://github.com/TriasDev/templify/commit/aea124c8343dfd3b96aeaebc1b52d9fb54d86327)) -* **builder:** a text in the JSON's texts must have the languages of the others ([#293](https://github.com/TriasDev/templify/issues/293)) ([8317300](https://github.com/TriasDev/templify/commit/83173002f8fb2f716a0956ccc58ff7fe7492c8e7)) -* **builder:** cells end with a paragraph, tables stay apart, style name check ([#291](https://github.com/TriasDev/templify/issues/291)) ([95fcdb8](https://github.com/TriasDev/templify/commit/95fcdb8889f2e9ab8aefc14209fa34d8eb336a41)) -* **builder:** final review of the agent API ([#274](https://github.com/TriasDev/templify/issues/274)) ([1672933](https://github.com/TriasDev/templify/commit/1672933960441f320420b962fab3fde600c2d33c)) -* **builder:** final review of the formatting gaps ([#296](https://github.com/TriasDev/templify/issues/296)) ([e32e67d](https://github.com/TriasDev/templify/commit/e32e67d2bdf4f6509ad1851fe3e04f0d24721e7b)) -* **builder:** final review of the JSON format round ([#293](https://github.com/TriasDev/templify/issues/293)) ([96b272e](https://github.com/TriasDev/templify/commit/96b272eab523872ddac8cc555c325c63442b1ab2)) -* **builder:** final review of the stored-template check ([#294](https://github.com/TriasDev/templify/issues/294)) ([882245c](https://github.com/TriasDev/templify/commit/882245c4c1d376cf9df1173b0c5b49013ae99770)) -* **builder:** list items without an item style inherit the paragraph style ([#274](https://github.com/TriasDev/templify/issues/274)) ([e3ccb7d](https://github.com/TriasDev/templify/commit/e3ccb7d149b35ee375548e7e3140454391a9bf98)) -* **builder:** numbers in conditions are written the same on every runtime ([8ee8f13](https://github.com/TriasDev/templify/commit/8ee8f13b874100d42684504264c469d95abeeaf8)) -* **builder:** ODT row loops under a header repeated the header rule ([8e66041](https://github.com/TriasDev/templify/commit/8e6604181c65781732e8695f715a81dea783d882)) -* **builder:** ODT spacing parity with DOCX ([#298](https://github.com/TriasDev/templify/issues/298)) ([40eade6](https://github.com/TriasDev/templify/commit/40eade615e596f93360a84773f71a2dd460c237f)) -* **builder:** ODT table edges with a row loop or row conditional at the edge ([a7694d6](https://github.com/TriasDev/templify/commit/a7694d69a537157fc026e5b037dddf173791835e)) -* **builder:** one spacer paragraph per position ([#296](https://github.com/TriasDev/templify/issues/296)) ([a8956db](https://github.com/TriasDev/templify/commit/a8956db71e830e13ffe9b8cfdd81cfe61330d321)) -* **builder:** phase 3 review — stack safety, concurrency, error types, naming, kinds ([#274](https://github.com/TriasDev/templify/issues/274)) ([8564415](https://github.com/TriasDev/templify/commit/85644150e8c0f7c40fe0ee3f7ad7f109bfade01b)) -* **builder:** record TBG001 as a warning in the analyzer release file ([3a0a3de](https://github.com/TriasDev/templify/commit/3a0a3de6029d8eb8cf763b68bdbb58474a70d1b5)) -* **builder:** registered components that read shared objects and texts export and import ([#293](https://github.com/TriasDev/templify/issues/293)) ([329bc3a](https://github.com/TriasDev/templify/commit/329bc3a237c5227ab6b9186f4302fa69301b9c83)) -* **builder:** review of the table of contents entry styles ([#295](https://github.com/TriasDev/templify/issues/295)) ([9837a2f](https://github.com/TriasDev/templify/commit/9837a2fc75f30ed784fb5de970454850a6e57321)) -* **builder:** step 1 review — no loop over an indexed path, ASCII index digits, more render-safety tests ([#290](https://github.com/TriasDev/templify/issues/290), [#291](https://github.com/TriasDev/templify/issues/291)) ([5e9147e](https://github.com/TriasDev/templify/commit/5e9147e5a3a2e39868d406f61aa1bf2f16daeffe)) -* **builder:** table of contents field ends in its own paragraph, so index-refreshing converters build it ([#295](https://github.com/TriasDev/templify/issues/295)) ([329f2ac](https://github.com/TriasDev/templify/commit/329f2acb7d2750cf0f53242e7685bb029519ce76)) -* **builder:** text keys review — export self-check, raw XML escaping, verbatim texts on re-export ([#274](https://github.com/TriasDev/templify/issues/274)) ([b081ffc](https://github.com/TriasDev/templify/commit/b081ffc69b97bee22fc5b772af5cd30635f884d5)) -* **builder:** top-of-page rule as a tree pass, after review ([#298](https://github.com/TriasDev/templify/issues/298)) ([a4e545b](https://github.com/TriasDev/templify/commit/a4e545bd59876ac77aaed7b293c249393e829671)) -* **builder:** typed path generator review — InternalsVisibleTo, unsupported shapes, System types, obsolete, TBG001 info ([#274](https://github.com/TriasDev/templify/issues/274)) ([c400354](https://github.com/TriasDev/templify/commit/c400354eadf174eebfe7109868ddd5a3fee2eeb3)) +- **Text and styles:** a style sheet with units, colours, fonts, named paragraph and character styles, paragraph options, spacers, rules and boxes, per-side borders and padding. +- **Template logic:** placeholders with value formats, block and inline conditionals (`If`/`ElseIf`/`Else`, `Switch` with a mandatory `Default`, path-to-path comparisons), paragraph, list and table-row loops with loop metadata. +- **Layout:** static tables (column widths, table styles, borders, shading, spans, header rows), row loops and conditional rows, two-level bullet lists, images (logo slot, fit to box), page setup, headers and footers, page numbers, table of contents, font embedding, and a raw XML escape hatch. +- **Data:** a data contract (path manifest, hash, JSON, witness data), typed data paths from C# types (`DataAs()` and the source generator), indexed path segments (`items[0]`). +- **Localisation:** text catalogs; a missing translation fails the build. +- **Identity and uploads:** a template stamp, and `TemplateInspector.Check` for edited copies uploaded back. +- **JSON definitions for agents and hosts:** import and export with a byte-identical round trip, a JSON Schema, a vocabulary description, outline and pointer reads, JSON Patch with a check, and preview with witness data. + +DOCX and ODT output is deterministic per runtime and OS, and LibreOffice round trips are part of the test suite. + +### Known limitations + +Follow-ups before a stable release are tracked in [#261](https://github.com/TriasDev/templify/issues/261). The most important are input limits for `Check`, `Preview` and `Patch` on untrusted input ([#302](https://github.com/TriasDev/templify/issues/302)), a single error model ([#303](https://github.com/TriasDev/templify/issues/303)) and the evolution of the stored JSON format ([#312](https://github.com/TriasDev/templify/issues/312)). Do not treat stored JSON definitions as a stable format yet. + +Full history: [#316](https://github.com/TriasDev/templify/pull/316).