npm / @capacitor/cli
@capacitor/cli
What changed in @capacitor/cli 6 to 8, from its official release notes, upgrade guides and advisories. Also covers @capacitor/core. Sources checked 2026-10-18.
1 breaking3 security5 new APIs and options2 behavior and defaults9 tooling28 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@capacitor/cli 843 changes
Security 3
Capacitor Android and iOS: remote content can be loaded at the app origin via the internal HTTP proxy path
Navigation to the internal HTTP proxy path is blocked.
Navigation to the HTTP proxy path is blocked in subframes.
New APIs and options 5
Capacitor adds UIScene support on iOS.
Adds experimental packageOptions to the CLI.
Adds experimental configuration for swift-tools-version in SPM apps.
Live reload supports the new --https option.
Adds packageManager to the iOS config.
Behavior and default changes 2
The update command can now run on non-macOS systems.
The default Capacitor SPM dependency version is now 8.0.0.
Tooling 8
The CLI adds migrator functionality for adopting UIScene.
Generated Package.swift files include binaryTarget entries for custom xcframeworks.
Generated Package.swift files support cSettings for compiler flags.
Generated Package.swift files include resource entries.
Generated Package.swift files support system and weak frameworks.
Generated Package.swift files link plugin dependencies.
iOS support is added for Cordova plugins that use Package.swift.
Generated Package.swift files now support SPM package traits.
Fixes and other changes 25
Changed Cordova AppDelegate.h imports for SPM.
Android adds null checks for plugin annotations when retrieving permissions.
Resolves issues with the safe area / systembars plugin.
iOS no longer forwards scene lifecycle events to the page before it has loaded.
The CLI uses POSIX paths in CapApp-SPM Package.swift.
The CLI supports TypeScript 7 when loading capacitor.config.ts.
Android now explicitly grants URI permissions for image capture intents.
The CLI patches the Capacitor SPM dependency version in plugins.
The CLI's SPM dependency patch works on prereleases.
The CLI reverts live reload configuration when a failure occurs.
Plugin files are now copied in CocoaPods projects.
The CLI's Capacitor plugin SPM compatibility check is corrected.
The CLI handles Cordova plugins that do not contain iOS source files.
Avoids extra view padding on API 34 and earlier.
Handles a null versionName in isNewBinary(), preventing failures during Android binary version detection.
The CLI now checks CAPACITOR_COCOAPODS_PATH when determining the package manager.
Fixes boundary value extraction for form-data requests.
Uses separate current styles for system bars.
The CLI now inlines CSS sourcemaps in addition to JavaScript sourcemaps.
Using --live-reload no longer overwrites the config.server section.
On web, the expires parameter is sent only when a date is set.
Removes the calculated bottom inset when the keyboard is visible.
Supports running on wireless iOS devices.
Fixes Android APK name parsing when using multiple flavor dimensions.
Updates the migration to target version 8.0.0.
@capacitor/cli 73 changes
Fixes and other changes 3
The bridge is also reset when web content in the WebView process terminates.
The CLI changes the message shown for an SPM-incompatible plugin.
Cordova plugins are no longer excluded from SPM management.
@capacitor/cli 62 changes
Breaking changes 1
The HTTP proxy path is blocked in subframes.
Tooling 1
Capacitor 6 is published under the latest-6 release tag, allowing developers to select that distribution channel.