@lokascript/htmx-adapter 4.7.0 → 4.8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [4.8.0] - 2026-10-16
11
+
12
+ ### Added
13
+
14
+ - **`@lokascript/intent` / `@lokascript/framework`: a role's word list, `RoleSpec.words`** (domains
15
+ rethink Phase 5). Per language, with `'*'` for every language; the core engine (`engine: 'core'`)
16
+ reads such a slot only from one of its words, compared lower-cased, so a word the grammar does not
17
+ know is left unread and the input refused, instead of read as the value. It is for a domain's fixed
18
+ words: behaviorspec's `when clicks zzqx` read actor `clicks`, action `zzqx`, and compiled to a
19
+ comment. The schema-pattern generator carries the pattern language's list on the role token
20
+ (`RolePatternToken.words`); a grammar that lists no words generates the same patterns. The classic
21
+ engine and semantic ignore it.
22
+ - **`@lokascript/framework/testing/gate`: `GateFixture.commands`**, commands the gate writes besides
23
+ the generated ones, where one role's value depends on another's (behaviorspec's
24
+ `[given subject:#box value:visible]` beside `[given subject:viewport value:1024x768]`).
25
+ - **`@lokascript/framework`: `UnreadInputError.hint`.** Where the last word a parse read as a value is
26
+ followed by another bare word, the refusal adds `if "buy milk" is one value, quote it` (todo's
27
+ `add buy milk to groceries`, whose item is quoted).
28
+
29
+ ### Changed
30
+
31
+ - **`@lokascript/framework/testing/gate`: leftover input read into a role is `pass`.** An unknown word
32
+ after a command used to be `silent` wherever the parse accepted it. It is `pass` when the parse is
33
+ the text's own with the word in one role (an open-text role extended by it, sql's
34
+ `where active zzqx`, or a role the text left empty, todo's `list zzqx`) and the word reaches the
35
+ compiled code; `refused` when the input stops compiling; `silent` otherwise (read as something
36
+ else, or the word goes nowhere). `readsWord` is exported. On the domains (domains 4.1.0, this
37
+ framework packed): 74 leftover cases accepted → read, 0 worse, 0 parses moved.
38
+ - **`@lokascript/framework`: the stock reader's optional slot does not read a marker the rest of the
39
+ pattern owes**, through its optional groups, as a required slot already does not read the marker
40
+ next to it (behaviorspec's `when user types into #search`, whose typed text is optional and has no
41
+ marker). No domain parse moves.
42
+
10
43
  ## [4.7.0] - 2026-10-16
11
44
 
12
45
  ### Added
@@ -1821,7 +1854,8 @@ _Synchronized version release. See git history for details._
1821
1854
  - npm access token stored in GitHub Secrets
1822
1855
  - 2FA recommended for npm organization
1823
1856
 
1824
- [Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v4.7.0...HEAD
1857
+ [Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v4.8.0...HEAD
1858
+ [4.8.0]: https://github.com/codetalcott/hyperfixi/compare/v4.7.0...v4.8.0
1825
1859
  [4.7.0]: https://github.com/codetalcott/hyperfixi/compare/v4.6.0...v4.7.0
1826
1860
  [4.6.0]: https://github.com/codetalcott/hyperfixi/compare/v4.5.0...v4.6.0
1827
1861
  [4.5.0]: https://github.com/codetalcott/hyperfixi/compare/v4.4.0...v4.5.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokascript/htmx-adapter",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "description": "Multilingual adapter for upstream htmx v4 — author hx-* attributes in 24 languages",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",