tagreeve 0.9.0-rc.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -6
- package/README.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.9.0
|
|
3
|
+
## 0.9.0
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
`npm i -g tagreeve` installs this release. 0.9.0 is the final release after 0.9.0-rc.1, with no changes since the candidate. It has no new command or option. The record stays at schema version 5, and a 0.8 record reads as before. It was field-tested on a real store with no regressions.
|
|
6
6
|
|
|
7
|
-
### What 0.9.0
|
|
7
|
+
### What 0.9.0 adds
|
|
8
8
|
|
|
9
9
|
- Decode Pinterest Conversions API calls from server containers as `pinterest-capi`, and link them to browser hits by event ID (#1648, #1663).
|
|
10
10
|
|
|
11
|
-
### Fixes in 0.9.0
|
|
11
|
+
### Fixes in 0.9.0
|
|
12
12
|
|
|
13
13
|
- Server container: a call that arrives up to 2000 ms after its one same-key hit was answered, with no other same-client request or consent change between, is now an exact client-ID link, so a rule that only warned on it can now fail the run (#1640, #1659).
|
|
14
14
|
- Canaries: a control character inside a reserved name is refused, a `#` in an unused variable no longer refuses the run, and padded Base64 SHA-256 digests of canary and identity values now match (#1612, #1660).
|
|
@@ -23,14 +23,16 @@ The first release candidate of 0.9.0. Install it with `npm i -g tagreeve@next`.
|
|
|
23
23
|
- **`Request.frame` has an optional `page`.** The schema version stays 5. A script that compares frames with strict equality sees one more key. A record made before 0.9.0 reads as before.
|
|
24
24
|
- **Stored event names change.** A spaced or coloned event name that read `(other)` in a stored suite now reads as itself, so a `suite.json` made by 0.8 differs in `events` and `notInAccept`.
|
|
25
25
|
- **A canary can newly fail a run.** A padded Base64 SHA-256 digest of a canary value, or of the identity email or phone, that was in a request before and went unseen is now found. A route flag for it reads transform `other`.
|
|
26
|
-
- **A new release needs a new server image.** On arm64 (Apple silicon), run `tagreeve server-container build` after `npm i -g tagreeve
|
|
26
|
+
- **A new release needs a new server image.** On arm64 (Apple silicon), run `tagreeve server-container build` after `npm i -g tagreeve`. A run with `--server-container` exits 2 with "The image tagreeve-sgtm:<version> is not available" until the image for that version exists. On amd64 the command builds nothing.
|
|
27
27
|
|
|
28
|
-
### Known in 0.9.0
|
|
28
|
+
### Known in 0.9.0
|
|
29
29
|
|
|
30
30
|
Issues still open that you can meet, in addition to those in 0.7.0:
|
|
31
31
|
|
|
32
32
|
- The canary search reads only the forms it lists. It skips gzip and binary bodies, bodies cut at 64 KiB and net-log requests with no body, and it does not search headers. A pass means no planted value was found in the searched forms.
|
|
33
33
|
- The Stape loader unwrap covers `/g/collect` and `/data`. Stape's hosting layer may act on a loader request in other ways, and the record says so in fixed text.
|
|
34
|
+
- A `{placeholder}` inside a variable value is never filled, because the start URL is filled in one pass (#1666). The browser opens the literal `%7Bname%7D` path, and the run can exit 0.
|
|
35
|
+
- A padded Base64 SHA-256 match reads transform `other`, not `sha256`, in the route line and the report rows (#1667). The verdict is not affected.
|
|
34
36
|
|
|
35
37
|
## 0.8.1
|
|
36
38
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
Agent-first testing for tags and consent. Tagreeve plays a visitor in a real browser, records every tracking hit the site sends, and checks the result against what you expect. Web tag reports (which GTM web tags fired) come from a GTM template you install. Server tag reports are planned.
|
|
11
11
|
|
|
12
|
-
> **Status: 0.9 (`0.9.0
|
|
12
|
+
> **Status: 0.9 (`0.9.0`).** Tagreeve plays a visitor in Chromium, records and decodes hits, answers the consent banner, checks YAML expectations and writes a JSONL record. 0.3 adds rules on payload fields and cookies, a `deniedIdentifiers` check, `tagreeve suite`, an HTML report, a Done control for handoff steps, role-based locators and a `select` step. 0.4 adds handoffs that end by themselves, an opt-in test payment step, baselines, a viewport option and fake identities by country. 0.5 adds `--server-container`, which runs your own server container in Docker and records what it sends to each vendor, a Conversions API decoder, several stores in one suite and platform hosts for Shopify. 0.6.0-rc.1 adds path defaults, `tagreeve init`, `tagreeve/config.yml`, `--label`, default baseline paths and `suite --baseline`, exact links between server container calls and browser hits by client ID, and the frame of each `dataLayer` push. 0.6.0-rc.2 adds web tag reports, `tagreeve template web`, `tag` rules, `expectedTags`, masked `dataLayer` push shapes in `diff` and baselines, and the `consentModeSetup` check. 0.6.0-rc.3 fixes the reporter in real GTM, keeps the `dataLayer` hook working when a page replaces `push`, adds push kinds and a `dataLayerIncomplete` flag, and sends handoff text to stderr. 0.6.0 is rc.3 with the release prep and no code change; it was field-tested on a real store with a real GTM web container in a workspace preview (rc.2 and rc.3). 0.7.0 adds the `earlyIdentityPush`, `idHandover` and `serverContainerRejected` checks and `dataLayer:` rules. 0.8.0-rc.1 adds a consent audit: `suite --consent`, identifier canaries and the `identifierRoute` check. 0.8.0 is rc.4 with the release prep and no code change; it was field-tested on a real Shopify store with a first-party server container (rc.1 to rc.4). 0.9.0-rc.1 fixes server container links, canaries, consent matrix names and `dataLayer` loaders, and decodes Pinterest Conversions API calls. 0.9.0 is rc.1 with the release prep and no code change; it was field-tested on a real store with no regressions. The rest of this README describes where Tagreeve is going, and marks what is not built yet. The design is in [docs/design.md](docs/design.md). Feedback is welcome in issues.
|
|
13
13
|
>
|
|
14
14
|
> **In 0.1:** `tagreeve run` with `stub` and `live` network modes; consent epochs, with withdrawals labelled apart from first rejects; seeded fake identities, hash checks and leak detection; decoders for GA4, Google Ads, Meta, Stape custom loader and a minimal server-container data client; banner handling through autoconsent; expectations; JSONL output.
|
|
15
15
|
>
|
|
@@ -17,7 +17,7 @@ Agent-first testing for tags and consent. Tagreeve plays a visitor in a real bro
|
|
|
17
17
|
>
|
|
18
18
|
> **In 0.3:** `body.has` and `body.only` rules on the field names of a hit; `cookie` rules; a `deniedIdentifiers` check that fails when an identifier goes out on a denied hit; `tagreeve suite` runs a folder of scenarios against several GTM builds; `tagreeve report` writes an HTML report of one run or a suite; a Done button in the handoff window; `click` and `wait` by role and name or from a list of selectors; a `select` step; the `server` network mode; record schema version 2. `deniedIdentifiers` fails by default, so a run that passed in 0.2 can exit 1. See [CHANGELOG.md](CHANGELOG.md).
|
|
19
19
|
>
|
|
20
|
-
> **In 0.9.0
|
|
20
|
+
> **In 0.9.0:** the final 0.9.0, the same as 0.9.0-rc.1 with no changes since the candidate, and with no new command or option. A server call that arrives up to 2000 ms after its answered same-key hit now links exactly, so a rule that only warned can now fail the run. Pinterest Conversions API calls are decoded as `pinterest-capi` and link to browser hits by event ID. Fixes to canaries, consent matrix event names and `dataLayer` iframe loaders. The record stays at schema version 5. `npm i -g tagreeve` installs it. On arm64, run `tagreeve server-container build` after the upgrade. What is new is in [CHANGELOG.md](CHANGELOG.md) under 0.9.0.
|
|
21
21
|
>
|
|
22
22
|
> **In 0.8.1:** a patch release with no new command or option. `tagreeve diff --by-page` prints only the path of a recorded page, so a fake canary value in a page URL no longer reaches the text or `diff --json`. The `identifierRoute` pass message is true when every route went to an allowed host. The record stays at schema version 5. `npm i -g tagreeve` installs it. On arm64, run `tagreeve server-container build` after the upgrade. What is new is in [CHANGELOG.md](CHANGELOG.md) under 0.8.1.
|
|
23
23
|
|