Skip to content

Releases: JetBrains/bazel-bsp

2.4.0

02 Jan 15:21
2da8dc7
Compare
Choose a tag to compare

Release 2.4.0 (02.01.2023)

Features 🎉

  • Support Bazel 6.0.0 | #318

You can find this release on maven.

2.3.1

21 Dec 17:26
f4fde15
Compare
Choose a tag to compare

Release 2.3.1 (21.12.2022)

Fixes 🛠️

  • Correctly handle java files with package names not corresponding to file paths | #312
  • Correctly determine language type for JVM binary targets. | #306

You can find this release on maven.

2.3.0

08 Nov 15:37
774a8f3
Compare
Choose a tag to compare

Release 2.3.0 (26.10.2022)

Features 🎉

  • Send notifications to client while JUnit5 testing. | #299

Changes 🔄

  • Add async and sync output processors. | #288
  • Pass originId into diagnostics. | #291
  • Pass originId into server responses. | #289

Fixes 🛠️

  • BuildTargetIdentifier mapping uses .uri instead of .toString. | #295
  • JVMLanguagePluginParser.calculateJVMSourceRoot does not throw
    an exception for package longer than the path. | #294
  • Fix transitive target failure check in bloop export. | #287
  • Use direct source dependencies for thrift targets if present. | #298
  • Postpone bazel info. | #300

You can find this release on maven.

2.2.1

09 Aug 14:32
974d8cb
Compare
Choose a tag to compare

Release 2.2.1 (9.08.2022)

Fixes 🛠️

  • Adding generated jars to source jars list. | #285
  • Workspace root is always used as a bazel directory. | #284
  • Kebab case in the installer flags & help typo fix & log typo fix. | #283
  • Don't use Label.toString now that it's no longer overriden. | #282

You can find this release on maven.

2.2.0

26 Jul 20:12
72cd6b7
Compare
Choose a tag to compare

Release 2.2.0 (26.07.2022)

Features 🎉

  • Server can be used with bloop (--use_bloop flag). | #246
  • Project view supports build_manual_targets - now it is possible to build targets with manual tag. | #243
  • directories and derive_targets_from_directories sections are now available in project view files. | #247
  • Dependent targets can be imported as modules based on import_depth project view parameter. | #248
  • BSP can be installed in a separate directory. -w flag sets Bazel workspace, -d sets the BSP installation root. | #276

Changes 🔄

  • Added cache of targets info in incremental syncs. | #273
  • Dependency sources are now filtered if they belong to other root target | #265
  • Packages are parsed in order to determine source roots. | #258
  • BazelPathsResolver caches uris and paths (preformance improvement). | #256
  • Scala version regex has been fixed. | #249
  • e2e test for local jdk and remote jdk. | #253
  • Dependency sources are now filtered if they belong to other root target | #265
  • JvmEnvironmentItem is set using env from target. | #260
  • Server has undergone basic changes leading to the ability to work with CPP language. | #277

Fixes 🛠️

  • CLI project view generator now supports --excluded-targets and --excluded-directories instead of excluded - prefix. | #267

You can find this release on maven.

2.1.0

11 May 13:18
ba0757c
Compare
Choose a tag to compare

Release 2.1.0 (11.05.2022)

Features 🎉

  • Build flags are reloaded during sync. | #242

Changes 🔄

  • Support for detecting jdk through runtime_jdk poperty; infer jdk | #241
  • New project view parser without default file. | #242
  • Map label->module is no longer serialized - it was doubling size of the file. | #233
  • Diagnostic message doesn't contain path to file anymore. Also, column number is now inferred from the message. | #238

You can find this release on maven.

2.0.0

25 Apr 19:06
36b9896
Compare
Choose a tag to compare

Release 2.0.0 (25.04.2022)

Features 🎉

  • New installer with project view generator - now it is possible to create a project view using installer. | #227
  • New implementation of diagnostics extraction. It collects both warnings and errors, doesn't show irrelevant errors in BUILD files, shows line and character position and does not run bazel query before each build anymore. | #225
  • build_flags support in project view. | #194
  • New installer - it is possible to specify installation directory and project view file using flags. | #201
  • Server now keeps the state of the project between runs. | #205
  • Improved bazel runner. The BSP Client now receives invoked bazel command, its output, duration and exit code. | #198
  • Scala diagnostics work without a fork (technically it worked already for a while). | #170

Fixes 🛠️

  • Parsing of project view file fails if the file doesn't exist. | #215
  • Project view path is mapped to the absolute path in the installer. | #213
  • Kotlin targets don't break import. | #211
  • Now sources of thrift dependencies are included as dependencies. | #202
  • Handle the case when there is no JDK in the project. | #200
  • Fixed extraction of java version and java home for bazel 5.0.0. | #165
  • Log messages are no longer trimmed. | #157
  • Memoize BazelProcess output so that it doesn't get lost. | #154

Changes 🔄

  • bazel info call caching mechanism. | #228
  • Logging level has been set to info and doesn't include events. | #223
  • Deletion of semantic version class. | #216
  • Duplicate bazel output lines are not shown in bsp-client. | #209
  • Project uses bazel 5.1.0. | #208
  • Parse bazel query output from stream rather than from all bytes. | #210
  • JUnit5! | #206
  • Do not throw on aborted event from BEP. Show warning instead. | #205
  • Readable toString for all Project related classes. | #205
  • Measure and report time of longer operations during sync. | #205
  • Support for excluded targets in the sync mechanism. | #196
  • Introduction of installation context. | #184
  • Project uses (mostly) io.vavr.Option and io.vavr.List. | #192
  • Introducing execution context and workspace context. | #172
  • Changed the structure of the README and other documents and added contribution guide. | #181
  • Project view parser has more logging, targets section is optional and sections are using specific types instead of raw strings. | #166
  • Improve the install.sh script. | #167
  • Now the project is using the latest bazel version - 5.0.0. Installer skips bazelisk cache binaries during bazel binary discovery mechanism. | #160
  • Rewrite of all endpoints to rely on single bazel aspect to extract all necessary data. It improves performance and correctness as wel as extensibility of the server. With this change also c++ support is temporarily dropped. | #147

You can find this release on maven.

1.1.1

16 Feb 12:56
8773ecd
Compare
Choose a tag to compare

Release 1.1.1 (16.02.2022)

Features 🎉

  • New, better project view! Now you can configure installer as well! | #143
  • Server returns only the relevant output jar rather than 5-6 jars. | #136
  • Server supports multiple subprojects in one workspace (first step). | #130
  • JvmBuildServer implementation - now tests execution should be working! | #128
  • Improved heuristics for guessing source roots. It looks directory structures such as src/java or main/java. | #126

Changes 🔄

  • Server filters out non-runtime jars for running apps and tests. | #131
  • Now server uses Java 11. | #129
  • Bazel runner allows running a bazel command without positional arguments. | #123

Fixes 🛠️

  • Error diagnostics are now also sent for source files, including targets. | #146
  • Badges in the README work now (and there are even more of them). | #142
  • Server builds a project during sync in order to fix dependency resolving mechanism. | #137
  • Server handles aspects properly when multiple projects are in workspace. | #132
  • Now the project is built using bazel version 3.7.2, as the rules currently used are no longer supported by bazel. | #141

You can find this release on maven.

1.0.1

27 Sep 13:16
201cb26
Compare
Choose a tag to compare

Release 1.0.1 (27.09.2021)

Features 🎉

Changes 🔄

  • Implementation of e2e tests. Have been moved to the e2e module and are now based on execution scenarios. | #83
  • Github actions e2e tests execution - e2e tests are executed in parallel. | #84
  • Project structure - now it is multi module project. | #87
  • Github actions unit tests execution - each module has a separate job. | #89
  • Created document with release tips. | #91

Removed ✂️

  • Old implementation of e2e tests. | #86

Fixes 🛠️

  • Warnings generated by the WORKSPACE file. | #81
  • Semantic versioning parser - now it can parse every valid version. | #93
  • exports attribute propagation to the BSP | #98
  • Now all scala_junit_test based rules (including scala_specs2_junit_test) are included in the BSP tests, unfortunately without test classes. | #101

You can find this release on maven.

1.0.0

10 Sep 08:41
b4fab2f
Compare
Choose a tag to compare

Release 1.0.0 (23.08.2021)

Fully working product! 🎉


You can find this release on maven.