diff --git a/CHANGELOG.md b/CHANGELOG.md index 31d561987..8128b9f8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,25 +5,46 @@ ## [Unreleased] +## [3.0.0] - 09.08.2023 + ### BREAKING CHANGES 🚨 +- The server no longer builds the project on initial sync - + in order to generate and collect generated sources build + resync is required. + | [ba44564](https://github.com/JetBrains/bazel-bsp/commit/ba445645a3b6d41777dc7ce43f1e821e323f4045) +- Project view `targets` has its default value changed from all targets (`//...`) to no targets. + | [779fade](https://github.com/JetBrains/bazel-bsp/commit/779fade5dadf2c411a4147412c017e25c316e5eb). - Bloop support has been dropped. + | [3d23205](https://github.com/JetBrains/bazel-bsp/commit/3d23205d82e5a877a31c452c27fc89370780657b) - Project view file is obligatory now! Server requires path to the file in `argv` in `.bsp/bazelbsp.json`. Debugger address (`debugger_address`), java path (`java_path`) and flag for trace log (`produce_trace_log`) are *no longer* fields in project view files! They can be set *only* using installer flags (check [README](install/README.md)). -- Project view `bazel_path` has been renamed to `bazel_binary` (now it's compatible with https://ij.bazel.build/docs/project-views.html#bazel_binary). -- Project view `targets` has its default value changed from all targets (`//...`) to no targets. | [#BAZEL-552](https://youtrack.jetbrains.com/issue/BAZEL-552). + | [f2423bb](https://github.com/JetBrains/bazel-bsp/commit/f2423bb8093ad186ac4b7eff925e50818348ca72) +- Project view `bazel_path` has been renamed to `bazel_binary` + (now it's compatible with https://ij.bazel.build/docs/project-views.html#bazel_binary). + | [5bd2a06](https://github.com/JetBrains/bazel-bsp/commit/5bd2a060d9f0172c91904fe9464900048ab93834) ### Features 🎉 -- Enhance support for Kotlin by providing Kotlin target's specific info. - | [#BAZEL-460](https://youtrack.jetbrains.com/issue/BAZEL-460) -- Experimental `workspace/libraries` endpoint that returns list of external libraries + - Support for Python targets, including `buildTarget/pythonOptions` endpoint + (a big thank you to the students of the University of Warsaw!). + | [8152cc2](https://github.com/JetBrains/bazel-bsp/commit/8152cc23b4ea26bfe6180b77ae8e45ae48e157e4) +- Enhance support for Kotlin by providing Kotlin target's specific info + | [c06acc6](https://github.com/JetBrains/bazel-bsp/commit/c06acc6a577f4d146a63d81d529627aaaeb66fee) +- Experimental `workspace/libraries` endpoint that returns list of external libraries. + | [3360353](https://github.com/JetBrains/bazel-bsp/commit/3360353d9a2d12931972ea3f6bf80e2b04cfa237) ### Fixes 🛠️ - Now we report the failure of the whole test target and binaries are reporting stdout. + | [224c1ec](https://github.com/JetBrains/bazel-bsp/commit/224c1ec08fc1111f90431926bf7d6dd1aa7f6ab3) - Aspects don't throw an exception for kotlin rules if an attr doesn't exist. -- Fix 'this.bepLogger is null' error on project sync + | [f08fe8b](https://github.com/JetBrains/bazel-bsp/commit/f08fe8bc2e1862b2c8de0a213b2d1a3042e250d2) +- Fix 'this.bepLogger is null' error on project sync. + | [956bc00](https://github.com/JetBrains/bazel-bsp/commit/956bc000455b10466fb2f84f8c54dfe28109501b) + +### Other changes 🔁 +- Aspects now are more structured - each rule support has been extracted to separate files. + | [b11e3a1](https://github.com/JetBrains/bazel-bsp/commit/b11e3a1e1c5206689cda8d68cf7eb4d14ff6340f) ## [2.7.2] @@ -408,7 +429,9 @@ - Everything... 🎉 -[Unreleased]: https://github.com/JetBrains/bazel-bsp/compare/2.7.2...HEAD +[Unreleased]: https://github.com/JetBrains/bazel-bsp/compare/3.0.0...HEAD + +[3.0.0]: https://github.com/JetBrains/bazel-bsp/compare/2.7.2...3.0.0 [2.7.2]: https://github.com/JetBrains/bazel-bsp/compare/2.7.1..2.7.2 diff --git a/central-sync/VERSION b/central-sync/VERSION index 37c2961c2..4a36342fc 100644 --- a/central-sync/VERSION +++ b/central-sync/VERSION @@ -1 +1 @@ -2.7.2 +3.0.0 diff --git a/commons/src/main/java/org/jetbrains/bsp/bazel/commons/Constants.java b/commons/src/main/java/org/jetbrains/bsp/bazel/commons/Constants.java index 2ed4f3621..851a46b2a 100644 --- a/commons/src/main/java/org/jetbrains/bsp/bazel/commons/Constants.java +++ b/commons/src/main/java/org/jetbrains/bsp/bazel/commons/Constants.java @@ -5,7 +5,7 @@ public class Constants { public static final String NAME = "bazelbsp"; - public static final String VERSION = "2.7.2"; + public static final String VERSION = "3.0.0"; public static final String BSP_VERSION = "2.1.0"; public static final String SCALA = "scala"; public static final String JAVA = "java"; diff --git a/docs/dev/BUMPVERSION.md b/docs/dev/BUMPVERSION.md index 26cfa501b..63fdbbd24 100644 --- a/docs/dev/BUMPVERSION.md +++ b/docs/dev/BUMPVERSION.md @@ -5,4 +5,3 @@ If you want to bump version (for example, before a release) you should do this i - `central-sync/VERSION` - `maven_coordinates` in `server/src/main/java/org/jetbrains/bsp/bazel/BUILD` - `VERSION` in `commons/src/main/java/org/jetbrains/bsp/bazel/commons/Constants.java` -- installation description in `README.md` diff --git a/server/src/main/java/org/jetbrains/bsp/bazel/BUILD b/server/src/main/java/org/jetbrains/bsp/bazel/BUILD index 9ddfdc558..0ad539b2d 100644 --- a/server/src/main/java/org/jetbrains/bsp/bazel/BUILD +++ b/server/src/main/java/org/jetbrains/bsp/bazel/BUILD @@ -3,7 +3,7 @@ load("@bazel_sonatype//:defs.bzl", "sonatype_java_export") sonatype_java_export( name = "bsp", srcs = glob(["*.java"]), - maven_coordinates = "org.jetbrains.bsp:bazel-bsp:2.7.2", + maven_coordinates = "org.jetbrains.bsp:bazel-bsp:3.0.0", maven_profile = "org.jetbrains", pom_template = "//server/src/main/resources:pom.xml", resources = ["//log4j_config"],