Skip to content

Releases

v0.0.0-alpha.3

v0.0.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 05:10

Alpha Pre-Release Notice: v0.0.0-alpha.3 (superseding the unpublished v0.0.0-alpha.2 tag, which failed during CycloneDX SBOM generation before any GitHub Release was published) expands VaelJS across Milestones M1–M10 to 75 built-in V8 modules (36 vael:* + 39 node:*) and 54 built-in Lite modules (27 vael:* + 27 node:*), adds multi-driver vael:db with a zero-ORM fluent query builder, tagged SQL templates, savepoints, vael:db/migrate, and vjs db migrate, ships vaeljs-lsp (vjs lsp) and Track A vaeljs-playground-wasm, and hardens supply-chain, TLS, SSRF, template, and SQL security defaults. Public Rust and JavaScript APIs remain unstable until 0.1.0 / 1.0.0. All 23 workspace crates and vaeljs-playground-wasm remain publish = false.

Added

  • Networking & Process Automation (vael:fetch, vael:exec):
    • vael:fetch (vaeljs-fetch-core): fetch/fetchSync and download/downloadSync with streaming atomic SHA-256 verification and SSRF defaults across both vjs and vjs-lite.
    • vael:exec (vaeljs-exec-core): Command/cmd, exec/run/spawn, PathFinder/pathFinder executable registry, multi-sink disposable addLogger/clearLoggers, and OS advisory file locks across both engines.
  • Terminal, Formatting, OS, Archive, ACL & Crypto v2 (vael:ansi, vael:fmt, vael:os, vael:archive, vael:fs/acl, vael:crypto):
    • vael:ansi (ECMA-48/xterm SGR/TrueColor, cursor/screen/alt-screen, OSC 8 hyperlinks, DEC 2026, NO_COLOR) and vael:fmt (sprintf/printf/print/echo/echof/errorf, inspect, stripAnsiCode, plus 5 subpaths: vael:fmt/bytes, vael:fmt/duration, vael:fmt/inspect, vael:fmt/printf, vael:fmt/strip-ansi-code) across vjs and vjs-lite.
    • vael:os v2 (release()) and vael:os/dirs (vaeljs-os-core, XDG Base Directory + .NET SpecialFolder).
    • vael:archive (vaeljs-archive-core): bounded traversal-safe tar, tar.gz, tar.zst, and zip support without the tar crate.
    • vael:fs/acl (vaeljs-fs-core): POSIX mode/ACL/xattr and Win32 DACL operations.
    • vael:crypto (vaeljs-crypto-core): SIMD BLAKE3 (hash, XOF, keyed MAC, KDF) and BLAKE2b/BLAKE2s variable-length/MAC primitives with official KAT vectors.
  • SSH v2, Multi-Driver Database, Query Builder, Migrations & Examples (vael:ssh, vael:db, vael:db/migrate, vjs db migrate):
    • vael:ssh v2 (vaeljs-ssh-core): native streaming SFTP (upload, download, stat, readDir, mkdir, remove, rmdir), agentSocket, and Windows OpenSSH pipe agent support across vjs and vjs-lite.
    • vael:db (vaeljs-dbapi): multi-driver support (vael-db-postgres, vael-db-mysql, vael-db-mariadb, vael-db-mssql, vael-db-all), zero-ORM fluent query builder (from, insertInto, update, deleteFrom, returning, join, typed Database<Schema> handles), db.sql tagged templates, tx.savepoint, and rich parameter/result types.
    • vael:db/migrate & vjs db migrate CLI (up, down, status, verify, baseline, create) with vael.jsonc non-secret db configuration and runnable examples/db-migrations/.
  • Messaging & Node.js Compatibility (vael:redis, vael:nats, vael:amqp, node:*):
    • Opt-in vjs async messaging clients (vael:redis, vael:nats, vael:amqp via vaeljs-messaging-core) with vjs-lite's dependency graph kept completely free of Tokio/messaging crates.
    • Node.js Tier 1 & Tier 2 compatibility modules and conformance harness (tests/node_compat/ pinned to Node v22.14.0 + WPT url), bringing totals to 75 V8 modules (36 vael:* + 39 node:*) and 54 Lite modules (27 vael:* + 27 node:*).
  • Tooling, Fuzzing & Browser Playground (vaeljs-lsp, fuzz/, vaeljs-playground-wasm):
    • #![forbid(unsafe_code)] vaeljs-lsp crate and vjs lsp subcommand with --parse-worker subprocess crash isolation.
    • 9 deterministic parser fuzz harnesses (fuzz/fuzz_targets/: archives, crypto_envelopes, http_router_cookies, jsonc, jsr_url, npmrc, semver_exports, sql_rewriter, templates).
    • Track A vaeljs-playground-wasm (wasm32-unknown-unknown in-browser runtime with isolated virtual-fs, 4 MiB shadow stack, and 64 KiB TypeScript cap).

Changed

  • Breaking — vael:db Verified TLS by Default: NetworkDbConfig TLS now defaults to verified TLS (tlsMode: "verifyFull" / tls: true); unencrypted development connections require explicit opt-in (tls: false or tlsMode: "plaintext").
  • Breaking — vael:db execute() Statement Guard: execute() now rejects result-returning statements (use query() or queryOne() instead).
  • Breaking — vaeljs-dbapi Provider Stack: Replaced sqlx and vendor/neotales-dbapi with neotales-dbapi* 0.0.0-alpha.1 and neotales-migration* 0.0.0-alpha.1 across SQLite, PostgreSQL, MySQL, MariaDB, and MSSQL.
  • Breaking — Supply-Chain & Transport Hardening:
    • Project-local .npmrc auth credentials are now blocked; only user-home ~/.npmrc auth is permitted.
    • SSRF protection defaults allow_private_ips: false across vael:fetch.
    • Mandatory treeSha256 integrity enforcement on vael.lock.
  • Dependency Updates: rquickjs 0.14.0 → 0.15.0, aes-gcm 0.10.3 → 0.11.1, base64 0.22.1 → 0.23.1, and neotales-ssh 0.0.0-alpha.1 → 0.0.0-alpha.2.

Security

  • M1 Supply-Chain & CI Security Gates: Added .github/workflows/security.yml (gitleaks, cargo-deny, cargo-audit, CodeQL), deny.toml, .cargo/audit.toml, CycloneDX/SPDX SBOM generation, SLSA provenance attestations, and RUSTSEC-2026-0620 / RUSTSEC-2026-0621 patches.
  • Runtime & Parser Hardening:
    • vael:http Slowloris request/header timeout and shutdown close-race hardening (HTTP 408).
    • vael:template contextual OWASP HTML/URL/JS/CSS auto-escaping and bounded SprigLimits.
    • vael:db AST validation, WeakMap-backed internal state isolation, error/secret redaction, O_NOFOLLOW migration path checks, and non-secret vael.jsonc db config hygiene.

Fixed

  • Release Workflow: Fixed cargo-cyclonedx 0.5.10 invocation flags in .github/workflows/release.yml (superseding the unpublished v0.0.0-alpha.2 tag after SBOM generation failed prior to GitHub Release publishing).
  • macOS: Fixed XNU AF_UNIX soclose() deadlock in vael:exec child pipe handling and shutdown reader truncation.
  • Windows: Fixed Win32 set_acl READ_CONTROL | WRITE_DAC access permissions and NTFS temp-file rename contention races in vaeljs-remote.
  • SQLite: Improved SQLite WAL concurrency (busy_timeout_ms) and :memory: connection resilience.

Known Limitations & Deferred Scope

  • All 23 workspace crates and vaeljs-playground-wasm remain publish = false.
  • Deno-style fine-grained runtime permissions, vaelhoard.com integration, and crates.io publishing remain deferred beyond 0.0.0-alpha.3.

v0.0.0-alpha.1

v0.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 08:20

Alpha Pre-Release Notice: v0.0.0-alpha.1 brings vjs-lite to full remote/npm module-resolution parity with vjs, completes JSDoc coverage across the TypeScript declaration bundles, and aligns vael:os target strings with Deno. Public Rust and JavaScript APIs remain unstable until 0.1.0 / 1.0.0. All 17 workspace crates remain publish = false.

Added

  • vjs-lite (vaeljs-lite / vaeljs-lite-core) Remote & npm: Parity:
    • Full npm:, jsr:, gh:/github:, https:, package.json, vael.lock v1, .npmrc scoped registries/auth, URL entrypoints, and ancestor vael.jsonc bare import maps on QuickJS (vjs-lite).
    • Matching CLI and policy flags: --allow-remote, --no-allow-remote, VAELJS_ALLOW_REMOTE, --no-npm, --frozen-lockfile, and --offline.
    • Uses blocking ureq + rustls with zero Tokio, Hyper, or V8 dependencies (opt-outable via --no-default-features for offline-only builds).
  • Rich TypeScript Declaration JSDoc (vaeljs-dts):
    • Complete Node/JSR-style JSDoc (@param, @returns, @throws, @example, @since) across all 36 module and global .d.ts files in vaeljs-dts/types/ (vael:*, node:*, v8/globals, and lite/globals).
  • Integration Coverage:
    • End-to-end verification of ancestor vael.jsonc bare import maps resolving across npm:, jsr:, gh:/github:, and https:.

Changed

  • Breaking — vael:os Target Vocabulary: platform in vael:os (Vael.os.platform) now uses Deno's Deno.build.os target strings ("darwin" on macOS instead of Rust's "macos"). Callers checking platform === "macos" must update to platform === "darwin".
  • Example WebApp (examples/webapp/): Renamed mux → router across application, entrypoint, test, and README files.
  • Documentation: Slimmed root README.md and moved full guides and module reference documentation to https://vaeljs.com (neotales/vaeljs-site).

v0.0.0-alpha.0

v0.0.0-alpha.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Nov 07:47

Alpha Pre-Release Notice: v0.0.0-alpha.0 is the inaugural vaeljs alpha pre-release. Public Rust and JavaScript APIs may change before 0.1.0 and 1.0.0. All 17 workspace crates remain publish = false (no crates.io publishing yet).

Added

  • Shippable Binaries & Release Packaging (vjs & vjs-lite):
    • vjs (vaeljs / vaeljs-core): V8-backed ECMAScript module runtime via vendored deno_core 0.413.0 and v8 150.4.0.
    • vjs-lite (vaeljs-lite / vaeljs-lite-core): QuickJS-backed ECMAScript module runtime via rquickjs 0.14.0 with zero V8, Tokio, or Hyper dependencies.
    • [profile.release] enables strip = "symbols" across all 6 release targets (linux/macos/windows × amd64/arm64), bundling LICENSE.md, profile-matched TypeScript types/, and SHA256SUMS.txt. All 17 vaeljs* workspace crates remain publish = false.
  • vael:* Standard Library & Vael Global (20 modules on vjs, 15 sync modules on vjs-lite):
    • vael:http (vjs): Go 1.22+-style ServeMux router, pure (req, ctx) => Response handlers, ergonomic builders/errors/middleware, traversal-proof .static(), hyper 1 HTTP/1.1 server, and zero-socket in-process .fetch().
    • vael:db (vjs): Uniform @name/? parameterized SQLite database client over vaeljs-dbapi (neotales-dbapi / neotales-dbapi-sqlite) with atomic transactions and redacted error surfaces.
    • vael:template (both vjs and vjs-lite): Go text/template and Sprig helpers over neotales-gotmpl & neotales-sprig (vaeljs-template-core) with XSS-safe htmlEscape: true.
    • Shared modules (both vjs and vjs-lite): vael:assert, vael:chars, vael:console, vael:crypto (13 synchronous primitives via vaeljs-crypto-core, plus 7 *Async worker-pool APIs on vjs), vael:fs (vaeljs-fs-core), vael:os, vael:path, vael:slices, vael:ssh (vaeljs-ssh-core / neotales-ssh with mandatory host trust verification and bounded execution), vael:strings, vael:test, and vael:uuid (vael:uuid, vael:uuid/v4, vael:uuid/v7 backed by fallible getrandom).
    • Additional V8-only modules (vjs): vael:age (neotales-age), vael:cron, and vael:stdio.
  • npm: / package.json / vael.lock v1 / .npmrc:
    • Zero node_modules directory, zero auto-run install or lifecycle scripts, and content-addressed verified CAS tarball caching via vaeljs-npm.
    • Deterministic vael.lock v1 resolution with --frozen-lockfile, --offline, and --no-npm CLI controls.
    • .npmrc scoped registry routing and HTTPS-only Bearer/Basic auth (${ENV_VAR} interpolation, cross-origin and out-of-scope redirect auth stripping, zero token leakage).
  • Opt-Outable node:* Automation Compatibility (node-compat, --no-node-compat):
    • 11 modules on vjs (node:buffer, node:child_process, node:crypto, node:fs, node:fs/promises, node:os, node:path, node:path/posix, node:path/win32, node:process, node:url) and 10 sync modules on vjs-lite (all except node:fs/promises), backed by vaeljs-node-core.
  • Frameworkless Go-Style WebApp Prototype (examples/webapp/):
    • Runnable zero-framework TypeScript web application combining vael:http, vael:db, vael:template, vael:uuid, and vael:crypto, verified with vjs test examples/webapp/app.test.ts.
  • TypeScript, Manifests, Remote Loading & Testing:
    • Shared erasable TypeScript stripping (.ts, .mts) via deno_ast (vaeljs-module-policy) on both vjs and vjs-lite.
    • vjs types and vjs-lite types .d.ts bundles (vaeljs-dts, --profile <v8|lite>, --out-dir <dir>), verified 1:1 against live runtime exports by dts_drift tests.
    • vael.jsonc manifests & workspaces (vaeljs-manifest): bounded upward discovery, imports maps, workspaces resolution, and --config <path> / --no-config.
    • Remote module loading on vjs (vaeljs-remote): opt-in --allow-remote / VAELJS_ALLOW_REMOTE for https:, gh:/github:, and jsr: with SHA-256 verification and offline cache reads.
    • vjs test and vjs-lite test: deterministic glob expansion and 14 shared JS+TS test files (81 tests in tests/js/shared/) passing identically on both engines.

Security & Policy

  • Remote module loading and remote npm fetches are disabled by default (--no-allow-remote overrides VAELJS_ALLOW_REMOTE); vjs-lite stays strictly local/workspace-only.
  • Canonical vael: and node: module specifiers, fail-closed vaeljs-module-policy validation, and --no-node-compat opt-out across both runtimes.
  • publish = false enforced across all 17 workspace crates; all workspace versions aligned to 0.0.0-alpha.0.

Known Limitations & Deferred Scope

  • Pre-release APIs across Rust crates and vael:* modules may change before 0.1.0 and 1.0.0.
  • Explicitly deferred beyond 0.0.0-alpha.0: crates.io publishing (publish = false), network DB drivers (Postgres, MySQL, MariaDB, and SQL Server remain feature-deferred), vael:os/dirs, vael:fs/acl, vael:archive, vjs lsp, and cute dragon mascot / logo assets.