Repository navigation
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