Changelog
Changelog
Section titled “Changelog”v0.2 — Description Sync & Template Stabilization
Section titled “v0.2 — Description Sync & Template Stabilization”Date: April 6, 2026
Highlights
Section titled “Highlights”- Automated GTM UI descriptions — A new sync engine (
sync-descriptions.ts) generates GTM UI help text directly from AST test examples, ensuring the GTM interface always shows accurate, up-to-date input/output demonstrations. - Template corruption fix — Repaired JSON schema corruption across 25+ templates caused by a regex token interpolation bug (
$in replacement strings). All templates now pass strict JSON validation. - Cleaner website descriptions — Variable pages on the documentation site now show only the base description, stripping out the example blocks that are only needed in the GTM UI.
Technical Changes
Section titled “Technical Changes”| Area | What Changed |
|---|---|
sync-descriptions.ts | New script: parses @display annotations from [example] tests and injects formatted examples into the GTM help field |
tpl-parser.ts | parseHelpField() now splits on *** separator to strip examples from website descriptions |
astro.config.mjs | Added site field for sitemap generation |
25+ .tpl files | Repaired corrupted JSON in help parameters (condition, object, string, url categories) |
Stories Completed
Section titled “Stories Completed”- 10.1 — Build AST-to-UI Description Sync Engine
- 10.2 — Repair Template JSON Schema Corruption
- 10.3 — Website Description Cleanup & Baseline Stabilization
v0.1 — Baseline
Section titled “v0.1 — Baseline”Date: April 5, 2026
First tagged baseline of the template library. All 250+ variable templates with working tests, documentation site, and GTM container exports.
v1.0.0 — Launch Release
Section titled “v1.0.0 — Launch Release”Date: Coming soon
What’s Included
Section titled “What’s Included”- 250+ variable templates across 14 categories
- Full container JSON for one-click GTM import
- Core-only container JSON for minimal setups
- Individual
.tplfiles for selective import - Complete documentation for every variable
Categories at Launch
Section titled “Categories at Launch”| Category | Variables | Description |
|---|---|---|
| String | 30+ | Text manipulation and formatting |
| Array | 25+ | List operations and filtering |
| Object | 20+ | Key extraction and deep access |
| Ecommerce | 40+ | GA4 purchase, items, promotions |
| Number | 15+ | Math operations and formatting |
| Condition | 20+ | Logical tests and branching |
| URL | 15+ | URL parsing and parameter extraction |
| Date | 10+ | Date formatting and calculations |
| Time | 10+ | Time operations |
| GTM | 15+ | GTM-specific utilities |
| DOM | 10+ | DOM access helpers |
| Logic | 20+ | Boolean and control flow |
| Value | 15+ | Type conversion and defaults |
| Items | 25+ | GA4 item array operations |
Subscribe to the newsletter to get notified about new releases.