Skip to main content

runfiles 0.8.1 copy "runfiles: ^0.8.1" to clipboard
runfiles: ^0.8.1 copied to clipboard

Bazel runfiles library for Dart. Locates data files at runtime.

Changelog #

0.8.1 #

Breaking #

  • Kernel, import-check, link-hook and web compiles run on any host with a Dart SDK, e.g. remote Linux
  • Rules merging KERNEL_TOOL_ATTR or calling dart_link_hook_actions declare PORTABLE_EXEC_GROUPS
  • dart_link_hook_actions no longer takes sdk
  • dart_toolchain requires exec_os and exec_arch
  • Dart actions share results across configurations under --experimental_output_paths=strip
  • PATH_MAPPING in utils.bzl opts a downstream rule's actions into path mapping
  • Removed DartKernelSdkInfo.sdk_root; the SDK is found beside platform
  • Replaced kernel_roots with add_kernel_roots, which adds the roots to an Args
  • colocate_entrypoint returns the entrypoint's path inside its directory
  • dart_binary stack traces name sources by workspace path, not bazel-out path
  • A code asset library built in two configurations for one program fails analysis

Added #

  • --@rules_dart//dart:analysis_shutdown_workaround=true ends an analysis server that hangs in shutdown
  • dart_analyze and dart_fix actions no longer share an analysis cache in /tmp/.dartServer
  • An asset in dart_test/dart_binary code_assets replaces the one deps supply under its id
  • //dart:utils.bzl exports resolve_code_assets and the helpers it builds on

Changed #

  • dart_analyze and dart_web_application no longer copy every dependency for each target
  • Default Dart SDK is 3.13.7

Fixed #

  • dart_binary exe and aot-snapshot outputs on macOS are the same bytes on every build
  • dart_binary links its code assets into <name>.native/; copy it with the executable
  • Rules analyze and build with --incompatible_auto_exec_groups
  • Cross-compiled dart_binary builds without network access in the sandbox and on remote workers
  • Dart SDK actions no longer write analytics files into /tmp

Full Changelog: https://github.com/aran/rules_dart/compare/v0.8.0...v0.8.1

0
likes
0
points
5.11k
downloads

Publisher

unverified uploader

Weekly Downloads

Bazel runfiles library for Dart. Locates data files at runtime.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on runfiles