Skip to content

Chore(deps): Bump code_assets, ffigen and coverage - #466

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pub/multi-f4e2f0f30f
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps code_assets, ffigen and coverage. These dependencies needed to be updated together.
Updates code_assets from 1.2.1 to 2.2.0

Release notes

Sourced from code_assets's releases.

package:code_assets v2.2.0

  • Support complete iOS and macOS deployment versions through AppleVersion and deploymentVersion, and deprecate the integer targetVersion API while preserving compatibility. AppleVersion supports numeric comparison.
  • Add iOSDeploymentVersion and macOSDeploymentVersion to testCodeBuildHook, and deprecate its integer version parameters.

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
  • 0ca7d67 [code_assets] [hooks_runner] [native_toolchain_c] Prepare for release (#3781)
  • baad15a [objective_c] Link Foundation in the native support library (#3782)
  • 6287745 [hooks_runner] Fix UTF-8 decoding of hook output on Windows (#3772)
  • 0eada93 [native_toolchain_c] Decode vswhere UTF-8 output correctly on Windows (#3773)
  • 1838637 [hooks_runner] Add PKG_CONFIG_PATH to environment variables allowlist (#3779)
  • c9e8118 [jni] Fix release mode segfault (#3777)
  • 5999cf7 [objective_c] Prepare to publish (#3778)
  • d294d99 [hooks_runner] Write recorded_uses.json under directory lock in link() (#3770)
  • 33aa5ef [objective_c] Cheaper and safer object/block validity checks (#3776)
  • b442038 [objective_c] support scheduleInRunLoop:forMode: (#3763)
  • 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

Updates coverage from 1.15.1 to 1.16.0

Release notes

Sourced from coverage's releases.

package:coverage v1.16.0

  • Support collecting and formatting web (V8 / Chrome) coverage reports in test_with_coverage via the new -p / --platform flag. Web runs delegate to dart test --coverage; VM runs continue to use the existing VM-service collection flow. Platforms other than vm and chrome are rejected, as are --function-coverage and --branch-coverage combined with a web platform, and platform flags passed through to the test script. Note that web coverage is measured on compiled JavaScript: code the compiler drops cannot be reported as uncovered, so line counts and percentages are not comparable to VM runs and --fail-under thresholds must be re-tuned per platform.
  • Support scopeOutput filtering in HitMap.parseJsonSync, HitMap.parseJson, and HitMap.parseFiles, normalizing file: URIs inside known package library roots to package: URIs via Resolver.toPackageUri.
  • test_with_coverage now fails immediately when the test process exits before the VM service is ready or before coverage collection finishes (for example, when the test path does not exist or fails to load) instead of waiting forever, and exits with the test process's exit code.
  • HitMap.parseFiles now throws a FormatException when a file is not a valid {"coverage": [...]} report, instead of silently ignoring it, and parseChromeCoverage throws a FormatException when an entry is missing a string "scriptId".
  • Migrate Dart subprocess spawning to package:cli_util (dartExecutable) to support AOT-compiled executables (dart compile exe / dart install).
  • Resolver.resolve now rejects file: URIs that fall outside the known package/SDK roots or the current directory, instead of resolving them unconditionally.
  • Fix a race condition in isolate teardown: ignore the benign errors produced when an isolate exits between its pause-on-exit callback completing and the resume request reaching the VM service.
  • Also ignore SentinelException when resuming the main isolate after collection, matching the existing RPCError handling there.
  • Require Dart 3.9.
Commits
  • 350bde5 chore(coverage): prepare for v1.16.0 release (#2643)
  • a559658 [markdown] Fix quadratic parsing of consecutive link reference definitions (#...
  • 2b54c71 [boring] Update BoringSSL to 3fed4f20 (#2655)
  • 2337f99 [json_rpc_2] Add strictProtocolChecks parameter to Client (#2555)
  • c65c69e [boring] Move package:boring to dart-lang/tools (2/4): FFI helpers from packa...
  • 8bdd4b9 [code_builder] Allow built_collection 6.x. (#2645)
  • c16040d [api_summary] Sort primary barrel first and experimental entry points last (v...
  • b2d0780 [stream_channel] Require package:async ^2.6.0 (#2644)
  • 3ab7bf9 [boring] Move package:boring to dart-lang/tools (1/4): vendored BoringSSL, bi...
  • 29df634 feat(coverage): support web coverage reports in test_with_coverage (#2448)
  • Additional commits viewable in compare view

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

Updates `code_assets` from 1.2.1 to 2.2.0
- [Release notes](https://github.com/dart-lang/native/releases)
- [Commits](https://github.com/dart-lang/native/commits/code_assets-v2.2.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)

Updates `coverage` from 1.15.1 to 1.16.0
- [Release notes](https://github.com/dart-lang/tools/releases)
- [Commits](https://github.com/dart-lang/tools/commits/coverage-v1.16.0/pkgs)

---
updated-dependencies:
- dependency-name: code_assets
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: ffigen
  dependency-version: 23.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: coverage
  dependency-version: 1.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Nov 9, 2026
@HamdaanAliQuatil

HamdaanAliQuatil commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

@jonasfj this needs a ffigen migration. tool/ffigen.dart uses old APIs, which explains the analyzer failures.

happy to update the config and check the regenerated bindings, especially the ARM32 fix from #432. unless you want this in 0.6.2, i'd keep the release separate and follow up here

This branch has not been deployed

No deployments
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