docs: add Capacitor 9 upgrade guide with iOS deprecated API removals - #580
Draft
andredestro wants to merge 1 commit into
Draft
docs: add Capacitor 9 upgrade guide with iOS deprecated API removals#580andredestro wants to merge 1 commit into
andredestro wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the initial "Updating to 9.0" upgrade guide (
docs/main/updating/9-0.md) and registers it in the Upgrade Guides sidebar.The guide currently covers the iOS portion of the Capacitor 9 release:
CAPBridgecompatibility class, the deprecatedCAPBridgeProtocolmethods, theCAPNotificationsenum, thePluginCallErrorData/PluginResultData/JSResultBodytypealiases,hasOption,JSDate, the legacyInstanceConfigurationaccessors,CAPPlugin.getConfigValue:,CAPFileManager, the deprecatedCapacitorBridgeinitializer,httpsInterceptorStartIdentifierand thesetRequestHeaders([String: String])overload.The guide follows the same structure as the existing
8-0.md.Change Type
Rationale / Problems Fixed
Capacitor 9 removes the iOS APIs that were deprecated in previous major versions (see ionic-team/capacitor#8551). Plugin authors and app developers hitting compile errors after upgrading need a single place that maps each removed API to its replacement (RMET-5303).
This first version of the guide is intentionally scoped to iOS; Android, CLI and config sections can be added by the corresponding Capacitor 9 changes as they land.
Tests or Reproductions
Content was verified against the actual removals in ionic-team/capacitor#8551: every removed symbol listed in the guide matches the source changes, and the replacements were validated by migrating Capacitor's own internal usages and test suite to them.
Platforms Affected
Notes / Comments
setRequestHeadersentry includes a behavior note: the remaining[String: Any]overload sets header values instead of appending them, so repeated keys overwrite the previous value.