@hyperscript-tools/i18n 6.3.0 → 7.0.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 +39 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [7.0.0] - 2026-10-19
11
+
12
+ Removes what 6.x deprecated or never shipped: three MCP tools that duplicated `validate_and_compile`
13
+ and `translate_code`, `@lokascript/compilation-service`'s HTTP layer and `generate()`, and the
14
+ unpublished VS Code extension. For every other package 7.0 is a renumber: `@lokascript/domains`
15
+ 5.0.4 accepts it. MIGRATION.md has the 6.x → 7.0 table.
16
+
17
+ ### Removed (BREAKING)
18
+
19
+ - **`@hyperfixi/mcp-server`: `validate_hyperscript`, `translate_hyperscript` and
20
+ `parse_multilingual`**, deprecated in 6.1.0 and 6.2.0. `validate_and_compile` and
21
+ `translate_code` replace them (MIGRATION.md has the 7.0 table). 93 tools defined, 88 listed by
22
+ default (96, 91).
23
+ - **`@lokascript/compilation-service/http`** (`createApp`, `serve`, `POST /validate` and the other
24
+ routes). Its one user, the chat app, now serves its own routes (lokascript-examples #23). `hono`
25
+ and `@hono/node-server` leave the package, so no mcp-server install carries them.
26
+ - **`CompilationService.generate()`** (the `intent-element` target) and `POST /generate`: nothing
27
+ called them.
28
+ - **`packages/vscode-extension`**, the LokaScript VS Code extension, which was never published. The
29
+ language server stays.
30
+
31
+ ### Added
32
+
33
+ - **`@lokascript/compilation-service` exports `VERSION`.**
34
+
35
+ ### Fixed
36
+
37
+ - **`@lokascript/semantic`: `transition … using "<css transition>"` translates in the verb-final
38
+ languages** (#1589). In bn, hi, ja, ko, qu and tr the duration slot, which has no marker there,
39
+ took the style's quoted string, so `translate()` refused the script, and the bare command did not
40
+ parse. A duration slot that takes only literals now leaves a quoted string to the style.
41
+
42
+ ### Changed
43
+
44
+ - **`@hyperfixi/mcp-server` requires `@lokascript/domains` ^5.0.4**, which peers framework, semantic
45
+ and intent `^5.0.0 || ^6.0.0 || ^7.0.0` (lokascript-domains #60): the bridge that lets 7.0.0
46
+ publish. 5.0.3, which it required before, lets BehaviorSpec's `given` set every state `expect`
47
+ can check, and refuses an `expect` assertion it does not know (5.0.2 compiled it to a comment).
48
+
10
49
  ## [6.3.0] - 2026-10-18
11
50
 
12
51
  The htmx adapter writes localized SSE and WebSocket attributes under the names the page's htmx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperscript-tools/i18n",
3
- "version": "6.3.0",
3
+ "version": "7.0.0",
4
4
  "description": "Build-time translation for hyperscript code samples — generate per-language HTML from a canonical English source",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,7 +48,7 @@
48
48
  "author": "HyperFixi Contributors",
49
49
  "license": "MIT",
50
50
  "dependencies": {
51
- "@lokascript/semantic": "^6.3.0",
51
+ "@lokascript/semantic": "^7.0.0",
52
52
  "hyperscript.org": "^0.9.93"
53
53
  },
54
54
  "devDependencies": {