lunx.docs
Changelog

Version History

Every Lunx release — features, fixes, performance improvements, and security updates. Subscribe to GitHub Releases for notifications.

GitHub ReleasesLatest: v1.2.0 · 5 releases
v1.2.0latest

Production build options from Vite and Rsbuild, browser targets and polyfills, workers and dynamic imports, a federation runtime compatible with @module-federation, the React Compiler and RSC, and Storybook and Vitest on lunx's engine.

FeatureTemplate-literal dynamic imports (import(`./locales/${lang}.js`)) are bundled, and ?worker / ?sharedworker / &url / &inline imports work in dev and builds
Featurebuild.target / cssTarget or browserslist: Oxc lowers JS syntax and LightningCSS lowers CSS; the default is Baseline widely available
Featurebuild.polyfill: 'entry' | 'usage': core-js polyfills for the build's targets
Featurebuild.legalComments (default 'linked'): license notices move to <chunk>.LICENSE.txt; lunx's JS is now smaller than Vite's, Rsbuild's, Rspack's, esbuild's, Parcel's and webpack's on the benchmark app
Featurebuild.manifest and ssrManifest for server-rendered backends; assetPrefix / renderBuiltUrl for CDNs; file name templates, external, drop, cssMinify, emptyOutDir, copyPublicDir, chunkSizeWarningLimit, prefetch
Featurehtml options in dev and builds: title, meta, favicon, preconnect, dnsPrefetch, tags, cspNonce
FeatureJavaScript API (build(), createServer()) and server.middlewareMode
FeatureWebAssembly ESM imports: import { add } from './add.wasm'
FeatureModule federation runtime as @module-federation/runtime's: registerRemotes, runtime plugins, shareStrategy, shared import: false, object remotes, and remote type hints (@mf-types.zip)
FeatureReact Compiler in dev and builds when babel-plugin-react-compiler is installed; React Server Components apps on @vitejs/plugin-rsc
Featurelunx exec <tool>: Storybook and Vitest run on lunx's engine instead of Vite
Featurecache.remote shares compile results between machines (HTTP or S3)
FeatureCSS code splitting, built-in SVG components, PWA and Electron support, type errors in the dev overlay
PerformanceAngular builds ahead of time with @angular/compiler-cli: the starter ships 31.7 kB gzip (ng build: 31.9 kB)
PerformanceFaster HMR, startup, cold builds and parallel component compilation
SecurityDev server rejects other Host headers (DNS rebinding) and allows cross-origin reads from localhost only; server.allowedHosts and server.cors open it up
FixScaffolded projects install from npm (they depended on unpublished packages); 26 verified starters
FixBuild errors print without colour codes under NO_COLOR or when stderr is not a terminal

Meta-frameworks built by lunx's own engine (Rolldown + Oxc), module federation on the same engine, library mode, node/edge/SSR builds, and a build cache that skips unchanged builds.

Feature12 meta-frameworks built by lunx: SvelteKit, React Router, Remix, TanStack Start, Qwik City, Astro, Nuxt, SolidStart, VitePress, Waku, Marko Run and Analog run their Vite plugins on lunx's plugin host, with no Vite, Rollup or vite-node code
FeatureNext.js, Docusaurus, Gatsby, RedwoodJS and Stencil run on their own CLIs, labelled in the output; a missing framework CLI falls back to lunx's built-in support
FeatureModule federation on lunx's engine: ES module remoteEntry.js with the webpack 5 container API, mf-manifest.json, webpack-format share scope; dev and built apps mix freely and remotes fast-refresh inside the host
FeatureLibrary mode: lunx build --lib builds ES / CommonJS / UMD / IIFE with automatic externals, CSS extraction, .d.ts via Oxc (tsc fallback) and package.json exports checks
Featureplatform: 'node' | 'edge' and preset: 'ssr' build on Rolldown (no @swc/core needed)
PerformanceBuild cache in .lunx/: an unchanged project skips the build (~150 ms instead of ~700 ms on a 2,000-component app); framework compiler output is cached per file (1,000 Vue SFCs: 3.5 s cold, 0.7 s warm)
PerformanceRolldown + Oxc are the only bundler and compiler; @swc/core, esbuild and acorn are no longer needed at runtime
PerformanceProduction builds no longer wait on the OSV vulnerability API (cached; refreshed in the background)
PerformanceSmaller package: published JS minified with Oxc, only public .d.ts shipped (1.0 MB unpacked)
Featurelunx build --force, LUNX_BUILD_CACHE=0, build.cache: false and LUNX_TIMINGS=1
Featureesbuild plugins from optimizeDeps.esbuildOptions.plugins run in the dependency optimizer
FixDev server no longer restarts in a loop when files change next to a missing config file
FixReproducible Vue builds: scoped-style ids derive from the file path and source
FixLibrary .d.ts files land in the right place when the project path goes through a symlink (macOS /var)
Breakingengines.node is ^20.19.0 || >=22.12.0, as Rolldown requires

Latest patch release adding Tauri 2 & tRPC integration support, dependency resolution fixes, and SWC / xxhash build cache optimizations.

FixResolved dependency resolution issues with @tauri-apps/api and @trpc/server
PerformanceOptimized xxhash caching for faster incremental build checks
FixFixed Babel & SWC JSX preset compatibility when bundling mixed TSX/JSX modules
FixImproved error handling in CLI binary entrypoints for lunx, lunxjs, and create-lunx

Patch release fixing npm package binaries, published package naming alignment, and React 19 compatibility.

FixAligned published package name to lunx-dev with global lunx binary support
FixResolved React 19 JSX runtime type errors in Next.js and React adapters
FixFixed HMR reconnect loop on quiet dev server sockets

First stable release. Full production-ready build pipeline with 19 framework adapters, 8-stage security suite, Module Federation, SQLite smart cache, and sub-18ms HMR.

Feature19 framework adapters: React, Vue, Svelte, Angular, SvelteKit, Nuxt, Remix, Astro, SolidStart, Qwik City, Tauri, Electron, Preact, Lit, Next.js, Waku, TanStack Start, Analog, VitePress
FeatureSWC-powered TypeScript/JSX compilation — 20× faster than Babel
FeatureLightningCSS for styles — nesting, custom properties, vendor prefixes, minification
FeatureuWebSockets.js dev server — sub-40ms cold boot, 10,000+ concurrent WebSocket connections
Featurerust-notify file watcher — 6ms detection latency vs chokidar's ~30ms
Feature18ms p99 HMR — component-level updates with state preserved across hot reloads
FeatureSQLite incremental build cache — 100% cache hit rate on unchanged files, sub-4ms rebuild on warm cache
FeatureModule Federation — first-class host/remote configuration with TypeScript type sharing
Security8-command native security pipeline: secret scan (200+ patterns), CVE check (OSV database), SBOM (CycloneDX 1.5), SRI hash injection, auto-fix, plugin audit, security report, full audit
FeaturePlugin system with Rust-orchestrated lifecycle hooks (resolveId, load, transform, generateBundle, closeBundle)
FeaturePlugin sandbox — undeclared OS permissions are blocked and logged
Featurelunx build --analyze — interactive treemap bundle size report
FeatureAuto environment variable validation with schema support (Zod) via @lunx/plugin-env
DocsComplete documentation portal with 30+ pages covering all frameworks, security, plugins, migration, and tutorials