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

Releases

  1. 5.16.0-dev.4918 Jun 2024pre-release

    Nothing published for this version

  2. 5.16.0-dev.4818 Jun 2024pre-release

    Nothing published for this version

  3. 5.16.0-dev.4718 Jun 2024pre-release

    Nothing published for this version

  4. 5.16.0-dev.4618 Jun 2024pre-release

    Nothing published for this version

  5. 5.16.0-dev.4517 Jun 2024pre-release

    Nothing published for this version

  6. 5.16.0-dev.4417 Jun 2024pre-release

    Nothing published for this version

  7. 5.16.0-dev.4317 Jun 2024pre-release

    Nothing published for this version

  8. 5.16.0-dev.4217 Jun 2024pre-release

    Nothing published for this version

  9. 5.16.0-dev.4117 Jun 2024pre-release

    Nothing published for this version

  10. 5.16.0-dev.4014 Jun 2024pre-release

    Nothing published for this version

  11. 5.16.0-dev.3914 Jun 2024pre-release

    Nothing published for this version

  12. 5.16.0-dev.3814 Jun 2024pre-release

    Nothing published for this version

  13. 5.16.0-dev.3714 Jun 2024pre-release

    Nothing published for this version

  14. 5.16.0-dev.3613 Jun 2024pre-release

    Nothing published for this version

  15. 5.16.0-dev.3512 Jun 2024pre-release

    Nothing published for this version

  16. 5.16.0-dev.3412 Jun 2024pre-release

    Nothing published for this version

  17. 5.16.0-dev.3312 Jun 2024pre-release

    Nothing published for this version

  18. 5.16.0-dev.3212 Jun 2024pre-release

    Nothing published for this version

  19. 5.16.0-dev.3112 Jun 2024pre-release

    Nothing published for this version

  20. 5.16.0-dev.3012 Jun 2024pre-release

    Nothing published for this version

  21. 5.16.0-dev.2912 Jun 2024pre-release

    Nothing published for this version

  22. 5.16.0-dev.2812 Jun 2024pre-release

    Nothing published for this version

  23. 5.16.0-dev.2711 Jun 2024pre-release

    Nothing published for this version

  24. 5.16.0-dev.2611 Jun 2024pre-release

    Nothing published for this version

  25. 5.16.0-dev.2510 Jun 2024pre-release

    Nothing published for this version

  26. 5.16.0-dev.2410 Jun 2024pre-release

    Nothing published for this version

  27. 5.16.0-dev.2310 Jun 2024pre-release

    Nothing published for this version

  28. 5.16.0-dev.2210 Jun 2024pre-release

    Nothing published for this version

  29. 5.16.0-dev.2110 Jun 2024pre-release

    Nothing published for this version

  30. 5.16.0-dev.2010 Jun 2024pre-release

    Nothing published for this version

  31. 5.16.0-dev.1910 Jun 2024pre-release

    Nothing published for this version

  32. 5.16.0-dev.1810 Jun 2024pre-release

    Nothing published for this version

  33. 5.16.0-dev.1710 Jun 2024pre-release

    Nothing published for this version

  34. 5.16.0-dev.167 Jun 2024pre-release

    Nothing published for this version

  35. 5.16.0-dev.157 Jun 2024pre-release

    Nothing published for this version

  36. 5.16.0-dev.147 Jun 2024pre-release

    Nothing published for this version

  37. 5.16.0-dev.136 Jun 2024pre-release

    Nothing published for this version

  38. 5.16.0-dev.126 Jun 2024pre-release

    Nothing published for this version

  39. 5.16.0-dev.116 Jun 2024pre-release

    Nothing published for this version

  40. 5.16.0-dev.95 Jun 2024pre-release

    Nothing published for this version

  41. 5.16.0-dev.85 Jun 2024pre-release

    Nothing published for this version

  42. 5.16.0-dev.75 Jun 2024pre-release

    Nothing published for this version

  43. 5.16.0-dev.65 Jun 2024pre-release

    Nothing published for this version

  44. 5.16.0-dev.55 Jun 2024pre-release

    Nothing published for this version

  45. 5.16.0-dev.44 Jun 2024pre-release

    Nothing published for this version

  46. 5.16.0-dev.34 Jun 2024pre-release

    Nothing published for this version

  47. 5.16.0-dev.24 Jun 2024pre-release

    Nothing published for this version

  48. 5.16.0-dev.14 Jun 2024pre-release

    Nothing published for this version

  49. 5.15.118 Jun 2024
    Release notesOpen source →
  50. 5.15.1-dev.117 Jun 2024pre-release

    Nothing published for this version

  51. 5.15.04 Jun 2024
    Release notes

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

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

    Highlights

    Multi-File Prisma Schema support

    Prisma ORM 5.15.0 features support for multi-file Prisma Schema in Preview.

    This closes a long standing issue and does so in a clean and easy to migrate way.

    To get started:

    1. 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"]
      }
      
      
    2. Create a schema subdirectory under your prisma directory.
    3. Move your schema.prisma into this directory.

    You are now set up with a multi-file Prisma Schema! Add as many or as few .prisma files to the new prisma/schema directory.

    When running commands where a Prisma Schema file is expected to be provided, you can now define a Prisma Schema directory. This includes Prisma CLI commands that use the --schema option as well as defining schema via package.json

    Our tooling has also been updated to handle multiple Prisma Schema files. This includes our Visual Studio Code extension and tools like database introspection, which will deposit new models in a introspected.prisma file. Existing models will be updated in the file they are found.

    To learn more, please refer to our official documentation and announcement blog post. If you try out prismaSchemaFolder, please let us know!

    Interesting Bug Fixes

    Fix for PostgreSQL prepared statement caching for raw queries

    This release fixes a nasty bug with the caching of prepared statements in raw Prisma Client queries that affected PostgreSQL when you ran the same SQL statement with differently typed paramters. This should not fail any more.

    Fix for SQL Server introspection of (deprecated) CREATE DEFAULT

    Our Introspection logic crashed on encountering certain multi-line CREATE DEFAULT, a deprecated way to define defaults in SQL Server. As many SQL Server users are working with established databases, this happened frequently enough that we now explicitly ignore these defaults instead of crashing.

    Fix for Cloudflare D1’s lower parameter limit

    Cloudflare’s D1 has a lower parameter limit than local SQLite, which caused bigger queries to fail. We adapted that limit to the D1 default for @prisma/adapter-d1, which will avoid such failures.

    Fix for Cloudflare D1’s different PRAGMA support

    Our generated migration SQL for SQLite did not always work for Cloudflare D1, because of differences in the supported pragmas. We adapted the SQL to work in both local SQLite and Cloudflare D1.

    Fixes and improvements

    Prisma Migrate

    Prisma Client

    Language tools (e.g. VS Code)

    Credits

    Huge thanks to @pranayat, @yubrot, and @skyzh for helping!

    Open source →
  52. 5.15.0-integration-static-wasm-worker-loader.223 May 2024pre-release

    Nothing published for this version

  53. 5.15.0-integration-static-wasm-worker-loader.122 May 2024pre-release

    Nothing published for this version

  54. 5.15.0-integration-pr-24186.115 May 2024pre-release

    Nothing published for this version

  55. 5.15.0-integration-fix-sqlite-d1-max-bind-values.83 Jun 2024pre-release

    Nothing published for this version

  56. 5.15.0-integration-fix-sqlite-d1-max-bind-values.731 May 2024pre-release

    Nothing published for this version

  57. 5.15.0-integration-fix-sqlite-d1-max-bind-values.522 May 2024pre-release

    Nothing published for this version

  58. 5.15.0-integration-fix-sqlite-d1-max-bind-values.422 May 2024pre-release

    Nothing published for this version

  59. 5.15.0-integration-fix-sqlite-d1-max-bind-values.322 May 2024pre-release

    Nothing published for this version

  60. 5.15.0-integration-fix-sqlite-d1-max-bind-values.222 May 2024pre-release

    Nothing published for this version