@walkeros/core 4.7.0-next-1790722899482 → 4.7.1-next-1791015692826

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 CHANGED
@@ -1,6 +1,16 @@
1
1
  # @walkeros/core
2
2
 
3
- ## 4.7.0-next-1790722899482
3
+ ## 4.7.1-next-1791015692826
4
+
5
+ ### Patch Changes
6
+
7
+ - 0635330: Adds build-time flags that let a bundler leave unused features out of
8
+ a browser bundle. Nothing changes when they are not set.
9
+ - 91e9aeb: A `consent` key on a `loop` item neither unlocks nor holds back a
10
+ value inside that loop; the event's consent decides. This applies to
11
+ destination, source and state mappings alike.
12
+
13
+ ## 4.7.0
4
14
 
5
15
  ### Minor Changes
6
16
 
@@ -19,6 +29,16 @@
19
29
  chain field can drop an event with `{ stop: true }`, optionally gated by
20
30
  `match`. A route `match` reads `{ ingest, event }` when the event reaches it.
21
31
  New `getRouteGraph`; `getNextSteps(spec, root)` requires its root.
32
+ - 64b06de: Packages with several exports, such as the GCP and AWS sources and
33
+ destinations, now publish a settings schema per export. `walkeros validate`
34
+ and MCP `package_get` use the schema of the export a step imports. Pub/Sub,
35
+ BigQuery, SNS and SQS steps pinned to this release or later are checked
36
+ instead of skipped; older pins still report a skip.
37
+ - 4b4937f: `getFlowSettings` throws a typed `FlowCycleError` for `$flow` and
38
+ `$var` cycles, with `code` (`FLOW_CYCLE` or `VAR_CYCLE`) and the `chain` of
39
+ names; the message is unchanged. `validateFlowConfig` reference warnings now
40
+ carry the path of the value that holds the reference, and an unresolvable root
41
+ `contract` is an error at `contract`.
22
42
  - 74821ed: `anonymizeIP` now handles IPv6 (first 48 bits) and IPv4-mapped
23
43
  addresses; `getHashServer` takes an optional HMAC `key`. The fingerprint
24
44
  transformer works with just `{ salt }`: it hashes the anonymized IP, reduced
@@ -39,12 +59,12 @@
39
59
  `@walkeros/runner` package, which the `walkeros/flow` image now runs. The CLI
40
60
  no longer depends on `express`, `cors` or `p-limit`. New `@walkeros/core/node`
41
61
  entry with the Node-only logger, redaction and temp-path helpers.
42
- - 74821ed: The values of secrets a flow references are masked in simulate
43
- output, CLI logs and flow logs, also inside JSON strings. The runtime masks
44
- the secret values it fetches in every log path, heartbeats and `--json` errors
45
- included. Simulate output also scrubs credential-named fields, `Authorization`
46
- headers and PEM keys. `scrubSecrets` takes `known`; the CLI logger takes
47
- `knownSecrets`.
62
+ - 74821ed: Simulate and push output, CLI and flow logs, and the MCP
63
+ `flow_simulate` and `flow_push` results mask the values of secrets a flow
64
+ references, also inside JSON strings, numbers and URLs. `scrubSecrets` takes
65
+ `known`, the CLI logger `knownSecrets`, and `scrubJson` replaces
66
+ `maskKnownNumbers`. MCP `flow_push` and `flow_simulate` read their config
67
+ once; a config that cannot be read stops the run.
48
68
  - 74821ed: `walkeros push --simulate` prints each step's mapping and vendor
49
69
  calls (`simulations` in `--json`) and reports init or push failures. New
50
70
  flags: `--ingest`, `--consent` (MCP `state.consent`), `--command` for command
@@ -62,11 +82,21 @@
62
82
  unresolvable key warns. Every step field now survives bundling: transformers
63
83
  with only `state` or `mapping`, and code steps with `cache` or `state`, were
64
84
  silently dropped before. `buildCacheContext` is renamed `createMappingRoot`.
65
- - 74821ed: `walkeros validate` warns on malformed or mid-string `$flow.`,
66
- `$store.`, `$secret.` and `$contract.` references, paths that can never
67
- resolve, unknown route targets, and routes shadowed by a `stop` or first
68
- match. Contracts bind only on `@walkeros/transformer-validate` steps.
69
- Cross-step checks include an object `out`.
85
+ - e860006: `state` gains `mapping` to shape what a lookup returns or a write
86
+ stores, merged into the target. An undeclared `state.store`, or a `file: true`
87
+ store, is now a validation error in `walkeros validate` and deploy preflight;
88
+ at runtime the entry logs an error or is skipped with a warning. The s3 and
89
+ gcs stores report their `file` mode.
90
+ - 74821ed: An unknown `$var` or `$store` now fails `walkeros validate`, as it
91
+ fails the bundle. References resolve per flow, and `description` text is never
92
+ read as a reference. A dangling contract `extend`, an unknown `$contract` on a
93
+ validate step, or a contract cycle is an error. Contracts bind only on
94
+ validate steps. Malformed references and unknown or shadowed routes warn.
95
+ - 4f89234: Web builds now assign the collector to the global named in
96
+ `config.settings.windowCollector`, default `walkerOS`. Before,
97
+ `walkeros bundle` ignored the setting. It accepts a name or a `$var`/`$env`
98
+ reference; the resolved name must be a valid, non-reserved JavaScript
99
+ identifier, or the build and `walkeros validate` report an error.
70
100
 
71
101
  ### Patch Changes
72
102
 
@@ -75,11 +105,12 @@
75
105
  issues as `elb` calls; `--page-url` sets the web page. Express flows need no
76
106
  port. Packages with several exports use per-export examples and mocks, and a
77
107
  destination without a mock env is refused instead of calling the vendor.
78
- - 74821ed: `walkeros validate` reports a missing or non-JSON input file as an
79
- input error (exit 3). `--path` no longer fails on `uri` or email formats, nor
80
- warns on mapping loops. The published Flow JSON Schema adds `config.observe`
81
- and drops step-level `validate`. The Usercentrics schema now lists
82
- `apiVersion` and `v3EventName`.
108
+ - 74821ed: `walkeros validate` reports a missing or non-JSON input as exit 3,
109
+ like `--path`, `--flow` or `--offline` with a non-flow `-t`. Unknown keys on
110
+ destinations and stores warn (`UNKNOWN_KEY`), as does
111
+ `@walkeros/store-memory`. `--path` ignores `uri` and email formats. The Flow
112
+ JSON Schema adds `config.observe` and drops step-level `validate`; the
113
+ Usercentrics schema lists `apiVersion` and `v3EventName`.
83
114
 
84
115
  ## 4.6.1
85
116