Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

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

  • 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:
  • Fix a bug 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/11361136
  • 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 caused by
    mismatches between ObjC and Dart's inheritance rules.

v15.0.0

  • 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 Dahttps://github.com/dart-lang/native/issues/1571ues/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/11801180
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

github-actions bot commented Nov 15, 2024

@renovate renovate bot force-pushed the renovate/ffigen-16.x branch from d0b6284 to 1915b32 Compare December 4, 2024 15:35
@renovate renovate bot changed the base branch from master to develop December 4, 2024 15:35
Copy link
Contributor Author

renovate bot commented Jan 4, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants