Skip to content

Latest commit

 

History

History
295 lines (223 loc) · 22 KB

CHANGELOG.md

File metadata and controls

295 lines (223 loc) · 22 KB

MicroProfile Language Server Changelog

0.13.0 (October 22, 2024)

Enhancements

  • Provide property validator extension API. See #460.

Bug Fixes

  • Codelens for REST endpoints should resolve variable references. See #467.
  • Prevent duplicate properties when generating them. See #465.
  • Split register completion options for Java / Properties. See #464.
  • Prevent error on empty name symbol. See #462.
  • Check that document is not out of date when getText is consumed. See #466.

0.12.0 (August 26, 2024)

Enhancements

  • Resolve system properties/environment variables while browsing the application.properties values. See #448.
  • Add support for @Startup healthcheck diagnostic. See #443.

Bug Fixes

  • NPE with Workspace Symbol when LSP client return null as SymbolInformation List. See #457.
  • Unrecognized property mp.messaging.* when Channel annotation is used along with Multi. See #451.
  • fix: synchronized projectLabels + collect codeLens when project is loaded. See #444.

Build

  • Update eclipse.jdt.ls to 1.39.0-SNAPSHOT. See #454.
  • Add About files to JDT extension bundles & Maven artifacts. See #437.

0.11.0 (February 1, 2024)

Enhancements

  • Delegate kotlin file (*.kt) to java document service. See #430.

Bug Fixes

  • Don't generate an empty symbol name when property starts with '.'. See #433.

Build

  • Use newer JDT.LS's JavadocContentAccess2 methods. See 432.

0.10.0 (October 5, 2023)

Bug Fixes

  • Properly handle StackOverflowError in MicroProfileDelegateCommandHandler.getMicroProfileProjectInfo. See #418.
  • Fix NullPointerException in TestJaxRsInfoProvider.canProvideJaxRsMethodInfoForClass. See #424.
  • Fix canProvideJaxRsMethodInfoForClass for default JAX-RS. See #420.

Build

  • Update to Tycho 3.0.5 and Maven 3.9.4. See #422, #423.
  • Update eclipse.jdt.ls to 1.29.0-SNAPSHOT. See #427.

0.9.0 (August 8, 2023)

Enhancements

  • Improve completion performance of microprofile-config.properties (remove unnecessary parameters in response). See #410.

Bug Fixes

  • Add null check for data field in completionItem/resolve request. See #412.

Build

  • Update eclipse.jdt.ls to 1.27.0-SNAPSHOT. See #415.

0.8.0 (June 15, 2023)

Enhancements

  • Improve completion performance in properties files (resolve support, and item defaults). See #389.
  • Warning for type declarations that are incorrectly annotated while their methods are annotated with @Query/@Mutation. See #355.

Bug Fixes

  • Don't implement by default custom language client API. See #398.
  • Make javaCursorContext calls consistent with all PropertiesManagerForJava calls. See #390.
  • Fix missing export packages for tests. See #391.

Build

  • Update eclipse.jdt.ls to 1.24.0-SNAPSHOT. See #401.

0.7.1 (April 12, 2023)

Bug Fixes

  • Fix context-aware snippets in projects that use Project Lombok. See #381.

0.7.0 (April 3, 2023)

Enhancements

  • Validation for GraphQL @Query and @Mutation methods with void return type. See #348, #359.
  • Navigate to REST endpoints using workspace symbols. See #87.
  • Show config property documentation when hovering over the key in a properties file. See #321.
  • Validate lists in @ConfigProperty's defaultValue. See #351.
  • Make Java file snippets context-aware. See #108.
  • Add an id to track the type of each CodeAction. See #371.

Bug Fixes

  • Hover fails in properties files when the Java language server is loading. See #375.
  • Definition sometimes fails on property values in a properties file. See #374.
  • Adjust go to definition range for property keys to include the offset between the property key and =. See #335.
  • Fix NullPointerException during go to definition in properties files. See #372.
  • Fix NullPointerException on shutdown when LSP client doesn't define extendedClientCapabilities. See #363.
  • Completion causes Exceptions when typing in a Java file. See #347.
  • Support the jakarta namespace (JakartaEE 9+). See #344.
  • Hovering over properties file fails with NullPointerException when there are multiple definitions of a property. See #341.
  • config_ordinal appears as a property even in non-MicroProfile projects. See #312.
  • Quick fix to assign a value to a property now handles the prefix set by @ConfigProperties properly. See #303.
  • Change wording of "Unknown property" error message to "Unrecognized property". See #290.

Build

  • Fix test error in BasePropertiesManagerTest#createParentFolders. See #369.

0.6.0 (December 1, 2022)

Enhancements

  • Display property value as inlay hint. See #226.
  • Property evaluation should support the environment variable default value notation. See #241.
  • Manage static properties using a staticProvider extension point. See #44.
  • Improve code action performance with CodeAction#data & resolveCodeAction. See #171.
  • Diagnostics for mp-reactive-messaging @Incoming/@Outgoing annotation. See #58.

Bug Fixes

  • Java source code not validated upon start. See #301.
  • ClassCastException thrown (and caught) when using invalid @ConfigProperty default value. See #295.
  • Improve handling of @ConfigProperties for validation. See #304.
  • Support for the config_ordinal property in microprofile-config.properties. See #289.
  • Display property value when hovering over a key that isn't defined in the application. See #285.
  • REST client code lens only shows up for GET annotations. See #94.
  • JAXRS code lens URL should always appear above method declaration. See #194.
  • Support microprofile-health 3.0 and later. See #314.
  • Fix inlay hints & definitions when project returns empty properties. See #311.
  • Fix code lens when no configuration sources available. See #315.
  • @ConfigProperties validation should check the annotation's fully qualified name. See #304.
  • Fix typo in mpirc snippet. See #325.

Build

  • Update Target Platform to 1.16.0-SNAPSHOT version of JDT-LS target. See #288.
  • JDT.LS dependency on tests should be optional. See #286.
  • Copy over ModelTextDocuments#computeModelAsyncCompose from quarkus-ls into commons package. See #257.
  • Move VS Code workspace configuration into correct folder. See #145.

0.5.0 (July 25, 2022)

Enhancements

  • Delay revalidation and handle validation cancellation correctly. See #252.
  • Property file with property expressions (without default value) are flagged as wrong. See #225, #227.

Bug Fixes

  • Language Server attempts to calculate code actions for stale diagnostics. See #272.
  • Hovering property value fails with NPE. See #265.
  • Completing property name with existing value will replace current value with default value. See #264.
  • Empty completion when completion is triggered before the assign =. See #255.
  • Improve validation by handling some known corner cases. #249, #235, #233, #232, #228.
  • Improved MicroProfile property value expression diagnostic message. See #242.
  • Update quarkus-spring-web so that it is not vulnerable to CVE-2022-22965. See #238.
  • javaASTValidator schema refers to the wrong interface name. See #234.
  • PropertyReplacerStrategy is in wrong package. See #239.
  • Added JDTTypeUtils.isVoidReturnType for QuarkusConfigMappingProvider void check. See #246.
  • Rename profile parameter to ordinal for better readability. See #236.
  • plugin.xml not part of the test bundle. See #230.

Build

  • Use JDT-LS 1.13.0 and build with Java 17. See #266.
  • Move to LSP4j 0.14.0. See #254.
  • Remove the m2e lifecycle mapping plugin from MANIFEST.MF. See #269.
  • Remove unnecessary 2019-06 release repository from target platform. See #251.
  • Remove unnecessary Gson dependency in pom file. See #274.

0.4.0 (March 24, 2022)

Enhancements

  • Support validation and code actions for @ConfigProperty. See #90, #176, #147.
  • Completion for properties defined using @ConfigProperties. See #80.
  • Support validation for @Retry annotation and its member values. See #191, #196.
  • Diagnostics for @Asynchronous, @Bulkhead & @Timeout annotations. See #74, #184, #185.
  • Support the @ApplicationPath annotation to handle the project URL. See #179.
  • Diagnostics for invalid annotation parameter values. See #77.
  • Reference only property declared in properties file in property expression. See #205.
  • Support for default value inside properties expression. See #201.
  • Exclude unassigned property with code action. See #187.
  • Binary dynamic properties should be generated after an update. See #159.
  • Support for config profiles. See #78.

Bug Fixes

  • Provide API to configure root path of JAX RS resources. See #174.
  • projectLabels command doesn't support jdt:// URIs. See #220.
  • Fix bug with missing definition hover for multiple annotation members. See #216.
  • Support optional property reference hover for annotation members. See #211.
  • Do not rebuild list of configuration properties when MicroProfile config sources are updated in the build directory. See #162.
  • Deadlock when client is sending burst of request. See #177.
  • Exclude the method that's being annotated when showing completion for fallback method. See #148.
  • SingleMemberAnnotation diagnostics not supported by annotationValidator. See #188.
  • Add 'shouldLanguageServerExitOnShutdown' to ExtendedClientCapabilities. See #172.
  • Fix class cast exception. See #182.

Build

  • Update o.e.jdt.ls.tp dependency to 1.7.0 Release. See #217.
  • Update eclipse-jarsigner-plugin. See #157.

Other

  • Move @ApplicationPath SearchEngine to JaxRsContext. See #208.
  • MicroProfileMetricsDiagnosticsParticipant difficult to read. See #199.
  • Remove QuarkusConfigSourceProvider. See #160.
  • Extension point for contributing configuration sources. See #149.

0.3.0 (July 15, 2021)

Enhancements

  • Completion for fallbackMethod in @Fallback annotation. See #34.

Other

  • Remove pack200 support. See #134.

0.2.0 (March 31, 2021)

Enhancements

  • Support arbitrary number of member values in PropertiesHoverParticipant. See #124.
  • Add extension point to contribute properties to exclude from validation. See #95.
  • Definition support from Java to properties for ConfigProperty/name. See #88.
  • Automatically infer package names when inserting class snippets. See #60.
  • Support handle-as for metadata properties. See #39.
  • Display the different values for the different profiles in Java @ConfigProperty Hover. See #98.

Bug Fixes

  • Trailing tab causes infinite loop in parser. See #112.
  • Prevent NPEs when working with MP 4.0 features. See #119.
  • Enhance the error message when out of bounds is detected. See #114.
  • Use kill -0 instead of ps -p in ParentProcessWatcher. See #110.
  • Move quarkus test project names to quarkus-ls repo. See #7.
  • Wrong/Missing Log Levels in property files. See #15.
  • mp.messaging properties now work for Emitters. See #127.

Other

  • Move MicroProfileForJavaAssert into internal.core class. See #125.
  • Sequence diagram of properties completion. See #75.
  • Fix Tools for MP name in sequence diagrams. See #93.

0.1.0 (September 21, 2020)

Enhancements

  • Java snippets for microprofile rest client. See #55.
  • Filter out duplicate completion items coming from MP implementations. See #48.
  • CDI scope diagnostics for mp metrics @Gauge. See #46.
  • Highlight support for property expression. See #40.
  • Diagnostics for mp-fault-tolerance fallbackMethod . See #33.
  • Java snippets for jax-rs. See #31.
  • Snippets for new microprofile health liveness / readiness checks. See #28.
  • Properties support for microprofile-graphql. See #27.
  • Properties support for microprofile-reactive-messaging. See #26.
  • Hover for Property Expressions. See #24.
  • Properties support for microprofile-jwt-auth. See #23.
  • Property expression validation. See #21.
  • Property expression definition. See #19.
  • Hardcoded support for boolean converter. See #17.
  • Properties support for microprofile-health. See #16.
  • Model and completion for property expressions. See #13.

Bug Fixes

  • NullPointerException with symbols. See #66.
  • Fix duplicate of quarkus-properties when registering textDocument/rangeFormatting. See #52.
  • Rename settings prefix to microprofile. See #51.
  • Fix missing unit in Gauge metrics snippet. See #47.
  • Escape special characters within LSP snippets. See #29.
  • Completion in properties file gives enum values before =. See #14.
  • Remove references to quarkusLanguageServer. See #11.
  • Rename settings prefix to microprofile. See #4.

Build

  • Require Java 11 to build/run. See #12.
  • Collect all JUnit reports in Jenkins. See #3.

Other

  • Add gitter link to readme. See #76.
  • List vscode-microprofile under clients. See #72.
  • Improve architecture documentation. See #68.
  • Update file headers to use EPL 2.0. See #53.
  • Add CONTRIBUTING.md. See #49.
  • Add diagram to the README describing MicroProfileLS and MicroProfile JDT. See #35.
  • Add diagram in README. See #9.
  • Update README. See #6.
  • Initial code contribution. See #1.