Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Releases: prisma/prisma1

Release 1.32.0 (2019-04-30)

30 Apr 17:54
9e17a01
Compare
Choose a tag to compare

Release 1.31.2 (2019-04-29)

29 Apr 11:06
Compare
Choose a tag to compare

Fixes

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

Release 1.30.2 (2019-04-25)

25 Apr 12:42
Compare
Choose a tag to compare

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.

Release 1.31.1 (2019-04-18)

18 Apr 12:45
aa3ef65
Compare
Choose a tag to compare

Fixes

Release 1.32.0-Beta (2019-04-17)

17 Apr 15:14
Compare
Choose a tag to compare
Pre-release

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 (prisma/prisma#2506)

Fixes

Release 1.31.0 (2019-04-17)

17 Apr 15:13
Compare
Choose a tag to compare

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 (prisma/prisma#2506)

Fixes

Release 1.30.1 (2019-04-11)

11 Apr 11:36
11e3db7
Compare
Choose a tag to compare

Fixes

Features

  • a Prisma project now exposes the currently deployed datamodel in the route /_datamodel (prisma/prisma#4358)

Release 1.31.0-Beta (2019-04-04)

04 Apr 08:03
Compare
Choose a tag to compare
Pre-release

Fixes

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

Release 1.30.0 (2019-04-04)

04 Apr 08:03
Compare
Choose a tag to compare

Fixes

  • fd2b00a fix(missing-service): create if service does not exist for non-local servers
  • c2929de fix(init-directory): lazy create directory
  • 1946fbf introspection: fix tests, render scalarList by default
  • 4ffbd97 fix executeRaw-based introspection
  • 3c4e347 introspection: disable indeces (not supported yet)

Breaking Changes

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

Release 1.29.2 (2019-03-27)

27 Mar 13:13
a1d0f84
Compare
Choose a tag to compare

Fixes

  • prisma/prisma#4262 Validate that type names defined by the user in the datamodel do not overlap with names of types Prisma autogenerates
  • prisma/prisma#4266 Error if onDelete: CASCADE is used with the Mongo connector since this feature is not available for that connector.