Packages

@prisma/adapter-planetscale

7.10.1 · 15 Oct 2026Apache-2.069.3k / weekRepositorynpmAtom feed

Your version

92 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 6.x
  2. 6.0.0

    28 Nov 2024
    • breaking

      For Node.js 18 the minimum supported version is 18.18.0

    • breaking

      For Node.js 20 the minimum supported version is 20.9.0

    • breaking

      For Node.js 22 the minimum supported version is 22.11.0

  3. 5.x
  4. 5.22.0

    5 Nov 2024
  5. 5.21.1

    17 Oct 2024
    • Fixed a bug where migrations were not using shadow database correctly in some edge cases

  6. 5.21.0

    15 Oct 2024
  7. 5.20.0

    24 Sep 2024
  8. 5.19.1

    2 Sep 2024

    Today, we are issuing the 5.19.1 patch release.

  9. 5.19.0

    27 Aug 2024
    • Make sure that you have the latest version of prisma and @prisma/client installed:

      npm install -D prisma@latest
      npm install @prisma/client@latest
    • Enable the typedSql Preview feature in your Prisma Schema.

         generator client {
           provider = "prisma-client-js"
           previewFeatures = ["typedSql"]
         }
    • Create a sql subdirectory of your prisma directory.

      mkdir -p prisma/sql
  10. 5.18.0

    6 Aug 2024
  11. 5.17.0

    16 Jul 2024
  12. 5.16.2

    9 Jul 2024
  13. 5.16.0

    25 Jun 2024
    • When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder. This means that if you have a generator block in /project/prisma/schema/config/generator.prisma with an output of ./foo the output will be resolved to /project/prisma/schema/config/foo rather than /project/prisma/foo. The path to a SQLite file will be resolved in the same manner.

    • We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.

  14. 5.15.0

    4 Jun 2024
    • Enable the prismaSchemaFolder Preview feature by including it in the previewFeatures field of your generator.

      datasource db {
        provider = "postgresql"
        url      = env("DATABASE_URL")
      }
      
      generator client {
        provider        = "prisma-client-js"
        previewFeatures = ["prismaSchemaFolder"]
      }
      
    • Create a schema subdirectory under your prisma directory.

  15. 5.14.0

    14 May 2024
  16. 5.13.0

    23 Apr 2024
  17. 5.12.1

    4 Apr 2024
  18. 5.12.0

    2 Apr 2024
  19. 5.11.0

    12 Mar 2024
    • Vercel Edge Functions and Vercel Edge Middleware

    • Cloudflare Workers and Cloudflare Pages

    • Neon Serverless Driver (for PostgreSQL databases hosted via Neon)

  20. 5.10.2

    21 Feb 2024
  21. 5.10.0

    20 Feb 2024
    • join (default): Sends a single query to the database and joins the data on the database-level.

    • query: Sends multiple queries to the database and joins the data on the application-level.

    • relationLoadStrategy is supported for MySQL v8.0.14 and higher. MariaDB is not supported.

  22. 5.9.1

    1 Feb 2024
  23. 5.9.0

    30 Jan 2024
  24. 5.8.0

    9 Jan 2024
  25. 5.7.0

    6 Dec 2023
  26. 5.6.0

    14 Nov 2023
  27. 5.5.0

    24 Oct 2023
  28. 5.4.3

    13 Oct 2023
  29. 5.4.0

    4 Oct 2023
    • Removed an unnecessary INNER JOIN used in relation filter queries (Big thank you to @KhooHaoYit for helping out)

    • Use of LEFT JOIN's for to-one relations. Previously, Prisma made use of sub-queries to fetch data.

    • Removing all SELECT queries used to fetch data that would be used as input for the DELETE operation. In some cases, this also improves index usage.

  30. 0.5.x
  31. 0.5.0

    3 Oct 2023
  32. 0.4.x
  33. 0.4.0

    27 Sep 2023
  34. 0.3.x
  35. 0.3.1 – 0.3.44 releases without a noteShow each