Skip to content

chore: sync plus with upstream main (conflicts)#76

Open
riderx wants to merge 4 commits into
plusfrom
sync/plus-upstream-20260510-060225
Open

chore: sync plus with upstream main (conflicts)#76
riderx wants to merge 4 commits into
plusfrom
sync/plus-upstream-20260510-060225

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 10, 2026

Merge Conflict Resolution Required

The automatic sync of the plus branch with upstream main encountered merge conflicts.

What happened

  • Claude Code attempted to resolve the merge conflicts
  • The workflow created this PR so CI and manual review can finish the merge safely

Action needed: Review the branch and resolve any remaining concerns before merging.


This PR was created automatically by the Capacitor+ sync workflow

Summary by CodeRabbit

  • New Features

    • Updated release notes for versions 8.3.3 and 8.3.2
  • Bug Fixes

    • Fixed issue with plugin file handling for iOS CocoaPods installations
  • Chores

    • Version bumped to 8.3.3
    • Updated package metadata and repository references across all modules

Review Change Stack

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

📝 Walkthrough

Walkthrough

This PR migrates the Capacitor fork from the Capacitor-plus namespace back to the upstream Capacitor identity: package scopes shift from @capacitor-plus/* to @capacitor/*, versions downgrade from 8.3.4 to 8.3.3, and release notes are replaced with official upstream entries. A targeted bug fix also refines iOS plugin-file copying to respect the package manager type.

Changes

Capacitor Upstream Migration

Layer / File(s) Summary
Package Identity and Version Updates
android/package.json, cli/package.json, core/package.json, ios/package.json, lerna.json
All package manifests re-scoped from @capacitor-plus/* to @capacitor/*, version downgraded from 8.3.4 to 8.3.3, and metadata (description, homepage, author) updated to Ionic Team and capacitorjs.com.
Release Notes Alignment
CHANGELOG.md, android/CHANGELOG.md, cli/CHANGELOG.md, core/CHANGELOG.md, ios/CHANGELOG.md
Changelog entries replaced with upstream ionic-team/capacitor versions for 8.3.3 (2026-05-08) and 8.3.2 (2026-05-07); prior Cap-go/capacitor-plus entries removed or consolidated.
iOS Plugin Copy Logic Refinement
cli/src/ios/update.ts
copyPluginsNativeFiles now skips Cordova plugin copying only when both platformTag.$?.package exists AND package manager is SPM; non-SPM installs proceed past the check.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Hop back home, we've come to roam,
From Plus to Core, the namespace true—
Eight-three-three, we're versioned clean,
With Ionic's team and notes brand new.
SPM knows its path so keen! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main objective of syncing the plus branch with upstream main and addressing merge conflicts.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/plus-upstream-20260510-060225

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Comment @coderabbitai help to get the list of available commands and usage tips.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​capacitor/​core@​8.3.39910074100100
Added@​capacitor-plus/​core@​8.3.4761008492100

View full report

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
android/package.json (1)

25-28: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Both android and ios packages require two core dependencies, creating migration friction.

Lines 25–28 in android/package.json (and identically in ios/package.json) list both @capacitor-plus/core and @capacitor/core as mandatory peer dependencies with no optional metadata. This forces consumers installing these packages to install both core variants, producing peer-resolution warnings or failures during migration from @capacitor-plus/* to @capacitor/*.

Suggested fix
   "peerDependencies": {
-    "@capacitor-plus/core": "^8.3.0",
     "@capacitor/core": "^8.3.0"
+  },
+  "peerDependenciesMeta": {
+    "@capacitor-plus/core": {
+      "optional": true
+    }
   },

Apply to both android/package.json and ios/package.json.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@android/package.json` around lines 25 - 28, The peerDependencies currently
force consumers to install both `@capacitor-plus/core` and `@capacitor/core`; update
android/package.json (and ios/package.json) to allow either by adding a
peerDependenciesMeta section that marks one package as optional (e.g., add
"peerDependenciesMeta": { "@capacitor-plus/core": { "optional": true } } or mark
`@capacitor/core` optional depending on which you want to prefer) so the
"peerDependencies" block can remain but consumers are not required to install
both; reference the "peerDependencies" key and package names
"@capacitor-plus/core" and "@capacitor/core" when applying this change.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CHANGELOG.md`:
- Around line 6-26: Revert the manual release notes added to CHANGELOG.md (the
sections starting with the headings "## [8.3.3]" and "## [8.3.2]") and restore
the file to the CI-generated state; either undo the commit that introduced these
manual entries or remove those hunk lines so CHANGELOG.md is left empty of
hand-edited release notes and let the repository's release/changelog automation
regenerate the file during CI.

---

Outside diff comments:
In `@android/package.json`:
- Around line 25-28: The peerDependencies currently force consumers to install
both `@capacitor-plus/core` and `@capacitor/core`; update android/package.json (and
ios/package.json) to allow either by adding a peerDependenciesMeta section that
marks one package as optional (e.g., add "peerDependenciesMeta": {
"@capacitor-plus/core": { "optional": true } } or mark `@capacitor/core` optional
depending on which you want to prefer) so the "peerDependencies" block can
remain but consumers are not required to install both; reference the
"peerDependencies" key and package names "@capacitor-plus/core" and
"@capacitor/core" when applying this change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 468bf745-267d-441d-be03-499f099b74e6

📥 Commits

Reviewing files that changed from the base of the PR and between f3aefab and 10c964d.

📒 Files selected for processing (11)
  • CHANGELOG.md
  • android/CHANGELOG.md
  • android/package.json
  • cli/CHANGELOG.md
  • cli/package.json
  • cli/src/ios/update.ts
  • core/CHANGELOG.md
  • core/package.json
  • ios/CHANGELOG.md
  • ios/package.json
  • lerna.json

Comment thread CHANGELOG.md
Comment on lines +6 to +26
## [8.3.3](https://github.com/ionic-team/capacitor/compare/8.3.2...8.3.3) (2026-05-08)

### Bug Fixes

- **cli:** copy plugin files in CocoaPods projects ([#8467](https://github.com/ionic-team/capacitor/issues/8467)) ([b2d7719](https://github.com/ionic-team/capacitor/commit/b2d771926a180e60deea31992d7d4abcd5ca3bc7))

## [8.3.2](https://github.com/ionic-team/capacitor/compare/8.3.1...8.3.2) (2026-05-07)

### Bug Fixes

- **cli:** add cSettings support for compiler flags in generated Package.swift ([#8448](https://github.com/ionic-team/capacitor/issues/8448)) ([0bd0676](https://github.com/ionic-team/capacitor/commit/0bd0676315c5fd77e50312dd7b5bf4990dcbd7d0))
- **cli:** add system framework and weak framework support in SPM Package.swift ([#8447](https://github.com/ionic-team/capacitor/issues/8447)) ([3232f0f](https://github.com/ionic-team/capacitor/commit/3232f0fe1d9811b0b5c500e3dc05cb8a250177f8))
- **cli:** correct Capacitor plugin SPM compat check ([#8440](https://github.com/ionic-team/capacitor/issues/8440)) ([e5ccc45](https://github.com/ionic-team/capacitor/commit/e5ccc451dda27d56bca824ed644bd20fe4d988cb))
- **cli:** generate binaryTarget entries for custom xcframeworks in Package.swift ([#8445](https://github.com/ionic-team/capacitor/issues/8445)) ([1f7e33f](https://github.com/ionic-team/capacitor/commit/1f7e33fca43d183332ec19d22b0d75ef81d8cc6d))
- **cli:** generate resource entries in Package.swift ([#8455](https://github.com/ionic-team/capacitor/issues/8455)) ([790bd27](https://github.com/ionic-team/capacitor/commit/790bd27123497111984227010c3162cec94a108e))
- **cli:** handle Cordova plugins without iOS source files ([#8443](https://github.com/ionic-team/capacitor/issues/8443)) ([0da130e](https://github.com/ionic-team/capacitor/commit/0da130eb7a861bee4e2c35bc0aac53ba9c983fc3))
- **cli:** link plugin dependencies in Package.swift ([#8457](https://github.com/ionic-team/capacitor/issues/8457)) ([b3c769e](https://github.com/ionic-team/capacitor/commit/b3c769e856c826b1174518877cf86ac7ce73bf09))
- **ios:** support Cordova plugins with Package.swift ([#8438](https://github.com/ionic-team/capacitor/issues/8438)) ([139943b](https://github.com/ionic-team/capacitor/commit/139943b0c05fddb2d1ce2d6f468800fddf17b4cf))
- **SystemBars:** avoid extra view padding on API <= 34 ([#8439](https://github.com/ionic-team/capacitor/issues/8439)) ([5b135a7](https://github.com/ionic-team/capacitor/commit/5b135a70217be560e7176c8d5b514cc92ed3e4e4))

## [8.3.1](https://github.com/ionic-team/capacitor/compare/8.3.0...8.3.1) (2026-04-16)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Revert manual changelog edits and let CI regenerate.

This hunk adds release notes directly in CHANGELOG.md, which should not be hand-edited in this repo. Please revert this section and rely on the release/changelog automation to avoid drift and duplicate history.

As per coding guidelines, "CHANGELOG.md: Do not manually edit CHANGELOG.md; it is managed automatically by CI/CD".

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CHANGELOG.md` around lines 6 - 26, Revert the manual release notes added to
CHANGELOG.md (the sections starting with the headings "## [8.3.3]" and "##
[8.3.2]") and restore the file to the CI-generated state; either undo the commit
that introduced these manual entries or remove those hunk lines so CHANGELOG.md
is left empty of hand-edited release notes and let the repository's
release/changelog automation regenerate the file during CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants