Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .changeset/wild-pumas-shave.md

This file was deleted.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @stackmade/gtm-as-code

## 0.3.0

### Minor Changes

- 6500c54: Milestone 0.3: adopt an existing setup.

- `gtm-code pull` reverse-generates YAML from a live GTM container/GA4 property, with
`--resource <kind>:<id>` for a single resource and `--from-export <path>` to read a GTM UI
container export instead of calling the API.
- `gtm-code adopt <kind>:<id>` stamps ownership on a resource already pulled into the config, so
`plan`/`apply` recognize it as managed.
- `gtm-code diff <fileA> <fileB>` compares two config files offline, no network calls.
- `gtm-code drift` checks whether live state has diverged from config, exit 1 if it has — meant
for a scheduled CI job.
- `googleTag` tags now map `configParameters` and `trigger` correctly, so GA4 configuration tags
round-trip through `pull`/`apply` without dropping their config parameters or firing trigger.

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackmade/gtm-as-code",
"version": "0.2.0",
"version": "0.3.0",
"description": "GTM & GA4 as code — define Google Tag Manager and Analytics 4 config in YAML, plan/apply like Terraform.",
"license": "MIT",
"type": "module",
Expand Down