Skip to content

Chore(deps): Bump code_assets and ffigen - #406

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/multi-2f8c50148b
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/multi-2f8c50148b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps code_assets and ffigen. These dependencies needed to be updated together.
Updates code_assets from 1.2.1 to 2.0.0

Release notes

Sourced from code_assets's releases.

package:code_assets v2.0.0

  • Validate bundled dynamic libraries by reading their header: when the file is a recognized ELF, Mach-O, or PE binary, check that it was built for the target architecture. Reject multi-architecture Mach-O output because hooks run once per target architecture. A file the built-in validators do not recognize, or a recognized library built for an architecture they do not know, warns on the supplied logger instead of failing.
  • Bump the dependency on package:hooks to ^2.2.0.
  • Breaking change: Overrode == and hashCode in OS, Architecture, and Sanitizer to support custom targets. These objects can no longer be used as keys of const maps and sets.
    • Migration: Use final (runtime) maps and sets instead of const, or use the string representations (e.g., OS.name, Architecture.name) as keys if const is required.
  • Support custom target OS, architecture, and santizer in protocol extension.
Commits
  • fc06ab3 [hooks] [code_assets] [native_toolchain_c] [record_use] Publish (#3560)
  • b461222 [ffigen] Add C++ public inheritance support (single, multiple, diamond) (#3542)
  • c3203e8 [ffigen] Remove Constant from public AST (#3556)
  • 9f2e4bb [ffigen] Fix category filtering bug (#3557)
  • aca3a46 [ffigen] Regression test for #3548 (#3559)
  • d196dea [hooks] [code_assets] Update docs to use link hooks (#3562)
  • 007e4d1 [native_toolchain_c] Fix #3327 native_toolchain_c vswhere selection (#3328)
  • 71f68cd [ffigen] Config update part 4: include visitor (#3530)
  • ae2fa39 [hooks] Remove unused meta dependency (fixes Flutter compat) (#3553)
  • 5f394f1 [hooks_runner] Minimize file hashing by relying on size and last-modified (#3...
  • Additional commits viewable in compare view

Updates ffigen from 21.0.0 to 22.0.0

Release notes

Sourced from ffigen's releases.

package:ffigen v22.0.0

  • Breaking change: Major overhaul of Dart config API:
    • Replace various callback based config elements with a Visitor pattern.
      • rename and renameMember replaced with .name setters on AST nodes.
      • include and includeMember replaced with .isIncluded on AST nodes.
      • Functions/Globals.includeSymbolAddress replaced with .exposeSymbolAddress on AST nodes.
      • Functions.includeTypedef replaced with .generateTypedefs on Func AST node.
      • Structs.packingOverride replaced with Struct.pack.
      • Enums.style and .silenceWarning moved to EnumClass AST node.
      • Functions.isLeaf and .recordUse moved to Func AST node.
      • Structs/Unions.dependencies moved to Struct/Union AST nodes.
      • Interfaces/Protocols.module moved to ObjCInterface/ObjCProtocol AST nodes.
      • Interfaces/Protocols.includeTransitive removed (always false).
      • Categories.includeTransitive replaced with ObjCInterface.includeCategories.
      • Typedefs.includeUnused consolidated into Typealias.isIncluded using TypealiasInclude enum (never, ifUsed, always).
    • Consolidate imported fields and importedTypesByUsr into FfiGenerator.importType, switching it to a callback pattern
    • Add importFromSymbolFile and importFromSymbolFiles utils, which load symbol YAML files, and return functions that can be passed directly to FfiGenerator.importType.
    • Replace Output.dartFile with DartOutput, to prepare for upcoming multi-file output format.
    • Deleted many now empty sub-config classes
    • Rename Headers to Input
    • Remove libraryImports, which was dead code
    • Remove useSupportedTypedefs, treating it as always true
    • Make preamble non-null
    • Make generate function async
  • Fix a bug in handling of small structs in ObjC on mac/iOS x64.
  • Fix a bug in the way that ObjC category methods returning instancetype are filtered.
  • Minor Objective-C code generator and function type signature fixes.
  • Bump package:code_assets dependency to ^2.0.0.
Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
ffigen [> 9.0.1]

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.


Note: Dependabot was ignoring updates to this dependency, but since you've updated it yourself we've started tracking it for you again. 🤖

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 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 [code_assets](https://github.com/dart-lang/native/tree/main/pkgs) and [ffigen](https://github.com/dart-lang/native/tree/main/pkgs). These dependencies needed to be updated together.

Updates `code_assets` from 1.2.1 to 2.0.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/code_assets-v2.0.0/pkgs)

Updates `ffigen` from 21.0.0 to 22.0.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/ffigen-v22.0.0/pkgs)

---
updated-dependencies:
- dependency-name: code_assets
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: ffigen
  dependency-version: 22.0.0
  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 Sep 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #411.

@dependabot dependabot Bot closed this Sep 21, 2026
@dependabot
dependabot Bot deleted the dependabot/pub/multi-2f8c50148b branch September 21, 2026 23:44
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.

0 participants