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.4.0-dev.1815 Sept 2023pre-release

    Nothing published for this version

  2. 5.4.0-dev.1715 Sept 2023pre-release

    Nothing published for this version

  3. 5.4.0-dev.1615 Sept 2023pre-release

    Nothing published for this version

  4. 5.4.0-dev.1514 Sept 2023pre-release

    Nothing published for this version

  5. 5.4.0-dev.1414 Sept 2023pre-release

    Nothing published for this version

  6. 5.4.0-dev.1314 Sept 2023pre-release

    Nothing published for this version

  7. 5.4.0-dev.1213 Sept 2023pre-release

    Nothing published for this version

  8. 5.4.0-dev.1113 Sept 2023pre-release

    Nothing published for this version

  9. 5.4.0-dev.1013 Sept 2023pre-release

    Nothing published for this version

  10. 5.4.0-dev.913 Sept 2023pre-release

    Nothing published for this version

  11. 5.4.0-dev.813 Sept 2023pre-release

    Nothing published for this version

  12. 5.4.0-dev.713 Sept 2023pre-release

    Nothing published for this version

  13. 5.4.0-dev.613 Sept 2023pre-release

    Nothing published for this version

  14. 5.4.0-dev.413 Sept 2023pre-release

    Nothing published for this version

  15. 5.4.0-dev.313 Sept 2023pre-release

    Nothing published for this version

  16. 5.4.0-dev.213 Sept 2023pre-release

    Nothing published for this version

  17. 5.4.0-dev.113 Sept 2023pre-release

    Nothing published for this version

  18. 5.3.115 Sept 2023
    Release notes

    Today, we are issuing the 5.3.1 patch release.

    Fix in Prisma Client

    Open source →
  19. 5.3.1-dev.114 Sept 2023pre-release

    Nothing published for this version

  20. 5.3.013 Sept 2023
    Release notes

    🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟

    Highlights

    In this sprint, we’ve made bug fixes and overall improvements to Prisma Client. We’ve been working on a few projects that will be announced soon. Stay tuned for the upcoming releases for updates!

    Improvements and bug fixes

    We made the following changes:

    Prisma Client improvements

    • Validation for undefined values in arrays in Json fields We added runtime validation for undefined values in arrays in Json fields. Prisma Client will now return an error when an array contains an undefined value. Therefore, we encourage you to add validation that either removes the value or transforms it to null if you stumble on the runtime validation:
      // Query
      await prisma.user.findMany({
      where: {
        // JSON field
        preferences: [undefined, '"theme": "dark"', null, ]
      }
      })
      
      // Example error message on running the query
      Can not use `undefined` value within array. Use `null` or filter out `undefined` values
      
    • Performance improvements for models with many unique fields: This release improves Prisma Client’s memory consumption for models with many @unique constraints. This was a regression from version 4.10.1, where in some cases, if a model had many unique constraints, Prisma Client would use up a lot of available memory.
    • Fixed the segmentation fault error that used to occur on ARM64 Linux binary targets
    • Metrics Preview feature improvements:
      • We updated the counters and gauge properties
      • We fixed the bug that caused the prisma_pool_connections_open metric to have a negative value in some cases.

    Prisma Migrate improvements

    • Fixed an introspection bug for MongoDB views. Previously, if a MongoDB database contained a view, prisma db pull would throw an error. We resolved this, and views are now ignored.
    • Added the PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK environment variable that enables you to disable advisory locking.

    VS Code extension improvements

    • Added support for rendering multi-line comments in tooltips when hovering on a block.
    • Improved the auto-completion for composite types in other blocks.
    • Added a Code Action that allows you to replace SetDefault with NoAction when using MySQL and the default/foreignKeys relation mode.

    Fixes and improvements

    Prisma Migrate

    Prisma Client

    Language tools (e.g. VS Code)

    Credits

    Huge thanks to @alencardc, @Oreilles, @christianledgard, @skyzh, @alula, @michaelpoellath, @RobertCraigie, @stephenwade for helping!

    Open source →
  21. 5.3.0-integration-fix-client-20243.128 Aug 2023pre-release

    Nothing published for this version

  22. 5.3.0-integration-feat-js-connectors-in-client.176 Sept 2023pre-release

    Nothing published for this version

  23. 5.3.0-integration-feat-js-connectors-in-client.165 Sept 2023pre-release

    Nothing published for this version

  24. 5.3.0-integration-feat-js-connectors-in-client.155 Sept 2023pre-release

    Nothing published for this version

  25. 5.3.0-integration-feat-js-connectors-in-client.145 Sept 2023pre-release

    Nothing published for this version

  26. 5.3.0-integration-feat-js-connectors-in-client.131 Sept 2023pre-release

    Nothing published for this version

  27. 5.3.0-integration-feat-js-connectors-in-client.121 Sept 2023pre-release

    Nothing published for this version

  28. 5.3.0-integration-feat-js-connectors-in-client.111 Sept 2023pre-release

    Nothing published for this version

  29. 5.3.0-integration-feat-js-connectors-in-client.101 Sept 2023pre-release

    Nothing published for this version

  30. 5.3.0-integration-feat-js-connectors-in-client.91 Sept 2023pre-release

    Nothing published for this version

  31. 5.3.0-integration-feat-js-connectors-in-client.81 Sept 2023pre-release

    Nothing published for this version

  32. 5.3.0-integration-feat-js-connectors-in-client.71 Sept 2023pre-release

    Nothing published for this version

  33. 5.3.0-integration-feat-js-connectors-in-client.61 Sept 2023pre-release

    Nothing published for this version

  34. 5.3.0-integration-feat-js-connectors-in-client.530 Aug 2023pre-release

    Nothing published for this version

  35. 5.3.0-integration-feat-js-connectors-in-client.430 Aug 2023pre-release

    Nothing published for this version

  36. 5.3.0-integration-feat-js-connectors-in-client.328 Aug 2023pre-release

    Nothing published for this version

  37. 5.3.0-integration-feat-js-connectors-in-client.223 Aug 2023pre-release

    Nothing published for this version

  38. 5.3.0-integration-feat-js-connectors-in-client.122 Aug 2023pre-release

    Nothing published for this version

  39. 5.3.0-integration-feat-driver-adapters-in-client.411 Sept 2023pre-release

    Nothing published for this version

  40. 5.3.0-integration-feat-driver-adapters-in-client.36 Sept 2023pre-release

    Nothing published for this version

  41. 5.3.0-integration-feat-driver-adapters-in-client.25 Sept 2023pre-release

    Nothing published for this version

  42. 5.3.0-integration-feat-driver-adapters-in-client.15 Sept 2023pre-release

    Nothing published for this version

  43. 5.3.0-integration-feat-auto-edge-import.47 Sept 2023pre-release

    Nothing published for this version

  44. 5.3.0-integration-feat-auto-edge-import.37 Sept 2023pre-release

    Nothing published for this version

  45. 5.3.0-integration-feat-auto-edge-import.27 Sept 2023pre-release

    Nothing published for this version

  46. 5.3.0-integration-feat-auto-edge-import.17 Sept 2023pre-release

    Nothing published for this version

  47. 5.3.0-integration-engines-5-3-0-7-qe-remove-unsafe-log-callback-1eb2a814ca332858858b479ede3d45f80c68d293.125 Aug 2023pre-release

    Nothing published for this version

  48. 5.3.0-integration-engines-5-3-0-32-integration-json-span-4dbffec2916e7d85fd3f98b0aebe4f56916d8f25.28 Sept 2023pre-release

    Nothing published for this version

  49. 5.3.0-integration-engines-5-3-0-32-integration-json-span-4dbffec2916e7d85fd3f98b0aebe4f56916d8f25.18 Sept 2023pre-release

    Nothing published for this version

  50. 5.3.0-integration-engines-5-3-0-24-integration-arm-openssl-main-92c9273a161ecfa87c1e2b27abd570c922b184a6.21 Sept 2023pre-release

    Nothing published for this version

  51. 5.3.0-integration-engines-5-3-0-24-integration-arm-openssl-main-92c9273a161ecfa87c1e2b27abd570c922b184a6.11 Sept 2023pre-release

    Nothing published for this version

  52. 5.3.0-integration-engines-5-3-0-23-arm-openssl-86636092afd42d73241c93c2aafe60f131001f52.11 Sept 2023pre-release

    Nothing published for this version

  53. 5.3.0-integration-chore-upgrade-esm-deps.126 Aug 2023pre-release

    Nothing published for this version

  54. 5.3.0-integration-arm-openssl-5-2-0.11 Sept 2023pre-release

    Nothing published for this version

  55. 5.3.0-dev.5511 Sept 2023pre-release

    Nothing published for this version

  56. 5.3.0-dev.5411 Sept 2023pre-release

    Nothing published for this version

  57. 5.3.0-dev.538 Sept 2023pre-release

    Nothing published for this version

  58. 5.3.0-dev.527 Sept 2023pre-release

    Nothing published for this version

  59. 5.3.0-dev.517 Sept 2023pre-release

    Nothing published for this version

  60. 5.3.0-dev.507 Sept 2023pre-release

    Nothing published for this version