@walkeros/core 4.7.0-next-1790722899482 → 4.7.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @walkeros/core
2
2
 
3
- ## 4.7.0-next-1790722899482
3
+ ## 4.7.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -19,6 +19,16 @@
19
19
  chain field can drop an event with `{ stop: true }`, optionally gated by
20
20
  `match`. A route `match` reads `{ ingest, event }` when the event reaches it.
21
21
  New `getRouteGraph`; `getNextSteps(spec, root)` requires its root.
22
+ - 64b06de: Packages with several exports, such as the GCP and AWS sources and
23
+ destinations, now publish a settings schema per export. `walkeros validate`
24
+ and MCP `package_get` use the schema of the export a step imports. Pub/Sub,
25
+ BigQuery, SNS and SQS steps pinned to this release or later are checked
26
+ instead of skipped; older pins still report a skip.
27
+ - 4b4937f: `getFlowSettings` throws a typed `FlowCycleError` for `$flow` and
28
+ `$var` cycles, with `code` (`FLOW_CYCLE` or `VAR_CYCLE`) and the `chain` of
29
+ names; the message is unchanged. `validateFlowConfig` reference warnings now
30
+ carry the path of the value that holds the reference, and an unresolvable root
31
+ `contract` is an error at `contract`.
22
32
  - 74821ed: `anonymizeIP` now handles IPv6 (first 48 bits) and IPv4-mapped
23
33
  addresses; `getHashServer` takes an optional HMAC `key`. The fingerprint
24
34
  transformer works with just `{ salt }`: it hashes the anonymized IP, reduced
@@ -39,12 +49,12 @@
39
49
  `@walkeros/runner` package, which the `walkeros/flow` image now runs. The CLI
40
50
  no longer depends on `express`, `cors` or `p-limit`. New `@walkeros/core/node`
41
51
  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`.
52
+ - 74821ed: Simulate and push output, CLI and flow logs, and the MCP
53
+ `flow_simulate` and `flow_push` results mask the values of secrets a flow
54
+ references, also inside JSON strings, numbers and URLs. `scrubSecrets` takes
55
+ `known`, the CLI logger `knownSecrets`, and `scrubJson` replaces
56
+ `maskKnownNumbers`. MCP `flow_push` and `flow_simulate` read their config
57
+ once; a config that cannot be read stops the run.
48
58
  - 74821ed: `walkeros push --simulate` prints each step's mapping and vendor
49
59
  calls (`simulations` in `--json`) and reports init or push failures. New
50
60
  flags: `--ingest`, `--consent` (MCP `state.consent`), `--command` for command
@@ -62,11 +72,21 @@
62
72
  unresolvable key warns. Every step field now survives bundling: transformers
63
73
  with only `state` or `mapping`, and code steps with `cache` or `state`, were
64
74
  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`.
75
+ - e860006: `state` gains `mapping` to shape what a lookup returns or a write
76
+ stores, merged into the target. An undeclared `state.store`, or a `file: true`
77
+ store, is now a validation error in `walkeros validate` and deploy preflight;
78
+ at runtime the entry logs an error or is skipped with a warning. The s3 and
79
+ gcs stores report their `file` mode.
80
+ - 74821ed: An unknown `$var` or `$store` now fails `walkeros validate`, as it
81
+ fails the bundle. References resolve per flow, and `description` text is never
82
+ read as a reference. A dangling contract `extend`, an unknown `$contract` on a
83
+ validate step, or a contract cycle is an error. Contracts bind only on
84
+ validate steps. Malformed references and unknown or shadowed routes warn.
85
+ - 4f89234: Web builds now assign the collector to the global named in
86
+ `config.settings.windowCollector`, default `walkerOS`. Before,
87
+ `walkeros bundle` ignored the setting. It accepts a name or a `$var`/`$env`
88
+ reference; the resolved name must be a valid, non-reserved JavaScript
89
+ identifier, or the build and `walkeros validate` report an error.
70
90
 
71
91
  ### Patch Changes
72
92
 
@@ -75,11 +95,12 @@
75
95
  issues as `elb` calls; `--page-url` sets the web page. Express flows need no
76
96
  port. Packages with several exports use per-export examples and mocks, and a
77
97
  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`.
98
+ - 74821ed: `walkeros validate` reports a missing or non-JSON input as exit 3,
99
+ like `--path`, `--flow` or `--offline` with a non-flow `-t`. Unknown keys on
100
+ destinations and stores warn (`UNKNOWN_KEY`), as does
101
+ `@walkeros/store-memory`. `--path` ignores `uri` and email formats. The Flow
102
+ JSON Schema adds `config.observe` and drops step-level `validate`; the
103
+ Usercentrics schema lists `apiVersion` and `v3EventName`.
83
104
 
84
105
  ## 4.6.1
85
106