@hyperscript-tools/language-server 6.2.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.
- package/CHANGELOG.md +61 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,65 @@ 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
|
+
|
|
49
|
+
## [6.3.0] - 2026-10-18
|
|
50
|
+
|
|
51
|
+
The htmx adapter writes localized SSE and WebSocket attributes under the names the page's htmx
|
|
52
|
+
reads: htmx 4's `hx-sse:` / `hx-ws:` on htmx 4, without its deprecation warnings, and htmx 2's on
|
|
53
|
+
htmx 2.
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- **`@lokascript/htmx-adapter`: localized SSE and WebSocket attributes take the page's htmx's names**
|
|
58
|
+
(#1582).
|
|
59
|
+
On htmx 4, `sse-conectar` canonicalized to htmx 2's `sse-connect`. htmx 4's `hx-sse` and `hx-ws`
|
|
60
|
+
extensions read that, but copy each one with a "legacy attribute … is deprecated" warning: three
|
|
61
|
+
on a page with one connection of each. The adapter now writes `hx-sse:connect`, `hx-ws:connect` and
|
|
62
|
+
`hx-ws:send` (in htmx's `metaCharacter`) on htmx 4, and htmx 2's names on htmx 2, which reads only
|
|
63
|
+
those. The generation comes from the htmx `registerWith` is given, accepted or not; before that the
|
|
64
|
+
adapter writes htmx 2's names, which both read. htmx 4's spelling of a localized name works too
|
|
65
|
+
(`hx-sse:conectar`, `hx-ws:enviar`). `sse-swap` has no htmx 4 name (htmx 4 removed it), so a
|
|
66
|
+
localized one stays `sse-swap`, and htmx 4 warns about it. A new browser test runs it on htmx
|
|
67
|
+
4.0.0's own extensions: connect, swap and send, with no warning.
|
|
68
|
+
|
|
10
69
|
## [6.2.0] - 2026-10-18
|
|
11
70
|
|
|
12
71
|
The `@lokascript/semantic/core` path weighs about a third less, and its lexicons now register with
|
|
@@ -2073,7 +2132,8 @@ _Synchronized version release. See git history for details._
|
|
|
2073
2132
|
- npm access token stored in GitHub Secrets
|
|
2074
2133
|
- 2FA recommended for npm organization
|
|
2075
2134
|
|
|
2076
|
-
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v6.
|
|
2135
|
+
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v6.3.0...HEAD
|
|
2136
|
+
[6.3.0]: https://github.com/codetalcott/hyperfixi/compare/v6.2.0...v6.3.0
|
|
2077
2137
|
[6.2.0]: https://github.com/codetalcott/hyperfixi/compare/v6.1.0...v6.2.0
|
|
2078
2138
|
[6.1.0]: https://github.com/codetalcott/hyperfixi/compare/v6.0.0...v6.1.0
|
|
2079
2139
|
[6.0.0]: https://github.com/codetalcott/hyperfixi/compare/v5.1.0...v6.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscript-tools/language-server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Language Server Protocol implementation for original _hyperscript — completions, diagnostics, hover docs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/server.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "HyperFixi Contributors",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@lokascript/language-server": "^
|
|
28
|
+
"@lokascript/language-server": "^7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^26.6.3",
|