Sts4 Versions Save

The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia

4.22.1.RELEASE

2 weeks ago

important highlights

  • (Spring Boot) Support JPQL syntax in Java sources and Named Query properties files (Java sources not supported yet in Eclipse)
  • (Spring Boot) Spring Symbol indexing has order of magnitude smaller memory footprint allowing for indexing very large Spring Boot projects
  • (Spring Boot) New UI in VSCode to show/hide/refresh Live Data for running Spring Boot apps
  • (Spring Boot) .properties <-> .yml conversions available in Eclipse and VSCode
  • (Spring Boot) Show active profiles for running spring boot applications in Eclipse and VSCode with Boot Dashboard extension
  • (Eclipse) "Add Starters..." Inlay in POM file available in Eclipse too now

updates to the Spring Tools 4 for Eclipse distribution

  • early access builds available for Eclipse 2024-06 milestone builds

all fixes and improvements in detail

  • (Spring Boot) Support JPQL syntax #1114
  • (Spring Boot) Indexing runs out of memory for large projects #1219
  • (Spring Boot) .properties <-> .yml converter #739
  • (Spring Boot) change the actions to refresh live information to show application right away #1204
  • (Spring Boot) Running Boot processes from IDE client #1190
  • (Spring Boot) Show active profiles in Boot Dash #1225
  • (Eclipse) "Add Starters..." Inlay in POM file in Eclipse Client #1200
  • (Spring Boot) show a nice message when trying to change log levels without a connected running app #1232
  • (Spring Boot) request mapping symbol doesn't take superclass mapping path into account [#1224](https://github.com/spring-projects/sts4/issues/1224)
  • (Spring Boot) Remove org.springframework.ide.vscode.boot.java.livehover.v2.SpringProcessTracker and its references #1221
  • (Spring Boot) Set the vmArg HeapDumpOnOutOfMemoryError to be optional #1212
  • (Spring Boot) provide preference to open code lens URLs in simple browser #1207
  • (Spring Boot) Refactor Gradle plugin for StsToolingModel #1201
  • (Spring Boot) remove logic to handle "magic" client-side indentation #1154
  • (Spring Boot) NPE while updating Spring Boot version #1241
  • (Eclipse) upgrade of Eclipse based installs broken #1240
  • (Spring Boot) NPE exception while scanning for symbols #1239
  • (Spring Boot) Activating 'vscode-spring-boot' extension #1238
  • (Spring Boot) CompilationUnitCache: gracefully cleanup the name environment #1233
  • (Spring Boot) renaming of files and packages causes symbols to get out of sync #1231
  • (Spring Boot) java.lang.ClassNotFoundException: org.eclipse.jdt.ls.core.internal.javadoc.JavaElementLinks cannot be found by ... #1229
  • (Eclipse) SpringToolSuite (x_86_64 option) IDE keeps crashing frequently. #1228
  • (Spring Boot) latest snapshot builds have wrong port in live hover request mapping URLs [#1226](https://github.com/spring-projects/sts4/issues/1226)
  • (Spring Boot) JPA Repo Entity ID composite key reports problem #1220
  • (Eclipse) upgrade dialog to select recipe appears twice #1245

known issues

4.22.0.RELEASE

2 months ago

important highlights

  • (Spring Boot) Add Spring Boot Starters... InlayHint in Spring Boot projects pom.xml next to <dependencies> tag (VSCode only at the moment)

updates to the Spring Tools 4 for Eclipse distribution

all fixes and improvements in detail

  • (Spring Boot) Add Starters CodeLens/InlayHint in the Spring Boot's project pom #1194
  • (Spring Boot) adjustments to version validations #1199
  • (Spring Boot) TestJars support #1197
  • (Spring Boot) Bind update of Spring Modulith metadata to a full project build #1172
  • (Spring Boot) exception thrown under the hood when file URL protocol is unknown #1192
  • (Spring Boot) Fix JavaModelException with non-Java projects #1188
  • (Spring Boot) throws exception when closing editors #1179
  • (Eclipse) Spring Tool Suite 17 with maven no longer copies application.properties file to the target folder #929
  • (Eclipse) 4.21.1 release doesn't embed JDK anymore #1187
  • (Eclipse) builds on early Eclipse 2024-03 builds don't compile anymore #1189
  • (Eclipse) add starters wizard throws IllegalArgumentException on Eclipse 2024-03 M2 [#1185](https://github.com/spring-projects/sts4/issues/1185

known issues

  • (Eclipse) Lombok 1.18.30 isn't compatible yet with the latest Eclipse 2024-03 release, which is the foundation of this Spring Tools for Eclipse release 4.22.0. You can install the latest Lombok Edge release 1.18.31 to get it back working. #1208
  • (Eclipse) In case you use Spring Tools 4.22.0 for Eclipse 4.22.0 on macOS, you might have noticed the increased spacing in e.g. the package explorer. If you prefer the old behavior, here is a way to bring that back: https://github.com/eclipse-platform/eclipse.platform.ui/issues/1674#issuecomment-2001986963

4.21.1.RELEASE

3 months ago

important highlights

  • (Spring Boot) Log Levels viewing and editing is available in VSCode for live running Boot apps if enabled on the the app via Spring Boot Actuators
  • (Spring Boot) Ability to show "Refactor Preview" in VSCode before applying the changes from OpenRewrite recipes

updates to the Spring Tools 4 for Eclipse distribution

  • early access builds available for Eclipse 2024-03 milestone builds

all fixes and improvements in detail

  • (Spring Boot) Log Levels View #1138
  • (Spring Boot) Evaluate AnnotatedTextEdit and ChangeAnnotation#needsConfirmation #1155
  • (Spring Boot) support for creating Spring XML config files #1163
  • (Spring Boot) [refactoring] reduce size of execute rewrite recipes messages #897
  • (Spring Boot) Opening Spring Boot project in VSCode leads to StackOverflowError #1166
  • (Spring Boot) upgrade command shows different recipes than quick fixes #1165
  • (Spring Boot) process shows up twice when changing log levels of running app #1164
  • (Spring Boot) The IDE compiler have a lot of wrong problem report, maven build is okay #1159
  • (Spring Boot) VS Code extension fails Spring Boot update #1142
  • (Spring Boot) Add Trusted Authoritites for STS #1092
  • (Eclipse) Duplicate "Source" menu on Eclipse #1111
  • (Spring Boot - Eclipse) quick fix to remove public modifier from @Bean method causes exception #1184
  • (Spring Boot - Eclipse) quick fix to convert @Autowired field into constructor param doesn't work #1183
  • (Concourse) [Concourse] set\_pipeline step considers team attribute invalid #1174
  • (All) update copyright and branding #1157

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.21.0.RELEASE

5 months ago

important highlights

  • (Spring Boot) Completions experience for request mappings on class method level has been improved
  • (Spring Boot) Spring Boot 3.2 upgrade available via OpenRewrite integration

updates to the Spring Tools 4 for Eclipse distribution

all fixes and improvements in detail

  • (Spring Boot) [optimization] avoid writing spring index cache twice on didSave event #1143
  • (Spring Boot) Adopt latest OpenRewrite version #1135
  • (Spring Boot) [vscode-spring-boot] Provide better Spring component code completion experience on class and method level #758
  • (Spring Boot) [validation] exception thrown while validating spring boot versions #1144
  • (Spring Boot) HttpSecurityLambdaDslReconciler marks more than required #1141
  • (Spring Boot) Cant use compsite keys for domain id when extending JpaRepository #1139
  • (Spring Boot) Strange error port out of range:-1 for language server #1137
  • (VSCode) VS Code extension does not use proxy settings #1147
  • (Concourse) [Concourse] Support AWS role ARN for S3 resources #1145

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.1.RELEASE

6 months ago

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 into GetMapping 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

8 months ago

updates to the Spring Tools 4 for Eclipse distribution

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 to machine-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

9 months ago

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) or Preferences -> 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 upcoming 4.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

11 months ago

updates to the Spring Tools 4 for Eclipse distribution

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) or Preferences -> 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

1 year ago

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) or Preferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite (in Eclipse).

4.18.0.RELEASE

1 year ago

updates to the Spring Tools 4 for Eclipse distribution

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 changed application.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) or Preferences -> Language Servers -> Spring Language Servers -> Spring Boot Language Server -> Open Rewrite (in Eclipse).