Skip to content

Update peer dependency for @capacitor/core to 6.0.0 - #1390

Open
piotr-cz wants to merge 1 commit into
getsentry:mainfrom
piotr-cz:patch-1
Open

Update peer dependency for @capacitor/core to 6.0.0#1390
piotr-cz wants to merge 1 commit into
getsentry:mainfrom
piotr-cz:patch-1

Conversation

@piotr-cz

@piotr-cz piotr-cz commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

This package dropped support for old Capacitor versions (3.x, 4,x 5x) in #907, but peerDependency stayed as >=3, probably as an oversight.

💡 Motivation and Context

For example here (Peer Dependency section) it might look that current package version still supports old Capacitor versions.

💚 How did you test it?

Did not test

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec
  • No breaking changes

🔮 Next steps

In my opinion the version range >= is too broad and it should list each major, just as in devDependencies section does as it is not known if this package will work with Capacitor v9:

"devDependencies": {
"@capacitor/android": "^6.0.0 || ^7.0.0 || ^8.0.0",
"@capacitor/core": "^6.0.0 || ^7.0.0 || ^8.0.0",
"@capacitor/ios": "^6.0.0 || ^7.0.0 || ^8.0.0",

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.

1 participant