Skip to content

Releases: medz/prisma-dart

orm-v5.1.0

15 Sep 07:40
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.1.0 run this command

dart pub add orm:^5.1.0

Or update your pubspec.yaml file:

dependencies:
  orm: ^5.1.0

What's Changed

  • upstream: Starting from Prisma v5.17.0, the new RAW raw SQL protocol has been enabled.
  • $raw: Now $raw.query returns the correct data type front, instead of dynamic.
  • $raw: $raw.execute now returns the number of rows affected as an int.
  • docs: Removed param from docs that are no longer supported by the Prisma CLI

QueryRaw performance improvements

We’ve changed the response format of queryRaw to decrease its average size which reduces serialization CPU overhead.

When querying large data sets, we expect you to see improved memory usage and up to 2x performance improvements.

‼️Important Tips

Starting from version v5.1.0, only Prisma CLI v5.17.0 or higher is supported!

orm-v5.0.6

10 Sep 17:59
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.6 run this command

dart pub add orm:^5.0.6

Or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.6

What's Changed

  • deps: Upgrade the Dart SDK min version to ^3.4.0
  • deps: Upgrade path package version to ^1.9.0
  • deps: Upgrade code_builder package version to ^4.10.0
  • docs: Fixed generate via bun command for setup doc
  • fix: Error of restarting the engine every time a query is made

Full Changelog: orm-v5.0.5...orm-v5.0.6

Prisma Dart v5.0.5

04 Sep 06:48
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.5 run this command:

dart pub add orm:^5.0.5

or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.5

What's Changed

Full Changelog: orm-v5.0.4...orm-v5.0.5

‼️Important Tips

Please use Prisma CLI version 5.17.0 and do not upgrade to a higher version. The RAW protocol has been changed since version 5.18.0.

Prisma Dart is not yet adapted to the new protocol. If you do not use the RAW SQL function, you can upgrade with confidence.

Prisma Dart v5.0.4

24 Jun 15:42
Compare
Choose a tag to compare

What's Changed

  • doc: fix examples link by @monkeyWie in #402
  • fix(generator): Fixed <model>.fromJson not handling time strings by @medz in #405

New Contributors

Full Changelog: orm-v5.0.3...orm-v5.0.4

Prisma Dart v5.0.3

09 Jun 11:46
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.3 run this command:

dart pub add orm:^5.0.3

or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.3

What's Changed

  • BUG: Fixed binary engine copy location error.

Full Changelog: orm-v5.0.2+orm_flutter-v0.1.2...orm-v5.0.3

Prisma Dart v5.0.2 & Flutter integration 0.1.2

09 Jun 11:10
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.2 run this command:

dart pub add orm:^5.0.2

or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.2

FLutter integration:

dependencies:
  orm_flutter: ^0.1.2

What's Changed

  • Generator regressed to previous version
  • Prisma C-ABI query engine is provided by default in Flutter integration
  • Flutter integration Android downloads Prisma C-ABI query engine in cmake script

Full Changelog: orm-v5.0.2+orm_flutter-v0.1.2...orm-v5.0.2+orm_flutter-v0.1.2

Prisma Dart v5.0.1 & Flutter integration 0.1.1

09 Jun 07:46
6711cd4
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.1 run this command:

dart pub add orm:^5.0.1

or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.1

FLutter integration:

dependencies:
  orm_flutter: ^0.1.1

What's Changed

  • Remove the isProxy for Prisma.validateDatasourceURL utils.
  • When building the client, automatically download the Prisma C-ABI engine if engineType is flutter.

Full Changelog: orm-v5.0.0+orm_flutter-v0.1.0...orm-v5.0.1+orm_flutter-v0.1.1

Prisma Dart v5.0.0 & Flutter integration 0.1.0

06 Jun 20:18
Compare
Choose a tag to compare

To install Prisma ORM for Dart v5.0.0 run this command:

dart pub add orm:^5.0.0

or update your pubspec.yaml file:

dependencies:
  orm: ^5.0.0

FLutter integration:

dependencies:
  orm_flutter: ^0.1.0

"Prisma Dart v4 -> v5 & Flutter integration" Upgrade Guides

What's Changed

  • refactor: throws prisma client errors
  • refactor(engine): Refactoring binary engines
  • refactor(client): add base client and client options
  • feat(client): add env support
  • feat(client): add logging
  • refactor(Flutter integration): Refactoring the Flutter integration engine.

Full Changelog: orm-v4.4.0...orm-v5.0.0+orm_flutter-v0.1.0

orm_flutter-v0.0.6

04 Jun 18:56
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency ffigen to v12 by @renovate in #368
  • Support flutter android by @medz in #377
  • fix: Update null fields fail by @medz in #381
  • fix(orm_flutter): Fix downloading query engine before building by @medz in #387

Full Changelog: orm_flutter-v0.0.1...orm_flutter-v0.0.6

orm-v4.4.0

04 Jun 18:54
Compare
Choose a tag to compare

To install Prisma ORM for Dart v4.4.0 run this command:

dart pub add orm:4.4.0

or update your pubspec.yaml file:

dependencies:
  orm: ^4.4.0

What's Changed

  • fix(deps): update dependency webfetch to ^0.0.17 by @renovate in #383
  • feat(client): support createManyAndReturn model delegate method by @medz in #386

Full Changelog: orm-v4.3.0...orm-v4.4.0