Repository navigation
Releases: aran/rules_dart
Releases · aran/rules_dart
Release list
v0.7.3
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.7.3")0.7.3
Breaking
- Removed
injectable_library - Removed Gazelle's
@InjectableInitsupport
Added
pub.from_lockbuildspackage:webcrypto0.6.1's native librarydart_testtakesenv, expanding$(rlocationpath)againstdata, andenv_inherit
Changed
- Code generators run on analyzer 14.5,
package_config3 andcopy_with_extension_gen18
Fixed
dart_binaryanddart_testoutputs no longer depend on the directory they were built indart_binarywith code assets seesdart.vm.productastrueinexeandaot-snapshotmodesdart_wasm_binaryoutputs the.mjsloader,.support.jsand source map beside the.wasm- The
pubextension works from ause_extension(..., dev_dependency = True)usage - A root lock with newer versions than rules_dart's own tool deps no longer fails the build
Full Changelog: v0.7.2...v0.7.3
v0.7.2
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.7.2")0.7.2
Added
dart_binary(record_use = True)provides the recorded@RecordUseuses asDartRecordedUsesInfodart_link_hookruns packages'hook/link.dartand provides their data assetsdart_library.link_hooknames a package'shook/link.dart- A pub package shipping only
hook/link.dartno longer fails adart_binaryordart_test dart_link_hook_actionsinutils.bzlruns link hooks from inside another rule
Changed
- Default Dart SDK is 3.13.5
Fixed
dart_teststarts in the runfiles workspace root, sodatafiles open by workspace-relative pathdart_teston Windows opensdatafiles by workspace-relative path
Full Changelog: v0.7.1...v0.7.2
v0.7.1
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.7.1")0.7.1
Fixed
dart_analyzejudgessdk_version_sinceagainst the package'slanguage_versiondart_analyzeassumes the toolchain's SDK version for packages with nolanguage_version
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.7.0")0.7.0
Breaking
dart_testrunspackage:testtests under its runner;--test_filterandshard_countworkdart_testreports eachpackage:testcase in Bazel's test reportdart_testis limited by Bazel'stimeoutrather thanpackage:test's 30 s defaultdart_testrequirespackage:testdirectly indepswhen the test uses itdart_testfails a test withoutpackage:testwhen given--test_filterorshard_count- Removed
dart_analyze_test; thedart_analyzeaspect analyzes each targetbazel testbuilds dart_analysis_configlists a repository'sanalysis_options.yaml; each file uses its nearestno-dart-analyzetag skips a target's analysisdart_fixfixes only its target's own files, with the options the aspect uses- Removed
dart_fix.optionsanddart_fix.lib; set@rules_dart//dart:analysis_config - Removed
dart_format_test; thedart_analyzeaspect'sdart_formatgroup checks formatting - The format check uses each file's nearest listed options and its package's language version
no-dart-formattag skips a target's format check
Added
dart_formatformats workspace files underbazel runwith the settings the check uses- Gazelle generates
dart_analysis_optionsand the rootdart_analysis_config - Executable rules accept
package,package_nameandlanguage_version, asdart_librarydoes dart_analysis_testchecks named targetsbazel test //...cannot reach
Fixed
- Successful
dart_binarybuilds and Dart analysis and format checks print nothing - The
dartextension prints a note only when the root module'sdart_versionis overridden
Full Changelog: v0.6.6...v0.7.0
v0.6.6
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.6")Full Changelog: v0.6.5...v0.6.6
v0.6.5
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.5")Full Changelog: v0.6.4...v0.6.5
v0.6.4
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.4")Full Changelog: v0.6.3...v0.6.4
v0.6.3
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.3")Full Changelog: v0.6.2...v0.6.3
v0.6.2
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.2")Full Changelog: v0.6.1...v0.6.2
v0.6.1
Add to your MODULE.bazel file:
bazel_dep(name = "rules_dart", version = "0.6.1")Full Changelog: v0.6.0...v0.6.1