PackageTrack

npm · #3659 most downloaded on npm

@prisma/client

7.10.0prisma/prisma

Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.

Release timeline

10653 releases since 2020
20202026

One column per quarter.

Releases

  1. 5.12.0-dev.1719 Mar 2024pre-release

    Nothing published for this version

  2. 5.12.0-dev.1618 Mar 2024pre-release

    Nothing published for this version

  3. 5.12.0-dev.1518 Mar 2024pre-release

    Nothing published for this version

  4. 5.12.0-dev.1415 Mar 2024pre-release

    Nothing published for this version

  5. 5.12.0-dev.1315 Mar 2024pre-release

    Nothing published for this version

  6. 5.12.0-dev.1215 Mar 2024pre-release

    Nothing published for this version

  7. 5.12.0-dev.1114 Mar 2024pre-release

    Nothing published for this version

  8. 5.12.0-dev.1014 Mar 2024pre-release

    Nothing published for this version

  9. 5.12.0-dev.913 Mar 2024pre-release

    Nothing published for this version

  10. 5.12.0-dev.613 Mar 2024pre-release

    Nothing published for this version

  11. 5.12.0-dev.513 Mar 2024pre-release

    Nothing published for this version

  12. 5.12.0-dev.413 Mar 2024pre-release

    Nothing published for this version

  13. 5.12.0-dev.313 Mar 2024pre-release

    Nothing published for this version

  14. 5.12.0-dev.213 Mar 2024pre-release

    Nothing published for this version

  15. 5.12.0-dev.113 Mar 2024pre-release

    Nothing published for this version

  16. 5.11.012 Mar 2024
    Release notes

    Today, we are excited to share the 5.11.0 stable release 🎉

    🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

    Highlights

    Edge function support for Cloudflare and Vercel (Preview)

    We’re thrilled to announce that support for edge function deployments with Prisma ORM is now in Preview 🥳 As of this release, you can deploy your apps that are using Prisma ORM to:

    • Vercel Edge Functions and Vercel Edge Middleware
    • Cloudflare Workers and Cloudflare Pages

    In order to deploy to an edge function, you’ll need to use a compatible database driver (along with its Prisma driver adapter):

    • Neon Serverless Driver (for PostgreSQL databases hosted via Neon)
    • PlanetScale Serverless Driver (for MySQL databases hosted via PlanetScale)
    • pg driver (for traditional PostgreSQL databases)
    • @libsql/client driver (for SQLite databases hosted via Turso)

    Check out our documentation to learn how you can deploy an edge function using any combination of supported edge function provider and database.

    You can also read more about it in the announcement blog post!

    Performance improvements in nested create operations

    With Prisma ORM, you can create multiple new records in nested queries, for example:

    const user = await prisma.user.update({
      where: { id: 9 },
      data: {
        name: 'Elliott',
        posts: {
          create: {
            data: [{ title: 'My first post' }, { title: 'My second post' }],
          },
        },
      },
    })
    

    In previous versions, Prisma ORM would translate this into multiple SQL INSERT queries, each requiring its own roundtrip to the database. As of this release, these nested create queries are optimized and the INSERT queries are sent to the database in bulk in a single roundtrip. These optimizations apply to one-to-many as well as many-to-many relations.

    With this change, using the nested create option to create multiple records effectively becomes equivalent to using a nested createMany operation (except that createMany only works with one-to-many relations, whereas create works both with one-to-many and many-to-many).

    Note: Only the deepest nested operation is optimized. If a user specified create (1) -> create (2) -> create (3) in their query, only create (3) will be optimized.

    Fixes and improvements

    Prisma Client

    Prisma Migrate

    Prisma Engines

    Open source →
  17. 5.11.0-integration-test-imp-map-order.111 Mar 2024pre-release

    Nothing published for this version

  18. 5.11.0-integration-fix-pipeline.86 Mar 2024pre-release

    Nothing published for this version

  19. 5.11.0-integration-fix-pipeline.65 Mar 2024pre-release

    Nothing published for this version

  20. 5.11.0-integration-fix-pipeline.55 Mar 2024pre-release

    Nothing published for this version

  21. 5.11.0-integration-fix-pipeline.45 Mar 2024pre-release

    Nothing published for this version

  22. 5.11.0-integration-fix-pipeline.35 Mar 2024pre-release

    Nothing published for this version

  23. 5.11.0-integration-fix-pipeline.25 Mar 2024pre-release

    Nothing published for this version

  24. 5.11.0-integration-fix-pg-import-ecosystem-tests.15 Mar 2024pre-release

    Nothing published for this version

  25. 5.11.0-integration-fix-non-ascii.120 Feb 2024pre-release

    Nothing published for this version

  26. 5.11.0-integration-fix-debug-reexport.34 Mar 2024pre-release

    Nothing published for this version

  27. 5.11.0-integration-fix-debug-reexport.24 Mar 2024pre-release

    Nothing published for this version

  28. 5.11.0-integration-fix-client-wasm-loading-vercel.167 Mar 2024pre-release

    Nothing published for this version

  29. 5.11.0-integration-fix-client-wasm-loading-vercel.156 Mar 2024pre-release

    Nothing published for this version

  30. 5.11.0-integration-fix-client-wasm-loading-vercel.144 Mar 2024pre-release

    Nothing published for this version

  31. 5.11.0-integration-fix-client-wasm-loading-vercel.131 Mar 2024pre-release

    Nothing published for this version

  32. 5.11.0-integration-fix-client-wasm-loading-vercel.121 Mar 2024pre-release

    Nothing published for this version

  33. 5.11.0-integration-fix-client-wasm-loading-vercel.111 Mar 2024pre-release

    Nothing published for this version

  34. 5.11.0-integration-fix-client-wasm-loading-vercel.101 Mar 2024pre-release

    Nothing published for this version

  35. 5.11.0-integration-fix-client-wasm-loading-vercel.91 Mar 2024pre-release

    Nothing published for this version

  36. 5.11.0-integration-fix-client-wasm-loading-vercel.81 Mar 2024pre-release

    Nothing published for this version

  37. 5.11.0-integration-fix-client-wasm-loading-vercel.729 Feb 2024pre-release

    Nothing published for this version

  38. 5.11.0-integration-fix-client-wasm-loading-vercel.629 Feb 2024pre-release

    Nothing published for this version

  39. 5.11.0-integration-fix-client-wasm-loading-vercel.529 Feb 2024pre-release

    Nothing published for this version

  40. 5.11.0-integration-fix-client-wasm-loading-vercel.429 Feb 2024pre-release

    Nothing published for this version

  41. 5.11.0-integration-fix-client-wasm-loading-vercel.329 Feb 2024pre-release

    Nothing published for this version

  42. 5.11.0-integration-fix-client-wasm-loading-vercel.229 Feb 2024pre-release

    Nothing published for this version

  43. 5.11.0-integration-fix-client-wasm-loading-vercel.129 Feb 2024pre-release

    Nothing published for this version

  44. 5.11.0-integration-fix-adapter-pg-again.37 Mar 2024pre-release

    Nothing published for this version

  45. 5.11.0-integration-fix-adapter-pg-again.27 Mar 2024pre-release

    Nothing published for this version

  46. 5.11.0-integration-feat-prisma-pg-worker.1823 Feb 2024pre-release

    Nothing published for this version

  47. 5.11.0-integration-feat-prisma-pg-worker.1723 Feb 2024pre-release

    Nothing published for this version

  48. 5.11.0-integration-feat-prisma-pg-worker.1623 Feb 2024pre-release

    Nothing published for this version

  49. 5.11.0-integration-feat-prisma-pg-worker.1523 Feb 2024pre-release

    Nothing published for this version

  50. 5.11.0-integration-feat-prisma-pg-worker.1223 Feb 2024pre-release

    Nothing published for this version

  51. 5.11.0-integration-feat-prisma-pg-worker.1123 Feb 2024pre-release

    Nothing published for this version

  52. 5.11.0-integration-feat-prisma-pg-worker.1023 Feb 2024pre-release

    Nothing published for this version

  53. 5.11.0-integration-feat-prisma-pg-worker.922 Feb 2024pre-release

    Nothing published for this version

  54. 5.11.0-integration-feat-prisma-pg-worker.822 Feb 2024pre-release

    Nothing published for this version

  55. 5.11.0-integration-feat-prisma-pg-worker.722 Feb 2024pre-release

    Nothing published for this version

  56. 5.11.0-integration-feat-prisma-pg-worker.622 Feb 2024pre-release

    Nothing published for this version

  57. 5.11.0-integration-feat-prisma-pg-worker.522 Feb 2024pre-release

    Nothing published for this version

  58. 5.11.0-integration-feat-prisma-pg-worker.422 Feb 2024pre-release

    Nothing published for this version

  59. 5.11.0-integration-feat-prisma-pg-worker.322 Feb 2024pre-release

    Nothing published for this version

  60. 5.11.0-integration-feat-prisma-pg-worker.222 Feb 2024pre-release

    Nothing published for this version