Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2025

Bumps ffigen from 19.1.0 to 20.1.1.

Release notes

Sourced from ffigen's releases.

package:ffigen v20.1.1

  • Update tests and examples now that package:objective_c is using native assets.

package:ffigen v20.1.0

  • Add xcodeUri, iosSdkUri, and macSdkUri, to mirror xcodePath, iosSdkPath, and macSdkPath.
  • Export some missing elements from the config API.
  • Provide more convenience utils for building FFIgen configs: Declarations.excludeAll, Declarations.includeAll, Declarations.includeSet, Declarations.includeAllMembers, Declarations.includeMemberSet, Declarations.useOriginalName, Declarations.renameWithMap, Declarations.useMemberOriginalName, and Declarations.renameMemberWithMap.
  • Fix a bug where function pointer param names could collide with keywords.
  • Fix a bug where unnamed enum constants were being multiply defined.
  • Fix a bug in imported NS_OPTIONS enums.
  • Fix a bug in the internal variables generated by function bindings.
  • Fix a bug where types imported from package:objective_c could be renamed.

ffigen-v20.0.0

  • Breaking change: Completely rewrite the public Dart API for FFIgen. The new API is focused on a declartive configuration: FfiGenerate(...) with a generate() method. The configuration describes everything w.r.t. to the FFIgen input and output. The generate method takes context parameters such as a logger and path to libclang. With this breaking change, also some defaults changed: (1) @Native bindings are now the default, and (2) struct/unions refered to by pointer will be generated as Opaque by default.
  • Breaking change: Rename some ObjC interface built in methods. Rename isInstance to isA, castFrom to as, and castFromPointer to fromPointer.
  • Breaking change: Change ObjC interfaces and protocols to generate as extension types. This gives a small performance boost, and in most cases won't require any code changes.
  • Breaking change: Change how ObjC protocols are generated, splitting the methods related to constructing instances into a separate Foo$Builder class. The protocol's instance methods are now directly invokable from the built object.
  • Breaking change: Minor breaking change in the way that ObjC interface methods are generated. Interface methods are now generated as extension methods instead of being part of the class. This shouldn't require any code changes unless you are using show or hide when importing the interface.
    • If you are using show/hide to show or hide a particular interface, eg Foo, you'll now also need to show or hide Foo$Methods.
    • In rare cases the runtime type of the Dart wrapper object around the ObjC

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ffigen](https://github.com/dart-lang/native/tree/main/pkgs) from 19.1.0 to 20.1.1.
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/ffigen-v20.1.1/pkgs)

---
updated-dependencies:
- dependency-name: ffigen
  dependency-version: 20.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update Dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant