Skip to content

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

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

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/multi-5d16d35704

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 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.1.0

Release notes

Sourced from code_assets's releases.

package:code_assets v2.1.0

  • Added Architecture.arm64e.

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
  • f7f9a45 [code_assets] [hooks_runner] [native_toolchain_c] Prepare for release (#3642)
  • 1c60c43 [hooks_runner] Restore non-breaking KernelAssetPath.toJson and add `toJsonF...
  • 7667162 [infra] Use dependency_validator in tool/ci.dart (#3646)
  • f6d153d [objective_c] Fix potential leaks in converts (#3647)
  • cb2c623 [ffigen] Remove YAML from readmes (#3633)
  • 22e8357 [jnigen] Remove yaml from readme (#3634)
  • eb444ee [infra] Add and fix unawaited_futures and discarded_futures lints (#3639)
  • 0f419f0 [infra] Switch from coveralls to codecov (#3626)
  • a88aaaf [ffigen] Preserve docs from same-name typedefs (#3636)
  • 935c259 [ffigen] Parse declarations inside extern "C" blocks (#3609)
  • Additional commits viewable in compare view

Updates ffigen from 21.0.0 to 23.0.0

Release notes

Sourced from ffigen's releases.

package:ffigen v23.0.0

  • The YAML configuration format is deprecated and will be removed in a future release.
  • Added Input.appendCompilerOptions to allow appending custom compiler options to default options instead of replacing them. Removed defaultCompilerOpts from the public API, since it is now redundant and was always a hack.
  • Remove internal details from the public API of ImportedType.
  • Default to C++17 compiler options when C++ bindings are enabled.
  • Preserve documentation comments on same-name typedefs when generating the underlying type binding.
  • Fix a bug where functions using pointers to a C++ class were skipped unless C++ support was configured: class declarations are now treated like structs, and with C++ support on, the C++ class wrapper vs. plain struct decision is made by POD-ness rather than by the class/struct keyword.
  • Fix a bug where a C++ type named through a using-declaration (e.g. std::uint16_t) was left unresolved, which dropped every function that mentioned it from the bindings. Such types now resolve through their canonical type.
  • Generate bindings for declarations inside C++ extern "C" { ... } blocks, which were previously skipped entirely.
  • Generate bindings for C++ enums declared inside a namespace or a record. Their Dart name is the scope path flattened with $, e.g. outer::inner::Color becomes outer$inner$Color, and originalName is the qualified C++ name, so a Visitor or importType can filter or rename by it.
  • Generate bindings for C++ structs, classes and unions declared inside a namespace or a record, named the same way. Scoped records are not yet surfaced when C++ class support is enabled.
  • Allow package:cli_util versions 0.5.x and 0.6.x.
  • Fix a crash during code generation when a typedef refers to a function pointer with an unsupported parameter type (e.g. a C++ reference). Such typedefs are now skipped like other unsupported typedefs, so struct members and functions using them are dropped instead of crashing the writer.

package:ffigen v22.1.0

  • The YAML configuration format is deprecated and will be removed in a future release.
  • Added Input.appendCompilerOptions to allow appending custom compiler options to default options instead of replacing them. Removed defaultCompilerOpts from the public API, since it is now redundant and was always a hack.
  • Remove internal details from the public API of ImportedType.
  • Default to C++17 compiler options when C++ bindings are enabled.
  • Preserve documentation comments on same-name typedefs when generating the underlying type binding.
  • Fix a bug where functions using pointers to a C++ class were skipped unless C++ support was configured: class declarations are now treated like structs, and with C++ support on,

... (truncated)

Commits

@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Sep 21, 2026
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.1.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/code_assets-v2.1.0/pkgs)

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

---
updated-dependencies:
- dependency-name: code_assets
  dependency-version: 2.1.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 force-pushed the dependabot/pub/multi-5d16d35704 branch from bfef578 to 780089d Compare October 9, 2026 19:56
@dependabot @github

dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #440.

@dependabot dependabot Bot closed this Oct 14, 2026
@dependabot
dependabot Bot deleted the dependabot/pub/multi-5d16d35704 branch October 14, 2026 09:46
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