Releases: spring-projects/sts4
4.20.1.RELEASE
important highlights
- (Spring Boot) Completions for Spring Properties show up 10 times faster initially (as fast as on the consecutive invocations)
- (Spring Boot) Various performance optimizations around symbols scanning and Java reconciling
- (Eclipse) Early access builds available for upcoming Eclipse 2023-12 release
all fixes and improvements in detail
- (Spring Boot) fixed: [optimization] avoid running symbol indexing and cache write for empty affected files array #1124
- (Spring Boot) fixed: [optimization] Boot properties completions slow to show up #1120
- (Spring Boot) fixed: [optimization] reuse compilation unit cache to compute symbols for document #1119
- (Spring Boot) fixed: [optimization] avoid writing caches multiple times on file delete events #1118
- (Spring Boot) fixed: [optimization] Dependency versions re-calculated often #1116
- (Spring Boot) fixed: [boot version validation] add progress support and error messages #1115
- (Spring Boot) fixed: Completion Proposal for query methods doesn't work with
record
entities #1113 - (Spring Boot) fixed: Entity Id type from domain type reconciler should account for JPA
@Id
annotations #1112 - (Spring Boot) fixed: further refinements for quick fixes around mapping annotations #1109
- (Spring Boot) fixed: Multiple quick fixes offered for
@RequestMapping
intoGetMapping
etc #1107 - (Spring Boot) fixed: Spring Modulith verifications broken #1127
- (Spring Boot) fixed: various OpenRewrite based quick fixes are broken #1126
- (Spring Boot) fixed: Plugin does not use eclipse proxy settings #1101
- (Spring Boot) fixed: [validation] reconciler throws NPE #1117
- (VSCode) fixed: VS Code - Document dependency on the Red Hat Language Support for Java #1131
- (Eclipse) fixed: remove legacy STS project checker #1122
known issues
- (Eclipse): It still seems to happen sometimes that resource files like the
application.properties
do not get copied correctly into the target folders after changing those files, sometimes those resource files disappear from the target folder entirely. We are investigating the problem and will provide updates and workaround on issue #929 or M2E issue #1511. - (Eclipse): Duplicate top-level "Source" menu while Java editor is active #1111
4.20.0.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2023-09 release (new and noteworthy)
important highlights
- (Spring Boot): 5x-10x faster Java Reconciling support to show Spring specific validations re-built from the ground up tuned for high performance to work seamlessly in large code bases
- (Eclipse): No more rogue "Boot Language Server" jobs, forever calculating completion proposals and other stuck Java/Spring tooling features
all fixes and improvements in detail
- (Spring Boot) fixed: Performance of Reconciling Spring Java (#1068)
- (Spring Boot) fixed: Spring Language Server hangs forever (#1075)
- (Spring Boot) fixed: Spring Boot Validations Builder hung seemingly forever (#1103)
- (Spring Boot) fixed: [new validation engine] remove old open-rewrite based validation code (#1084)
- (Spring Boot) fixed: [new validation engine] convert reconcilers to new validation engine (#1085)
- (Spring Boot) fixed: [new validation engine] take preference changes into account beyond open files (#1083)
- (Spring Boot) fixed: Incorrect MISSING_CONFIGURATION_ANNOTATION warning in vscode (#1100)
- (Spring Boot) fixed: quick fix to remove unnecessary
@Autowired
appears twice (#1106) - (Spring Boot) fixed: quick fix to convert '@RequestMapping' to '@GetMapping' fails in VSCode (#1105)
- (Eclipse) fixed: Menu Item for "Run Configurations" should be "Spring Boot DevTools Client" (#1096)
- (VSCode) fixed: Change the scope of
spring-boot.ls.java.home
tomachine-overridable
(#1094)
known issues
- (Eclipse): It still seems to happen sometimes that resource files like the
application.properties
do not get copied correctly into the target folders after changing those files, sometimes those resource files disappear from the target folder entirely. We are investigating the problem and will provide updates and workaround on issue #929 or M2E issue #1511.
4.19.1.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- early-access builds available for early Eclipse 2023-09 milestones (via the Eclipse Marketplace or the corresponding update site)
fixes and improvements
- (Spring Boot) fixed: Evaluate Spring Modulith actuators (#953)
- (Spring Boot) fixed: No classpath update after source is saved (#987)
- (Spring Boot) fixed: duplicates of symbols showing up (#10056)
- (Spring Boot) fixed: WebSecurityConfigurerAdapter quick fix not showing (#1062)
- (Spring Boot) fixed: Let show optional: prefix for spring.sql.init.schema-locations and spring.sql.init.data-locations (#1067)
- (Spring Boot) fixed: index cache not working after project update (#1079)
- (Spring Boot) fixed: Spring Boot language server interfering with Eclipse Gradle Buildship automatic project synchronization (#1087)
- (VSCode) fixed: Spring Boot Tools vscode extension error popup: Request textDocument/definition failed (#1076)
- (Eclipse) fixed: class loading exception: SpringModelLanguageServer cannot be found (#1060)
- (Eclipse) fixed: add public PGP key to installation as trusted key (#1088)
- (Eclipse) fixed: Contribute pgp trusted key for spring (#1089)
- (Documentation) fixed: Use Theia Blueprint in the documentation? (#1073)
- (build infrastructure) fixed: [GHA Build] Factor out osx distro sign, dmg, notarize upload and linux distro upload out of maven build (#1074)
known issues
-
(Spring Boot): the newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can still cause increased memory and CPU consumption. In case you stumble upon issues in this area, please disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Spring -> Open Rewrite
(in Eclipse). A fix for this that significantly reduces CPU and memory consumption here is being worked on and is scheduled for the upcoming4.20.0
release. -
(Eclipse): It still seems to happen sometimes that resource files like the
application.properties
do not get copied correctly into the target folders after changing those files, sometimes those resource files disappear from the target folder entirely. We are investigating the problem and will provide updates and workaround on issue #929.
4.19.0.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2023-06 release (new and noteworthy)
fixes and improvements
- (Spring Boot) fixed: Spring Data Repositories: Validate ID type (#457)
- (Spring Boot) fixed: Add support for spring potential injection points discovery while indexing (#994)
- (Spring Boot) fixed: replace internals of symbols machinery with more comprehensive model of spring components (#1006)
- (Spring Boot) fixed: [spring index] optimize empty array objects in internal index storage structure (#1040)
- (Spring Boot) fixed: [spring index] add request method to lsp extension to identify matching beans (#1049)
- (Spring Boot) fixed: upgrading from Spring Boot 3.0.x to 3.1.0 doesn't work (#1051)
- (Eclipse) fixed: OpenRewrite unchecked, but always Language Server Background Job(Loading Rewrite Recipes) (#925)
known issues
-
(Spring Boot): Even vastly improved over the previous releases, the newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can still cause increased memory and CPU consumption. In case you stumble upon issues in this area, feel free to disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite
(in Eclipse). -
(Eclipse): It still seems to happen sometimes that resource files like the
application.properties
do not get copied correctly into the target folders after changing those files, sometimes those resource files disappear from the target folder entirely. We are investigating the problem and will provide updates and workaround on issue #929
4.18.1.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- early-access builds available for early Eclipse 2023-06 milestones (via the Eclipse Marketplace or the corresponding update site)
fixes and improvements
- (Spring Boot) fixed: [vscode-spring-boot] Support navigating to a Spring property file when inspecting on @value annotations (#761)
- (Spring Boot) fixed: automatically add import for types when applying content-assist proposals for query methods (#991)
- (Spring Boot) fixed: do not fetch metrics data right after connecting live data to an app (#1003)
- (Spring Boot) fixed: No hyperlink on a hover to a type from JAR (#1004)
- (Spring Boot) fixed: [spring-data-support] take type hierarchy of domain types into account (#1013)
- (Spring Boot) fixed: [spring-data-support] remove pure findBy method completion from proposal list (#1014)
- (Spring Boot) fixed: several live hovers are missing when running Spring Boot 3 applications (#1019)
- (Spring Boot) fixed: application.properties/yaml autocomplete for nested enums regression (#1021)
- (Spring Boot) fixed: [boot-upgrade] Upgrade petclinic to boot 3 results in compiler errors (#1022)
- (Spring Boot) fixed: Bump json from 20160810 to 20230227 in /headless-services/spring-boot-language-server (#1027)
- (Spring Boot) fixed: spring-configuration-metadata : must have primitive type property before F3 navigation works (#1030)
- (Spring Boot) fixed: spring-configuration-metadata : when two properties have the same Object type F3 fails on the later ones (#1031)
- (Spring Boot) fixed: support @ConditionalOnProperty in property navigation feature (#1033)
- (VSCode) fixed: In Codespaces, workspace symbols sometimes are empty. (#1012)
- (Eclipse) fixed: OpenRewrite unchecked, but always Language Server Background Job(Loading Rewrite Recipes) (#925)
- (Eclipse) fixed: format keybinding not working for pom.xml files anymore (#1010)
- (Eclipse) fixed: Creating a Spring Starter project in non-default file system location (#1025)
- (Eclipse) fixed: Remove default log files for LSs in Eclipse (#1026)
- (Eclipse) fixed: shorten the location of the resource in new property navigation feature (#1032)
- (Concourse) fixed: VSCode Extension Concourse CI Pipeline Editor - Incorrect type definition for put step (#1005)
- (Concourse) fixed: Add no_get param to Concourse schema (#1017)
known issues
- (Spring Boot): Even vastly improved over the previous releases, the newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can still cause increased memory and CPU consumption. In case you stumble upon issues in this area, feel free to disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite
(in Eclipse).
4.18.0.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2023-03 release (new and noteworthy)
important highlights
- (Spring Boot): new and vastly improved content-assist for Spring Data repository query methods (thanks to contributions from @danthe1st)
- (Spring Boot): the additional reconciling of Spring Boot projects to show Spring specific validations, outdated versions and more, now reports progress, runs faster, and uses less memory - please consider using this and tell us about your experiences and if you hit issues while having this feature enabled
- (VSCode): fixed an extremely annoying issue that caused regular Java content-assist in VSCode to stop working after a short while
- (Eclipse): a bug in m2e got fixed and is included in this release, which caused resource files (e.g.
application.properties
) to not be copied into the target folder anymore. This works again and automatically copies your changedapplication.properties
file to the target folder, so that those changes are taken into account when running the project automatically again
all fixes and improvements in detail
- (Spring Boot) fixed: language server seems to have issues refreshing live data (#1002)
- (Spring Boot) fixed: update default settings for generations validation (#999)
- (Spring Boot) fixed: Switch to rewrite release versions for 4.18 (#995)
- (Spring Boot) fixed: completions for predicate keywords in Spring Data repositories (#988) - contributed by @danthe1st
- (Spring Boot) fixed: False positive "Unnecessary
@Autowired
" warning when using abstract classes (#985) - (Spring Boot) fixed: [validation] report progress when reconciling projects (#984)
- (Spring Boot) fixed: Factor out static methods for Spring Data repository completions (#983) - contributed by @danthe1st
- (Spring Boot) fixed: Spring Data JPA Content Assist (#981) - contributed by @danthe1st
- (Spring Boot) fixed: [boot-upgrade] [Spring-Security] Removed WebSecurityConfigurerAdapter (#979)
- (Spring Boot) fixed: [validation] [Spring-Security] Authorize HttpServletRequests with AuthorizationFilter (#978)
- (Spring Boot) fixed: [validation] [Spring Security] Lambda DSL (#977)
- (Spring Boot) fixed: [validation] Parse sources with Rewrite slower than JDT (#971)
- (Spring Boot) fixed: [validation] Version validation based on spring.io generations REST API (#969)
- (Spring Boot) fixed: [refactoring] running Spring Boot 3 open-rewrite migration recipes takes very long (#863)
- (Spring Boot) fixed: [validation] add navigation to release notes from version validation messages (#923)
- (Spring Boot) fixed: [validation] investigate highly increased memory consumption with new Java source reconciling (#922)
- (Spring Boot) fixed: VSCode cross project additional-spring-configuration-metadata.json (#894)
- (Spring Boot) fixed: [refactoring] investigate memory usage when converting projects (#877)
- (Spring Boot) fixed: add Spring Data JPA Content Assist to STS 4 (#107)
- (VSCode) fixed: Some error on WSL and Spring Extension (#982)
- (VSCode) fixed: vscode ext causes "Header must provide a Content-Length property" continuously (#968)
- (VSCode) fixed: Unable to install extension 'pivotal.vscode-spring-boot' as it is not compatible with VS Code '1.68.1' (#967)
- (VSCode) fixed: Expose command to establish live connection to remote apps in vscode (#947)
- (Eclipse) fixed: clean up list of language server extensions installed by default (#1000)
- (Eclipse) fixed: invalid thread access when invoking content-assist for spring data query methods (#990)
- (Eclipse) fixed: support range markers show Computing... when looking for quick fixes (#989)
- (Eclipse) fixed: Remove Boot Dashboard CF integration (#976)
- (Eclipse) fixed: further refinements to preference structure (#973)
- (Eclipse) fixed: move preferences from language server category to spring category (#970)
- (Eclipse) fixed: rare NPE in classpath listener (#966)
- (Eclipse) fixed: initialize boot dashboard model lazy to avoid slow startup (#957)
- (Eclipse) fixed: remove support and integration for ngrok tunnels (#954)
- (Eclipse) fixed: Spring Tool Suite 17 with maven no longer copies application.properties file to the target folder (#929)
known issues
- (Spring Boot): Even vastly improved over the previous releases, the newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can still cause increased memory and CPU consumption. In case you stumble upon issues in this area, feel free to disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite
(in Eclipse).
4.17.2.RELEASE
updates to the Spring Tools 4 for Eclipse distribution
- early-access builds for upcoming Eclipse 2023-03 release available via update site
fixes and improvements
- (Spring Boot) fixed: [symbols] do not auto-limit the result of the workspace symbol request (#915)
- (Spring Boot) fixed: Unit test MavenProjectParser (#918)
- (Spring Boot) fixed: Give user more information about what is "java sources reconciling" (#920)
- (Spring Boot) fixed: [Java-17] Enable jdt.ls.commons.test tests to execute in the maven build (#928)
- (Spring Boot) fixed: update generated parser for Java properties with latest ANTLR runtime version (#946)
- (Spring Boot) fixed: Bad Escape exception showing up in log (#950)
- (Spring Boot) fixed: various exceptions while reconciling (#951)
- (Spring Boot) fixed: NPE from OpenRewrite Java Parser - Cannot read field "info" because "env" is null (#952)
- (Spring Boot) fixed: Unknown property error shown in application.yml when using java records (#955)
- (Spring Boot) fixed: [upgrading] running upgrade recipe for Spring Boot 3 causes exception (#958)
- (VSCode) fixed: Is it feasible to drop the activation event onLanguage:xml? (#926)
- (VSCode) fixed: Error: command 'sts.vscode-spring-boot.enableClasspathListening' not found (#939)
- (Eclipse) fixed: "Not properly disposed SWT resource" was caused Spring Starter Project (#797)
- (Eclipse) fixed: BadLocationException shows up in error log view (#937)
- (Eclipse) fixed: set focus on name field in starters wizard (#943)
- (Eclipse) fixed: Could not resolve module: org.springframework.tooling.ls.eclipse.gotosymbol (#962)
- (Concourse) fixed: Add instance_vars to Concourse schema (#942)
- (Concourse) fixed: Add var_sources to Concourse schema (#944)
known issues
-
(Spring Boot): The newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can cause increased memory and CPU consumption. In case you stumble upon issues in this area, feel free to disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite
(in Eclipse). -
(Eclipse): Due to a bug in the Maven Integration for Eclipse, you might some across the problem that resource files are no longer copied into the target directories (#929). Unfortunately there is no release of the Maven Integration for Eclipse available yet that contains a fix for the issue. You can workaround this my manually triggering a
Maven -> package
build from within Eclipse or by installing the latest snapshot of the Maven Integration for Eclipse (as described in the issue).
4.17.1.RELEASE
fixes and improvements
- (Spring Boot) fixed: Eclipse STS 4.17 takes 96 % processor time on Intel i9 (#934)
- (Spring Boot) fixed: BootLanguageServerBootApp class is taking all available cpu continuously (#932)
- (Spring Boot) fixed: OpenRewrite unchecked, but always Language Server Background Job(Loading Rewrite Recipes) (#925)
- (Spring Boot) fixed: [validation] spring.factories EnableAutoConfiguration key for boot 3.0 ignores 'on' setting (#917)
- (VSCode) fixed: [vscode] Boot LS is broken if Java LS launch mode is 'Hybrid' (#919)
known issues
- (Spring Boot): The newly introduced additional reconciling for Java source files which is used to show up additional validations and quick fixes can cause increased memory and CPU consumption. In case you stumble upon issues in this area, feel free to disable the reconciling via
Preferences -> Extensions -> Spring Boot Tools -> Open Rewrite
(in VSCode) orPreferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite
(in Eclipse).
4.17.0.RELEASE
major changes to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2022-12 release (new and noteworthy)
fixes and improvements
- (Spring Boot) fixed: Refreshing Live Data over HTTP is not working on VS Code (#872)
- (Spring Boot) fixed: gcPauses -> jvm.gc.pause, memory -> jvm.memory.used (#875)
- (Spring Boot) fixed: live information hovers are broken when running Spring Boot 3 application (#862)
- (Spring Boot) fixed: fetch heap & nonHeap memory metrics together (#874)
- (Spring Boot) fixed: 404 when getting live metrics over HTTP (#879)
- (Spring Boot) fixed: [validation] Spring Boot support range validation messages appear and disappear again (#887)
- (Spring Boot) fixed: [validation] check for superfluous @repository annotations on standard Spring Data repositories (#898)
- (Spring Boot) fixed: [validation] prepare version validation for 4.17.0 release (#904)
- (Spring Boot) fixed: [validation] changing the preferences while language server is not around doesn't have any effect (#836)
- (Spring Boot) fixed: [validation] convert autowired field to constructor should not run on test classes (#902)
- (Spring Boot) fixed: [validation] add preferences to boot version and generation validations (#884)
- (Spring Boot) fixed: [validation] add validations for new Spring Boot versions in general (#885)
- (Spring Boot) fixed: [refactoring] convert autowired field to constructor should make field final (#896)
- (Spring Boot) fixed: [refactoring] [validation] final polishing work (#911)
- (Spring Boot) fixed: [refactoring] convert project to Spring Boot 3 doesn't update Java to 17 anymore (#909)
- (Spring Boot) fixed: [refactoring] when converting a project to Spring Boot 3, always use the latest 3.0.x version (#869)
- (Spring Boot) fixed: [refactoring] OutOfMemoryError: Java Heap Space (#899)
- (Spring Boot) fixed: [refactoring] Exception when trying to convert project (#900)
- (Spring Boot) fixed: [refactoring] converting a simple rest service guide to Spring Boot 3 fails (#867)
- (Spring Boot) fixed: [refactoring] open rewrite refactoring menu item is broken when no language server is running (#865)
- (Spring Boot) fixed: [refactoring] enhance Spring Boot version validation with quick fix to update (#886)
- (Spring Boot) fixed: [refactoring] converting petclinic to Spring Boot 3 results in broken project (#864)
- (Spring Boot) fixed: [refactoring] Migrate Boot 2 auto-config to Boot (#908)
- (Eclipse) fixed: update signing certificate for pre-built third-party bubdles (#852)
- (Eclipse) fixed: remove dependencies on yedit (#870)
- (Eclipse) fixed: Upgrade commons-text-1.9.jar (#892)
- (Eclipse) fixed: Add checksums at download page (#906)
- (Eclipse) fixed: NPE in Eclipse TextMate Grammar preference page (#912)
- (VSCode) fixed: make sure VSCode shows an error message when running on a JDK <17 (#903)
- (VSCode) enhancement: Add shortcut to dashboard (#876) - contributed by Eskibear)
- (VSCode) enhancement: refine walkthrough steps (#907) - contributed by Eskibear)
- (VSCode) enhancement: update walkthrough about creating projects (#916) - contributed by Eskibear)
- (Concourse) fixed: vscode-concourse: add dark background to light mode icon (#845) - contributed by bmalehorn
- (Concourse) fixed: Concourse extension doesn't know about "pre_without_version" and "build_without_version" for a semver resource (#849)
4.16.1.RELEASE
major changes to the Spring Tools 4 for Eclipse distribution
- early access builds available for Spring Tools 4 on Eclipse 2022-12 milestones
important note for upgrading from a release prior to 4.16.0 on Eclipse
- If you are upgrading an existing Spring Tools 4 for Eclipse distribution 4.15.3 or older to 4.16.1, please take a look at the necessary manual steps described for the upgrade to 4.16.0.
fixes and improvements
- (Spring Boot) fixed: Spring XML Config support does not show symbols with scope "File" (#860)
- (Spring Boot) fixed: [open-rewrite] exception when executing quick fix for project (#853)
- (Spring Boot) fixed: [refactoring] quick fix to convert autowired field to constructor param shows up even if the constructor param already exists (#815)
- (VSCode) fixed: Vscode Spring Boot Tools 1.39.0 prevents Java project from Running/Debugging (#847)
- (Eclipse) fixed: Web Tools Platform (WTP) validation is activated by default (#859)
- (Eclipse) fixed: ask user to save dirty editors before deploying on docker (#803)