Skip to content

chore(deps): update dependency @prisma/extension-read-replicas to ^0.5.0#323

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/prisma-extension-read-replicas-0.x
Feb 22, 2026
Merged

chore(deps): update dependency @prisma/extension-read-replicas to ^0.5.0#323
renovate[bot] merged 1 commit intomainfrom
renovate/prisma-extension-read-replicas-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 2, 2025

This PR contains the following updates:

Package Change Age Confidence
@prisma/extension-read-replicas ^0.4.1^0.5.0 age confidence

Release Notes

prisma/extension-read-replicas (@​prisma/extension-read-replicas)

v0.5.0: 0.5.0

Compare Source

Breaking changes

  • Add support for Prisma 7 via #​53
    • As a consequence, we removed support for plain urls in readReplicas' input. The only input options available are:
        type ReplicasOptions = {
            replicas: PrismaClient[]
        }
      This is necessary due to Prisma 7's architectural changes.

⚠️ This update requires Prisma 7.0+ and is not compatible with Prisma 6.x or earlier versions.

You can use @prisma/extension-read-replicas as follows:

import { readReplicas } from '@​prisma/extension-read-replicas'
import { PrismaPg } from '@​prisma/adapter-pg'
import { PrismaClient } from './generated/prisma/client'

const mainAdapter = new PrismaPg({
  connectionString: process.env.DATABASE_URL!,
})

const mainClient = new PrismaClient({ adapter: mainAdapter })

const replicaAdapter = new PrismaPg({
  connectionString: process.env.REPLICA_URL!,
})

const replicaClient = new PrismaClient({ adapter: replicaAdapter })

const replicaAccelerateClient = = new PrismaClient({
  accelerateUrl: process.env.REPLICA_ACCELERATE_URL!,
})

/**
 * Read replica example, combining Prisma's Driver Adapters with Prisma Accelerate.
 */
const client = new PrismaClient({ adapter: mainAdapter })
  .$extends(readReplicas({ replicas: [replicaClient, replicaAccelerateClient] }))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (squash) December 2, 2025 18:57
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 3 times, most recently from 8d3e7de to e3dcb20 Compare December 8, 2025 22:02
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 2 times, most recently from 3b5b84f to fc7f389 Compare December 15, 2025 21:58
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch from fc7f389 to 6f47bd3 Compare December 23, 2025 01:30
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 2 times, most recently from e729b39 to 98ae761 Compare January 5, 2026 21:43
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 3 times, most recently from 61e1064 to 54b0ab9 Compare January 19, 2026 21:07
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 2 times, most recently from 268d1fe to e053bc1 Compare January 27, 2026 00:44
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 2 times, most recently from 1c3383b to ba0efa9 Compare February 12, 2026 09:54
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch 2 times, most recently from 815c34f to 2fe86df Compare February 20, 2026 16:58
@renovate renovate Bot force-pushed the renovate/prisma-extension-read-replicas-0.x branch from 2fe86df to 8ec54b8 Compare February 22, 2026 17:15
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Feb 22, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: prisma-extension-kysely@3.0.0
npm error Found: @prisma/client@6.19.2
npm error node_modules/@prisma/client
npm error   dev @prisma/client@"^6.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @prisma/client@"^7.0.0" from @prisma/extension-read-replicas@0.5.0
npm error node_modules/@prisma/extension-read-replicas
npm error   dev @prisma/extension-read-replicas@"^0.5.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-02-22T17_15_47_535Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-02-22T17_15_47_535Z-debug-0.log

@renovate renovate Bot merged commit cb774de into main Feb 22, 2026
0 of 6 checks passed
@renovate renovate Bot deleted the renovate/prisma-extension-read-replicas-0.x branch February 22, 2026 22:11
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.

0 participants