Skip to content

chore: v0.42.0-alpha.9 cleanup train (#632-#644) - #645

Open
SisyphusZheng wants to merge 9 commits into
mainfrom
release/v0.42.0-alpha.9
Open

chore: v0.42.0-alpha.9 cleanup train (#632-#644)#645
SisyphusZheng wants to merge 9 commits into
mainfrom
release/v0.42.0-alpha.9

Conversation

@SisyphusZheng

Copy link
Copy Markdown
Member

Summary

Quality/hygiene cleanup train for v0.42.0-alpha.9, resolving all 13 issues in milestone #16 (#632#644). No new product surface; follows v0.42.0-alpha.8.

Verification

Notes

🤖 Generated with OpenElement release tooling.

DevBot added 7 commits July 30, 2026 11:34
Unify escapeHtml/escapeAttr into one map-driven impl (#633); declare locale on OpenElement instead of unsafe Record cast (#639); consolidate Fragment detection to isFragment() at 3 sites (#640); make logger _warned render-scoped instead of process-global (#643); make _telemetryHook request-scoped via explicit param, no global singleton (#644). Add regression tests for errors/html-escape/logger.
…#634 #636 #642)

Render-scoped dataStack via explicit param passing, fixes nested-component empty-stack read (#632); drop redundant internal/router/internal/data-context.ts re-export (#634); use createLogger in client-router/spa instead of raw console.error (#636); validate tagName (SyntaxError on bad chars, warn+empty render on unregistered) and remove dead guard (#642).
…638)

Extract _submitForm/_resetForm from OpenButton._handleClick (#637); remove unused export default from all 11 UI components, keep named exports only (#638). Add open-button click test.
…ression)

After #638 dropped export default from UI package chunks, the client island factory read mod.default and failed to register package islands. Add optional exportName to ClientIslandEntry/IslandDecl; package islands resolve it from CEM className, local/route islands fall back to mod.default. Update build-client/island-scanner/entry-generators.
Align build/test/lint/typecheck tasks across package deno.json files (#635); add test task to packages/create/deno.json (#641).
Package island chunks dropped export default; resolve constructor via mod.OpenButton first, then ns.default, then mod.default.
Verified code-review audit, team cross-review, and the executable v0.42.0-alpha.9 cleanup plan covering all 13 issues for milestone #16.
@SisyphusZheng SisyphusZheng added this to the v0.42.0-alpha.9 milestone Jul 30, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown
Contributor

APIError: Insufficient Balance

opencode session  |  github run

#636 added a runtime \`import { createLogger } from '@openelement/element'\`
to packages/app/src/spa.ts (and client-router.ts). The www e2e bare bundle
runs Vite with configFile:false, so it never inherited the workspace alias
that the production www build gets from adapter-vite — Rolldown failed to
resolve the bare specifier and autoflow-ci broke.

Mirror the production alias + esbuild jsx config so the in-memory SPA/router
bundle can resolve @openelement/element and its jsx-runtime from source.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploying openelement with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5501295
Status:🚫  Build failed.

View logs

@github-actions

Copy link
Copy Markdown
Contributor

APIError: Insufficient Balance

opencode session  |  github run

open-button: bind _handleClick as an arrow field so the framework's raw addEventListener wires 'this' to the component instance (fixes shadow-DOM submit not reaching the outer form; preserves the onClick === this._handleClick identity required by #637).

project-constants.ts + 6 version-anchor docs: bump to 0.42.0-alpha.9. release:evidence:check now passes because the tag is unpublished. Backfilling alpha.8 was impossible (its autoflow3 evidence snapshot and release note were never written), so the only valid fix is to version this PR as alpha.9.

deno fmt (909 files) and interface:snapshot regeneration (5 packages).
@github-actions

Copy link
Copy Markdown
Contributor

APIError: Insufficient Balance

opencode session  |  github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant