MrCyjaneK / monero_c

GNU Lesser General Public License v3.0
4 stars 4 forks source link

chore(deps): update dependency ffigen to v16 #89

Open renovate[bot] opened 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Type Update Change
ffigen (source) dev_dependencies major ^14.0.0 -> ^16.0.0

Release Notes

dart-lang/native (ffigen) ### [`v16.0.0`](https://redirect.github.com/dart-lang/native/blob/HEAD/pkgs/ffigen/CHANGELOG.md#1600) - Ensure all protocols referenced in bindings are available at runtime. - Use `package:dart_style` directly to format generated Dart code, rather than subprocessing to `dart format`. - Use package:objective_c 4.0.0 - Fix various small bugs todo with config filters: - [https://github.com/dart-lang/native/issues/1582](https://redirect.github.com/dart-lang/native/issues/1582) - [https://github.com/dart-lang/native/issues/1594](https://redirect.github.com/dart-lang/native/issues/1594) - [https://github.com/dart-lang/native/issues/1595](https://redirect.github.com/dart-lang/native/issues/1595) - Fix [a bug](https://redirect.github.com/dart-lang/native/issues/1701) where nullable typealiases were treated as non-null. - Allow static and instance methods to have the same name: [https://github.com/dart-lang/native/issues/1136](https://redirect.github.com/dart-lang/native/issues/1136)1136 - **Breaking change**: Change the way ObjC categories are generated. Instead of inserting their methods into the interface, generate Dart extension methods. For instance methods this makes no difference to user code (as long as the extension methods are imported correctly). But for static methods it means `MyInterface.staticMethod` must change to `MyCategory.staticMethod`. Categories are included/excluded by the `objc-categories` config entry. - Add `include-transitive-objc-interfaces`, `include-transitive-objc-protocols`, and `include-transitive-objc-categories` config flags, which control whether transitively included ObjC interfaces, protocols, and categories are generated. - **Breaking change**: `include-transitive-objc-interfaces` defaults to false, which changes the default behavior from pulling in all transitive deps, to generating them as stubs. `include-transitive-objc-protocols` defaults to false, and `include-transitive-objc-categories` defaults to true, but these both replicate the existing behavior. - Fix [bugs](https://redirect.github.com/dart-lang/native/issues/1220) caused by mismatches between ObjC and Dart's inheritance rules. ### [`v15.0.0`](https://redirect.github.com/dart-lang/native/blob/HEAD/pkgs/ffigen/CHANGELOG.md#1500) - Bump minimum Dart version to 3.4. - Dedupe `ObjCBlock` trampolines to reduce generated ObjC code. - Update to latest `package:objective_c`. - ObjC objects now include the methods from the protocols they implement. Both required and optional methods are included. Optional methods will throw an exception if the method isn't implemented. - **Breaking change**: Only generate ObjC protocol implementation bindings for protocols that are included by the config filters. This is breaking because previously super protocols would automatically get implementation bindings, rather than just being incorporated into the child protocol. If you want those implementation bindings, you may need to add the super protocol to your `objc-protocols` filters. - Fix a bug where ObjC listener blocks could be deleted after being invoked by ObjC but before the invocation was received by Da[https://github.com/dart-lang/native/issues/1571](https://redirect.github.com/dart-lang/native/issues/1571)ues/1571 - `sort:` config option now affects ObjC interface/protocol methods. - Fix a bug where `NSRange` was not being imported from package:objective_c: [https://github.com/dart-lang/native/issues/1180](https://redirect.github.com/dart-lang/native/issues/1180)1180 - **Breaking change**: Return structs from ObjC methods by value instead of taking a struct return pointer.

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 was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 1 week ago

download artifacts #11849504677