lsif-java v0.7.2
Kotlin hover support
Previously, the hover message only displayed the name of Kotlin symbols. Now, the hover message shows the symbol signature and KDoc.
Improved Java 17 support
Running lsif-java index
will now use the correct --add-exports
flags in more cases when compiling code with Java 17. There are still many situations where users on Java 17 need to manually add the following JVM options
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
Updated Docker container
The Docker container sourcegraph/lsif-java is now automatically published on every release alongside the Maven Central artifacts. The Docker container is fairly large because it includes pre-installed Java 8, Java 11 and Java 17. If the container size is a problem then we recommend creating your own Docker container with the Java launcher as documented here https://sourcegraph.github.io/lsif-java/docs/getting-started.html#java-launcher
Pull Requests
- Automate Docker container build and fix Java version detection (#372) @olafurpg
- Bump to the latest lsif-kotlin (#371) @olafurpg
- Update gradle:7.2.0-jdk8 Docker digest to 51a6950 (#369) @renovate
- Update dependency ch.epfl.scala:sbt-bloop to v1.4.11 (#364) @renovate
- Update dependency org.scalameta:sbt-native-image to v0.3.2 (#368) @renovate
- Update
snapshot
command to fallback to the.documentation
field (#370) @olafurpg - Simplify build configuration for Java 17 (#360) @olafurpg
- Remove PackageHub code (#359) @olafurpg
- Update gradle:7.2.0-jdk8 Docker digest to fa25782 (#343) @renovate
- Update dependency ch.epfl.scala:sbt-bloop to v1.4.9-33-c93326ba (#344) @renovate
- Update dependency com.google.cloud.sql:postgres-socket-factory to v1.3.4 (#348) @renovate
- Update dependency net.bytebuddy:byte-buddy-agent to v1.11.21 (#345) @renovate
- Update dependency org.scalameta:sbt-mdoc to v2.2.24 (#327) @renovate
- Update dependency org.flywaydb:flyway-core to v8 (#349) @renovate
- Make compiler plugin work with Java 17 (#358) @olafurpg
- Start testing with Java 17 (Zulu) (#357) @olafurpg
- Fix #319 - prevent IndexOutOfBoundsException (#356) @olafurpg
- Update documentation (#354) @olafurpg