diff --git a/.changeset/tame-buses-relax.md b/.changeset/tame-buses-relax.md deleted file mode 100644 index 1d360f2..0000000 --- a/.changeset/tame-buses-relax.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@stackmade/gtm-as-code": minor ---- - -Add `exceptTrigger` on `gtm.tags` entries, mapping to GTM's blocking-trigger mechanism -(`blockingTriggerId`). Works the same way `trigger` already does: validated against declared -triggers, ordered in the dependency graph, applied and read back through `plan`/`apply`/`pull`. diff --git a/.changeset/tame-lions-relax.md b/.changeset/tame-lions-relax.md deleted file mode 100644 index fdf6475..0000000 --- a/.changeset/tame-lions-relax.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@stackmade/gtm-as-code": minor ---- - -Add `gtm.folders` as a new GTM resource kind, with an optional `folder` field on variables, -triggers, and tags. Maps to GTM's `parentFolderId`. Ownership-tracked and dependency-ordered like -any other kind, and supported end to end by `plan`/`apply`/`pull`/`--from-export`. diff --git a/.changeset/tender-donkeys-drum.md b/.changeset/tender-donkeys-drum.md deleted file mode 100644 index 8e9ec57..0000000 --- a/.changeset/tender-donkeys-drum.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@stackmade/gtm-as-code": minor ---- - -Add most remaining GTM trigger, variable, and tag types (page view, click, timer, trigger groups, -constant, custom JavaScript, lookup/regex tables, cookie, custom HTML, custom image, and more), tag -firing behavior (`priority`, `firingOption`, `scheduleStart`/`scheduleEnd`, `setupTags`/ -`teardownTags`), and regex matching on custom-event triggers (`eventNameMatchType: 'regex'`). -Conversion linker and community-gallery template tags, and custom templates, are still not covered. diff --git a/.changeset/thick-otters-tickle.md b/.changeset/thick-otters-tickle.md deleted file mode 100644 index de000c9..0000000 --- a/.changeset/thick-otters-tickle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@stackmade/gtm-as-code": minor ---- - -Add `gtm.builtInVariables` config, so `plan`/`apply`/`drift` can enable GTM built-in variables -(`Click Text`, `Page Path`, and the rest of the click/page/form/error/history/debug set). It only -enables variables; one not listed in config is left alone. diff --git a/.changeset/tidy-wombats-clap.md b/.changeset/tidy-wombats-clap.md deleted file mode 100644 index ec64a93..0000000 --- a/.changeset/tidy-wombats-clap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@stackmade/gtm-as-code": patch ---- - -Fix `gtm-code adopt`, which was implemented and tested but never registered in the CLI, so the -command didn't actually run. diff --git a/CHANGELOG.md b/CHANGELOG.md index 624b1fd..82700ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # @stackmade/gtm-as-code +## 0.4.0 + +### Minor Changes + +- 6b2b557: Add `exceptTrigger` on `gtm.tags` entries, mapping to GTM's blocking-trigger mechanism + (`blockingTriggerId`). Works the same way `trigger` already does: validated against declared + triggers, ordered in the dependency graph, applied and read back through `plan`/`apply`/`pull`. +- 0e8b4e5: Add `gtm.folders` as a new GTM resource kind, with an optional `folder` field on variables, + triggers, and tags. Maps to GTM's `parentFolderId`. Ownership-tracked and dependency-ordered like + any other kind, and supported end to end by `plan`/`apply`/`pull`/`--from-export`. +- b4ad582: Add most remaining GTM trigger, variable, and tag types (page view, click, timer, trigger groups, + constant, custom JavaScript, lookup/regex tables, cookie, custom HTML, custom image, and more), tag + firing behavior (`priority`, `firingOption`, `scheduleStart`/`scheduleEnd`, `setupTags`/ + `teardownTags`), and regex matching on custom-event triggers (`eventNameMatchType: 'regex'`). + Conversion linker and community-gallery template tags, and custom templates, are still not covered. +- b8be458: Add `gtm.builtInVariables` config, so `plan`/`apply`/`drift` can enable GTM built-in variables + (`Click Text`, `Page Path`, and the rest of the click/page/form/error/history/debug set). It only + enables variables; one not listed in config is left alone. + +### Patch Changes + +- 9dd1994: Fix `gtm-code adopt`, which was implemented and tested but never registered in the CLI, so the + command didn't actually run. + ## 0.3.0 ### Minor Changes diff --git a/package.json b/package.json index 9da72a7..1fac0d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stackmade/gtm-as-code", - "version": "0.3.0", + "version": "0.4.0", "description": "GTM & GA4 as code — define Google Tag Manager and Analytics 4 config in YAML, plan/apply like Terraform.", "license": "MIT", "type": "module",