Stability And Versioning
Palamedes 2.0 is the current major release. The app-facing surfaces below are SemVer-stable, as they have been since 1.0. This page defines what app teams can depend on and where changes may still happen between minor releases.
Page outline
Versioning From 1.0
All publishable Palamedes packages ship in lockstep.
V2 drops Node.js 22 support. Published Node.js packages, native Node addons,
and repository development require Node.js >=24.3.0. CI validates Node.js 24
and 26. The canonical platform support table
is checked against the published engines.node fields and the root manifest.
The @palamedes/cli-* platform shells run native executables without Node.js
and therefore omit an engine declaration; the @palamedes/cli npm launcher
requires the shared Node.js floor.
From 1.0 onward:
- major releases may include breaking changes to Stable surfaces
- minor releases add compatible behavior to Stable surfaces
- patch releases are compatible bug fixes
Preview, Internal, and Reserved surfaces are not SemVer-stable adoption contracts. They should still receive migration notes when practical, but they may change faster than Stable surfaces.
Rust crates
palamedes-i18n, palamedes, and palamedes-build are published to crates.io
from 2.0.0, at the shared Palamedes version. Cargo treats 2.0 to
2.1 as a compatible upgrade, so these Rust APIs follow Cargo SemVer even
though their tier below is Preview:
- the public API of
palamedes-i18n - the public API of
palamedes-build - the
palamedes::sdkmodule
For these crates, Preview describes the message feature scope, which grows in
minor releases without breaking existing code. palamedes_i18n::Error and
palamedes_build::Error are #[non_exhaustive], so new failure kinds can
arrive in a minor release and a match on them needs a wildcard arm. Data
types stay exhaustive. Items hidden from the rustdoc output are not covered.
This includes every palamedes item outside sdk; the CLI and the Node
binding use those internally.
The minimum supported Rust version (MSRV) is the rust-version in the
workspace Cargo.toml. A minor release can raise it, with a changelog entry.
The MSRV stays at least two stable Rust releases behind the latest stable
release.
Stability Tiers
- Stable: app-facing surface covered by SemVer.
- Preview: usable, but still allowed to change as real adoption clarifies the API shape.
- Internal: implementation detail. Apps should not import or depend on it
directly. The
@palamedes/core/internaland@palamedes/runtime/internalsubpaths are Internal, so Palamedes packages that import them, or generate code that imports them, pin that sibling package to the exact same version. - Reserved: package name or surface intentionally held for future work, with no supported adoption path yet.
| Surface | Tier | Notes |
|---|---|---|
@palamedes/core runtime API | Stable | createI18n, compiled message lookup, locale activation, and missing-message errors are app-facing. |
@palamedes/runtime | Stable | getI18n, setClientI18n, and the server runtime contract are the public transform target. |
@palamedes/react and @palamedes/solid | Stable | Runtime components and macro entry points are public app APIs. @palamedes/solid requires solid-js@^2.0.0-rc.16; the examples verify Solid 2.0.0-rc.16. |
@palamedes/vite-plugin and @palamedes/next-plugin | Stable | Plugin options and .po loading behavior are public integration APIs. The Vite plugin requires Vite 8. The Next plugin requires next@^16.4.1; see the Next.js contract. |
@palamedes/waku | Stable | ESM-only Waku handler interceptor, catalog delivery middleware, and request resolver contract for waku@^1.0.0-rc.4; the examples verify Waku 1.0.0-rc.4. |
@palamedes/tanstack | Stable | React Start server-function middleware and its request resolver contract are public integration APIs for @tanstack/react-start@^1.169.4; the examples verify React Start 1.169.4. |
@palamedes/react-router | Stable | ESM-only React Router Framework Mode root middleware, server entry, and locale resolver contract for react-router@^8.5.0; the examples verify React Router 8.5.0. RSC mode is not supported. |
@palamedes/remix | Stable | Full-stack Remix v3 adapter for remix@^3.0.0; the examples verify Remix 3.0.0 with Node >=24.3.0, and all four strategies have public HTTPS browser proofs. |
@palamedes/config | Stable | Config file names, defineConfig, and the config schema are public. |
@palamedes/cli | Stable | Documented commands and flags are public. New commands may appear in minors. |
@palamedes/extractor and @palamedes/transform | Preview | Published advanced-tooling APIs; their integration boundaries may evolve before promotion. |
pmds binary plugin protocol | Preview | Protocol v1 is version-negotiated; native package resolution and capabilities may evolve before promotion. |
| Source-string-first PO catalogs | Stable | Message identity is message + context. Catalog files remain user-owned. |
| FCL catalog storage | Preview | Supported through config, CLI, native catalog APIs, and Vite adapter delivery; automatic Next.js graph delivery still requires PO. |
| Macro syntax | Stable | Supported macros remain the authoring model. Unsupported explicit IDs are not a compatibility target. |
@palamedes/core-node | Preview | It is usable directly, but primarily exists as the JS boundary to the Rust core. Generated type details may change in minors. |
@palamedes/core-node-* platform packages | Internal | Optional dependency carriers for native Node addons; apps should not import them directly. |
@palamedes/cli-* platform packages | Internal | Optional dependency carriers for native CLI executables; apps should not import them directly. |
palamedes and create-palamedes | Reserved | Placeholder top-level packages exist, but there is no supported first-run entry yet. |
| Compiled catalog artifact internals | Preview | Public loaders can consume them; the internal representation may evolve in minors. |
palamedes-build and palamedes-i18n Rust crates | Preview | Cargo integration and external catalog runtime, published to crates.io from 2.0.0. Text, display arguments, string selects, and cardinal/ordinal plurals. Public APIs follow Cargo SemVer; see the Rust guide. |
palamedes::sdk Rust module | Preview | Compiler entry points that palamedes-build uses; follows Cargo SemVer. |
Other palamedes crate items | Internal | Hidden from rustdoc. Toolchain APIs for the CLI and the Node binding; not covered by SemVer. |
Other crates/* Rust APIs | Preview | Unpublished toolchain crates, including the pmds plugin SDK; no separately stable Rust contract is promised. |
Vue SFC Preview contract
Vue 3 + Vite has an experimental, browser-only integration through
@palamedes/vite-plugin. Core macros work inside inline <script setup> and
<script> blocks, with native extraction, transforms, source maps, and automatic
active-locale catalog delivery. The Vue proof
verifies the shared booking demo in English, German, French, and Spanish.
This SFC integration is Preview, even though the surrounding Vite plugin's existing APIs are Stable. Template-expression macros, automatic template-text extraction, and Vue rich text are not supported. The Vite proof is browser-only and separate from the supported server-framework example matrix.
Svelte component Preview contract
The private Svelte + Vite proof verifies Svelte 5 with the shared booking demo in English, German, French, and Spanish. Inline instance and module scripts support core macros through native extraction and transforms, with original source maps and automatic active-locale catalog fragments for initial and dynamically imported components.
This integration is Preview, browser-only, and outside the supported server-framework example matrix. Template-expression macros, automatic template text extraction, Svelte rich text, catalog HMR, and non-JS/TS preprocessors are not verified. SvelteKit SSR has a separate proof below.
SvelteKit SSR Preview contract
The private SvelteKit proof verifies SvelteKit 3.1.0 with Svelte 5.57.2, Vite 8.2.2, and the Node adapter 6.0.0. Its local integration reuses the native component compiler and existing Vite catalog delivery. Development and production checks cover the shared four-language booking demo, translated HTML without JavaScript, matching hydration, lazy components and routes, endpoint macros, overlapping request isolation, locale navigation, and production catalog failure UI. The production build runs from a separate directory without source catalogs, workspace packages, or native tooling.
This is a Preview proof outside the six-family server example matrix. No SvelteKit package is published. It targets a root-mounted, same-origin Node deployment with query-selected locale, a fixed time zone, and absolute asset paths. Other adapters, CDN/subpath deployment, prerendering, streaming loads, remote functions, catalog HMR, and the four-strategy matrix remain unverified.
Nuxt SSR Preview contract
The private Nuxt proof verifies Nuxt 4.6.2 with Vue 3.5.44, Vite 8.3.4, and Nitro 2.13.5 on Node.js. The local module reuses SFC macros and native extraction. Its development and production browser checks cover four-language SSR HTML without JavaScript, hydration, lazy components and pages, Nitro API handlers, parallel request isolation, and document locale navigation. Production initial and async-component catalog failures have catalog-independent recovery paths.
There is no published Nuxt package. This Preview proof targets a root-mounted, same-origin Node deployment with query-selected locale and a fixed time zone. Other Nitro presets, CDN or subpath deployment, prerendering, streaming, islands, catalog HMR, and the four-strategy example matrix are not verified. It does not establish support for arbitrary Vue SSR hosts.
Next.js contract
The examples verify Next.js 16.4.1 with React and React DOM 19.2 on
Node.js, under Turbopack and webpack.
@palamedes/next-plugin is Stable for next@^16.4.1. Its /server
entry keys request-scoped i18n to Next's internal render storage,
next/dist/server/app-render/work-async-storage.external.js. Next has no
public API that identifies one App Router render across React resuming work in
an earlier async context, static generation, and Client Component SSR: React
cache() does not cover Client Component SSR, and headers() opts a route
into dynamic rendering.
withPalamedes() fails the build with a Palamedes error when the installed
Next no longer resolves that module. The next-plugin unit tests import it from
the installed next, so a dependency bump that moves it fails CI. Later 16.x
releases fall inside the peer range; a release counts as verified once it
passes the request isolation, server action, and Turbopack and webpack build
proofs.
The experimentalClientCatalogAssets option is Preview and outside this
Stable contract. In production builds it finds translated client modules
through pmds-next: string literals in the emitted chunks, and Next does not
promise to keep those literals intact. CI checks the pinned Next release, and a
scheduled workflow checks next@canary. See
ADR-030.
Waku contract
The examples verify Waku 1.0.0-rc.4 with React, React DOM, and
react-server-dom-webpack 19.3.1 on Node.js 24.3.0 or newer. Upstream
Waku is a release candidate, not a stable 1.0 release.
@palamedes/waku is Stable for waku@^1.0.0-rc.4. Its interceptor reads
unstable_getRequest, and host CSP setup uses unstable_setNonce in Waku's
render scope. The catalog middleware is a handler for Waku's middlewareFns
option with a structural context type, so the adapter has no Hono dependency
of its own; it cannot replace request access inside that render scope. Because
those Waku APIs are unstable-prefixed, a new tested Waku version must pass the
request isolation, server action, stream, catalog recovery, and CSP proofs
before the peer range moves.
Representative TanStack and Solid verification
The v2 integration scope uses TanStack Start with React and Solid 2 Start Mode with Nitro. The four examples in each family are both demos and executable integration tests for SSR, hydration, navigation, locale changes, and overlapping request isolation. Cookie examples add initial/lazy catalog failure/recovery and development invalidation proofs. See the framework example notes for commands and versions.
TanStack Solid Start is outside this scope. Support for the individual TanStack and Solid integrations does not promise their combined host or every framework and renderer combination. Any future host needs its own integration evidence before it is advertised as supported.
Subpath Tiers
Package subpaths have their own tiers. A public subpath follows the tier of its package unless the row says otherwise. Internal subpaths exist for generated code, framework renderers, or build wiring; applications do not import them, and they can change in any release.
pnpm check:published-types runs scripts/check-subpath-tiers.mjs, which
fails when a published package exports a subpath that has no row here, or
when a row names a subpath that no package exports.
| Subpath | Tier | Notes |
|---|---|---|
@palamedes/core/compiled | Stable | Alias of the package root; the transform and generated catalogs import it. |
@palamedes/core/macro | Stable | t, plural, select, selectOrdinal, and the choice prop types. |
@palamedes/core/locale | Stable | Locale negotiation, locale controls, switch items, and SEO links. |
@palamedes/core/internal | Internal | Compiled message runtime and formatting helpers for the React, Solid, and Remix Trans. |
@palamedes/runtime/server | Stable | Request-local server scopes and the server catalog store. |
@palamedes/runtime/server/bundled | Stable | createBundledServerI18n for server code built by @palamedes/vite-plugin. |
@palamedes/runtime/node | Stable | defineNodeI18n for backends that run with or without a bundler. |
@palamedes/runtime/node-macros | Stable | registerRuntimeMacros for macros in unbundled Node code. |
@palamedes/runtime/internal | Internal | Message registration and client bootstrap for generated code. |
@palamedes/runtime/server/test | Internal | Test-only isolation barrier, inert unless PALAMEDES_I18N_TEST_BARRIER=1. |
@palamedes/react/compiled | Stable | Alias of the package root and the transform target for Trans. |
@palamedes/react/macro | Stable | Compile-time Trans, Plural, Select, and SelectOrdinal. |
@palamedes/solid/compiled | Stable | Alias of the package root and the transform target for Trans. |
@palamedes/solid/macro | Stable | Compile-time Trans, Plural, Select, and SelectOrdinal. |
@palamedes/solid/server | Stable | Solid Start catalog delivery middleware. |
@palamedes/vite-plugin/delivery | Stable | createViteCatalogDelivery for SSR hosts that bind documents to catalogs. |
@palamedes/next-plugin/server | Stable | createNextServerI18n and createNextServerI18nScope. |
Other @palamedes/next-plugin/* subpaths | Internal | Loaders, server-function entries, and catalog modules that withPalamedes() wires by path. |
@palamedes/tanstack/server | Stable | createTanStackServerI18n and catalog response delivery for React Start. |
@palamedes/react-router/document | Stable | useDocumentLocale and useCatalogAvailable for the root Layout. |
@palamedes/waku/server | Stable | Waku catalog delivery middleware. |
@palamedes/remix/server, /client, /register | Stable | Server, browser, and Node loader entry points. |
@palamedes/remix/compiled, /macro | Stable | Transform target and compile-time components. |
@palamedes/transform/catalog-loader | Preview | Catalog loader helpers for custom bundler integrations. |
@palamedes/runtime/server/test is imported by the example servers so the
browser proofs can hold two requests at a barrier. It does nothing unless the
test process sets the environment variable, but it is not an application API.
Stable Surfaces
Palamedes treats these as stable adoption surfaces:
palamedes.yamlschema and config discovery- source-string-first PO catalogs using
message + contextidentity - documented FCL storage configuration and conversion workflows
- documented
pmdscommands and flags - Vite and Next plugin options documented in package READMEs
- TanStack Start server-function middleware documented in
@palamedes/tanstack - React Router Framework Mode middleware and server entry documented in
@palamedes/react-router - Waku interceptor and catalog delivery middleware documented in
@palamedes/waku - Remix v3 adapter APIs documented in
@palamedes/remix - runtime access through
getI18n() createI18n(options?)and descriptor-based lookup behavior- React and Solid runtime components and macro package names
If one of these must change, the major release that changes it should include:
- a changelog entry calling out the break
- a migration note or replacement path
- a deprecation period when both old and new paths can reasonably coexist
Surfaces That May Still Move
These areas are allowed to change faster while the project learns from real adoption:
- generated native binding type details
- compiled artifact internals
- FCL import support in framework adapters
- package layout for new native platform targets
- benchmark fixture shape and reporting fields
- internal package boundaries between plugins and transform/core-node helpers
- optional Palamedes+ workflow bridges
- binary plugin host capabilities beyond protocol v1
Deprecation Policy
Palamedes v2 transition
Palamedes 2.0 unifies application runtimes around compiled messages on server and client and makes framework catalog loading transparent. It removes the legacy runtime ICU parser mode and changes compilation and runtime failure behavior. These are major-release changes, not compatible 1.x patches or minors. Applications on 1.x keep their 1.x behavior until they migrate.
V2 includes migration guidance for removed APIs and options, adapter setup,
and error handling. Existing compiled import paths remain aliases to the
unified implementation without preserving the old parser mode. There is no
permanently supported legacy mode within v2.
See the v2 migration guide, the living ADRs, and the
catalog-delivery evidence report
for the implementation contract and verification record.
General policy
When a stable surface needs to change, prefer this path:
- Add the replacement.
- Document the replacement in the release notes.
- Keep the old path working for at least one minor release when practical.
- Emit a clear diagnostic or runtime warning if the old path can be detected.
- Remove it in a later major release.
Security fixes, broken behavior, and unsupported preview/internal surfaces may skip the full deprecation window when keeping compatibility would be misleading or unsafe.
What 2.0 Means
The 2.0 release keeps the guarantees that 1.0 introduced:
- app-facing packages follow standard SemVer
- config, CLI, macro syntax, catalog identity, and runtime APIs are stable
- platform support is documented in one place
- preview/internal surfaces are clearly labeled or promoted with tests and docs
On top of that, compiled messages and adapter-owned catalog delivery are the standard contract on every supported host. The v2 migration guide lists the breaking changes. See Migrating to Palamedes 1.0 for the catalog-format and metadata changes from the earlier stabilization release.