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. 4.16.0-dev.3812 Jun 2023pre-release

    Nothing published for this version

  2. 4.16.0-dev.379 Jun 2023pre-release

    Nothing published for this version

  3. 4.16.0-dev.369 Jun 2023pre-release

    Nothing published for this version

  4. 4.16.0-dev.358 Jun 2023pre-release

    Nothing published for this version

  5. 4.16.0-dev.348 Jun 2023pre-release

    Nothing published for this version

  6. 4.16.0-dev.338 Jun 2023pre-release

    Nothing published for this version

  7. 4.16.0-dev.328 Jun 2023pre-release

    Nothing published for this version

  8. 4.16.0-dev.317 Jun 2023pre-release

    Nothing published for this version

  9. 4.16.0-dev.307 Jun 2023pre-release

    Nothing published for this version

  10. 4.16.0-dev.297 Jun 2023pre-release

    Nothing published for this version

  11. 4.16.0-dev.287 Jun 2023pre-release

    Nothing published for this version

  12. 4.16.0-dev.277 Jun 2023pre-release

    Nothing published for this version

  13. 4.16.0-dev.267 Jun 2023pre-release

    Nothing published for this version

  14. 4.16.0-dev.256 Jun 2023pre-release

    Nothing published for this version

  15. 4.16.0-dev.246 Jun 2023pre-release

    Nothing published for this version

  16. 4.16.0-dev.235 Jun 2023pre-release

    Nothing published for this version

  17. 4.16.0-dev.225 Jun 2023pre-release

    Nothing published for this version

  18. 4.16.0-dev.215 Jun 2023pre-release

    Nothing published for this version

  19. 4.16.0-dev.205 Jun 2023pre-release

    Nothing published for this version

  20. 4.16.0-dev.195 Jun 2023pre-release

    Nothing published for this version

  21. 4.16.0-dev.185 Jun 2023pre-release

    Nothing published for this version

  22. 4.16.0-dev.175 Jun 2023pre-release

    Nothing published for this version

  23. 4.16.0-dev.165 Jun 2023pre-release

    Nothing published for this version

  24. 4.16.0-dev.155 Jun 2023pre-release

    Nothing published for this version

  25. 4.16.0-dev.142 Jun 2023pre-release

    Nothing published for this version

  26. 4.16.0-dev.132 Jun 2023pre-release

    Nothing published for this version

  27. 4.16.0-dev.122 Jun 2023pre-release

    Nothing published for this version

  28. 4.16.0-dev.112 Jun 2023pre-release

    Nothing published for this version

  29. 4.16.0-dev.102 Jun 2023pre-release

    Nothing published for this version

  30. 4.16.0-dev.92 Jun 2023pre-release

    Nothing published for this version

  31. 4.16.0-dev.81 Jun 2023pre-release

    Nothing published for this version

  32. 4.16.0-dev.71 Jun 2023pre-release

    Nothing published for this version

  33. 4.16.0-dev.61 Jun 2023pre-release

    Nothing published for this version

  34. 4.16.0-dev.531 May 2023pre-release

    Nothing published for this version

  35. 4.16.0-dev.430 May 2023pre-release

    Nothing published for this version

  36. 4.16.0-dev.330 May 2023pre-release

    Nothing published for this version

  37. 4.16.0-dev.230 May 2023pre-release

    Nothing published for this version

  38. 4.16.0-dev.130 May 2023pre-release

    Nothing published for this version

  39. 4.15.030 May 2023
    Release notes

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

    Highlights

    For this release, we focused on fixing bugs and making smaller quality-of-life improvements.

    Support for custom arguments for prisma db seed

    This release adds support for defining and passing arbitrary arguments to prisma db seed. This creates the opportunity for you to define your own arguments in your seed file that you could pass to the prisma db seed command. A few example use-cases include, but are not limited to:

    • Seeding different data in different environments
    • Partially seeding data in some tables

    Here is an example seed.ts file that defines custom arguments for seeding different data in different environments:

    // prisma/seed.ts
    import { parseArgs } from "node:util";
    
    const options = {
      environment: { type: 'string', },
    }
    
    async function main() {
      const { values: { environment } } = parseArgs({ options })
      
      switch (environment) {
        case "development":
          /** do something for development */
          break;
        case "test":
          /** do something  for test  environment */
          break;
        default:
          break;
      }
    }
    
    main()
    

    You can then provide the environment argument when executing the seed script as follows:

    npx prisma db seed -- --environment development
    

    Let us know what you think, share example usage of this feature, and create a bug report if you run into any issues.

    Improved error messages when Query Engine file is not found

    This release improves the error messages returned by Prisma Client when the Query Engine file is not found. A few reasons the Query Engine file might be missing from your application bundle include when:

    • The downloaded Query Engine doesn’t match the runtime/ target platform your application is running on.
    • The Query Engine is not copied to your final application bundle during the build step.

    We hope these error messages are helpful while debugging your application.

    Prisma VS Code extension improvements

    In this release, we made a few improvements to our VS Code extension:

    1. Updated the file system watcher that is responsible for restarting the TypeScript server when prisma generate is run to ensure the types are in sync

      Note:

      • This new approach is currently only available on Windows and Linux. We plan on adding support for the new file system watcher on macOS soon.
      • This requires both Prisma CLI & VS code extension version 4.15.0 or higher
    2. Added Quick Fixes action for unique identifiers for MongoDB to add the @map("_id") attribute function when it’s missing on an identifier field

      https://user-images.githubusercontent.com/29753584/239030357-2b6613bf-b6b5-48f2-a2df-b93df0692fda.mov

    3. Support for renaming symbols for composite types and views

      https://user-images.githubusercontent.com/33921841/242042225-87dfee9b-0698-4e1d-b05e-5cb0b8ab1349.mov

    Fixes and improvements

    Prisma Client

    Prisma Migrate

    Language tools (e.g. VS Code)

    Credits

    Huge thanks to @RobertCraigie, @KhooHaoYit, @art049, @luxaritas, @mrazauskas, @maxmartynov, @haneenmahd for helping!

    📺 Join us for another "What's new in Prisma" live stream

    Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" live stream.

    The stream takes place on YouTube on Thursday, June 1 at 5 pm Berlin | 8 am San Francisco.

    Open source →
  40. 4.15.0-integration-windows-portability.617 May 2023pre-release

    Nothing published for this version

  41. 4.15.0-integration-windows-portability.517 May 2023pre-release

    Nothing published for this version

  42. 4.15.0-integration-windows-portability.417 May 2023pre-release

    Nothing published for this version

  43. 4.15.0-integration-windows-portability.317 May 2023pre-release

    Nothing published for this version

  44. 4.15.0-integration-windows-portability.217 May 2023pre-release

    Nothing published for this version

  45. 4.15.0-integration-windows-portability.117 May 2023pre-release

    Nothing published for this version

  46. 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.316 May 2023pre-release

    Nothing published for this version

  47. 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.216 May 2023pre-release

    Nothing published for this version

  48. 4.15.0-integration-search-location-datamodel-path-and-dirnamedotdot.116 May 2023pre-release

    Nothing published for this version

  49. 4.15.0-integration-search-location-datamodel-path.416 May 2023pre-release

    Nothing published for this version

  50. 4.15.0-integration-search-location-datamodel-path.316 May 2023pre-release

    Nothing published for this version

  51. 4.15.0-integration-search-location-datamodel-path.216 May 2023pre-release

    Nothing published for this version

  52. 4.15.0-integration-search-location-datamodel-path.116 May 2023pre-release

    Nothing published for this version

  53. 4.15.0-integration-os-edge-client.111 May 2023pre-release

    Nothing published for this version

  54. 4.15.0-integration-generator-error-handling.1925 May 2023pre-release

    Nothing published for this version

  55. 4.15.0-integration-generator-error-handling.1824 May 2023pre-release

    Nothing published for this version

  56. 4.15.0-integration-generator-error-handling.1724 May 2023pre-release

    Nothing published for this version

  57. 4.15.0-integration-generator-error-handling.1624 May 2023pre-release

    Nothing published for this version

  58. 4.15.0-integration-generator-error-handling.1524 May 2023pre-release

    Nothing published for this version

  59. 4.15.0-integration-generator-error-handling.1423 May 2023pre-release

    Nothing published for this version

  60. 4.15.0-integration-generator-error-handling.1323 May 2023pre-release

    Nothing published for this version