Pre Release New Changes
This commit is contained in:
@@ -1,39 +1,9 @@
|
||||
# WRNexusJS
|
||||
# WRNexus overlay reactivity and event-log fix
|
||||
|
||||
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.
|
||||
This patch updates ContextMenu, Drawer, Dropdown, Modal, Popover, and Tooltip.
|
||||
|
||||
## WRNexusJS 0.4.0
|
||||
The click/hover/right-click handlers were running and public events were emitted, but the visible DOM bindings depended on `isOpen()` helper calls. The updated component markup binds `data-open`, `data-show`, `aria-expanded`, and `aria-describedby` directly to `open || visible` so the reactive runtime subscribes to the exact state values controlling the overlay.
|
||||
|
||||
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.
|
||||
The showcase event examples now log an event name plus a safe empty object when an event has no detail. Console output such as `open undefined` is debug output, not a thrown exception.
|
||||
|
||||
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 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`
|
||||
The red `Permissions policy violation: unload ... chext_driver.js` message comes from a browser extension/content script and is unrelated to WRNexusJS.
|
||||
|
||||
Reference in New Issue
Block a user