Skip to content

peer dependency of Pinia set to v2.x - breaks upgrading Pinia to v3 #15378

Closed

Description

@eneeio-nm

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/vue

SDK Version

9.0.1

Framework Version

Vue 3.5.13

Link to Sentry event

No response

Reproduction Example/SDK Setup

Now that Pinia v3 has been released, @sentry/vue causes upgrading due to:

npm error While resolving: @sentry/vue@9.0.1
npm error Found: pinia@3.0.0
npm error node_modules/pinia
npm error   pinia@"3.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional pinia@"2.x" from @sentry/vue@9.0.1
npm error node_modules/@sentry/vue
npm error   @sentry/vue@"9.0.1" from the root project
npm error
npm error Conflicting peer dependency: pinia@2.3.1
npm error node_modules/pinia
npm error   peerOptional pinia@"2.x" from @sentry/vue@9.0.1
npm error   node_modules/@sentry/vue
npm error     @sentry/vue@"9.0.1" from the root project

Please can this be investigated and resolved?

Steps to Reproduce

  1. renovate generated a PR to upgrade Pinia to v3
  2. build failed due to peer dependency reliance on Pinia v2.x

Expected Result

Build should pass as there's no peer dependency reliance on Pinia v2.x

Actual Result

Build failed due to a peer dependency reliance on Pinia v2.x

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Feb 12, 2025
  2. s1gr1d commented on Feb 12, 2025

    @s1gr1d
    Member

    Hello and thanks for raising this. Support for Pinia v3 will come with the next minor version of v8 and v9.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Feb 12, 2025
  4. added a commit that references this issue on Feb 12, 2025
  5. github-actions commented on Feb 13, 2025

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #15383, which was included in the 9.1.0 release.

  6. ghost added on Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions