Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

3.2.0

Latest
Compare
Choose a tag to compare
@abrams27 abrams27 released this 10 Apr 16:32

Release 3.2.0 (10.04.2024)

Features 🎉

  • workspace/directories implementation. | 43abdfb
  • Experimental Bazel JVM target debugging through BSP. | 94f2af7
  • Add workspace/invalidTargets endpoint. | 14a117f
  • The server will now download bazelisk if Bazel is not found in the PATH. | 89beaf7
  • Support bzlmod in rules detection mechanism. | 47cdfa8
  • Support kotlin stdlibs in bzlmod project. | 24aa30d
  • Experimental Rust support. | ec66172
  • Provide the android.jar library for Android targets. | c4aaf5e
  • Assign value of javac -target flag to JvmBuildTarget's javaVersion. | 9098181
  • workspace/inverseSources with now uses query. | 26ef246
  • Add an option to override detected rules. | 8230406
  • Server creates an empty project view file if it doesn't exist instead of failing. | 660d9cd
  • Add Android resources to the project model. | 33760f0
  • Add manifest and resourceFolders to AndroidBuildTarget. | 2989f70
  • Filtering out libraries with no interface jars. | ec41697
  • Add the mobileInstall request. | a4dc63c
  • aar_import support. | 3037649
  • android_local_test support. | ebb4676
  • Jetpack Compose preview support. | dc830f8
  • Add "build and get build targets" BSP endpoint for build & resync action. | 774e427
  • Add support for buildTarget/jvmCompileClasspath. | cd00ed5
  • Add flag ide_java_home_override to project view to override the java home to work with local IDE. | c0de197
  • Add dependencyModules request support. | e62f321
  • Fix task workflow. | 73008c5
  • AIDL import support. | 7571695

Fixes 🛠️

  • Server logs non-existing files instead of failing. | 54a1fecc
  • Server collects more jars from rules_kotlin's KtJvmInfo to handle the lack of generated jars. | e7faadc
  • Server allows aspects to be injected normally when users enable bzlmod. | 84c4f9a
  • Project cache correctly deserializes kotlin modules. | cd64dbb
  • Remove build_flags from non-build calls. | 242995b
  • Add fallback for custom bazel version. | 9ad762b
  • Python extension is always loaded and projects created using native python rules get their Python data collected. | 74ba7c9
  • Resources should check type too. | 02a9e01
  • Compute classpath lazily in JvmEnvironment requests. | f6823e7
  • Read classpath on demand in javacOptions and scalacOptions requests handlers. | a10ecb0
  • Kotlin stdlibs now are obtained from toolchain instead of classpath. | e6ad2a0
  • Kotlin is set to have higher precedence than Java to always return Kotlin data object if exists. | 9915acf
  • Compiler errors should be parsed properly and handle bytestream provider uri. | 80ec82c
  • File system in the installer is now closed after use. | 2f86f1d
  • Server does not build the project on sync for newer Bazel versions. | 6ec65a8
  • CARGO_BAZEL_REPIN flag is used only during sync. | cac0b01
  • Fix issue if classpath query returns more results. | 67692aa
  • Server handles properly remote artefacts after sync. | 0cc0014
  • canDebug flag is now set to true if target is runnable. | 55e4faa
  • Fix the @@ prefix issue if bazel.module and WORKSPACE are used together. | 86fd20b
  • Avoid SLF4J "Failed to load class" warning. | a1ef51f
  • bazel-<workspace-name> symlink exclusion uses real name of the workspace instead of sanitized one. | b9598d9
  • ijars are included in libraries. | c66358e
  • The spurious "too many open files" issue has been fixed. | 28797b6
  • android features are enabled only if rules_android are in enabled_rules. | 33daf98
  • enabled_rules section is reread on each sync. | b1655d9
  • Test targets are always included in targets, not libraries. | b117aec
  • Fix showing Scala 3 diagnostics. | 3629a3f
  • Use Android flags for run and test to avoid cache invalidation | ade3e68

In order to install the server run:

cs launch org.jetbrains.bsp:bazel-bsp:3.2.0 -M org.jetbrains.bsp.bazel.install.Install

You can find this release on maven.