Prisma1 Versions Save

? Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB) [deprecated]

1.32.0

5 years ago

1.31.2

5 years ago

Fixes

Due to unwanted behavior in NPM, we create a separate release to have the latest version on @latest again.

1.30.2

5 years ago

This is a maintenance release to bring a patch to an older Prisma version that does not enforce the Datamodel version 1.1 yet.

Fixes

  • don't create a table for a scalar list if it exists already
  • Prisma did not work well with databases that lowercased table names e.g. MySQL on Windows. Introduced the env var LOWERCASED_TABLE_NAMES=1 that works around this issue.

1.31.1

5 years ago

Fixes

1.32.0-beta

5 years ago

Breaking Changes

The new datamodel syntax introduced in this release is a breaking change. Read the announcement article or learn how to upgrade to the new datamodel version.

Features

  • This release features an improved version of the datamodel syntax. It provides more control over the database layout that Prisma creates. Some of the new features include:
    • Specify whether a relation should use a relation table or foreign keys
    • Model/field names can differ from the names of the underlying tables/columns
    • Use any field as id field and "bring your own ID"
    • Use any field as createdAt or updatedAt fields
  • Introspection for MySQL (https://github.com/prisma/prisma/issues/2506)

Fixes

  • fd2b00a1fdc82007c943c5f831a5c56e5656a4e3 fix(missing-service): create if service does not exist for non-local servers (https://github.com/prisma/prisma-cloud-feedback/issues/205)
  • c2929de5fc9b11d62526be537987519abae0be6e fix(init-directory): lazy create directory (https://github.com/prisma/prisma/issues/4072)
  • Fix compatibility with MariaDB (https://github.com/prisma/prisma/issues/4367)
  • a6878e9523f993c1645782ac4a6b3be0c79d4fdb fix(mongo): add test for embedded type
  • 203642d87c16fd1186aaedb6e318cde0c7400e69 fix(wording): docker-compose file
  • 489f3254db98a0772dde9ab5c9dddd26f9ea9d73 fix(mongo): more forgiving introspection
  • 1fa33f39ad3b1ec80255bce8e3013971affbc698 CLI/Datamodel: Parser for postgres now respects createdAt, updatedAt, id directives
  • e3d50e08f4b36a9d97c47c3c9440d596ce77cd34 feat(warn): export and import

1.31.0

5 years ago

Breaking Changes

The new datamodel syntax introduced in this release is a breaking change. Read the announcement article or learn how to upgrade to the new datamodel version.

Features

  • This release features an improved version of the datamodel syntax. It provides more control over the database layout that Prisma creates. Some of the new features include:
    • Specify whether a relation should use a relation table or foreign keys
    • Model/field names can differ from the names of the underlying tables/columns
    • Use any field as id field and "bring your own ID"
    • Use any field as createdAt or updatedAt fields
  • Introspection for MySQL (https://github.com/prisma/prisma/issues/2506)

Fixes

  • fd2b00a1fdc82007c943c5f831a5c56e5656a4e3 fix(missing-service): create if service does not exist for non-local servers (https://github.com/prisma/prisma-cloud-feedback/issues/205)
  • c2929de5fc9b11d62526be537987519abae0be6e fix(init-directory): lazy create directory (https://github.com/prisma/prisma/issues/4072)
  • Fix compatibility with MariaDB (https://github.com/prisma/prisma/issues/4367)
  • a6878e9523f993c1645782ac4a6b3be0c79d4fdb fix(mongo): add test for embedded type
  • 203642d87c16fd1186aaedb6e318cde0c7400e69 fix(wording): docker-compose file
  • 489f3254db98a0772dde9ab5c9dddd26f9ea9d73 fix(mongo): more forgiving introspection
  • 1fa33f39ad3b1ec80255bce8e3013971affbc698 CLI/Datamodel: Parser for postgres now respects createdAt, updatedAt, id directives
  • e3d50e08f4b36a9d97c47c3c9440d596ce77cd34 feat(warn): export and import

1.30.1

5 years ago

Fixes

Features

1.31.0-beta

5 years ago

Fixes

  • fd2b00a1fdc82007c943c5f831a5c56e5656a4e3 fix(missing-service): create if service does not exist for non-local servers
  • c2929de5fc9b11d62526be537987519abae0be6e fix(init-directory): lazy create directory

1.30.0

5 years ago

Fixes

  • fd2b00a1fdc82007c943c5f831a5c56e5656a4e3 fix(missing-service): create if service does not exist for non-local servers
  • c2929de5fc9b11d62526be537987519abae0be6e fix(init-directory): lazy create directory
  • 1946fbf3e72ea4f0bf833cae9a3bd3a4fb9d6e98 introspection: fix tests, render scalarList by default
  • 4ffbd97595237c2d7c5d24bbf0fea952ac15de72 fix executeRaw-based introspection
  • 3c4e34728c0130e7eb6baec9fc7fe2af81d67b0c introspection: disable indeces (not supported yet)

Breaking Changes

  • Introspection: Field names are now camel cased by default 8b9ccf8dfb09d0d40d17a81579c62ecd88dc5a42
  • Introspection: createdAt, updatedAt and id is generated even if not explicitly defined in datamodel v1 48432052be14c0c4e55e34fef6bde3470f50c536

1.29.2

5 years ago

Fixes