Releases: sourcegraph/scip-java
v0.8.17
v0.8.16
Add reference relationship between synthetic case class symbols
Previously, doing "Find references" on a synthetic case class symbol (for example, named parameter of a copy method) then it only showed usages of that symbol and the non-synthetic symbol (for example, the case class field that matches the copy parameter). It didn't return usages of other synthetic symbols that also relate to the case class field (for example, the apply parameter).
This release fixes that issue
Pull Requests
v0.8.15
Improved Scala support when emitting SCIP
Previously, Scala users were recommended to use LSIF instead of SCIP because scip-java didn't fully encode Scala features like case classes when using the SCIP format. This issue is fixed now and the SCIP emitter is now a superset of LSIF.
Note that when uploading SCIP files to Sourcegraph, the code navigation still works a bit differently compared to when using the LSIF format. The Sourcegraph backend is still missing a few changes in how it interprets SCIP data.
The snapshot command now snapshots SCIP files instead of SemanticDB files
Previously, running scip-java snapshot it would snapshot *.semanticdb files. Now, the scip-java snapshot command only snapshots *.scip files. To snapshot *.semanticdb files, downgrade to scip-java v0.8.14.
What's Changed
- fix: correct issue reporting url by @Marcuse7 in #530
- Improve installation documentation by @olafurpg in #531
- docs: fix SCIP link on getting started page by @enriquegh in #539
- Update Maven/SBT, better JDK distro resolution by @keynmol in #543
- feat: add support for the mill wrapper by @ghostbuster91 in #534
- Use Gradle v7 in tests until we fix v8 support by @olafurpg in #546
- ci: update to actions/checkout@v3 by @daxmc99 in #528
- Get Bazel build working again by @olafurpg in #547
- Gradle: improve dependency detection by @olafurpg in #540
- Bump Scala and Scalameta versions by @olafurpg in #548
- Don't set java home per-configuration by @keynmol in #552
- Disable incremental compilation on managed java projects by @keynmol in #553
- run kotlin compiler-inprocess and bump semanticdb-kotlin version by @Strum355 in #551
- Fix snapshot tests by @olafurpg in #555
- Move to SCIP snapshots by @olafurpg in #556
- Close SCIP/LSIF feature gap by @olafurpg in #557
New Contributors
- @Marcuse7 made their first contribution in #530
- @enriquegh made their first contribution in #539
- @keynmol made their first contribution in #543
- @ghostbuster91 made their first contribution in #534
- @daxmc99 made their first contribution in #528
Full Changelog: v0.8.10...v0.8.15
scip-java v0.8.10
scip-java v0.8.9
scip-java v0.8.7
scip-java v0.8.6
What's Changed
- chore(ci): remove no longer necessary setup-go by @ckipp01 in #485
- dep: bump scalapb related stuff by @ckipp01 in #487
- Downgrade runtime proto dependency to 3.17.3 by @olafurpg in #488
- Update coursier binary URL for Docker container by @olafurpg in #491
- dep: bump to moped 0.1.11 by @ckipp01 in #490
- dep: bump scalafix related deps by @ckipp01 in #489
- fix: ensure the scala codebase can be indexed by @ckipp01 in #493
- bump mill-scip version and improve mill testing by @ckipp01 in #492
- chore(build): skip source generation in import for Jmh by @ckipp01 in #494
Full Changelog: v0.8.4...v0.8.6
scip-java v0.8.4
Improved Java 17 support
Previously, scip-java index would fail in Gradle and Maven projects using Java 17 due to missing --add-exports flags. These flags are now automatically configured for Gradle and Maven when running on Java 17 or newer.
Mill build tool support
The scip-java index command can now automatically index codebases using the Mill build tool (https://com-lihaoyi.github.io/mill/mill/Intro_to_Mill.html). Thank you @ckipp01 for contributing this addition 🙏
Improved Scala indexing
This releases fixes the following code navigation issues related to Scala anonymous classes, implicit conversions, structural types, and overriding fields.
What's Changed
- Update License by @jdorfman in #462
- workflows: update pr-auditor workflow by @bobheadxi in #461
- docs: Remove LSIF reference. by @varungandhi-src in #452
- Website fixes by @jdorfman in #470
- Link references for fields, fixes #413 by @olafurpg in #471
- Make the build work on Apple M1 chips by @olafurpg in #481
- feat: add support for the Mill build tool by @ckipp01 in #477
- refactor(build): remove explicit dependency on Bloop by @ckipp01 in #483
- Include missing
--add-exportsflags for Java 9+ Gradle builds by @olafurpg in #464 - Update dependency bazel to v5.2.0 by @renovate in #465
- Upgrade to the latest Scalameta by @olafurpg in #472
- chore(ci): align usage of setup-java by @ckipp01 in #484
New Contributors
- @varungandhi-src made their first contribution in #452
- @ckipp01 made their first contribution in #477
Full Changelog: v0.8.1...v0.8.4
scip-java v0.8.3
See v0.8.4 release notes https://github.com/sourcegraph/scip-java/releases/tag/v0.8.4
scip-java v0.8.1
Bugfix: make scip-java index work with sbt builds
The rename from lsif-java to scip-java introduced a bug where it was no longer possible to index sbt builds. This release fixes this bug by updating to the latest version of the sbt-sourcegraph plugin, which now uses scip-java instead of lsif-java.