medz / prisma-dart

Prisma Client Dart is an auto-generated type-safe ORM. It uses Prisma Engine as the data access layer and is as consistent as possible with the Prisma Client JS/TS APIs.
https://prisma.pub
BSD 3-Clause "New" or "Revised" License
436 stars 29 forks source link

chore(deps): update dependency ffigen to v12 #368

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
ffigen (source) dev_dependencies major ^11.0.0 -> ^12.0.0

Release Notes

dart-lang/native (ffigen) ### [`v12.0.0`](https://togithub.com/dart-lang/native/blob/HEAD/pkgs/ffigen/CHANGELOG.md#1200) - Global variables are now compatible with the `ffi-native` option. - Exposing symbol addresses of functions and globals is now compatible with the `ffi-native` option. - Add `retainAndReturnPointer` method to ObjC objects and blocks, and add `castFromPointer` method to blocks. - Add `-Wno-nullability-completeness` as default compiler option for MacOS. - **Breaking change**: Use `package:objective_c` in ObjC bindings. - ObjC packages will have a flutter dependency (until [https://github.com/dart-lang/native/issues/1068](https://togithub.com/dart-lang/native/issues/1068)ues/1068 is fixed). - Core classes such as `NSString` have been moved intpu `package:objective_c`. - ObjC class methods don't need the ubiquitous `lib` argument anymore. In fact, ffigen won't even generate the native library class (unless it needs to bind top level functions without using `@Native`). It is still necessary to `DynamicLibrary.open` the dylib though, to load the classes and methods. - Adapting to this change: - Update ffigen and re-run the code generation. If the generated code no longer contains the native library class, it means it isn't needed anymore. So `final lib = FooNativeLib(DynamicLibrary.open('foo.dylib'));` must be changed to `DynamicLibrary.open('foo.dylib');`. - Regardless of whether the native library class still exists, delete the `lib` parameter from all ObjC object constructors and static method calls and block constructors. - If core ObjC classes such as `NSString` are being used, `package:objective_c` must be imported, as they won't be exported by the generated bindings. - Add --\[no-]format option to ffigen command line, which controls whether the formatting step happens. Defaults to true. - Delete Dart functions associated with ObjC closure blocks when the block is destroyed. Fi[https://github.com/dart-lang/native/issues/204](https://togithub.com/dart-lang/native/issues/204)/204 - Reduce cursor definition not found logs when `structs/unions` -> `dependency-only` is set to `opaque`.

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

netlify[bot] commented 1 month ago

Deploy Preview for prisma-dart ready!

Name Link
Latest commit 0a7779c9168ee411d4376077320db108b77188c5
Latest deploy log https://app.netlify.com/sites/prisma-dart/deploys/6656051defb16b0007b75dad
Deploy Preview https://deploy-preview-368--prisma-dart.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.