@walkeros/cli 2.2.0-next-1773136823705 → 3.0.0-next-1773236214827

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,17 +1,56 @@
1
1
  # @walkeros/cli
2
2
 
3
- ## 2.2.0-next-1773136823705
3
+ ## 3.0.0-next-1773236214827
4
4
 
5
- ### Minor Changes
5
+ ### Major Changes
6
6
 
7
7
  - d11f574: Rename Flow.Setup to Flow.Config and Flow.Config to Flow.Settings for
8
8
  consistent Config/Settings naming convention at every level. Breaking change:
9
9
  all type names, function names, schema names, and API URL paths (/configs →
10
10
  /settings) updated.
11
+ - 23f218a: Replace flat/v2 contract format with named contracts supporting
12
+ extends inheritance.
13
+
14
+ BREAKING CHANGES:
15
+ - `contract` is now a map of named contract entries (e.g.,
16
+ `{ "default": { ... }, "web": { ... } }`)
17
+ - `version` field inside contracts removed
18
+ - `$tagging` renamed to `tagging`
19
+ - Legacy flat contract format removed
20
+ - `$globals`, `$context`, `$custom`, `$user`, `$consent` references removed
21
+ - Settings-level `contract` field removed (use named contracts at config
22
+ level)
23
+ - Auto-injection of `$tagging` into `collector.tagging` removed (use
24
+ `$contract.name.tagging` explicitly)
25
+ - Validator `contract` setting renamed to `events` (receives raw schemas, not
26
+ `{ schema: ... }` wrappers)
27
+
28
+ NEW FEATURES:
29
+ - Named contracts with `extends` for inheritance (additive merge)
30
+ - Generalized dot-path resolution: `$def.name.nested.path`,
31
+ `$contract.name.section`
32
+ - `$contract` as first-class reference type with path access
33
+ - `$def` inside contracts supported via two-pass resolution
34
+ - `$def` aliasing for reducing repetition: `{ "c": "$contract.web" }` then
35
+ `$def.c.events`
36
+
11
37
  - d5af3cf: Unified CLI and Docker runner into single `walkeros run` code path
12
38
  with built-in health server, heartbeat, polling, and secrets support. Added
13
39
  `--flow-id` and `--project` flags. Removed legacy `--deploy`, `--url`,
14
40
  `--health-endpoint`, `--heartbeat-interval`, and `-h/--host` flags.
41
+
42
+ ### Minor Changes
43
+
44
+ - 6ae0ee3: Add v2 structured contract format with globals, context, custom,
45
+ user, and consent sections.
46
+
47
+ Contracts can now describe cross-event properties (globals, consent, etc.)
48
+ alongside entity-action event schemas. Top-level sections are JSON Schemas
49
+ that merge additively into per-event validation.
50
+
51
+ Breaking: None. Legacy flat contracts continue working unchanged. v2 is opt-in
52
+ via `version: 2` field.
53
+
15
54
  - b6c8fa8: Add stores as a first-class component type in Flow.Config. Stores get
16
55
  their own `stores` section in flow settings, a `collector.stores` registry,
17
56
  and `$store:storeId` env wiring in the bundler. Includes `storeMemoryInit` for
@@ -39,15 +78,19 @@
39
78
  hoisted into a separate variable declaration before the config object,
40
79
  ensuring store references resolve correctly at runtime
41
80
  - Updated dependencies [2b259b6]
81
+ - Updated dependencies [2614014]
82
+ - Updated dependencies [6ae0ee3]
42
83
  - Updated dependencies [37299a9]
43
84
  - Updated dependencies [499e27a]
44
85
  - Updated dependencies [d11f574]
45
86
  - Updated dependencies [d11f574]
87
+ - Updated dependencies [1fe337a]
88
+ - Updated dependencies [23f218a]
46
89
  - Updated dependencies [499e27a]
47
90
  - Updated dependencies [c83d909]
48
91
  - Updated dependencies [b6c8fa8]
49
- - @walkeros/core@2.2.0-next-1773136823705
50
- - @walkeros/server-core@2.2.0-next-1773136823705
92
+ - @walkeros/core@3.0.0-next-1773236214827
93
+ - @walkeros/server-core@3.0.0-next-1773236214827
51
94
 
52
95
  ## 2.1.1
53
96