Skip to content

Releases: medz/prisma-dart

Prisma Dart client v4.0.0-alpha.1

03 Jan 08:33
Compare
Choose a tag to compare
Pre-release

To install Prisma Dart client v4.0.0-alpha.1 run:

dart pub add orm:4.0.0-alpha.1

Or update your pubspec.yaml file:

dependencies:
  orm: 4.0.0-alpha.1

What's Changed

  1. Refactor the entire client generator
  2. PrismaClient is now generated by the generator
  3. Ability to operate transactions on your own
  4. Use binary engine by default
  5. Supports full select and include features.

Prisma Dart client v4.0.0-alpha.0

27 Nov 09:51
Compare
Choose a tag to compare
Pre-release

To install Prisma Dart client v4.0.0-alpha.0 run:

# If you are using Dart
dart pub add orm:4.0.0-alpha.0

# Or if you are using Flutter
flutter pub add orm:4.0.0-alpha.0

To upgrade to Prisma Dart client v4.0.0-alpha.0, Please follow the announcements and update your pubspec.yaml file:

dependencies:
  orm: 4.0.0-alpha.0

Read Prisma Dart Client v4.0.0-alpha.0 release notes on the Prisma Dart discussions

What's Changed

  • Whole project refactoring
  • Remove any JSON serialization tool, now it's ready to use by just generating the client without any other dependencies and extra commands
  • Switch from GraphQL protocol to JSON protocol
  • Client takes a standalone Prisma engine instance
  • Client and all input/output types are standalone and can be distributed to any Dart platform
  • Add database field reference support
  • Support select feature (incomplete, currently only support rough one-level Model fields)
  • Support include feature (incomplete, currently only support rough one-level Model fields)
  • PrismaUnion regression, now can structure nested inputs of multiple parameters via union
  • PrismaNull regression, now support database null data setting
  • DMMF, generator helpers regression, no need to depend on other packages, can directly use orm as the base package for developing Dart Prisma ecosystem packages
  • Add Decimal type support (from decimal package, exported by orm proxy)

Prisma Dart client v3.4.5

27 Nov 13:50
Compare
Choose a tag to compare

To install Prisma Dart client v3.4.5, run the following command:

dart pub add orm

To update Prisma Dart client v3.4.5, update the orm dependency in your pubspec.yaml file.

dependencies:
  orm: ^3.4.5

What's Changed

  1. Bug: fix not working on Prisma 5.
  2. Bug: type 'Null' is not a subtype of type 'bool' in type cast. #273 #259
  3. Feature: Now, Copy current platform engine to output directory. #285

orm: v3.4.4

03 Jul 07:01
5ddf30b
Compare
Choose a tag to compare

3.4.4 (2023-07-03)

Bug Fixes

  • bump analyzer from 5.13.0 to 6.0.0 (c03aaa9)

orm: v3.4.3

30 May 16:04
abefa70
Compare
Choose a tag to compare

3.4.3 (2023-05-30)

Bug Fixes

  • type 'Null' is not a subtype of type 'String' in type cast (b28cd4e), closes #227

orm: v3.4.2

30 May 11:39
e1c9921
Compare
Choose a tag to compare

3.4.2 (2023-05-30)

Bug Fixes

  • generator: Fixed field kind enum type origin value (bc508a0), closes #225

orm-v3.4.1

30 May 03:51
Compare
Choose a tag to compare
chore: release 3.4.1

orm-v3.4.0

30 May 03:47
Compare
Choose a tag to compare

BREAKING CHANGE

  • Update Dart SDK to ^3.0.0
  • Generator: Adapt to upstream dependencies

orm: v3.3.2

23 May 09:47
2795df3
Compare
Choose a tag to compare

3.3.2 (2023-05-23)

Bug Fixes

  • generator: Json field short input type selection (dd904d7)

orm: v3.3.1

23 May 08:58
bf41020
Compare
Choose a tag to compare

3.3.1 (2023-05-23)

Bug Fixes