v2.0.17
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
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].