0.2.5
Version 0.2.5 of Eclipse LSP4Jakarta
New Features
-
WebSocket: Quick Fix for Missing Leading Slash in ServerEndpoint
Added quick fix support for endpoint paths without a leading slash. -
WebSocket: Generic Endpoint Templates
Introduced templates for creating WebSocket endpoints efficiently. -
Dependency Injection: Diagnostics for Non-Static Inner Class Managed Beans
Added a new diagnostic to detect non-static inner classes used as managed beans, with quick fixes to either make the class static or remove the injection. -
Jakarta Bean Validation: Diagnostics for PostConstruct and PreDestroy Annotations.
Improved diagnostic support to detect checked exceptions within lifecycle callback methods, ensuring alignment with Jakarta EE specifications. -
Jakarta Bean Validation: Diagnostics for Size and NotEmpty Annotations
Introduced validation checks for Size and NotEmpty annotations to ensure consistent and correct usage in Jakarta Bean Validation. -
Diagnostics for Mutually Exclusive Annotations
Added diagnostics to detect mutually exclusive annotations, improving user experience and code correctness. -
Diagnostics for Unique JSON Property Names
Implemented validation to ensure JSON property names are unique within a class or sub/parent classes.
Improvements & Fixes
-
Refactored JDT Test Package
Improved structure and maintainability of test packages. -
Fixed getAllSupertypes() returns empty in Test Environment
Ensured consistent behavior when running in test setups. -
PersistenceMapKey Diagnostics Enhancements
Applied diagnostics to all relevant methods, verified constraints, and reduced code duplication. -
Multiple BeanParams incorrectly reported as error
Added support for excluding BeanParam from the "only one entity parameter" validation rule, recognizing its role as a container for non-entity parameters like QueryParam and PathParam. -
Consistent Processing of Fully Qualified Class Names
Improved class name resolution to ensure LSP4Jakarta consistently handles fully qualified class names in diagnostics and quick fixes. -
User Experience Enhancements for Dependent Diagnostics
Refined diagnostics and quick fix suggestions involving Dependent scope to provide a smoother and more intuitive user experience. -
Missing Code Action for WebFilter() Diagnostic in Eclipse
Resolved an issue where WebFilter() diagnostics did not offer relevant code actions within Eclipse IDE. -
Fix for intermittent codeAction failure while opening Java file in VSCode
Added a check to avoid operating on a null ICompilationUnit.
N.B. There is no version 0.2.4.
See the commit log for the full set of changes.
The Eclipse LSP4Jakarta 0.2.5 early release is available on the Eclipse Repository and Eclipse Download site.