Repository navigation
Releases
v0.0.0-alpha.3
Alpha Pre-Release Notice:
v0.0.0-alpha.3(superseding the unpublishedv0.0.0-alpha.2tag, which failed during CycloneDX SBOM generation before any GitHub Release was published) expands VaelJS across Milestones M1–M10 to 75 built-in V8 modules (36vael:*+ 39node:*) and 54 built-in Lite modules (27vael:*+ 27node:*), adds multi-drivervael:dbwith a zero-ORM fluent query builder, tagged SQL templates, savepoints,vael:db/migrate, andvjs db migrate, shipsvaeljs-lsp(vjs lsp) and Track Avaeljs-playground-wasm, and hardens supply-chain, TLS, SSRF, template, and SQL security defaults. Public Rust and JavaScript APIs remain unstable until0.1.0/1.0.0. All 23 workspace crates andvaeljs-playground-wasmremainpublish = false.
Added
- Networking & Process Automation (
vael:fetch,vael:exec):vael:fetch(vaeljs-fetch-core):fetch/fetchSyncanddownload/downloadSyncwith streaming atomic SHA-256 verification and SSRF defaults across bothvjsandvjs-lite.vael:exec(vaeljs-exec-core):Command/cmd,exec/run/spawn,PathFinder/pathFinderexecutable registry, multi-sink disposableaddLogger/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) andvael: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) acrossvjsandvjs-lite.vael:osv2 (release()) andvael:os/dirs(vaeljs-os-core, XDG Base Directory +.NET SpecialFolder).vael:archive(vaeljs-archive-core): bounded traversal-safetar,tar.gz,tar.zst, andzipsupport without thetarcrate.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:sshv2 (vaeljs-ssh-core): native streaming SFTP (upload,download,stat,readDir,mkdir,remove,rmdir),agentSocket, and Windows OpenSSH pipe agent support acrossvjsandvjs-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, typedDatabase<Schema>handles),db.sqltagged templates,tx.savepoint, and rich parameter/result types.vael:db/migrate&vjs db migrateCLI (up,down,status,verify,baseline,create) withvael.jsoncnon-secretdbconfiguration and runnableexamples/db-migrations/.
- Messaging & Node.js Compatibility (
vael:redis,vael:nats,vael:amqp,node:*):- Opt-in
vjsasync messaging clients (vael:redis,vael:nats,vael:amqpviavaeljs-messaging-core) withvjs-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 Nodev22.14.0+ WPTurl), bringing totals to 75 V8 modules (36vael:*+ 39node:*) and 54 Lite modules (27vael:*+ 27node:*).
- Opt-in
- Tooling, Fuzzing & Browser Playground (
vaeljs-lsp,fuzz/,vaeljs-playground-wasm):#![forbid(unsafe_code)]vaeljs-lspcrate andvjs lspsubcommand with--parse-workersubprocess 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-unknownin-browser runtime with isolatedvirtual-fs, 4 MiB shadow stack, and 64 KiB TypeScript cap).
Changed
- Breaking —
vael:dbVerified TLS by Default:NetworkDbConfigTLS now defaults to verified TLS (tlsMode: "verifyFull"/tls: true); unencrypted development connections require explicit opt-in (tls: falseortlsMode: "plaintext"). - Breaking —
vael:dbexecute()Statement Guard:execute()now rejects result-returning statements (usequery()orqueryOne()instead). - Breaking —
vaeljs-dbapiProvider Stack: Replacedsqlxandvendor/neotales-dbapiwithneotales-dbapi* 0.0.0-alpha.1andneotales-migration* 0.0.0-alpha.1across SQLite, PostgreSQL, MySQL, MariaDB, and MSSQL. - Breaking — Supply-Chain & Transport Hardening:
- Project-local
.npmrcauth credentials are now blocked; only user-home~/.npmrcauth is permitted. - SSRF protection defaults
allow_private_ips: falseacrossvael:fetch. - Mandatory
treeSha256integrity enforcement onvael.lock.
- Project-local
- Dependency Updates:
rquickjs0.14.0→0.15.0,aes-gcm0.10.3→0.11.1,base640.22.1→0.23.1, andneotales-ssh0.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, andRUSTSEC-2026-0620/RUSTSEC-2026-0621patches. - Runtime & Parser Hardening:
vael:httpSlowloris request/header timeout and shutdown close-race hardening (HTTP 408).vael:templatecontextual OWASP HTML/URL/JS/CSS auto-escaping and boundedSprigLimits.vael:dbAST validation,WeakMap-backed internal state isolation, error/secret redaction,O_NOFOLLOWmigration path checks, and non-secretvael.jsoncdbconfig hygiene.
Fixed
- Release Workflow: Fixed
cargo-cyclonedx 0.5.10invocation flags in.github/workflows/release.yml(superseding the unpublishedv0.0.0-alpha.2tag after SBOM generation failed prior to GitHub Release publishing). - macOS: Fixed XNU
AF_UNIXsoclose()deadlock invael:execchild pipe handling and shutdown reader truncation. - Windows: Fixed Win32
set_aclREAD_CONTROL | WRITE_DACaccess permissions and NTFS temp-file rename contention races invaeljs-remote. - SQLite: Improved SQLite WAL concurrency (
busy_timeout_ms) and:memory:connection resilience.
Known Limitations & Deferred Scope
- All 23 workspace crates and
vaeljs-playground-wasmremainpublish = false. - Deno-style fine-grained runtime permissions,
vaelhoard.comintegration, andcrates.iopublishing remain deferred beyond0.0.0-alpha.3.
v0.0.0-alpha.1
Alpha Pre-Release Notice:
v0.0.0-alpha.1bringsvjs-liteto full remote/npm module-resolution parity withvjs, completes JSDoc coverage across the TypeScript declaration bundles, and alignsvael:ostarget strings with Deno. Public Rust and JavaScript APIs remain unstable until0.1.0/1.0.0. All 17 workspace crates remainpublish = false.
Added
vjs-lite(vaeljs-lite/vaeljs-lite-core) Remote &npm:Parity:- Full
npm:,jsr:,gh:/github:,https:,package.json,vael.lockv1,.npmrcscoped registries/auth, URL entrypoints, and ancestorvael.jsoncbare 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+rustlswith zero Tokio, Hyper, or V8 dependencies (opt-outable via--no-default-featuresfor offline-only builds).
- Full
- Rich TypeScript Declaration JSDoc (
vaeljs-dts):- Complete Node/JSR-style JSDoc (
@param,@returns,@throws,@example,@since) across all 36 module and global.d.tsfiles invaeljs-dts/types/(vael:*,node:*,v8/globals, andlite/globals).
- Complete Node/JSR-style JSDoc (
- Integration Coverage:
- End-to-end verification of ancestor
vael.jsoncbare import maps resolving acrossnpm:,jsr:,gh:/github:, andhttps:.
- End-to-end verification of ancestor
Changed
- Breaking —
vael:osTarget Vocabulary:platforminvael:os(Vael.os.platform) now uses Deno'sDeno.build.ostarget strings ("darwin"on macOS instead of Rust's"macos"). Callers checkingplatform === "macos"must update toplatform === "darwin". - Example WebApp (
examples/webapp/): Renamedmux→routeracross application, entrypoint, test, and README files. - Documentation: Slimmed root
README.mdand moved full guides and module reference documentation tohttps://vaeljs.com(neotales/vaeljs-site).
v0.0.0-alpha.0
Alpha Pre-Release Notice:
v0.0.0-alpha.0is the inauguralvaeljsalpha pre-release. Public Rust and JavaScript APIs may change before0.1.0and1.0.0. All 17 workspace crates remainpublish = false(no crates.io publishing yet).
Added
- Shippable Binaries & Release Packaging (
vjs&vjs-lite):vjs(vaeljs/vaeljs-core): V8-backed ECMAScript module runtime via vendoreddeno_core 0.413.0andv8 150.4.0.vjs-lite(vaeljs-lite/vaeljs-lite-core): QuickJS-backed ECMAScript module runtime viarquickjs 0.14.0with zero V8, Tokio, or Hyper dependencies.[profile.release]enablesstrip = "symbols"across all 6 release targets (linux/macos/windows×amd64/arm64), bundlingLICENSE.md, profile-matched TypeScripttypes/, andSHA256SUMS.txt. All 17vaeljs*workspace crates remainpublish = false.
vael:*Standard Library &VaelGlobal (20 modules onvjs, 15 sync modules onvjs-lite):vael:http(vjs): Go 1.22+-styleServeMuxrouter, pure(req, ctx) => Responsehandlers, ergonomic builders/errors/middleware, traversal-proof.static(),hyper 1HTTP/1.1 server, and zero-socket in-process.fetch().vael:db(vjs): Uniform@name/?parameterized SQLite database client overvaeljs-dbapi(neotales-dbapi/neotales-dbapi-sqlite) with atomic transactions and redacted error surfaces.vael:template(bothvjsandvjs-lite): Gotext/templateand Sprig helpers overneotales-gotmpl&neotales-sprig(vaeljs-template-core) with XSS-safehtmlEscape: true.- Shared modules (both
vjsandvjs-lite):vael:assert,vael:chars,vael:console,vael:crypto(13 synchronous primitives viavaeljs-crypto-core, plus 7*Asyncworker-pool APIs onvjs),vael:fs(vaeljs-fs-core),vael:os,vael:path,vael:slices,vael:ssh(vaeljs-ssh-core/neotales-sshwith mandatory host trust verification and bounded execution),vael:strings,vael:test, andvael:uuid(vael:uuid,vael:uuid/v4,vael:uuid/v7backed by falliblegetrandom). - Additional V8-only modules (
vjs):vael:age(neotales-age),vael:cron, andvael:stdio.
npm:/package.json/vael.lockv1 /.npmrc:- Zero
node_modulesdirectory, zero auto-run install or lifecycle scripts, and content-addressed verified CAS tarball caching viavaeljs-npm. - Deterministic
vael.lockv1 resolution with--frozen-lockfile,--offline, and--no-npmCLI controls. .npmrcscoped registry routing and HTTPS-only Bearer/Basic auth (${ENV_VAR}interpolation, cross-origin and out-of-scope redirect auth stripping, zero token leakage).
- Zero
- 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 onvjs-lite(all exceptnode:fs/promises), backed byvaeljs-node-core.
- 11 modules on
- Frameworkless Go-Style WebApp Prototype (
examples/webapp/):- Runnable zero-framework TypeScript web application combining
vael:http,vael:db,vael:template,vael:uuid, andvael:crypto, verified withvjs test examples/webapp/app.test.ts.
- Runnable zero-framework TypeScript web application combining
- TypeScript, Manifests, Remote Loading & Testing:
- Shared erasable TypeScript stripping (
.ts,.mts) viadeno_ast(vaeljs-module-policy) on bothvjsandvjs-lite. vjs typesandvjs-lite types.d.tsbundles (vaeljs-dts,--profile <v8|lite>,--out-dir <dir>), verified 1:1 against live runtime exports bydts_drifttests.vael.jsoncmanifests & workspaces (vaeljs-manifest): bounded upward discovery,importsmaps,workspacesresolution, and--config <path>/--no-config.- Remote module loading on
vjs(vaeljs-remote): opt-in--allow-remote/VAELJS_ALLOW_REMOTEforhttps:,gh:/github:, andjsr:with SHA-256 verification and offline cache reads. vjs testandvjs-lite test: deterministic glob expansion and 14 shared JS+TS test files (81 tests intests/js/shared/) passing identically on both engines.
- Shared erasable TypeScript stripping (
Security & Policy
- Remote module loading and remote npm fetches are disabled by default (
--no-allow-remoteoverridesVAELJS_ALLOW_REMOTE);vjs-litestays strictly local/workspace-only. - Canonical
vael:andnode:module specifiers, fail-closedvaeljs-module-policyvalidation, and--no-node-compatopt-out across both runtimes. publish = falseenforced across all 17 workspace crates; all workspace versions aligned to0.0.0-alpha.0.
Known Limitations & Deferred Scope
- Pre-release APIs across Rust crates and
vael:*modules may change before0.1.0and1.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.