@wix/himalaya-cli 0.1738.0 → 0.1740.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/guides/release-notes.md
CHANGED
|
@@ -44,6 +44,18 @@ areas, always in the same order, so you can skim for the one you care about.
|
|
|
44
44
|
found on iOS and macOS only; money amounts and tracking, IBAN, card and ISBN numbers on Android only.
|
|
45
45
|
(#5899)
|
|
46
46
|
|
|
47
|
+
### Validate & test
|
|
48
|
+
|
|
49
|
+
- **`himi validate` fails a top-bar control that shows its id or does nothing.** A top-bar item that
|
|
50
|
+
put its button in `content` (only a `placement: "principal"` item draws it) painted its id, such as
|
|
51
|
+
`tasks.add_btn`, as the label, and a tap did nothing. `--strict` passed it. Now an item or legacy
|
|
52
|
+
action with no `label` or `icon`, no `onTap` (or `menu`), or `content` outside the title slot is an
|
|
53
|
+
error. A `Button` that no action reaches warns, and is an error under `--strict`. (#5939)
|
|
54
|
+
- **A `$t:` key your catalog lacks is an error.** `himi validate` checks each `$t:` key against
|
|
55
|
+
`l10n/<default locale>.json`, because a missing key shows the raw key on screen. Copy that looks like a key
|
|
56
|
+
(`cart.add_to_cart`) warns, and is an error under `--strict`. `himi test` also reports a screen that shows one of
|
|
57
|
+
your catalog keys as text, such as a worker that returned the key instead of the copy. (#5939)
|
|
58
|
+
|
|
47
59
|
## 2026-11-14
|
|
48
60
|
|
|
49
61
|
### Logic, data & SDKs
|
|
@@ -1089,6 +1089,18 @@ them from the store like real data. Every screen that shows the record reads the
|
|
|
1089
1089
|
each other screen that shows the record and assert the changed value there (`himi docs
|
|
1090
1090
|
himi-test`, "Prove a local mutation survives a cold visit").
|
|
1091
1091
|
|
|
1092
|
+
**A count or summary of those records is computed from the store, never written down.** A
|
|
1093
|
+
line like "3 activities · 4.5 km", a total, a "2 of 5 done" or a badge count describes records
|
|
1094
|
+
the user can change, so the screen that shows it computes it from the records every time it
|
|
1095
|
+
reads them: in `load`, in the `"return"` refresh, and in any of its own actions that changes them.
|
|
1096
|
+
Use one helper for all three, so no path leaves the old value on screen. Never put it on the
|
|
1097
|
+
sample data as a ready-made string or number (`summary: "3 activities"`, `count: 3`): the first
|
|
1098
|
+
change makes it wrong, and nothing checks that it was right to begin with. Neither `himi validate`
|
|
1099
|
+
nor `himi test` can catch a stale summary, because to them it is only text. Assert it in the same
|
|
1100
|
+
`coldVisits` journey: change a record, open the screen that summarises it, and check every part
|
|
1101
|
+
the change can move (both the count and the distance in "3 activities · 4.5 km"), or the whole
|
|
1102
|
+
rendered line.
|
|
1103
|
+
|
|
1092
1104
|
### App services: state that outlives every screen
|
|
1093
1105
|
|
|
1094
1106
|
An app service is a `defineService` in the app's one app-level bundle, which the shell
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1740.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "2c37ee5817552697db931711eb1b63dc9f26f153a09a2196eae4aa55"
|
|
86
86
|
}
|