release: WRNexusJS 0.5.0

This commit is contained in:
2026-07-29 12:51:10 +05:30
parent 76c768099d
commit 6afe32f63f
456 changed files with 40879 additions and 8850 deletions
+32 -12
View File
@@ -1,19 +1,39 @@
# WRNexusJS 0.4.0 UI reference determinism fix
# WRNexusJS
This fixes the release loop where `generate-ui-component-reference.mjs` writes one layout and Prettier rewrites it differently. The generator now formats both generated files with the repository Prettier configuration before writing them.
WRNexusJS is an SSR-first, Bun-powered full-stack framework with a dedicated `.wrn` language, server rendering, selective client reactivity, file-based routing, database tooling, realtime communication, UI components, mobile support, and framework-native system packages.
Replace:
## WRNexusJS 0.4.0
- `scripts/generate-ui-component-reference.mjs`
Version 0.4 introduces a package contribution platform. Installed `@wrnexus/*` systems can now register components, page/API/realtime routes, middleware, browser runtimes, static assets, Tailwind scan sources, database migrations, CLI inspection data, and DevToolbar panels.
Then run:
A package-owned browser runtime is injected only when rendered markup asks for it:
```wrn
<Captcha type="alphanumeric" action="contact-submit" />
```
`@wrnexus/captcha` marks its output with `data-wrnexus-runtime="captcha"`. WRNexusJS then serves or bundles the package runtime and adds the correct script to the response. Applications no longer copy `captcha.js`, add script tags, or duplicate `Captcha.wrn` inside `@wrnexus/ui`.
## Development
```bash
bun run scripts/generate-ui-component-reference.mjs
bun run format
bun run format:check
git add scripts/generate-ui-component-reference.mjs packages/ui/component-reference.json packages/ui/COMPONENTS.md
git commit -m "fix(release): make UI reference generation deterministic"
git push origin main
bun run release:private
bun install
bun run verify:0.4
bun run validate:0.4
```
The complete validation command runs framework typechecking, linting, package tests, formatting checks, integration tests, example tests/builds, CAPTCHA showcase checks, and managed CAPTCHA service tests.
## Main packages
The monorepo contains 30 framework packages covering the language/compiler, SSR/CSR, routing, server runtime, plugins, database access, queues, PubSub, uploads, validation, security, UI, mobile/native capabilities, AI, tracking, testing, and CAPTCHA.
Read:
- `docs/ARCHITECTURE-0.4.md`
- `docs/PACKAGE-RUNTIMES-0.4.md`
- `docs/PACKAGE-UPGRADES-0.4.md`
- `docs/UPGRADE-0.4.md`
- `docs/TEST-CHECKLIST-0.4.md`
- `packages/captcha/README.md`
- `CHANGELOG-0.4.0.md`