@hyperscript-tools/i18n 4.8.0 → 5.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 +42 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [5.0.0] - 2026-10-17
|
|
11
|
+
|
|
12
|
+
A renumber for everything but `@lokascript/framework`, whose classic DSL engine is removed: every
|
|
13
|
+
other package is unchanged in its API, and `@lokascript/domains` 4.2.1+ accepts 5.0.
|
|
14
|
+
|
|
15
|
+
### Removed (BREAKING)
|
|
16
|
+
|
|
17
|
+
- **`@lokascript/framework`: the classic DSL engine** (domains rethink Phase 6; M3 (e): one
|
|
18
|
+
matcher). Every DSL reads on the core engine, which every kept domain has used since domains 4.2.0
|
|
19
|
+
(bdd's own suite and its gate read the same on it, 0 cases moved). Gone: `PatternMatcher`,
|
|
20
|
+
`patternMatcher`, `matchPattern`, `matchBest` and the `./core/pattern-matching` subpath (and
|
|
21
|
+
`PatternMatcher` from `./parsing`); the classic generator, `generatePattern`,
|
|
22
|
+
`generatePatternVariants` and `GeneratorConfig`. `createMultilingualDSL` defaults to the core;
|
|
23
|
+
`engine: 'core'` is still accepted and changes nothing, so the domains build unchanged, while
|
|
24
|
+
`engine: 'classic'` throws, naming what replaced it. Kept: the schema renderer
|
|
25
|
+
(`createDomainRenderer`, `createSchemaRenderer`, the domains' renderer kit), `PatternGenLanguageProfile`
|
|
26
|
+
and `sortRolesByWordOrder` (now in `generation/profile.ts`), and the value helpers the stock reader
|
|
27
|
+
uses (`isTypeCompatible`, `getPossessiveReference` & co., now in `core/matching`, still exported
|
|
28
|
+
from the root).
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- **`@hyperfixi/mcp-server`: on `@lokascript/domains` 4.2.1, without bdd's tools** (domains rethink
|
|
33
|
+
Phase 5, D6). `parse_bdd`, `compile_bdd`, `validate_bdd` and `translate_bdd` and the multi-step
|
|
34
|
+
bdd scenario handling are gone: behaviorspec reads bdd's preconditions, actions and assertions
|
|
35
|
+
(`given #button is visible`, `when user presses 'Enter'`, `expect #title text Welcome`), and the
|
|
36
|
+
server creates its registry with `createDomainRegistry({ omit: ['bdd'] })`. 98 tools defined, 93
|
|
37
|
+
listed by default (102 and 97). From domains 4.2.0 the domain tools also refuse what their DSL does
|
|
38
|
+
not read (no domain gate case accepts leftover input), and `parse_learn` & co. read and write
|
|
39
|
+
learn's commanding sentence with semantic.
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- **`@hyperfixi/server-bridge` reads a fetch's method from upstream's options.** It read the method
|
|
44
|
+
only from 2.x's `via POST`, so a route written in the engine's syntax, such as
|
|
45
|
+
`fetch /api/x with {method:'POST'}`, was generated as GET. It now reads `with {method:'POST'}`,
|
|
46
|
+
`with method:'POST'` or a bare `{method:'POST'}`, with `as` before or after them (`as an html`
|
|
47
|
+
too); `via` is still read. Measured on lokascript-examples' cross-domain and flow-playground
|
|
48
|
+
pages: 3 POST routes read as GET, all POST now.
|
|
49
|
+
|
|
10
50
|
## [4.8.0] - 2026-10-16
|
|
11
51
|
|
|
12
52
|
### Added
|
|
@@ -1854,7 +1894,8 @@ _Synchronized version release. See git history for details._
|
|
|
1854
1894
|
- npm access token stored in GitHub Secrets
|
|
1855
1895
|
- 2FA recommended for npm organization
|
|
1856
1896
|
|
|
1857
|
-
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/
|
|
1897
|
+
[Unreleased]: https://github.com/codetalcott/hyperfixi/compare/v5.0.0...HEAD
|
|
1898
|
+
[5.0.0]: https://github.com/codetalcott/hyperfixi/compare/v4.8.0...v5.0.0
|
|
1858
1899
|
[4.8.0]: https://github.com/codetalcott/hyperfixi/compare/v4.7.0...v4.8.0
|
|
1859
1900
|
[4.7.0]: https://github.com/codetalcott/hyperfixi/compare/v4.6.0...v4.7.0
|
|
1860
1901
|
[4.6.0]: https://github.com/codetalcott/hyperfixi/compare/v4.5.0...v4.6.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperscript-tools/i18n",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.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": "^
|
|
51
|
+
"@lokascript/semantic": "^5.0.0",
|
|
52
52
|
"hyperscript.org": "^0.9.93"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|