Skip to content

v7.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 17:13
· 24 commits to master since this release
Immutable release. Only release title and notes can be modified.
2634bc3

Using Bzlmod

Paste this snippet into your MODULE.bazel file:

# Set `repo_name = "io_bazel_rules_scala"` if you still need it.
bazel_dep(name = "rules_scala", version = "7.3.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_scala",  # Can be "io_bazel_rules_scala" if you still need it.
    sha256 = "1377467b1fb59e2a8ad77518088041633bfc9889c2626de66ad687bb4f6c7c0e",
    strip_prefix = "rules_scala-7.3.0",
    url = "https://github.com/bazelbuild/rules_scala/releases/download/v7.3.0/rules_scala-v7.3.0.tar.gz",
)

See https://github.com/bazelbuild/rules_scala#getting-started for full setup instructions.

What's Changed

  • ScalacWorker: call JarCreator.buildJar directly to keep IOException r… by @gergelyfabian in #1840
  • fix: Restore bazel build //... analysis and wildcard build by @PawelLipski in #1843
  • fix: Disable ijar for scala_macro_library on Scala 2.x by @PawelLipski in #1845
  • chore: Pin sources jar hashes so they are cacheable by @PawelLipski in #1847
  • test: Migrate test_macros.sh to bazel test targets by @PawelLipski in #1846
  • refactor: Migrate scalac macro-exception build-failure tests to Bazel by @PawelLipski in #1849
  • refactor: Migrate JMH benchmark build-failure test to Bazel by @PawelLipski in #1850
  • refactor: Migrate java-in-srcjar build-failure test to Bazel by @PawelLipski in #1851
  • refactor: Migrate toolchain-config build-failure tests to Bazel by @PawelLipski in #1852
  • refactor: Use package-relative targets in expect_build_failure tests by @PawelLipski in #1853
  • refactor: Migrate transitive strict-deps build-failure tests to Bazel by @PawelLipski in #1854
  • ci: Forward PATH to test actions on the last_green Bazel step by @PawelLipski in #1861
  • Track code under test so expect_build_failure_test caching is sound by @PawelLipski in #1860
  • refactor: Add nested test-run macros and generalize the nested-bazel helper by @PawelLipski in #1863
  • refactor: Migrate scala_test jvm-flags/jacoco toolchain-failure tests to Bazel by @PawelLipski in #1856
  • refactor: Migrate scala_junit_test rule-failure tests to Bazel by @PawelLipski in #1857
  • refactor: Migrate specs2 initializer-failure message tests to Bazel by @PawelLipski in #1858
  • refactor: Migrate positive nested test-run fixtures to Bazel by @PawelLipski in #1859
  • Worker: echo WorkRequest.request_id on WorkResponse by @gergelyfabian in #1862
  • refactor: Migrate unused_dependency_checker tests to Bazel by @bor-p-s in #1872
  • refactor: Migrate plus_one_deps unused-dep tests to Bazel by @bor-p-s in #1873
  • refactor: Migrate scala-proto failing-generator test to Bazel by @bor-p-s in #1876
  • refactor: Migrate mismatching-resource-strip-prefix shell test to Bazel by @bor-p-s in #1874
  • test: Add downstream tests against real external consumers (joern, databricks/dicer) by @bor-p-s in #1868
  • refactor: Colocate migrated-test fixtures next to their tests by @PawelLipski in #1879
  • refactor: Migrate proto_source_root build test to Bazel by @bor-p-s in #1877
  • refactor: Migrate persistent-worker tests to Bazel by @bor-p-s in #1878
  • fix: Propagate tags from scala_library_suite to its aggregate target by @PawelLipski in #1865
  • ci: Skip downstream consumer tests on the last_green Bazel step by @bor-p-s in #1887
  • ci: Remove tools/bazel.rc.buildkite by @bor-p-s in #1889
  • refactor: Replace test_deps.sh with an analysis test by @bor-p-s in #1896
  • fix: Fail string_in_filename_in_jar.sh when jar cannot read the jar by @bor-p-s in #1897
  • fix: Run nested expect_* tests one at a time (exclusive) by @bor-p-s in #1894
  • refactor: Migrate scala_library_suite build-failure test to Bazel by @PawelLipski in #1864
  • refactor: Migrate compiler-dependency-tracker dep-checking tests to Bazel by @bor-p-s in #1880
  • refactor: Migrate compiler-dependency-tracker sdeps test to Bazel by @bor-p-s in #1881
  • fix: Fail string_in_file.sh when grep cannot read the file by @bor-p-s in #1902
  • refactor: Migrate compiler-dependency-tracker given-import tests to Bazel by @bor-p-s in #1882
  • refactor: Migrate test_scala_library_jar.sh to sh_test targets by @bor-p-s in #1900
  • fix: Fail string_in_filename_in_jar.sh when grep itself fails by @bor-p-s in #1903
  • fix: Fail no_sigs.sh when the jar lister cannot read the jar by @bor-p-s in #1899
  • refactor: Migrate jvm-flags toolchain-success tests to Bazel by @bor-p-s in #1901
  • Pass output paths as File objects so actions are path-mapping safe by @FrankPortman in #1909
  • refactor: Migrate test_phase.sh to sh_test targets by @bor-p-s in #1905
  • refactor: Migrate test_toolchain_deps.sh and test_twitter_scrooge.sh to Bazel by @bor-p-s in #1908
  • refactor: Migrate missing_direct_deps checks in test_scala_library.sh by @bor-p-s in #1913
  • refactor: Migrate classpath namespace-conflict test to Bazel by @PawelLipski in #1904
  • refactor: Migrate plus-one dependency-mode compilation tests to Bazel by @PawelLipski in #1912
  • refactor: Migrate scala_binary missing-direct-deps tests to Bazel by @bor-p-s in #1914
  • refactor: Migrate test_diagnostics_reporter.sh to sh_test targets by @bor-p-s in #1911
  • test: Add bazel_arg_files to expect_build_failure.bzl macros by @PawelLipski in #1923
  • Build the scrooge worker input with Args so it is path-mapping safe by @FrankPortman in #1910
  • refactor: Migrate test_custom_reporter_class.sh to Bazel by @PawelLipski in #1925
  • refactor: Migrate test_junit.sh to Bazel by @PawelLipski in #1917
  • refactor: Migrate test_strict_dependency.sh to sh_test targets by @bor-p-s in #1915
  • refactor: Migrate test_scaladoc.sh to Bazel-native sh_test targets by @bor-p-s in #1918
  • refactor: Migrate test_scala_jacocorunner.sh to Bazel by @bor-p-s in #1920
  • test: Migrate eligible expect_test_failure_test cases to analysistest by @bor-p-s in #1922
  • refactor: Migrate test_build_event_protocol.sh to Bazel by @PawelLipski in #1929
  • refactor: Migrate test_scala_config.sh to Bazel by @PawelLipski in #1928
  • refactor: Migrate test_misc.sh shell tests to Bazel-native sh_test targets by @bor-p-s in #1921
  • refactor: Migrate test_scala_specs2.sh to Bazel-native sh_test targets by @bor-p-s in #1931
  • refactor: Split test/sh_tests/BUILD into topical packages by @bor-p-s in #1934
  • fix: resolve rules_scala_config labels in rules_scala's own repo mapping by @FrankPortman in #1933
  • fix: Build third_party/test/proto again by @bor-p-s in #1941
  • refactor: Migrate test_compiler_sources_integrity.sh to Bazel-native sh_test targets by @bor-p-s in #1935
  • [Compiler Toolchains] Add support for plugins by @FrankPortman in #1795
  • refactor: Migrate test_scala_proto_library.sh to Bazel-native sh_test targets by @bor-p-s in #1936
  • test: Declare the inputs of the nested expect_* tests by @bor-p-s in #1907
  • test: Declare the inputs of joern_test/dicer_test by @bor-p-s in #1938
  • refactor: Migrate test_scalafmt.sh to Bazel-native sh_test targets by @bor-p-s in #1937
  • refactor: Migrate test_scala_import_source_jar.sh to Bazel-native sh_test targets by @bor-p-s in #1940
  • refactor: Migrate test_env_attribute_expansion.sh to Bazel-native sh_test targets by @bor-p-s in #1943
  • refactor: Migrate test_scala_binary.sh to Bazel-native sh_test targets by @bor-p-s in #1950
  • Pass Scalac resource sources as Files so path mapping rewrites them by @FrankPortman in #1947
  • Declare a "scalac" exec_group so per-action cpu sizing can be set by @gergelyfabian in #1842
  • test: Migrate test_semanticdb.sh to Bazel-native sh_test targets by @bor-p-s in #1949
  • refactor: Migrate the last 2 test_misc.sh cases to Bazel-native sh_test by @bor-p-s in #1946
  • fix: Two caching/local-test correctness gaps in joern_test/dicer_test by @bor-p-s in #1948
  • fix: Wire the CI remote cache into the nested joern/dicer build by @bor-p-s in #1953
  • refactor: Migrate test_scala_library.sh to Bazel-native sh_test targets by @bor-p-s in #1951
  • refactor: Migrate test_bzlmod_macros.sh to Bazel-native sh_test targets by @bor-p-s in #1952
  • fix: Run only a smoke subset of jssrc2cpg's own test suite in joern_test by @bor-p-s in #1956
  • test: Exclude etcd-dependent flaky targets from dicer_test by @bor-p-s in #1958
  • ci: remove xmllint/libxml2 installs left dead by the test_misc.sh migration by @bor-p-s in #1954
  • fix: Bump disappearing_class_test to size=large to fix macOS CI timeout by @bor-p-s in #1961
  • [chore] Add support for Scala 3.9 LTS by @WojciechMazur in #1959
  • refactor: Replace nested-bazel build-success tests with transitions by @bor-p-s in #1960
  • fix: Run nested expect_* tests in 3 lanes instead of exclusive by @bor-p-s in #1939
  • ci: Skip the redundant default-toolchain build+test in test_rules_scala.sh on Linux and macOS by @bor-p-s in #1962
  • test: Drop exclusive tag from nested-bazel tests with unique output bases by @bor-p-s in #1963
  • fix: Skip executing dicer's own business-logic tests in dicer_test by @bor-p-s in #1965
  • [fix] Release job adjustments by @WojciechMazur in #1966

New Contributors

Full Changelog: v7.2.6...v7.3.0