Skip to content

v2.0.17

Latest

Choose a tag to compare

@bloopoid bloopoid released this 13 Nov 19:20
· 21 commits to main since this release
9dba803

bloop v2.0.17

Analysis hash in the compilation result

Bloop v2.0.17 introduces a new report field to the compilation result to allow
clients to track the analysis hash of the last successful compilation.

This is represented in the data field of the CompileResult result message as a
map of project URIs to the hashes of the analyses of the projects. The
ScalaCompileReport message is defined as follows:

case class ScalaCompileReport(
      errors: Int,
      warnings: Int,
      isCompilationNoop: Boolean,
      compilationHashes: Map[String, Int]
)

New --show-rendered-message ccompilation options

If any Bloop client needs to see the rendered message of the compilation instead
of the raw message, it can now pass the --show-rendered-message option to the
compile command. This can be especially useful for command line clients that
want to see the compilation messages in a more human-readable format.

Bugfixes

  • fixed an issue with downloading compiler bridge sources in fallback mode, when
    credentials were needed for a custom repository.
  • use the default CompileReport in compilation task finished notification
    instead of a custom one
  • check modification time with millisecond precision when noop compilation is
    detected to track if files need to be copied. Previously, they would always be
    checked even if the modification time was the same.
  • don't use absolute path which might be longer than the limit for the limit of
    the path length when not needed for bsp sockets

Installing Bloop

For more details about installing Bloop, please see
Bloop's Installation Guide)

Merged pull requests

Here's a list of pull requests that were merged:

  • Build(deps): Update logback-classic from 1.5.20 to 1.5.21 #2797
  • Build(deps): Update scala-collection-compat from 2.13.0 to 2.14.0 #2767
  • Improvement: Add information about noop compilation to the compilation result
    #2786
  • Build(deps): Update commons-codec from 1.19.0 to 1.20.0 #2795
  • Bugfix: Also allow downloading sources in fallback #2794
  • Build(deps): bump coursier/cache-action from 6 to 7 #2789
  • Build(deps): Update expecty from 0.17.0 to 0.17.1 #2793
  • Build(deps): bump actions/upload-artifact from 4 to 5 #2791
  • Build(deps): bump actions/download-artifact from 5 to 6 #2790
  • Build(deps): bump actions/setup-node from 5 to 6 #2792
  • Build(deps): Update sbt-scalafmt from 2.5.5 to 2.5.6 #2788
  • Build(deps): Update scalafmt-core from 3.9.10 to 3.10.1 #2787
  • Add option to return rendered message when compiling via BSP #2781
  • Build(deps): Update scalafmt-core from 3.9.4 to 3.9.10 #2785
  • Bugfix: Use the default CompileReport #2784
  • Build(deps): Update os-lib from 0.11.5 to 0.11.6 #2783
  • Bugfix: Check modification time with milisecond precision #2782
  • Improvement: Don't use absolute path which might be longer than the limit
    #2776
  • Build(deps): Update svm from 25.0.0 to 25.0.1 #2780
  • Build(deps): Update logback-classic from 1.5.19 to 1.5.20 #2778
  • Build(deps): Update sbt-mdoc from 2.7.2 to 2.8.0 #2774
  • Build(deps): Update munit from 1.2.0 to 1.2.1 #2773
  • Build(deps): Update scalajs-env-nodejs, ... from 1.1.1 to 1.5.0 #2772
  • Bugfix: Ingore NoSuchFileException if file was already removed #2771
  • Build(deps): Update tools from 0.5.8 to 0.5.9 #2770
  • Build(deps): Update sbt-scalafix from 0.14.3 to 0.14.4 #2768
  • Build(deps): Update scalajs-env-jsdom-nodejs from 1.1.0 to 1.1.1 #2769
  • Build(deps): Update scala-library from 2.13.16 to 2.13.17 #2766
  • Build(deps): Update org.eclipse.jgit, ... from 5.13.3.202401111512-r to
    5.13.5.202508271544-r #2764
  • Build(deps): Update sbt, scripted-plugin, test-agent from 1.11.6 to 1.11.7
    #2763
  • Build(deps): Update librarymanagement-ivy from 1.11.5 to 1.11.6 #2762
  • Build(deps): Update asm, asm-util from 9.8 to 9.9 #2761

Contributors

According to git shortlog -sn --no-merges v2.0.16..v2.0.17, the following
people have contributed to this v2.0.17 release: scala-center-steward[bot],
Tomasz Godzik, Matt Dziuban, dependabot[bot].