release: WRNexusJS 0.4.0

This commit is contained in:
2026-07-27 12:42:18 +05:30
parent 8b728a3e5d
commit 30e5721e84
250 changed files with 10065 additions and 3923 deletions
-27
View File
@@ -1,27 +0,0 @@
# Validation report
Validated in the artifact environment on 2026-07-25:
- Strict TypeScript checking passed for package source, managed-service source, and all included test files using local declarations for WRNexusJS/Bun APIs.
- Self-hosted engine smoke tests passed: incorrect answer, correct answer, challenge consumption, one-use response token, replay rejection, and expiry.
- Default generator smoke tests passed for number, alphabet, alphanumeric, calculation, generated-image selection, not-robot, invisible timing, PNG output, and bundled WAV rendering.
- Managed-service smoke tests passed for project creation, hostname-restricted challenge creation, solving, secret-authenticated verification, and response-token consumption.
- The installer passed first-install and repeated-install smoke tests, including TypeScript aliases, UI component placement, showcase installation, managed-service installation, and workspace updates.
- All showcase `.wrn` pages parsed with the available WRNexusJS parser.
- The `Captcha.wrn` body parsed after removing only the newer `@event` prop declarations; those declarations follow the same current syntax used by the frameworks InputNumber component.
- Dynamic attribute expressions were checked for the frameworks required single-quoted form.
- All used `--wire-*` variables were checked against the framework token set available in the repository snapshot.
Bun is not installed in this artifact environment, so the included Bun unit suite and full current-branch monorepo build were not executed here. Run the installer with `--check` in the current WRNexusJS checkout to execute component-reference generation, Bun tests, TypeScript checking, and the showcase build.
## Fixed 8 checks
- Strict TypeScript checking passed after adding renderer types, style resolution, generated image effects, component props, runtime payloads, managed API fields, and showcase tests.
- Every concrete renderer generated a valid PNG signature and a distinct image in deterministic smoke validation.
- The renderer catalog contains 18 concrete styles plus `random`; allowed and excluded pools reject unknown or empty configurations.
- Floating-point line endpoints now terminate correctly, including spiderweb, darts, wave, distortion, and scribble effects.
- CRC32 encoding uses a lookup table; all 18 preview images generated in under one second in the artifact environment.
- The component and browser runtime expose `imageStyle`, `allowedStyles`, `excludedStyles`, and `randomizeStyle`.
- The `/styles` showcase page includes easy, normal, hard, controlled-pool, and every concrete renderer example.
- Compact/normal/big sizing, Listen controls, not-robot, protected-page, 2575 disturbance, validated-form, audio, and static-asset fixes remain included.