v0.1.0-alpha.4
Pre-releaseOpenWebDoc v0.1.0-alpha.4
OpenWebDoc v0.1.0-alpha.4 is a public-readiness contract release for HTMLX
Document Package validation, examples, release assets, and the tag-pinned
GitHub Action validator.
This is still an alpha prerelease. OpenWebDoc does not publish npm packages
during the public preview phase.
Highlights
- Strengthens the fixed-stage profile contract so fixed-stage packages must
declare editing metadata before they are accepted as self-editable packages. - Keeps public examples, packed
.htmlxfiles, and bundled app copies under the
release drift gate. - Keeps npm package tarballs inspection-ready with package-local license files.
- Keeps GitHub Action examples pinned to a release tag for external repository
adoption. - Adds a release consistency gate that catches stale active release references
and mismatched CLI/package versions before tagging.
Security and Profile Contract
HTMLX packages remain untrusted input. The validator continues to reject unsafe
package paths, scripts, inline event handlers, remote resources, stale resource
integrity, stale LLM metadata, and profile mismatches.
The public profile taxonomy is:
flow-documentfor browser-reflowing pageless documentsfixed-stage-documentfor proportional visual documents that declare editing
stage metadataslide-deckfor HTMLX-native 16:9 presentations with presentation metadata
Fixed-stage packages now need package-owned editing metadata. This prevents
visual documents from being treated as self-editable without declaring the
runtime geometry and editing boundary that the OpenWebDoc app needs.
GitHub Action Pin
Use the release tag when adding the validator to another repository:
- uses: lhy0718/OpenWebDoc/.github/actions/validate-htmlx@v0.1.0-alpha.4
with:
paths: |
documents/**/*.htmlxUse @main only when intentionally testing unreleased validator behavior.
Release Assets
The GitHub Release attaches:
- npm tarballs for
@openwebdoc/spec,@openwebdoc/core,
@openwebdoc/cli, and@openwebdoc/ui - valid example
.htmlxpackages - the static site manifest
- the spec/docs snapshot archive
The intentionally invalid security fixture is not published as a release asset.
Known Limitations
- npm registry publication is intentionally deferred.
- OpenWebDoc app editing remains limited to micro-edits. Larger structural
changes should use the unpacked package workflow. - The GitHub Action is an alpha validation surface, not a long-term stable API.
.pptx,.docx,.hwpx, and PDF import/export are outside the alpha scope.
Validation
The release gate is:
pnpm release:check
pnpm smoke:e2e
pnpm pages:smokeThe security-invalid fixture is expected to fail validation.