Skip to content

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

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Bumps ffigen, code_assets and coverage. These dependencies needed to be updated together.
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 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 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 dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Oct 14, 2026
@Henry-Hiles

Henry-Hiles commented Oct 17, 2026 •

Copy link
Copy Markdown

This would be nice, and no reason to not do it now that hooks are also on 2.x.x. Will need minimal codechanges to make up-to-date ffigen work though.

Bumps [ffigen](https://github.com/dart-lang/native/tree/main/pkgs), [code_assets](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 `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 `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 `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.1.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
- dependency-name: ffigen
  dependency-version: 23.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-0d2d55f588 branch from 17cfb8e to 2b21ed4 Compare November 1, 2026 19:55
@dependabot @github

dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #466.

@dependabot dependabot Bot closed this Nov 9, 2026
@dependabot
dependabot Bot deleted the dependabot/pub/multi-0d2d55f588 branch November 9, 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.

1 participant