Roadmap / Overview

Overview

Public roadmap for MiiaJS - what is shipped, what is coming, and how items are prioritized.

This page is a living plan. It exists so you can see where MiiaJS is going before you adopt it - and so contributors can pick up something that matches their interest. Items move forward when there is a real reason to do them: an example app needs them, a user reports a gap, or production usage exposes a missing primitive. Nothing on the list is a promise of a date.

The repo is pre-1.0; the public API is allowed to evolve. After the first stable release this page will split into "shipped" and "planned" with semver-respecting deprecation cycles for breaking work.

Principles that don't move

These are not roadmap items - they are constraints every roadmap item is checked against.

  • Web Standards first. No Express.Request, no proprietary Reply. Anything new must compose with Request/Response/Headers/URL and run on Bun, Deno, and Node.
  • Decorators for declarations, middleware for control flow. Koa-style middleware replaces interceptors, pipes, and filters. New features should not introduce a fourth lifecycle layer just because NestJS has one.
  • Lightweight before clever. Each package earns its keep. If a feature is one screen of glue code on top of @miiajs/core, it stays in the host app or in an example - not a new package.
  • One DI container per app, module boundaries on top. A module sees what its imports export, checked at startup; nothing is global unless marked global: true. A separate injector per module arrives only when there is a concrete user request that one container cannot solve.
  • Runtime defects: work around only when it pays. A defect of Bun, Deno, Node.js or uWebSockets.js is worked around in the framework only when it would otherwise crash the process, leak memory or hang, or when the workaround is cheap - a few lines, nothing on the hot path. The rest is documented where it bites and reported upstream. Defects of our own adapters are fixed.
  • Real demand over theoretical completeness. A pattern lands when the second user asks for it, not the first time it sounds nice in a design doc.

Status legend

Each package and roadmap item in the tables below carries a maturity label. The docs sidebar and page headers flag only experimental packages.

StatusMeaningHow it advances
experimentalAPI may break, no proof of correctness. Low or no tests, untested failure modes. Use in side projects, expect churn.Real-app validation surfaces edge cases, tests cover them, API stops moving.
betaAPI mostly stable, well-tested internally, but the package has not faced real production load yet. Pre-1.0 default for any package shipped.Production deployment, no P0/P1 issues for 60 days, semver freeze.
stableAPI frozen with semver guarantees, production-tested at scale, community-validated. Post-1.0 only. No package can be stable while the project itself is on 0.x.Project ships 1.0; package keeps a clean track record across at least one minor cycle.
plannedOn the roadmap. No code yet (or scaffolding only).Design discussion lands; implementation begins; status moves to experimental on first publish.
ideaDirection we like; needs more demand or design before it becomes planned.A second independent user asks for it, or a design doc resolves the open questions.

Where the project is today

Current package state:

PackageStatusNote
@miiajs/corebetaFoundation. DI with typed tokens and module boundaries, decorators, router, middleware, exceptions.
@miiajs/node-serverbetaOptimized Node.js HTTP adapter.
@miiajs/uws-serverbetauWebSockets.js adapter, parallel optimization to node-server.
@miiajs/swaggerbetaOpenAPI 3.1 + Swagger UI.
@miiajs/messagingbetaDecorator-driven event bus, retry, DLQ, idempotency, named buses.
@miiajs/configbetaZod-validated env via ConfigService + ConfigModule.configure.
@miiajs/testingbetaTestApp integration-test harness: override providers, send requests in-process. The framework's own suites run on it.
@miiajs/rate-limitbetaFixed-window rate limiting. Guard + decorators (@BodyLimit-style precedence), perimeter middleware, pluggable stores.
@miiajs/multipartbetaStreaming multipart/form-data: backpressured part iterator, buffered ctx.form() validated through the route's body schema. Differential tests diff it against the runtime's own parser across the corpus's chunk-boundary cut points.
@miiajs/paprbetaMongoDB via Papr.
@miiajs/mongoosebetaMongoDB via Mongoose.
@miiajs/drizzlebetaDrizzle ORM (PG/MySQL/SQLite).
@miiajs/authbetaAuthProvider interface, AuthGuard factory, token extractors. Small surface; critical paths covered.
@miiajs/jwtbetaJWT sign/verify (jose wrapper). Core logic tested upstream in jose.
@miiajs/serve-staticbetaStatic file serving. Full HTTP semantics (Range, conditional GET, HEAD, dotfile guard, SPA fallback).
@miiajs/clibetamiia new / bun create miia, miia add with add-ons for auth, Swagger, CORS, static files, rate limiting, Biome and databases, miia g, dev/build/start. Generated projects are installed, type-checked, tested and started on Bun, Node.js and Deno by an end-to-end run before each release.
create-miiabetabun create miia / npm create miia - runs miia new from @miiajs/cli.
@miiajs/messaging-redisexperimentalRedis Streams transport + idempotency store. Retry lives in the consumer group's PEL, so crash recovery is the same code path as a backoff retry and the suite covers it directly. Untested at production load.

Roadmap horizons

The list is split by realistic timeframes, not strict commitments. Items can move up if real demand surfaces; items can move down if a use case goes cold.

Road to 1.0

1.0 is gated by facts on the ground, not a date. Concrete criteria:

  1. At least 3 independent production users. Pre-1.0 friends-of-friends do not count - need teams that can answer "what broke" with telemetry, not opinions.
  2. All beta packages have zero open P0/P1 API issues for 60 consecutive days. Bug fixes are fine; design churn is not.
  3. Semver deprecation policy documented and exercised at least once. A breaking change shipped through a deprecation cycle, removal in the next major.
  4. Benchmarks frozen. Stable numbers vs Hono/Elysia in the miiajs/benchmarks repo, regression CI gate in place.
  5. API freeze period. Minimum two months in 1.0.0-rc.x before final.
  6. Examples coverage. At least one example app per shipped package. As of 0.6, every package is covered by an example - examples/full-app exercises core/config/auth/jwt/rate-limit/multipart/drizzle/swagger/serve-static, examples/messaging-app covers messaging + messaging-redis, the dedicated DB examples cover papr/mongoose, and examples/uws-app covers the uWS adapter. Coverage for new packages must land alongside the package itself.

Anything not on this list is nice-to-have, not gating.

How items get prioritized

Roughly in this order, top wins:

  1. Validate experimental packages on real apps. @miiajs/messaging-redis needs a real-adoption shakedown before it earns beta. Internal tests are not enough.
  2. Production essentials missing from existing packages. SSE, distributed rate-limit stores. These unblock real apps for real deployments. Multipart came off this list in 0.6.
  3. High-impact abstractions. WebSocket, OpenTelemetry, cache - each enables a class of apps but doesn't depend on niche infrastructure.
  4. New transports / integrations. NATS, GraphQL, RPC client. Niche-r, but each opens a deployment lane.
  5. Polish. DX improvements, better error messages, examples coverage. Continuous, not project-managed.

How to influence the roadmap

  • Open an issue describing the problem (not the solution). Real workloads beat hypothetical ones.
  • Bring a use case from production. "I'd use this if it had X" is the strongest signal.
  • Submit a PR. Pre-1.0 is the cheapest time to land breaking design improvements.

The roadmap will be revised when meaningful items ship or new ones emerge - probably every couple of months.

Edit this page on GitHub