Skip to content

Releases: redhat-developer/vscode-java

1.42.0

15 May 03:50
Compare
Choose a tag to compare
  • enhancement - Implement methods in newly created type from an inherited sealed class. See JLS#1570.
  • enhancement - Code action for "The left-hand side of an assginment must be a variable". See JLS#3441.
  • bug fix - Avoid StackOverflowError when computing Extended Outline. See JLS#3435.
  • bug fix - Compilation failure with primitive array comparison. See #4020.
  • bug fix - Avoid notifying of failures for workspace builds. See #4032.
  • bug fix - Report language server exiting with unsaved changes as java.ls.error. See #4033.
  • documentation - Javac-based (experimental) compilation should require latest released Java SDK (24). See #4029.
  • documentation - Fix return type typo in qualifyMembers example. See #4026.

1.41.1

01 Apr 16:44
Compare
Choose a tag to compare
  • bug fix - Fix issues with preference manager by reverting "merge" behaviour. See #3995.
  • bug fix - Add missing "Create record" quick fix. See #3988.

1.41.0

27 Mar 03:45
Compare
Choose a tag to compare
  • enhancement - Provide support for Java 24. See #3983.
  • enhancement - Add Make static refactoring. See JLS#3400.
  • enhancement - Adopt quick fixes for some more problems. See JLS#3398.
    • MethodButWithConstructorName, UsingDeprecatedMethod,
    • VarIsNotAllowedHere, SwitchExpressionsReturnWithinSwitchExpression
  • enhancement - Code action to ignore configurable compiler problems. See #1791.
  • bug fix - Fix indentation for snippet strings within code actions. See #3970.
  • bug fix - Only rename source file to match the single public type declaration. See #3963.
  • bug fix - Fix inherited document symbols to work for interfaces as well. See #3972.
  • bug fix - Detect changes to watched files that are outside of the workspace. JLS#1765, JLS#3407.
  • bug fix - Guard against null workspace edits (eg. for Organize Imports). See #3978.
  • bug fix - Guard against null completion item resolved on cancellation. See #3973.
  • bug fix - Fix commands test by including new commands. See #3966.
  • build - Fix check_and_update_jdk script by catching missing test URL. See #3982.
  • dependencies - Update serialize-javascript, mocha, sinon, css-loader. See #3948, #3967.

1.40.0

27 Feb 04:40
Compare
Choose a tag to compare
  • enhancement - Support for inherited document symbols. See #2342.
  • enhancement - Introduce approximately 15 new quick fixes. See JLS#3368, JLS#3372.
  • enhancement - Introduce quick assist & cleanup converting a pattern-instanceof-if-chain to a switch statement. See #3951.
  • bug fix - Unicode characters not rendering correctly in decompiled file. See #3949.
  • bug fix - Fix a potential deadlock in search-based functionality. See #3926.
  • bug fix - Adopt the Lombok 1.18.36 release. See #3939.

1.39.0

22 Jan 05:26
Compare
Choose a tag to compare
  • performance - Enhance initialization of gradle projects. See JLS#3357.
  • enhancement - Implementation code lens for non interface/abstract base types/methods. See JLS#3355.
  • bug fix - Handle snippet position groups with undefined offsets (eg. Add constructor ..). See #3905.
  • bug fix - Ensure Gradle project always reacts to build configuration changes. See #3893.
  • bug fix - Update the javac build profile with new --add-opens. See #3897.
  • debt - Bump minimum required Java Execution Environment from 17 to 21. See #3911.

1.38.0

19 Dec 04:09
Compare
Choose a tag to compare
  • enhancement - Add code lens for interface / abstract method implementations. See #3813.
    • java.implementationCodeLens.enabled replaced by java.implementationCodeLens
    • Values for new setting are "none", "types", "methods", "all"
  • enhancement - Add quick fix for sealed class within empty switch expression. See JLS#3345.
  • enhancement - Support code assist on unresolved types. See #1123.
  • bug fix - Improve rendering of Markdown Comments (JEP 467). See JLS#3332.
  • build - Check for updated snapshot repositories when running build. See #3889.
  • dependencies - Bump cross-spawn from 7.0.3 to 7.0.6. See #3862.
  • dependencies - Update vscode-redhat-telemetry to 0.9.1. See #3886.

1.37.0

28 Nov 04:29
Compare
Choose a tag to compare
  • performance - Improve performance of code action requests. See #3845.
  • performance - Improve performance of all language server requests that resolve a document URI. See JLS#3313.
  • enhancement - Code action for unused pattern variable, lambda parameter, etc. and the corresponding clean up. See #3856, #3864.
  • enhancement - Add setting to control inclusion of declarations in reference search. See #3850.
  • bug fix - Mapstruct implementation class not generated. See #3836.
  • bug fix - Open more requested system packages for tests with javac support. See #3847.
  • bug fix - Fix some typos in documentation. See #3863
  • build - Add Maven (-U) flag for updating artifacts from snapshot repositories. See #3848.

1.36.0

31 Oct 02:41
Compare
Choose a tag to compare
  • enhancement - Experimental support for using javac as the compiler. See #3558, JLS#3167.
    • java.jdt.ls.javac.enabled: Enables Javac-based compilation.
      • Requires running with Java 23. Make sure to use java.jdt.ls.java.home for this.
      • Defaults to off
    • java.completion.engine: Select code completion engine. (ecj or dom)
      • Requires java.jdt.ls.javac.enabled to be on
      • Defaults to ecj
  • enhancement - Automatically add /// on new line when editing Markdown comments (JEP 467). See #3801.
  • bug fix - Re-enable dynamic code actions by fixing the URI comparison. See #3792.
  • bug fix - Intermittent failures to suggest Java core packages for completion & code actions. See #3797.
  • bug fix - java.diagnostic.filter is broken on Windows. See JLS#3290.
  • bug fix - Type declaration snippets should respect java.templates.typeComment. See JLS#3295.
  • bug fix - Linux release package files have excessive permissions. See JLS#3293.
  • bug fix - Remove Dependency Analytics extension from being recommended. See #3804.
  • bug fix - Update embedded lombok library name to reflect actual version. See #3833.
  • dependencies - Use Node 20 in release-job only. See #3809.

1.35.1

30 Sep 00:03
Compare
Choose a tag to compare
  • bug fix - Dynamic code actions fail on Windows. See #3780.

1.35.0

26 Sep 03:10
Compare
Choose a tag to compare
  • performance - Consider token to limit the chains that are searched. See JLS#2835.
  • enhancement - Provide support for Java 23. See #3774.
  • enhancement - Show decompiled content directly on opened .class file. See #3759.
  • enhancement - Support dynamic code actions through LSP snippet syntax. See #3686.
  • enhancement - Introduce new type mismatch quickfix for constructor invocations. See #3040.
  • enhancement - Control scope for search operations (eg. references, call hierarchy, workspace symbols). See #2649.
  • enhancement - Add "Organize Imports" as a clean up. See #3764.
  • bug fix - Import Gradle project via. Buildship if Gradle Build Server is not available. See JLS#3245.
  • bug fix - Copy/paste will not escape content within String literal when code has error. See #3761.
  • bug fix - Respect unwantedRecommendations. See #3767.
  • dependencies - Bump webpack from 5.76.0 to 5.94.0. See #3756.
  • dependencies - Update vscode-redhat-telemetry to 0.9.0. See #3778.