This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
Releases: prisma/prisma1
Releases · prisma/prisma1
Release 1.32.0 (2019-04-30)
- fd2b00a fix(missing-service): create if service does not exist for non-local servers (prisma/prisma-1-cloud-feedback#205)
- c2929de fix(init-directory): lazy create directory (prisma/prisma#4072)
- Fix compatibility with MariaDB (prisma/prisma#4367)
- bc7d7a8 fix(ts-client): lenient input optionals
- cfd7a4c [BREAKING] fix(ts-client): nullable types
Release 1.31.2 (2019-04-29)
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)
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)
Fixes
- custom names for id fields did not work in all cases (https://github.com/prisma/prisma/pull/4398)
Release 1.32.0-Beta (2019-04-17)
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
orupdatedAt
fields
- Introspection for MySQL (prisma/prisma#2506)
Fixes
- fd2b00a fix(missing-service): create if service does not exist for non-local servers (prisma/prisma-1-cloud-feedback#205)
- c2929de fix(init-directory): lazy create directory (prisma/prisma#4072)
- Fix compatibility with MariaDB (prisma/prisma#4367)
- a6878e9 fix(mongo): add test for embedded type
- 203642d fix(wording): docker-compose file
- 489f325 fix(mongo): more forgiving introspection
- 1fa33f3 CLI/Datamodel: Parser for postgres now respects createdAt, updatedAt, id directives
- e3d50e0 feat(warn): export and import
Release 1.31.0 (2019-04-17)
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
orupdatedAt
fields
- Introspection for MySQL (prisma/prisma#2506)
Fixes
- fd2b00a fix(missing-service): create if service does not exist for non-local servers (prisma/prisma-1-cloud-feedback#205)
- c2929de fix(init-directory): lazy create directory (prisma/prisma#4072)
- Fix compatibility with MariaDB (prisma/prisma#4367)
- a6878e9 fix(mongo): add test for embedded type
- 203642d fix(wording): docker-compose file
- 489f325 fix(mongo): more forgiving introspection
- 1fa33f3 CLI/Datamodel: Parser for postgres now respects createdAt, updatedAt, id directives
- e3d50e0 feat(warn): export and import
Release 1.30.1 (2019-04-11)
Fixes
- subscription session were not correctly closed in some cases (prisma/prisma#4239)
- default migration values did not work for id types (prisma/prisma#4333)
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)
Release 1.30.0 (2019-04-04)
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
Release 1.29.2 (2019-03-27)
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.