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. 3.13.0-dev.1213 Apr 2022pre-release

    Nothing published for this version

  2. 3.13.0-dev.1112 Apr 2022pre-release

    Nothing published for this version

  3. 3.13.0-dev.1012 Apr 2022pre-release

    Nothing published for this version

  4. 3.13.0-dev.912 Apr 2022pre-release

    Nothing published for this version

  5. 3.13.0-dev.811 Apr 2022pre-release

    Nothing published for this version

  6. 3.13.0-dev.78 Apr 2022pre-release

    Nothing published for this version

  7. 3.13.0-dev.67 Apr 2022pre-release

    Nothing published for this version

  8. 3.13.0-dev.57 Apr 2022pre-release

    Nothing published for this version

  9. 3.13.0-dev.47 Apr 2022pre-release

    Nothing published for this version

  10. 3.13.0-dev.36 Apr 2022pre-release

    Nothing published for this version

  11. 3.13.0-dev.26 Apr 2022pre-release

    Nothing published for this version

  12. 3.13.0-dev.16 Apr 2022pre-release

    Nothing published for this version

  13. 3.12.05 Apr 2022
    Release notes

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

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

    Major improvements and new features

    MongoDB is now Generally Available

    If you’ve been using MongoDB since it was in Preview, we'd like to say: Thank you! Your testing and feedback has been essential during the preview phase, and our MongoDB support is much better because of it.

    Today we’re proud to announce that MongoDB is now stable and production-ready. After upgrading to 3.12.0, you can remove the MongoDB preview flag in your schema:

     datasource db {
       provider = "mongodb"
       url      = env("DATABASE_URL")
     }
    
     generator client {
       provider        = "prisma-client-js"
    -  previewFeatures = ["mongoDb"]
     }
    

    We’ve been working hard towards this day ever since we launched MongoDB in Preview in July 2021.

    Here are some of the feature highlights we developed over this period:

    • Expressive and type-safe operations for querying MongoDB embedded documents
    • Thorough introspection support for using Prisma with existing MongoDB databases
    • Declarative index management right from your Prisma Schema with db push
    • Powerful raw query APIs to help you incrementally migrate to Prisma

    You can learn about these features in the release blog post, and more, in our freshly brewed MongoDB Guide. For newcomers to Prisma with MongoDB, we recommend you check out our Getting Started Guide.

    To celebrate this milestone, we invite you to join Prisma’s MongoDB Launch Week starting on April 25th. Enjoy a jam-packed week of exclusive workshops with plenty of opportunities to win free MongoDB Atlas credits and swag. It’s free to sign-up and available anywhere you have an internet connection.

    🚨 Please be aware that we made a few breaking changes to tie up loose ends before General Availability:

    We made some changes in the 3.11.1 patch release in case you missed it.

    Index support on composite type fields

    We also added support for adding indexes on embedded document fields in MongoDB. This means that you can now define a normal, unique, or full-text index in your schema.

    type Address {
      street String
      number Int
    }
    
    model User {
      id      Int     @id
      email   String
      address Address
    
      @@index([email, address.number])  /// normal index
      @@unique([email, address.street])  /// unique index
      @@fulltext([email, address.street]) /// full-text index
    }
    

    Note: Prisma Client does not yet fully support the feature for now. This will be rolled out in a future release.

    Improved Connection Pooling Resiliency

    In 3.12.0, we busted a ghost that has been bugging teams since the early days of the Prisma ORM. Under certain amounts of load, some people reported that the connection pool would sometimes drop connections or deadlock and not recover.

    After many sightings and a lot of head-scratching, we were finally able to reproduce the issue. This allowed us to narrow down the problem to one of our dependencies and fix the problem.

    To read the nitty gritty details of the problem and our solution, check out this issue.

    Fixes and improvements

    Prisma Client

    Prisma

    Prisma Migrate

    Language tools (e.g. VS Code)

    Prisma Engines

    Credits

    Huge thanks to @ever0de, @chronotc, @hayes, @maddhruv, @jasimon, @codesee-maps[bot], @andyrichardson, @xnerhu, @Josh-a-e, @dusandz for helping!

    💼 We're hiring!

    If you're interested in joining our growing team to help empower developers build data-intensive applications, Prisma is the place for you.

    We're looking for a Developer Success Engineer and Back-end Engineer: Prisma Data Platform.

    Feel free to read through the job descriptions and apply using the links provided.

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

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

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

    Open source →
  14. 3.12.0-integration-undici-4.823 Mar 2022pre-release

    Nothing published for this version

  15. 3.12.0-integration-undici-4.723 Mar 2022pre-release

    Nothing published for this version

  16. 3.12.0-integration-undici-4.623 Mar 2022pre-release

    Nothing published for this version

  17. 3.12.0-integration-undici-4.523 Mar 2022pre-release

    Nothing published for this version

  18. 3.12.0-integration-undici-4.423 Mar 2022pre-release

    Nothing published for this version

  19. 3.12.0-integration-undici-4.322 Mar 2022pre-release

    Nothing published for this version

  20. 3.12.0-integration-undici-4.222 Mar 2022pre-release

    Nothing published for this version

  21. 3.12.0-integration-undici-4.122 Mar 2022pre-release

    Nothing published for this version

  22. 3.12.0-integration-fix-yarn1-workspaces.924 Mar 2022pre-release

    Nothing published for this version

  23. 3.12.0-integration-fix-yarn1-workspaces.824 Mar 2022pre-release

    Nothing published for this version

  24. 3.12.0-integration-fix-yarn1-workspaces.723 Mar 2022pre-release

    Nothing published for this version

  25. 3.12.0-integration-fix-yarn1-workspaces.623 Mar 2022pre-release

    Nothing published for this version

  26. 3.12.0-integration-fix-yarn1-workspaces.522 Mar 2022pre-release

    Nothing published for this version

  27. 3.12.0-integration-fix-yarn1-workspaces.422 Mar 2022pre-release

    Nothing published for this version

  28. 3.12.0-integration-fix-yarn1-workspaces.321 Mar 2022pre-release

    Nothing published for this version

  29. 3.12.0-integration-fix-yarn1-workspaces.218 Mar 2022pre-release

    Nothing published for this version

  30. 3.12.0-integration-fix-yarn1-workspaces.118 Mar 2022pre-release

    Nothing published for this version

  31. 3.12.0-integration-fix-vercel-schema-caching.831 Mar 2022pre-release

    Nothing published for this version

  32. 3.12.0-integration-fix-vercel-schema-caching.731 Mar 2022pre-release

    Nothing published for this version

  33. 3.12.0-integration-fix-vercel-schema-caching.630 Mar 2022pre-release

    Nothing published for this version

  34. 3.12.0-integration-fix-vercel-schema-caching.530 Mar 2022pre-release

    Nothing published for this version

  35. 3.12.0-integration-fix-vercel-schema-caching.430 Mar 2022pre-release

    Nothing published for this version

  36. 3.12.0-integration-fix-vercel-schema-caching.330 Mar 2022pre-release

    Nothing published for this version

  37. 3.12.0-integration-fix-vercel-schema-caching.225 Mar 2022pre-release

    Nothing published for this version

  38. 3.12.0-integration-fix-vercel-schema-caching.125 Mar 2022pre-release

    Nothing published for this version

  39. 3.12.0-integration-chore-composite-filter-rewrite.123 Mar 2022pre-release

    Nothing published for this version

  40. 3.12.0-dev.484 Apr 2022pre-release

    Nothing published for this version

  41. 3.12.0-dev.474 Apr 2022pre-release

    Nothing published for this version

  42. 3.12.0-dev.464 Apr 2022pre-release

    Nothing published for this version

  43. 3.12.0-dev.454 Apr 2022pre-release

    Nothing published for this version

  44. 3.12.0-dev.444 Apr 2022pre-release

    Nothing published for this version

  45. 3.12.0-dev.431 Apr 2022pre-release

    Nothing published for this version

  46. 3.12.0-dev.421 Apr 2022pre-release

    Nothing published for this version

  47. 3.12.0-dev.411 Apr 2022pre-release

    Nothing published for this version

  48. 3.12.0-dev.401 Apr 2022pre-release

    Nothing published for this version

  49. 3.12.0-dev.391 Apr 2022pre-release

    Nothing published for this version

  50. 3.12.0-dev.3831 Mar 2022pre-release

    Nothing published for this version

  51. 3.12.0-dev.3730 Mar 2022pre-release

    Nothing published for this version

  52. 3.12.0-dev.3630 Mar 2022pre-release

    Nothing published for this version

  53. 3.12.0-dev.3530 Mar 2022pre-release

    Nothing published for this version

  54. 3.12.0-dev.3430 Mar 2022pre-release

    Nothing published for this version

  55. 3.12.0-dev.3330 Mar 2022pre-release

    Nothing published for this version

  56. 3.12.0-dev.3230 Mar 2022pre-release

    Nothing published for this version

  57. 3.12.0-dev.3130 Mar 2022pre-release

    Nothing published for this version

  58. 3.12.0-dev.3030 Mar 2022pre-release

    Nothing published for this version

  59. 3.12.0-dev.2930 Mar 2022pre-release

    Nothing published for this version

  60. 3.12.0-dev.2829 Mar 2022pre-release

    Nothing published for this version