Packages

@prisma/pg-worker

6.9.0 · 3 Jun 2025Apache-2.012.5k / weekRepositoryHomepagenpmAtom feed

Your version

34 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 6.x · latest line
  2. 6.9.0

    3 Jun 2025
    • Persists your databases across prisma dev invocations.

    • Enables you to have multiple local Prisma Postgres instances running at the same time.

    • Running prisma init now uses local Prisma Postgres by default.

  3. 6.8.2

    16 May 2025

    Today, we are issuing the 6.8.2 patch release. It fully resolves an issue with the prisma init and prisma dev commands for some Windows users who were still facing problems after the previous incomplete fix in version 6.8.1.

  4. 6.8.1

    15 May 2025

    Today, we are issuing the 6.8.1 patch release. It fixes an issue with the prisma init and prisma dev commands on Windows.

  5. 6.8.0

    15 May 2025
    • Checking the status of your migrations (e.g. telling you if migrations haven't been applied)

    • Creating and running schema migrations for you

    • Authenticating you with the Prisma Console

  6. 6.7.0

    29 Apr 2025
  7. 6.6.0

    8 Apr 2025
    • breaking

      Pass the the --schema option to your Prisma CLI command (e.g. prisma migrate dev --schema ./prisma/schema)

    • breaking

      Set the prisma.schema field in package.json:

      // package.json
      {
        "prisma": {
          "schema": "./schema"
        }
      }
    • breaking

      Set the schema property in prisma.config.ts:

      import path from 'node:path'
      import type { PrismaConfig } from 'prisma'
      
      export default {
        earlyAccess: true,
        schema: path.join('prisma', 'schema'),
      } satisfies PrismaConfig<Env>
  8. 6.5.0

    11 Mar 2025
  9. 6.4.1

    20 Feb 2025

    Today, we are issuing the 6.4.1 patch release. It fixes a few issues with the NPS survey and makes it respect the --no-hints CLI flag.

  10. 6.4.0

    18 Feb 2025

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

  11. 6.3.1

    4 Feb 2025

    This patch releases introduces improvements to the prisma init output when invoked to with the --db option.

  12. 6.3.0

    28 Jan 2025
  13. 6.2.1

    8 Jan 2025

    Today we are releasing the 6.2.1 patch release to address an issue with some of the omitApi preview feature checks having been accidentally omitted when making the feature GA. Now it is fully functional without the preview feature flag.

  14. 6.2.0

    7 Jan 2025
  15. 6.1.0

    17 Dec 2024
  16. 6.0.1

    2 Dec 2024
  17. 6.0.0

    28 Nov 2024
    • breaking

      For Node.js 18 the minimum supported version is 18.18.0

    • breaking

      For Node.js 20 the minimum supported version is 20.9.0

    • breaking

      For Node.js 22 the minimum supported version is 22.11.0

  18. 5.x
  19. 5.22.0

    5 Nov 2024
  20. 5.21.1

    17 Oct 2024
    • Fixed a bug where migrations were not using shadow database correctly in some edge cases

  21. 5.21.0

    15 Oct 2024
  22. 5.20.0

    24 Sep 2024
  23. 5.19.1

    2 Sep 2024

    Today, we are issuing the 5.19.1 patch release.

  24. 5.19.0

    27 Aug 2024
    • Make sure that you have the latest version of prisma and @prisma/client installed:

      npm install -D prisma@latest
      npm install @prisma/client@latest
    • Enable the typedSql Preview feature in your Prisma Schema.

         generator client {
           provider = "prisma-client-js"
           previewFeatures = ["typedSql"]
         }
    • Create a sql subdirectory of your prisma directory.

      mkdir -p prisma/sql
  25. 5.18.0

    6 Aug 2024
  26. 5.17.0

    16 Jul 2024
  27. 5.16.2

    9 Jul 2024
  28. 5.16.0

    25 Jun 2024
    • When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder. This means that if you have a generator block in /project/prisma/schema/config/generator.prisma with an output of ./foo the output will be resolved to /project/prisma/schema/config/foo rather than /project/prisma/foo. The path to a SQLite file will be resolved in the same manner.

    • We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.

  29. 5.15.0

    4 Jun 2024
    • 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"]
      }
      
    • Create a schema subdirectory under your prisma directory.

  30. 5.14.0

    14 May 2024
  31. 5.13.0

    23 Apr 2024
  32. 5.12.1

    4 Apr 2024
  33. 5.12.0

    2 Apr 2024
  34. 5.11.0

    12 Mar 2024
    • Vercel Edge Functions and Vercel Edge Middleware

    • Cloudflare Workers and Cloudflare Pages

    • Neon Serverless Driver (for PostgreSQL databases hosted via Neon)