Releases: spring-projects/sts4
Releases · spring-projects/sts4
4.27.0.RELEASE
important highlights
- (Spring Boot) Support for
@ConditionalOnProperty
annotations: completions, navigate to definition and find references - (Spring Boot) Find references support for property keys in
@Value
annotation - (Spring Boot) Support concatenated Strings for data queries inside
@Query
annotations
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2024-12 release (new and noteworthy)
all fixes and improvements in detail
- (Spring Boot) create more precise range for implicit web annotation names validation #1411
- (Spring Boot) analyze memory footprint of newly introduced location information inside of annotation metadata in spring index #1406
- (Spring Boot) take setter injection methods into account for new spring index #1405
- (Spring Boot) internal index needs more precise location information for annotations and their attributes #1400
- (Spring Boot) take property keys inside of annotations into account when looking for property key references #1397
- (Spring Boot) Correct typo from 'propeties' to 'properties' #1389
- (Spring Boot) improve type proposals for
ConditionalOnBean
with shorter labels #1386 - (Spring Boot) use DiagnosticTag.Unnecessary for validations that point out unnecessary things #1345
- (Spring Boot) add find references support for property keys in
@Value
annotation #1306 - (Spring Boot) add support for
@ConditionalOnProperty
annotations #1305 - (Spring Boot) JPQL syntax - Support Concatenated Strings #1262
- (Spring Boot) live hover for
@ConditionalOnProperty
doesn't work for Boot 3.x #1410 - (Spring Boot) content-assist proposals show up for annotation attribute names #1409
- (Spring Boot) Refactoring does not work #1408
- (Spring Boot)
NoSuchFileException
beim AdHocSpringPropertyProvider #1404 - (Spring Boot) VSCode - Error reported when using collate on
@Query
annotation #1393 - (Spring Boot - Eclipse) symbols view in Eclipse seems to slow down (block) the overall UI #1416
- (Spring Boot - Eclipse) [Live-Hover] Links to classes in JARs are broken #1390
4.26.0.RELEASE
important highlights
- (Spring Boot) CRON expressions have auto completion and a nice description as inlay hints now
- (Spring Boot)
@ConditionalOnBean
and@ConditinalOnMissingBean
have auto completion support now for bean names, including support forgo to definition
- (Spring Boot) support for
go to definition
for beans and methods in SPEL expressions - (Spring Boot) Improvements to completion proposals ordering for application.properties files
- (Spring Boot) Fixes to PostgreSql validation
updates to the Spring Tools 4 for Eclipse distribution
- early access builds available for Eclipse 2024-12 milestone builds
all fixes and improvements in detail
- (Spring Boot) improve Go To Definition to bean definitions in
@ConditionalOnBean
and@ConditionalOnMissingBean
#1381 - (Spring Boot) do not show bean name proposals for qualifier annotations on bean definitions #1375
- (Spring Boot) Slight refactorings and remove maven-model dependency (#1365) #1366
- (Spring Boot) GH-1307: add support for
@ConditionalOnBean
annotation attributes #1361 - (Spring Boot) goto definition for beans and methods references in spel expressions #1360
- (Spring Boot) GH-1323, GH-1324: Cron Expressions completion proposals and inlay hints #1357
- (Spring Boot) Duplicate spring symbol cannot be found #1346
- (Spring Boot) Order precise matches over fuzzy ones in application property suggestions #1342
- (Spring Boot) Makes auto-completion in application.yml consistent with application.properties. #1341
- (Spring Boot) CodeLens or Inline values for embedded CRON expressions #1324
- (Spring Boot) Completion Proposals for embedded CRON expressions #1323
- (Spring Boot) add support for
@ConditionalOnMissingBean
annotation attributes #1309 - (Spring Boot) add support for
@ConditionalOnBean
annotation attributes #1307 - (Spring Boot) Semantic Token Lost with Lombok Annotations in Enum Due to Conflict with Eclipse Java Plugin in VS Code #1383
- (Spring Boot) regular Java document highlighting broken in VSCode when extension is active #1380
- (Spring Boot) The JPQL validation in Spring Tool Suite (STS) is showing several errors for valid JPQL/PostgreSQL syntax in combination with Eclipselink #1369
- (Spring Boot) Spring Boot language server doesn't start when spring.config.location variable is set with custom location in environment #1367
- (Spring Boot) Request textDocument/inlayHint failed #1359
- (Spring Boot) Crash after updating vscode extension to 1.57.0 #1355
- (Spring Boot) Not auto prompt application-dev.properties config #1354
- (Spring Boot) SPEL: no viable alternative at input '#{' [JAVA_SPEL_EXPRESSION_SYNTAX] #1353
- (Spring Boot) 4.24/4.25 cannot view JMX beans in dashboard #1350
- (Spring Boot) Error on
@ConditionalOnExpression
#1349
4.25.0.RELEASE
important highlights
- (Spring Boot) Code lenses added to explain SPEL expressions and AOP annotations with Copilot (VSCode only)
- (Spring Boot) Symbols, content-assist, and navigation support added for
@Named
,@Resource
,@Inject
, and@ConditionalOnResource
- (Spring Boot) Syntax highlighting and validation for CRON expressions inside
@Scheduled
annotation (VSCode only) - (Spring Boot) Navigating to definition for some elements of Data Queries embedded into
@Query
annotations
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2024-09 release (new and noteworthy)
- Windows package now ships as a regular ZIP file instead of a self-extracting JAR file
all fixes and improvements in detail
- (Spring Boot) Refactor ConditionalOnResource attribute to be based on AnnotationAttributeCompletionProcessor #1344
- (Spring Boot) GH-1310: Add support for ConditionalOnResource annotation #1343
- (Spring Boot) GH-1330: Explain AOP annotations with copilot #1338
- (Spring Boot) [Spring Data Query] Navigate to parameter definitions in Java source #1336
- (Spring Boot) [Spring Data Queries] Show inline hint for query parameter #1333
- (Spring Boot) [Spring Data Queries] Show document highlights when the cursor is at query parameter AST node #1332
- (Spring Boot) add code lens to explain expressions using Copilot to AOP related annotations #1330
- (Spring Boot) Fix missing proposal if the prefix starts with "/" for
@ContextConfiguration
#1327 - (Spring Boot) Syntax Highlighting and Validation for embedded CRON expressions #1322
- (Spring Boot) add support for
@Named
annotation #1313 - (Spring Boot) create generic symbols for
@Resource
and@Inject
#1312 - (Spring Boot) add support for
@ConditionalOnResource
annotation attributes #1310 - (Spring Boot) Pull in TM Terminal 10.6.1 from CDT to fix shell OSC customizations #1303
- (Spring Boot) change name of "Remove Unnecessary
@Autowired
" validation marker description #1302 - (Spring Boot) change name of problem description for "unnecessary web annotation names" validation #1301
- (Spring Boot) content-assist for annotation attributes doesn't work when spaces are involved #1299
- (Spring Boot) [performance] explore options to deploy and run the language server from JAR files #1293
- (Spring Boot) Recognise
!---
as a document separator in properties files #1129 - (Spring Boot) Add file completion from classpath for
@ContextConfiguration
#650 - (Spring Boot) SpEL parsing issue in Query annotation #1320
- (Spring Boot) When editing a Spring XML configuration file, the package names and class names do not appear accurately #1317
- (Spring Boot) No syntax highlighting and validation for data qieries inside
@NamedQuery
#1314 - (Spring Boot) False positive SQL error #1304
- (Spring Boot) Replace
OkHttp3ClientHttpRequestFactory
withJdkClientHttpRequestFactory
#1296
4.24.0.RELEASE
important highlights
- (Spring Boot) SPEL syntax highlighting and validation inside Java and embedded Spring Data queries.
- (Spring Boot) MySQL and PostgreSQL queries syntax highlighting and validation.
- (Spring Boot) Improvements around Content Assist, Navigation and/or Find References for
@Profile
,@Resource
,@Qualifier
,@Value
annotations.
all fixes and improvements in detail
- (Spring Boot) add code completion and to go definition support for
@Resource
annotation (name attribute) #1298 - (Spring Boot) support
jakarta
version ofInject
annotation (in addition tojavax
variant) #1297 - (Spring Boot) add content-assist and find references for
@Profile
annotation #1294 - (Spring Boot) allow navigation to classpath resources from
@Value
annotation #1287 - (Spring Boot) do not show hidden files as proposals for classpath resources (in
@Value
annotation) #1286 - (Spring Boot) support classpath resources in code completion for
@Value
annotation #1285 - (Spring Boot) add content-assist for
@Qualifier
annotation #1261 - (Spring Boot) improve parser-based validation for SpEL snippets #1237
- (Spring Boot) SpEL Syntax Highlighting #1234
- (Spring Boot) Error when edit spring xml bean config file #1295
- (Spring Boot) avoid mapping content-assist proposals to show up at class level #1280
- (Spring Boot) weird vscode JPQL/HQL syntax error for
@Query
text block in Spring Boot #1279 - (Spring Boot) Support SPEL expressions inside SQL queries #1270
known issues
- syntax highlighting for queries and SpEL expressions works inside of Visual Studio Code only. Support for Eclipse is tracked via #1235
4.23.1.RELEASE
important highlights
- (Spring Boot) SQL query syntax validation is off by default. Settings to toggle JPQL, HQL, SQL query validation enablement
- (Spring Boot) Fixed
StackOverflowException
coming fromAnnotationHierarchies
all fixes and improvements in detail
- (Spring Boot) Ability to switch on/off Query syntax validation and problem severities for query syntax problems #1275
- (Spring Boot) Unable to view beans for multiple modules in version v1.55 #1271
- (Spring Boot) navigation to bean class of live bean in dashboard is broken #1269
- (Spring Boot) navigation to class of wired bean is broken #1268
- (Spring Boot) Opening Spring Boot project in VSCode leads to StackOverflowError #1166
4.23.0.RELEASE
important highlights
- (Spring Boot) Syntax validation for JPQL, SQL, HQL embedded in Java code
- (Spring Boot) Syntax highlighting for SQL embedded into Spring Data query annotations
- (Spring Boot) Navigation to beans from
@DependsOn
- (Spring Boot) Upgrade to Spring Boot 3.3 is available via OpenRewrite recipes.
updates to the Spring Tools 4 for Eclipse distribution
- updated to Eclipse 2024-06 release (new and noteworthy)
all fixes and improvements in detail
- (Spring Boot) verify upgrade support to Spring Boot 3.3.0 #1255
- (Spring Boot) vscode
@DependsOn
navigation not linked #1254 - (Spring Boot) add parser-based validation for JPQL, SQL, HQL snippets #1236
- (Spring Boot) inlay hint in pom.xml file to upgrade to latest Spring Boot version #1211
- (Spring Boot) Occasional NPE when opening / importing / creating Maven projects #1257
- (Spring Boot)
Map<K,V>
with escaped key not works properly inapplication.yml
#1243 - (Spring Boot - VSCode) VSCode Spring Boot extension causes semantic token loss upon loading #1260
- (Spring Boot - VSCode) Variable assignment/reference syntax highlighting lost between v1.53.0 and v1.54.0 #1249
- (Spring Boot - Eclipse) upgrade with preview in Eclipse throws exception #1258
- (Spring Boot - Eclipse) Eclipse Run Configuration - Use Temporary Jar becomes secretly unchecked #1248
- (Eclipse) Eclipse crashes after upgrade of libwebkit2gtk to 2.44.x #1230
- (Eclipse) The latest release of Eclipse fixed the increased spacing in e.g. the package explorer. No workaround for this needed anymore.
known issues
- (Eclipse) This release of the Spring Tools for Eclipse ships and requires a JDK 21 to run the IDE on and we added the necessary updates sites to make the upgrade experience as seamless as possible. In case you configured the JDK to run the IDE on manually in the
SpringToolSuite4.ini
file, make sure to update this configuration to point to a JDK 21. Side note: This change doesn't affect your projects or workspace settings at all. You can continue to configure and use whatever JDK you need inside of your workspaces to compile and run your projects on.
4.22.1.RELEASE
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](#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](#1226)
- (Spring Boot) JPA Repo Entity ID composite key reports problem #1220
- (Eclipse) upgrade dialog to select recipe appears twice #1245
known issues
- (Eclipse) In case you use Spring Tools 4.22.1 for Eclipse 4.22.1 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: eclipse-platform/eclipse.platform.ui#1674 (comment)
4.22.0.RELEASE
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
- updated to Eclipse 2024-03 release (new and noteworthy)
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](#1185
known issues
- (Eclipse) Lombok
1.18.30
isn't compatible yet with the latest Eclipse2024-03
release, which is the foundation of this Spring Tools for Eclipse release4.22.0
. You can install the latest Lombok Edge release1.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: eclipse-platform/eclipse.platform.ui#1674 (comment)
4.21.1.RELEASE
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
andChangeAnnotation#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 considersteam
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
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
- updated to Eclipse 2023-12 release (new and noteworthy)
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