Upgrading to Napacitor 0.1
Napacitor is in the 0.1 stage. There is a single version line shared by all packages (core, maui, cli, and every plugin) — 0.1.x, released as beta tags on npm. This page covers upgrading within 0.1 and the conventions that will guide future majors.
Upgrading within 0.1
- Check available versions — the
latestdist-tag may lag behind the newest beta:
npm view @napacitor/maui versions --json
npm view @napacitor/cli version
- Install the new version (use
--legacy-peer-depswhen beta prereleases are involved):
npm install @napacitor/maui@0.1.x-beta.y --legacy-peer-deps
- Re-sync the host — this regenerates
napacitor.build.propsso the host references the updated C# sources:
npx nap sync
- Rebuild and run (
npx nap build --target <platform>first on Windows).
Upgrading the .NET SDK / MAUI workloads is independent of the npm packages — see Setting Target Frameworks.
Version conventions
- All
@napacitor/*packages are versioned in lockstep (one version number for the whole monorepo); - Pre-release validation uses the
nextdist-tag; thelatesttag is only promoted once a release is verified; - The C# runtime targets .NET 10 / MAUI 10; npm package bumps never require a .NET upgrade by themselves.
What "future major versions" will mean
Because the native layer is a .NET MAUI class library (not per-platform native projects), a Napacitor major release is much lighter than a Capacitor major: it primarily bumps the npm package contract (JS API, CLI flags). Native platform compatibility (Android target SDK, iOS/Xcode) is owned by the .NET workload and follows the TFM, not a Napacitor release — so the Capacitor-style "target SDK matrix" does not apply.
Each future major will ship an upgrade guide in this section, replacing this page.