@walkeros/cli 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/cli
2
2
 
3
- ## 4.7.0-next-1790722899482
3
+ ## 4.7.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,6 +9,16 @@
9
9
  `config.bundle.env`; they must be literal strings and supply `$env` in web
10
10
  bundles. Step packages, overrides and their dependencies must now come from
11
11
  the npm registry: git, file and URL specs are rejected.
12
+ - 64b06de: A bundle's default release is now a content id of config, packages
13
+ and CLI version, so repeat builds hit the build cache. Env and secret values
14
+ are not part of it, only their names. `--release` now beats a flow's
15
+ `collector.release`. Rebuilt local `path` packages and CLI upgrades invalidate
16
+ the build caches, and `cache clear --builds` also clears compiled code.
17
+ - 64b06de: Packages with several exports, such as the GCP and AWS sources and
18
+ destinations, now publish a settings schema per export. `walkeros validate`
19
+ and MCP `package_get` use the schema of the export a step imports. Pub/Sub,
20
+ BigQuery, SNS and SQS steps pinned to this release or later are checked
21
+ instead of skipped; older pins still report a skip.
12
22
  - 74821ed: The canonical `flow-complete.json` example is rewritten as one tested
13
23
  ecommerce setup with web, server and warehouse flows and a 15-chapter guide.
14
24
  The new `flowCompleteManifest` export from `@walkeros/cli/examples` names
@@ -36,51 +46,91 @@
36
46
  issues as `elb` calls; `--page-url` sets the web page. Express flows need no
37
47
  port. Packages with several exports use per-export examples and mocks, and a
38
48
  destination without a mock env is refused instead of calling the vendor.
39
- - 74821ed: `walkeros validate` reports a missing or non-JSON input file as an
40
- input error (exit 3). `--path` no longer fails on `uri` or email formats, nor
41
- warns on mapping loops. The published Flow JSON Schema adds `config.observe`
42
- and drops step-level `validate`. The Usercentrics schema now lists
43
- `apiVersion` and `v3EventName`.
49
+ - 4b4937f: Files that passed `walkeros validate` may now fail: it checks every
50
+ flow and every step's package settings unless you narrow it, and resolves each
51
+ flow as the bundler does, so an unresolvable `$flow` is an error. `--path`
52
+ checks the entry in every flow. Settings findings warn for one minor.
53
+ Named-export steps are skipped; `--offline` skips fetching.
54
+ - 74821ed: `walkeros validate` reports a missing or non-JSON input as exit 3,
55
+ like `--path`, `--flow` or `--offline` with a non-flow `-t`. Unknown keys on
56
+ destinations and stores warn (`UNKNOWN_KEY`), as does
57
+ `@walkeros/store-memory`. `--path` ignores `uri` and email formats. The Flow
58
+ JSON Schema adds `config.observe` and drops step-level `validate`; the
59
+ Usercentrics schema lists `apiVersion` and `v3EventName`.
44
60
  - 74821ed: `walkeros validate` prints a `Scope:` line and returns
45
- `details.scope` (flows and checks) instead of `details.validatedFlow`;
46
- `details.skipped` lists checks that did not run, such as an unreachable
47
- package schema (exit 0). `--path` and `--flow` narrow every check; paths start
48
- with `flows.<flow>.`. Errors and warnings carry stable codes, settings errors
49
- `ENTRY_SCHEMA` plus `keyword`. `--path` or `--flow` with a non-flow `-t`
50
- exits 3.
51
- - 74821ed: `walkeros validate` warns on malformed or mid-string `$flow.`,
52
- `$store.`, `$secret.` and `$contract.` references, paths that can never
53
- resolve, unknown route targets, and routes shadowed by a `stop` or first
54
- match. Contracts bind only on `@walkeros/transformer-validate` steps.
55
- Cross-step checks include an object `out`.
61
+ `details.scope` instead of `details.validatedFlow`, `details.skipped` for
62
+ checks that did not run and `details.deferred` for values known only at
63
+ runtime. Skips never read as passed. Every finding has a stable `code`.
64
+ `--strict` fails on warnings or skips (exit 2), and `validate()` and
65
+ `flow_validate` with `strict` return `valid: false`; `flow_validate` also
66
+ accepts `offline`.
67
+ - 74821ed: An unknown `$var` or `$store` now fails `walkeros validate`, as it
68
+ fails the bundle. References resolve per flow, and `description` text is never
69
+ read as a reference. A dangling contract `extend`, an unknown `$contract` on a
70
+ validate step, or a contract cycle is an error. Contracts bind only on
71
+ validate steps. Malformed references and unknown or shadowed routes warn.
72
+ - 4f89234: Web builds now assign the collector to the global named in
73
+ `config.settings.windowCollector`, default `walkerOS`. Before,
74
+ `walkeros bundle` ignored the setting. It accepts a name or a `$var`/`$env`
75
+ reference; the resolved name must be a valid, non-reserved JavaScript
76
+ identifier, or the build and `walkeros validate` report an error.
56
77
 
57
78
  ### Patch Changes
58
79
 
80
+ - 786a860: AWS destinations now deliver in bundled flows without extra setup.
81
+ Firehose batches by default, ends records with a newline (`newline: false`
82
+ turns it off), sends mapped `data` and accepts `config.credentials`. Rejected
83
+ records now count as failed. SNS works with `topicArn` alone and no longer
84
+ creates topics at start. `walkeros setup` resolves `$secret` values; partial
85
+ batch failures log their causes.
59
86
  - 74821ed: Server builds served from the build cache now copy the root `include`
60
87
  folders; web builds ignore `include` and log it. An unused package in
61
88
  `bundle.packages` warns instead of failing the build. Cache entries are
62
89
  written atomically, so an interrupt no longer leaves a broken entry, and
63
90
  `walkeros cache clear` removes leftovers. Temp dirs are
64
91
  `<tmp>/walkeros/<kind>/<id>`.
92
+ - 5a210e1: `walkeros flows create` and `walkeros flows update` now read
93
+ `--content` from a file path or URL as well as an inline JSON string. Large
94
+ flows no longer need to fit on the command line: pass `--content ./flow.json`.
65
95
  - 74821ed: A flow's own log lines now go through the CLI logger: its debug lines
66
96
  need `--verbose`, and they go to stderr with `--json`. Version numbers are no
67
97
  longer masked as tokens, so `walkeros deploy` shows the image tag and
68
98
  `bundle --stats` shows package versions. Paths under the system temp directory
69
99
  print as `$TMPDIR/...`.
70
- - 74821ed: The values of secrets a flow references are masked in simulate
71
- output, CLI logs and flow logs, also inside JSON strings. The runtime masks
72
- the secret values it fetches in every log path, heartbeats and `--json` errors
73
- included. Simulate output also scrubs credential-named fields, `Authorization`
74
- headers and PEM keys. `scrubSecrets` takes `known`; the CLI logger takes
75
- `knownSecrets`.
100
+ - b1e5aa5: Manifest builds now survive short network blips: the manifest
101
+ download, skeleton downloads and uploads retry up to three times on network
102
+ errors, timeouts, 5xx and 429, while other statuses such as an expired link
103
+ fail at once. Each retry is logged, and errors name the cause, for example
104
+ `fetch failed (ECONNRESET)` or `HTTP 503`.
105
+ - 74821ed: Simulate and push output, CLI and flow logs, and the MCP
106
+ `flow_simulate` and `flow_push` results mask the values of secrets a flow
107
+ references, also inside JSON strings, numbers and URLs. `scrubSecrets` takes
108
+ `known`, the CLI logger `knownSecrets`, and `scrubJson` replaces
109
+ `maskKnownNumbers`. MCP `flow_push` and `flow_simulate` read their config
110
+ once; a config that cannot be read stops the run.
111
+ - 050d776: Simulated click and impression examples of the browser source carry
112
+ `source` and `globals` again. A page scope from another realm, such as an
113
+ iframe or a simulated page, is now recognized. Simulate also exposes `Node`,
114
+ `Element`, `HTMLElement`, `Document` and `ShadowRoot`, so `instanceof` checks
115
+ behave as in a browser.
76
116
  - 74821ed: `state` paths resolve against `{ event, ingest }` and need an
77
117
  `event.` or `ingest.` prefix; a `get` can write into `ingest`, and an
78
118
  unresolvable key warns. Every step field now survives bundling: transformers
79
119
  with only `state` or `mapping`, and code steps with `cache` or `state`, were
80
120
  silently dropped before. `buildCacheContext` is renamed `createMappingRoot`.
121
+ - e860006: `state` gains `mapping` to shape what a lookup returns or a write
122
+ stores, merged into the target. An undeclared `state.store`, or a `file: true`
123
+ store, is now a validation error in `walkeros validate` and deploy preflight;
124
+ at runtime the entry logs an error or is skipped with a warning. The s3 and
125
+ gcs stores report their `file` mode.
126
+ - Updated dependencies [786a860]
81
127
  - Updated dependencies [74821ed]
82
128
  - Updated dependencies [06b498a]
129
+ - Updated dependencies [7e5e3de]
130
+ - Updated dependencies [b9668bf]
83
131
  - Updated dependencies [74821ed]
132
+ - Updated dependencies [64b06de]
133
+ - Updated dependencies [4b4937f]
84
134
  - Updated dependencies [74821ed]
85
135
  - Updated dependencies [74821ed]
86
136
  - Updated dependencies [74821ed]
@@ -90,13 +140,15 @@
90
140
  - Updated dependencies [74821ed]
91
141
  - Updated dependencies [74821ed]
92
142
  - Updated dependencies [74821ed]
143
+ - Updated dependencies [e860006]
93
144
  - Updated dependencies [74821ed]
94
145
  - Updated dependencies [74821ed]
95
- - @walkeros/collector@4.7.0-next-1790722899482
96
- - @walkeros/core@4.7.0-next-1790722899482
97
- - @walkeros/server-core@4.7.0-next-1790722899482
98
- - @walkeros/transformer-validate@4.7.0-next-1790722899482
99
- - @walkeros/server-destination-api@4.7.0-next-1790722899482
146
+ - Updated dependencies [4f89234]
147
+ - @walkeros/collector@4.7.0
148
+ - @walkeros/core@4.7.0
149
+ - @walkeros/server-core@4.7.0
150
+ - @walkeros/transformer-validate@4.7.0
151
+ - @walkeros/server-destination-api@4.7.0
100
152
 
101
153
  ## 4.6.1
102
154