Skip to content

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

Open
riderx wants to merge 4 commits into
plusfrom
sync/plus-upstream-20260509-055557
Open

chore: sync plus with upstream main (conflicts)#75
riderx wants to merge 4 commits into
plusfrom
sync/plus-upstream-20260509-055557

Conversation

@riderx
Copy link
Copy Markdown
Member

@riderx riderx commented May 9, 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

  • Bug Fixes

    • Fixed plugin file copying for CocoaPods-based iOS projects
    • Improved Swift Package Manager compatibility for iOS dependency handling
    • Resolved SystemBars padding issue on Android API 34 and earlier
  • Chores

    • Updated package versions to 8.3.3
    • Updated package metadata and documentation

@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 9, 2026

Review Change Stack

📝 Walkthrough

Walkthrough

This PR rebrands the Capacitor Plus monorepo to official Capacitor packages, downgrading all package versions from 8.3.4 to 8.3.3. Package manifests across Android, CLI, Core, and iOS are updated with new identities and metadata. A single functional change makes plugin native file copying conditional on the package manager type (SPM vs non-SPM). All changelogs are synchronized with new release notes.

Changes

Capacitor Plus to Capacitor Rebrand

Layer / File(s) Summary
Package Manifests and Identity
android/package.json, cli/package.json, core/package.json, ios/package.json, lerna.json
Package names updated from @capacitor-plus/* to @capacitor/*, versions downgraded from 8.3.4 to 8.3.3, and metadata (description, homepage, author) switched from Capacitor+ / Capgo to Capacitor / Ionic Team identity.
CLI Plugin File Logic
cli/src/ios/update.ts
copyPluginsNativeFiles now conditionally skips "platform package" native files only when using SPM, allowing non-SPM flows to copy these files.
Release Notes
CHANGELOG.md, android/CHANGELOG.md, cli/CHANGELOG.md, core/CHANGELOG.md, ios/CHANGELOG.md
All changelogs updated with new @capacitor/ionic-team release entries for versions 8.3.3 (2026-05-08) and 8.3.2 (2026-05-07), replacing previous @capacitor-plus/capgo sections. CLI logs emphasize CocoaPods and SPM/Package.swift fixes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 From Plus to Pure, we make the leap,
Eight three three, commitments we keep,
Package names shine in Ionic light,
SPM knows when to copy right,
And changelogs tell the tale so bright!

🚥 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 describes the main objective: syncing the plus branch with upstream main and addressing merge conflicts that arose during the process.
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-20260509-055557

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
Addedprettier-pretty-check@​0.2.07310010086100
Added@​capacitor/​core@​8.3.39910074100100
Added@​capacitor-plus/​core@​8.3.4761008492100
Addedswiftlint@​2.0.0901007983100
Addedrimraf@​6.1.39910010083100
Addedprettier-plugin-java@​2.8.110010010089100
Addedprettier@​3.8.3901009796100
Addedtar@​7.5.15991009994100

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)
CHANGELOG.md (1)

6-47: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Regenerate changelog instead of resolving it manually.

This edit introduces manually merged release sections that now coexist with prior entries, resulting in duplicated 8.3.x headings and mixed compare-link domains. Please regenerate CHANGELOG.md via the CI/CD changelog pipeline and keep only the generated output.

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 - 47, The CHANGELOG.md has manual merge edits
introducing duplicated 8.3.x sections and mixed compare-link domains; revert
these manual changes and regenerate the file using the project's CI/CD changelog
pipeline so only the canonical generated output remains (remove the duplicated
"## [8.3.3]" / "## [8.3.2]" blocks and any entries from "github.com/Cap-go" and
restore the authoritative changelog produced by the pipeline).
🤖 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 `@ios/package.json`:
- Around line 2-6: Update the package identity metadata in ios/package.json to
match the fork's published scope and provenance: change the "name" field from
"@capacitor/ios" to "@capacitor-plus/ios", replace the "author" value and
"homepage" (and any repository/bugs fields if present) to the fork's maintainer
information/URL so consumers see the correct source; apply the same corrections
to android/package.json to ensure both packages consistently declare the
`@capacitor-plus` scope and fork ownership while keeping the intentional
peerDependencies for compatibility.

---

Outside diff comments:
In `@CHANGELOG.md`:
- Around line 6-47: The CHANGELOG.md has manual merge edits introducing
duplicated 8.3.x sections and mixed compare-link domains; revert these manual
changes and regenerate the file using the project's CI/CD changelog pipeline so
only the canonical generated output remains (remove the duplicated "## [8.3.3]"
/ "## [8.3.2]" blocks and any entries from "github.com/Cap-go" and restore the
authoritative changelog produced by the pipeline).
🪄 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: ea81e05f-96d8-454a-92bd-1be3b636597d

📥 Commits

Reviewing files that changed from the base of the PR and between f3aefab and 3824b08.

📒 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 ios/package.json
Comment on lines +2 to +6
"name": "@capacitor/ios",
"version": "8.3.3",
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
"homepage": "https://capacitorjs.com",
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
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 | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify namespace/metadata consistency across package manifests.
# Expected: official-scope packages should have intentionally consistent repo/bugs/peer namespaces.

fd -a package.json | while read -r f; do
  jq -r '
    [
      .name // "",
      .version // "",
      (.repository.url // ""),
      (.bugs.url // ""),
      ((.peerDependencies // {}) | keys | join(","))
    ] | `@tsv`
  ' "$f" | awk -v file="$f" -F '\t' '{
    print file "\n  name=" $1 "\n  version=" $2 "\n  repository=" $3 "\n  bugs=" $4 "\n  peerDeps=" $5 "\n"
  }'
done | sed -n '/@capacitor\/ios/,+8p'

Repository: Cap-go/capacitor-plus

Length of output: 329


🏁 Script executed:

cat -n ios/package.json

Repository: Cap-go/capacitor-plus

Length of output: 1429


🏁 Script executed:

# Check root package.json for comparison
cat -n package.json | head -20

Repository: Cap-go/capacitor-plus

Length of output: 1963


🏁 Script executed:

# Check if other packages in ios folder reference official or fork scopes
rg -A2 -B2 "peerDependencies" ios/

Repository: Cap-go/capacitor-plus

Length of output: 327


🏁 Script executed:

for dir in android cli core; do
  echo "=== $dir/package.json ==="
  if [ -f "$dir/package.json" ]; then
    jq -r '.name, .peerDependencies' "$dir/package.json" 2>/dev/null | head -10
  fi
done

Repository: Cap-go/capacitor-plus

Length of output: 275


🏁 Script executed:

# Also check if this appears to be intentional - look for any sync/merge scripts or documentation
rg "sync-peer-dependencies|@capacitor-plus|Cap-go" --type md README* CHANGELOG* 2>/dev/null | head -20

Repository: Cap-go/capacitor-plus

Length of output: 3007


Package name does not match published scope and npm publication details.

The ios/package.json declares name as @capacitor/ios with Ionic Team authorship and official Capacitor homepage, but the repository points to Cap-go fork and the package is actually published as @capacitor-plus/ios (per README auto-publish documentation). The same mismatch exists in android/package.json. This creates provenance confusion for consumers who may install what appears to be the official package but receive a fork fork variant instead.

The mixed peer dependencies (@capacitor-plus/core + @capacitor/core) appear intentional for compatibility and are consistently applied, but the package identity mismatch requires resolution before publication.

🤖 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 `@ios/package.json` around lines 2 - 6, Update the package identity metadata in
ios/package.json to match the fork's published scope and provenance: change the
"name" field from "@capacitor/ios" to "@capacitor-plus/ios", replace the
"author" value and "homepage" (and any repository/bugs fields if present) to the
fork's maintainer information/URL so consumers see the correct source; apply the
same corrections to android/package.json to ensure both packages consistently
declare the `@capacitor-plus` scope and fork ownership while keeping the
intentional peerDependencies for compatibility.

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