Add unstable run/printStdout, run/printStderr and run/readStdin notifications
Add an optional originId field to TaskStartParams, TaskProgressParams and TaskFinishParams
and deprecate it in CompileReport and TestReport to support BSP clients that need to distinguish
between multiple reports for the same target.
Migration: Use the originId field in TaskFinishParams instead of CompileReport/TestReport
to identify the report.
Add optional support for environment variables and working directory parameters in buildTarget/run
and buildTarget/test requests.
Mark arguments and environment variables lists in ScalaMainClass and ScalaTestSuites deprecated as
they are replaced by the parameters in the base request.
Add cargo (Rust build tool) protocol extension
Add Rust protocol extension
Update diagnostic-related structures to match LSP 3.17
What's Changed
Type rendering fixes by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/526
Update sbt to 1.9.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/543
Update scala-library to 2.12.18 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/541
Update scala-library to 2.13.11 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/542
Update smithy-model to 1.32.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/544
Fixed small typo for JavacOptions docstring by @xuansontrinh in https://github.com/build-server-protocol/build-server-protocol/pull/547
Update scalacheck-1-15 to 3.2.14.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/535
Update jsoniter-scala-core, ... to 2.23.2 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/548
Update scala-collection-compat to 2.11.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/549
Make the list of targets in WorkspaceBuildTargetsResult required by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/551
Refactor approval tests by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/552
Update bsp4j-gen by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/553
Bump tj-actions/verify-changed-files from 15 to 16 by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/556
Implement code generator for bsp4s by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/554
Update approvaltests to 18.6.1 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/558
Update smithy-model to 1.33.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/560
Update sbt to 1.9.1 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/559
fix: various prettier fixes by @ckipp01 in https://github.com/build-server-protocol/build-server-protocol/pull/550
Make ScalaMainClass usable as both RunParamsData and DebugSessionParamsData by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/561
Bump prettier from 2.8.8 to 3.0.0 in /website by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/564
Update scalafmt-core to 3.7.7 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/563
Bump semver from 5.7.1 to 5.7.2 in /website by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/566
New Contributors
@xuansontrinh made their first contribution in https://github.com/build-server-protocol/build-server-protocol/pull/547
@Toomimi made their first contribution in https://github.com/build-server-protocol/build-server-protocol/pull/592
@Xewar313 made their first contribution in https://github.com/build-server-protocol/build-server-protocol/pull/557
Full Changelog: https://github.com/build-server-protocol/build-server-protocol/compare/v2.1.0...v2.2.0-M1
Update smithy-model to 1.34.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/571
Update scalafmt-core to 3.7.9 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/570
Update sbt to 1.9.2 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/569
Update approvaltests to 18.7.1 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/568
Less dependency bump PRs. by @jastice in https://github.com/build-server-protocol/build-server-protocol/pull/567
Bump clsx from 1.2.1 to 2.0.0 in /website by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/572
Bump the dev-dependencies group in /website with 1 update by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/573
Replace hand-written bsp4j and bsp4s with generated versions by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/555
Render data kinds by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/576
Run mdoc on sbt generate by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/574
Update the GH docs to reflect the project state after smithy by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/525
Split TaskData into TaskStartData, TaskProgressData and TaskFinishData by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/575
Update scalafmt-core to 3.7.10 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/577
Restore the scala-attach-remote data kind by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/578
Simplify approval tests by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/579
fix: make sure to publish bsp4j java style by @ckipp01 in https://github.com/build-server-protocol/build-server-protocol/pull/581
Update sbt to 1.9.3 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/583
fix: correct cron schedule for steward by @ckipp01 in https://github.com/build-server-protocol/build-server-protocol/pull/584
Fix incorrect closed string enum rendering in bsp4s by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/589
Use basepkg in generators by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/588
Update smithy-model to 1.35.0 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/587
Bump the dev-dependencies group in /website with 2 updates by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/590
Fix the DataKindTrait by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/585
Update scalafmt-core to 3.7.11 by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/586
fix CONTRIBUTING.md by @Toomimi in https://github.com/build-server-protocol/build-server-protocol/pull/592
Change jsonrpc.smithy and docs.smithy to traits.smithy by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/595
Fix location of required trait by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/594
Bump the dev-dependencies group in /website with 1 update by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/598
Remove deprecated TaskDataKind by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/597
Add set trait by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/593
Make aliasing more universal by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/599
Fix "scala-test-suites" and "scala-test-suites-selection" data kinds by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/601
Render javadoc & support @unstable trait by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/603
chore: remove me from CODEOWNERS by @ckipp01 in https://github.com/build-server-protocol/build-server-protocol/pull/605
Add originId to tasks by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/600
Update Mill URL by @lefou in https://github.com/build-server-protocol/build-server-protocol/pull/607
Fix unstable trait generation by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/610
Add functionality for reading stdin and printing stdout/stderr by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/604
Improve running applications and tests using BSP by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/602
Add Cargo extension by @Toomimi in https://github.com/build-server-protocol/build-server-protocol/pull/580
Bump protocol version by @agluszak in https://github.com/build-server-protocol/build-server-protocol/pull/612
Add Cancel notification by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/596
Fix deprecated trait usages by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/611
Dependency updates by @scala-steward in https://github.com/build-server-protocol/build-server-protocol/pull/624
Bump the dev-dependencies group with 1 update by @dependabot in https://github.com/build-server-protocol/build-server-protocol/pull/618
Add rust smithy extension by @Xewar313 in https://github.com/build-server-protocol/build-server-protocol/pull/557
Update Diagnostic related structures by @KatKlo in https://github.com/build-server-protocol/build-server-protocol/pull/614