Repository navigation
Update dependency ffigen to v22 - autoclosed - #210
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/ffigen-22.x
branch
from
October 1, 2026 05:28
0f91c85 to
395c8ca
Compare
renovate
Bot
force-pushed
the
renovate/ffigen-22.x
branch
from
October 1, 2026 17:51
395c8ca to
e7af835
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
20.1.1→22.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
dart-lang/native (ffigen)
v22.0.0Compare Source
Visitorpattern.renameandrenameMemberreplaced with.namesetters on AST nodes.includeandincludeMemberreplaced with.isIncludedon AST nodes.Functions/Globals.includeSymbolAddressreplaced with.exposeSymbolAddresson AST nodes.Functions.includeTypedefreplaced with.generateTypedefsonFuncAST node.Structs.packingOverridereplaced withStruct.pack.Enums.styleand.silenceWarningmoved toEnumClassAST node.Functions.isLeafand.recordUsemoved toFuncAST node.Structs/Unions.dependenciesmoved toStruct/UnionAST nodes.Interfaces/Protocols.modulemoved toObjCInterface/ObjCProtocolASTnodes.
Interfaces/Protocols.includeTransitiveremoved (always false).Categories.includeTransitivereplaced withObjCInterface.includeCategories.Typedefs.includeUnusedconsolidated intoTypealias.isIncludedusingTypealiasIncludeenum (never,ifUsed,always).importedfields andimportedTypesByUsrintoFfiGenerator.importType, switching it to a callback patternimportFromSymbolFileandimportFromSymbolFilesutils, which loadsymbol YAML files, and return functions that can be passed directly to
FfiGenerator.importType.Output.dartFilewithDartOutput, to prepare for upcomingmulti-file output format.
HeaderstoInputlibraryImports, which was dead codeuseSupportedTypedefs, treating it as always truepreamblenon-nullgeneratefunction asyncsmall structs in ObjC on mac/iOS x64.
ObjC category methods returning
instancetypeare filtered.package:code_assetsdependency to^2.0.0.v21.0.0Compare Source
@Deprecatedannotations from C/ObjC headers into generated Dartbindings. Deprecation messages from
__attribute__((deprecated("msg")))andAPI_DEPRECATED("msg", ...)are included in the annotation.useDartHandlefield fromFfiGenerator.includeSymbolAddressfield fromCategories,Interfaces, andProtocols.wrapperNamefield fromNativeExternalBindings.cannot collide with real USRs. It's very unlikely that any user facing USRs
are affected.
marked const in C (e.g. static const int) instead of symbol lookups. This
supports integers, doubles, and string literals. Including the variable name
in the globals -> symbol-address configuration will still generate symbol
lookups.
helpers were occasionally given unexpected names. Technically a breaking
change because if you were affected by the bug, the block helper's name will
change to something more sensible.
Output.sort. Sorting is nowalways enabled.
such that ObjCObject
isAnow accepts a nullableObjCObject?and returnsfalsewhen called withnull, aligning its behavior with Dart’sisoperator.
xcrunfor resolving macOS SDK paths, enabling support for non-standardXcode installations. #3134
$allocate(Allocator $allocator, {required ...})classes with
SWIFT_UNAVAILABLEannotatedinit/newmethods weregenerating runtime-crashing no-arg constructors.
__attribute__((unavailable))wereincorrectly included in bindings when no platform version info was configured.
Protocols.includeTransitivewas notworking correctly.
versions vs FFIgen's generated code.
bindings may not auto-load their dylib in some cases.
target isolate is shut down.
package:metadependency to^1.19.0and stop generatingexperimental_member_uselint ignore in generated bindings when@RecordUse()is used.package:package_config.properly split, causing comment text to spill out of Dart doc comments.
Configuration
📅 Schedule: (UTC)
🚦 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.