Skip to content

Releases: medz/prisma-dart

orm_flutter_ios-v0.0.3

29 Nov 10:51
Compare
Choose a tag to compare
  • Upgrade Prisma CABI engine to v6.0.0.

orm_flutter_android v0.0.2

29 Nov 10:50
Compare
Choose a tag to compare
  • Upgrade Prisma CABI engine to v6.0.0.

Flutter Integration v0.5.0

29 Nov 15:42
9de30ea
Compare
Choose a tag to compare

To install Prisma Flutter Integration v0.5.0 run this command

dart pub add orm_flutter:^0.5.0

Or update your pubspec.yaml file:

dependencies:
  orm_flutter: ^0.5.0

What's New

  • Upgrade Prisma CABI engine to v6.0.0
  • Support Swift Package Manager

Full Changelog: orm_flutter_android-v0.0.2...orm_flutter-v0.5.0

Prisma Dart v5.2.1 & Flutter Integration v0.4.0

03 Nov 14:31
Compare
Choose a tag to compare

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

dart pub add orm:^5.2.1

Otherwise, update your pubspec.yaml file:

dependencies:
  orm: ^5.2.1

Flutter Integration upgrade to v0.4.0

dependencies:
  orm_flutter: ^0.4.0

What's New

  • bug: Fixed an issue where unknown errors from the binary engine query were not being properly thrown as exceptions.
  • BREAKING CHANGE: Engine is no longer implemented internally, only forwards platform-specific implementations, with iOS and Android support currently implemented.

Optimizations

Now orm_flutter no longer implements the engine itself, but forwards platform-specific engine implementations.

Implemented orm_flutter_ffi for Prisma query engine (CABI) implementation:

  • orm_flutter_android: Dynamic library for Android platform.
  • orm_flutter_ios: Dynamic library for iOS platform.

Note

Why split Flutter integration?
Previously, Flutter integration was provided in the orm_flutter package and only enabled interaction with Prisma query engines (CABI).

Now, it has become universal, and is expected to enable better integration with macOS, Windows, Linux, and the Web in the future.

The most important thing is that the integration method of the Android platform has been optimized. Previously, cmake was used to dynamically download the engine when running flutter run or flutter build. Now the engine is included in the integrated specific platform, which greatly speeds up the compilation speed without additional network requirements.

Flutter Integration v0.3.1

02 Nov 07:05
0c04035
Compare
Choose a tag to compare

To install Prisma Flutter Integration v0.3.1 run this command

dart pub add orm_flutter:^0.3.1

Or update your pubspec.yaml file:

dependencies:
  orm_flutter: ^0.3.1

What's New

  • bug: Fixed an issue where a transaction was not committed, Thx @Joschiller REF #443
  • upstream: Upgrade CABI engine to bf0e5e8a04cada8225617067eaa03d041e2bba36 (v5.21.1)

Notes

After upgrading the orm_flutter version, please run the flutter clean command.

orm-v5.2.0+orm_flutter-v0.3.0

09 Oct 03:40
59c626e
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency lints to v5 by @renovate in #429
  • chore(deps): update dependency flutter_lints to v5 by @renovate in #430
  • project to pub workspace by @medz in #433
  • BREAKING CHANGE: Upgrade the Dart SDK min version to ^3.5.0

Full Changelog: orm-v5.1.1...orm-v5.2.0+orm_flutter-v0.3.0

Prisma Dart v5.1.1

17 Sep 11:42
Compare
Choose a tag to compare

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

dart pub add orm:^5.1.1

Or update your pubspec.yaml file:

dependencies:
  orm: ^5.1.1

What's Changed

  • fix: primitive type fields cannot be nullable - #427

Flutter Integration v0.2.0

15 Sep 04:11
Compare
Choose a tag to compare

To install Prisma Flutter Integration v0.2.0 run this command

dart pub add orm_flutter:^0.2.0

Or update your pubspec.yaml file:

dependencies:
  orm_flutter: ^0.2.0

What's Changed

  • deps: Upgrade the webfetch to ^0.1.0 version
  • upstream: Adapt the orm package 5.*.* version

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