@lokascript/htmx-adapter 4.4.0 → 4.5.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 +66 -0
- package/package.json +1 -1
- package/vocab/tr.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,71 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [4.5.0] - 2026-10-11
|
|
11
|
+
|
|
12
|
+
Pronouns, suffixes and handler heads read as their language. In 4.4.0 every translation wrote `me` and
|
|
13
|
+
`it` in the nominative beside a marker (es `a yo`, de `zu ich`, tr `ben e`, ar `إلى أنا`), wrote every
|
|
14
|
+
case particle as a word of its own (ko `#out 에`, ja `"x" を`), and wrote a Japanese, Bengali or Turkish
|
|
15
|
+
handler head with two markers (`クリック を で`, `ক্লিক তে`, `tıklama i üzerinde`). Each of these is now
|
|
16
|
+
the language's own form, and every reader still takes the old one. The forms are listed for native
|
|
17
|
+
review in `packages/semantic/NATIVE_REVIEW_NEEDED.md`; none has been reviewed yet.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **`@lokascript/testing-framework`: the English-leak gate counts pronoun case and marker spacing.**
|
|
22
|
+
`case:it` and an unmarked object pronoun (`case:me-object`, `case:it-object`) beside `case:me`; and
|
|
23
|
+
`spacing:<marker>`, a particle ko, ja, bn or tr attaches to its noun written as a word of its own.
|
|
24
|
+
Both shrink-only, both halves (corpus and command shapes), with per-language exit targets in
|
|
25
|
+
`LEAK_TARGETS`.
|
|
26
|
+
- **`@lokascript/semantic`: `toggle … between`** in every language's own words (ja `の間で`, hi `के बीच`,
|
|
27
|
+
he `בין`), with the style form's element written in the language.
|
|
28
|
+
- **`docs-internal/multilingual/FUSED_FORMS.md`**: the design for pronouns fused with their markers and
|
|
29
|
+
suffixes attached to words, with the owner's four questions and their answers.
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- **`@lokascript/semantic` writes a pronoun in the case its marker takes.** Free forms: es `en mí`,
|
|
34
|
+
pt `a mim`, it `a me`, tl `sa akin`, pl `do mnie`, ru `ко мне` / `во мне`, uk `до мене`, de `zu mir`
|
|
35
|
+
/ `in mich` (direction) / `auf mir` (location), hi `मुझ में`; `it` after a marker (ru `к этому`, pl `do
|
|
36
|
+
tego`, de `dazu` / `darin` / `darauf`, fr `à lui`, hi `इस में`); `me` as a verb's object (de `zeige
|
|
37
|
+
mich`, ru `покажи меня`). Fused forms: tr `bana` / `beni` / `benden`, `ona` / `onu`; ar `إليّ` / `فيه`;
|
|
38
|
+
he `אליי` / `ממני`; bn `আমাকে` / `আমাতে`; hi `मुझे`; tl `dito`; pt `nele`. Object clitics on the verb:
|
|
39
|
+
es `mostrarme`, it `metterlo`, pt `colocá-lo`, ar `ضعه`; fr writes the object pronoun before the
|
|
40
|
+
infinitive (`le mettre`, `l'afficher`, `me cacher`). Every reader takes the nominative and the English
|
|
41
|
+
forms as before.
|
|
42
|
+
- **`@lokascript/semantic` writes a case particle onto its word** in ko (`"x"을 #out에 넣다`, `나를`,
|
|
43
|
+
each particle in the form the syllable takes), ja (`#outに`, `.aを`) and bn (`#outএ`, `.xকে`), and tr
|
|
44
|
+
fuses a suffix with its own reference words (`sonucu`, `hedefe`, `belgeye`) while code keeps its
|
|
45
|
+
suffix apart (`#out e`) until a reviewer picks a code word's harmony. tr also reads a suffix on code
|
|
46
|
+
after an apostrophe (`#out'a`, `.active'i`).
|
|
47
|
+
- **`@lokascript/semantic`: a custom event in a wait takes the language's `event` word** (`esperar evento foo`,
|
|
48
|
+
ja `イベント foo 待つ`), as `repeat until event X` already does; a known DOM event keeps `esperar transitionend`.
|
|
49
|
+
`wait for <custom event>` was refused in every language. A possessive whose property is a reference word
|
|
50
|
+
(`its.detail`) now reads back as that property, not the language's word for it.
|
|
51
|
+
- **`@lokascript/semantic`: ms and pl read their lexicon's `undefined` word** (`tidak_ditakrifkan`, `niezdefiniowane`),
|
|
52
|
+
which read back as a variable name.
|
|
53
|
+
- **`@lokascript/testing-framework`: the hand-written-input gate** (`hand-written-input.test.ts`): twenty tasks a
|
|
54
|
+
native speaker writes from English, run as written on the engine against upstream; committed with no inputs.
|
|
55
|
+
- **`@lokascript/semantic` writes a handler head as one word**: ja `クリックで` (was `クリック を で`),
|
|
56
|
+
bn `ক্লিকে` (the locative in the form the word takes: `জমাতে` after a vowel; was `ক্লিক তে`),
|
|
57
|
+
tr `tıklamada` (the locative in the form harmony gives: `göndermede`, `değişiklikte`; code keeps it apart, `keyup da`; was `tıklama i üzerinde`). The readers keep taking the two-marker heads.
|
|
58
|
+
- **`@lokascript/semantic` writes a query's scope before the query** in bn, hi, tr, ja and ko (tr
|
|
59
|
+
`bendeki <p/>`, hi `मुझ में स्थित <p/>`, ja `自分 の中の <p/>`), where it wrote English's order.
|
|
60
|
+
- **`@lokascript/semantic`: es and pt write the `focus` and `blur` commands as verbs** (`enfocarme`,
|
|
61
|
+
`focar-me`); the nouns were the events' and still read.
|
|
62
|
+
- **`@lokascript/semantic`: ja's head pattern outranks its fused handler patterns**, so a ja handler's
|
|
63
|
+
body always takes the clause walk: a `js … end` block after `then` and `fetch … as T` round-trip
|
|
64
|
+
where the fused path dropped them. The 2026-08 transformer's verb-first `繰り返し イベント X を まで`
|
|
65
|
+
body no longer reads in ja (the render since 2026-08-28 does).
|
|
66
|
+
|
|
67
|
+
- **`@lokascript/htmx-adapter`: the tr vocab gains `hx-da` as an alias of `hx-on`;** `hx-üzerinde` stays the name
|
|
68
|
+
(the profile's `on` word moved to the locative; a suffix is the wrong register for an attribute name).
|
|
69
|
+
|
|
70
|
+
### Fixed
|
|
71
|
+
|
|
72
|
+
- **`publish.yml`: a repair run skips a version npm is still processing** (`E409 previously staged`)
|
|
73
|
+
instead of failing the whole run.
|
|
74
|
+
|
|
10
75
|
## [4.4.0] - 2026-10-10
|
|
11
76
|
|
|
12
77
|
Translations now read as their language. In 4.3.0, 19% of the corpus's translations and 24% of the
|
|
@@ -1547,6 +1612,7 @@ _Synchronized version release. See git history for details._
|
|
|
1547
1612
|
- 2FA recommended for npm organization
|
|
1548
1613
|
|
|
1549
1614
|
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v4.4.0...HEAD
|
|
1615
|
+
[4.5.0]: https://github.com/codetalcott/hyperfixi/compare/v4.4.0...v4.5.0
|
|
1550
1616
|
[4.4.0]: https://github.com/codetalcott/hyperfixi/compare/v4.3.0...v4.4.0
|
|
1551
1617
|
[4.3.0]: https://github.com/codetalcott/hyperfixi/compare/v4.2.0...v4.3.0
|
|
1552
1618
|
[4.2.0]: https://github.com/codetalcott/hyperfixi/compare/v4.1.0...v4.2.0
|
package/package.json
CHANGED