release: WRNexusJS 0.8.0
This commit is contained in:
@@ -56,6 +56,61 @@ in the preparation environment and stops only when dependencies excluded from th
|
||||
are required. The complete TypeScript and Bun test gates still need to be rerun on the release
|
||||
machine after `bun install --frozen-lockfile`.
|
||||
|
||||
## Editor and language-server correction validation
|
||||
|
||||
The editor correction candidate includes framework-level fixes for the issues reproduced in the
|
||||
Framework Showcase and official UI components:
|
||||
|
||||
- The packaged language server starts and completes initialize/shutdown over stdio under Node.
|
||||
- Diagnostic requests are isolated so one malformed or unsupported document cannot terminate the
|
||||
language-server process.
|
||||
- HTML tag validation runs only against `view` markup and ignores TypeScript generics, typed output
|
||||
payloads, WRN expressions, HTML comments, and JavaScript-looking text in `<pre><code>` blocks.
|
||||
- `AuthForm.wrn` and `FeatureGrid.wrn` publish zero editor diagnostics in the packaged language-server
|
||||
smoke test.
|
||||
- Dynamic boolean and literal-option component expressions are accepted while invalid static literals
|
||||
remain errors or warnings.
|
||||
- WRN boolean string attributes such as `required="true"` are accepted by component contract checks.
|
||||
- Reserved prop names such as `class` are not emitted as invalid standalone TypeScript bindings.
|
||||
- Missing TypeScript standard libraries from a packaged bundle no longer create a flood of unrelated
|
||||
global-type errors; runtime, component, and syntax diagnostics remain available.
|
||||
- Formatter tests cover raw code samples, compact adjacent/nested markup, long bare elements,
|
||||
multiline component attributes, inline control blocks, and repeated-pass idempotence.
|
||||
- The embedded compiler, language server, and extension bundles carry normalized source/generator
|
||||
fingerprints, and the language-server bundle is smoke-tested as a Node entrypoint.
|
||||
|
||||
A Windows editor test run exposed four remaining semantic diagnostics in `AuthForm.wrn`: an untyped
|
||||
dynamic output name was emitted as `unknown`, its payload was narrowed to `{}`, and indexed output
|
||||
dispatch was rejected by the synthetic output contract. The virtual TypeScript generator now follows
|
||||
JavaScript semantics for omitted parameter types, keeps explicitly typed parameters strict, and gives
|
||||
the synthetic output object a callable string index used only for dynamic dispatch. Direct unknown
|
||||
`output.name()` calls remain protected by WRN syntax diagnostics.
|
||||
|
||||
The language-server typecheck host now resolves TypeScript standard libraries from the active
|
||||
workspace when the bundled TypeScript compiler cannot find libraries beside `language-server.cjs`.
|
||||
A dedicated test intentionally introduces a typed payload error and requires `WRN-TYPE-2322`, so the
|
||||
editor suite can no longer pass merely because semantic checking was silently skipped.
|
||||
|
||||
The Node editor test suite passes 41 tests, including zero diagnostics for `AuthForm.wrn` and
|
||||
`FeatureGrid.wrn` with workspace TypeScript libraries enabled. Extension manifest/grammar validation
|
||||
passes, all 21 Framework Showcase WRN files compile, and all 146 official WRN component files pass
|
||||
parser/codegen and explicit-import validation in the preparation environment.
|
||||
|
||||
A subsequent Windows production-gate run exposed two final ESLint failures and one reviewed visual
|
||||
contract delta. The unused legacy `stripComments` helper was removed from the VS Code diagnostics
|
||||
source and generated extension bundle. `scripts/build-editor-language-server.mjs` now imports
|
||||
`Buffer` from `node:buffer`, so the release scripts remain compatible with the repository's
|
||||
`no-undef` policy. The language-server generator fingerprint was refreshed accordingly.
|
||||
|
||||
The UI visual gate differed only for `packages/ui/components/AuthForm.wrn`. Comparison with the
|
||||
previous accepted baseline confirmed that the source change consisted solely of corrected indentation
|
||||
for the `size` prop and nested `Checkbox`; no classes, attributes, conditions, or rendered content
|
||||
changed. The 0.8 visual baseline was regenerated after that review.
|
||||
|
||||
The editor suite passes 41/41 tests when workspace TypeScript libraries are present. UI visual
|
||||
contract validation passes for 109 artifacts, explicit component imports pass for 146 WRN files, the
|
||||
public API baseline matches all 46 packages, and extension manifest/grammar validation passes.
|
||||
|
||||
## Required final release verification
|
||||
|
||||
The preparation environment did not include the Bun executable. Therefore the complete Bun test,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"packages/ui/components/AdvancedRangeSlider.wrn": "e78b5cf825503d0cd306c6e490d71317ee3db1844882d13b500df1f7f1c408e1",
|
||||
"packages/ui/components/AdvancedSelect.wrn": "29d43f8019a3e0e98af7cf12440f41523665535a39a973441b4faea78e67114a",
|
||||
"packages/ui/components/AnnouncementBar.wrn": "5946ef5eb646f7414056f59d9cfe14680aa3c935acc9a1ca6528dc53b23caa48",
|
||||
"packages/ui/components/AuthForm.wrn": "e6ab0cc4a557b3fd41528368c5aa7aaf39e9adcd49d9907df8d26d77bc515870",
|
||||
"packages/ui/components/AuthForm.wrn": "496d240090269e69679e01cda3b071c012ec4e925a7c01ae883d25e359e381e1",
|
||||
"packages/ui/components/AuthSplitLayout.wrn": "72b82495dd14d40a2d594ccdcf3adc925d1567c155750fb1072347b8845aab7b",
|
||||
"packages/ui/components/AvatarGroup.wrn": "9c583f567213f8e1ad4506a7d2abc3fb462d11679fd2196d3828030f28a28964",
|
||||
"packages/ui/components/BackToTop.wrn": "b12c56ec8b7aabad68cbdc47f4b3237e2c21a61398f0aa51f9add6229b7357cd",
|
||||
|
||||
Reference in New Issue
Block a user