@lokascript/planner 6.2.0 → 6.3.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 +22 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [6.3.0] - 2026-10-18
11
+
12
+ The htmx adapter writes localized SSE and WebSocket attributes under the names the page's htmx
13
+ reads: htmx 4's `hx-sse:` / `hx-ws:` on htmx 4, without its deprecation warnings, and htmx 2's on
14
+ htmx 2.
15
+
16
+ ### Changed
17
+
18
+ - **`@lokascript/htmx-adapter`: localized SSE and WebSocket attributes take the page's htmx's names**
19
+ (#1582).
20
+ On htmx 4, `sse-conectar` canonicalized to htmx 2's `sse-connect`. htmx 4's `hx-sse` and `hx-ws`
21
+ extensions read that, but copy each one with a "legacy attribute … is deprecated" warning: three
22
+ on a page with one connection of each. The adapter now writes `hx-sse:connect`, `hx-ws:connect` and
23
+ `hx-ws:send` (in htmx's `metaCharacter`) on htmx 4, and htmx 2's names on htmx 2, which reads only
24
+ those. The generation comes from the htmx `registerWith` is given, accepted or not; before that the
25
+ adapter writes htmx 2's names, which both read. htmx 4's spelling of a localized name works too
26
+ (`hx-sse:conectar`, `hx-ws:enviar`). `sse-swap` has no htmx 4 name (htmx 4 removed it), so a
27
+ localized one stays `sse-swap`, and htmx 4 warns about it. A new browser test runs it on htmx
28
+ 4.0.0's own extensions: connect, swap and send, with no warning.
29
+
10
30
  ## [6.2.0] - 2026-10-18
11
31
 
12
32
  The `@lokascript/semantic/core` path weighs about a third less, and its lexicons now register with
@@ -2073,7 +2093,8 @@ _Synchronized version release. See git history for details._
2073
2093
  - npm access token stored in GitHub Secrets
2074
2094
  - 2FA recommended for npm organization
2075
2095
 
2076
- [Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v6.2.0...HEAD
2096
+ [Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v6.3.0...HEAD
2097
+ [6.3.0]: https://github.com/codetalcott/hyperfixi/compare/v6.2.0...v6.3.0
2077
2098
  [6.2.0]: https://github.com/codetalcott/hyperfixi/compare/v6.1.0...v6.2.0
2078
2099
  [6.1.0]: https://github.com/codetalcott/hyperfixi/compare/v6.0.0...v6.1.0
2079
2100
  [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": "@lokascript/planner",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "BFS planner over affordance graphs — cost-aware planning with preconditions, effects, and template parameters",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",