5113 Commits

Author SHA1 Message Date
Andy Wilkinson
1e43b0003f Merge branch '3.4.x'
Closes gh-43951
2025-01-24 08:54:50 +00:00
Andy Wilkinson
49597e0b55 Polish "Parse Redis database from url if present"
See gh-43813
2025-01-23 11:37:36 +00:00
Yanming Zhou
fcc6655c06 Parse Redis database from url if present
See gh-43813

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-23 11:30:31 +00:00
Andy Wilkinson
c20f6cba8a Polish "Add spring.validation.method.adapt-constraint-violations property"
See gh-43886
2025-01-22 14:36:18 +00:00
Yanming Zhou
0e7d480545 Add spring.validation.method.adapt-constraint-violations property
See gh-43886

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-22 14:35:47 +00:00
Andy Wilkinson
7d34e6df07 Revert "Merge pull request #43813 from quaff"
This reverts commit 4478bd52090f76ad5d1d0eba76e0cb7594892937, reversing
changes made to c032e1f872fafe8c34d336d48597a26ff98ac102.
2025-01-21 17:27:09 +00:00
Yanming Zhou
24d1b3ca94 Parse redis database from url if present
See gh-43813

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-21 17:02:25 +00:00
Andy Wilkinson
766c17fcdd Polish "Replace @ConditionalOnProperty with …BooleanProperty where feasible"
See gh-43868
2025-01-21 15:13:44 +00:00
Yanming Zhou
960c8825e0 Replace @ConditionalOnProperty with …BooleanProperty where feasible
See gh-43868

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-21 15:08:26 +00:00
Andy Wilkinson
0f5eb465c9 Upgrade to Liquibase 4.31.0
Closes gh-43896
2025-01-21 13:34:47 +00:00
Andy Wilkinson
4296376930 Document that clean on validation error has been removed in Flyway 11
Closes gh-43890
2025-01-21 12:17:19 +00:00
Brian Clozel
2dabd11211 GraphQL should not back off when GrapQlSource is present
Prior to this commit, the GraphQL auto-configuration that defines the
infrastructure beans for base support would only be active when:

* GraphQL schema files are detected in the configured locations
* or if GraphQlSourceBuilderCustomizer beans are present

This would allow some "code first" approaches, but not situations where
developers contribute their own `GraphQlSource`. This commit ensures
that the auto-configuration is processed even if the application only
contributes a custom `GraphQlSource` bean.

Closes gh-33096
2025-01-20 08:04:27 +01:00
Stéphane Nicoll
af29ff56a8 Merge branch '3.4.x'
Closes gh-43878
2025-01-19 08:05:02 +01:00
Johnny Lim
1e39af27d4 Fix Javadoc since for GsonProperties.Strictness
See gh-43877

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-01-19 08:04:35 +01:00
Moritz Halbritter
3beec788f9 Adapt to Spring Security deprecations 2025-01-17 08:47:14 +01:00
Brian Clozel
6957557fd7 Configure additional GraphQL schema files
Prior to this commit, the GraphQL auto-configuration would provide
configuration properties for specifying the locations and file
extensions of schema files to be scanned during startup.

This commit adds a new "spring.graphql.schema.additional-files" that
applications can use to point at particular files, like
"classpath:mylocation/schema.graphqls". These files will be parsed and
considered for the schema in addition to the scanned ones.

Closes gh-42792
2025-01-16 18:15:51 +01:00
Stéphane Nicoll
7d6f81b527 Fix build failure 2025-01-15 20:44:27 +01:00
Vedran Pavic
2bf413c9a9 Add support for AWS Advanced JDBC Wrapper
This commit adds an entry for the AWS Advanced JDBC Wrapper to the
DatabaseDriver enum. This allows the driver class name to be
auto-detected from jdbc:aws-wrapper:… URLs.

See gh-43812

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
2025-01-15 19:06:57 +00:00
Moritz Halbritter
0cd843cea2 Merge branch '3.4.x'
Closes gh-43834
2025-01-15 13:56:02 +01:00
Yanming Zhou
54c4716972 Improve ConditionalOnSingleCandidate's Javadoc
See gh-43826

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-15 13:41:03 +01:00
Andy Wilkinson
b75006b88e Merge branch '3.4.x'
Closes gh-43833
2025-01-15 12:15:34 +00:00
Andy Wilkinson
1de3b5624f Merge branch '3.3.x' into 3.4.x
Closes gh-43832
2025-01-15 12:15:19 +00:00
Andy Wilkinson
0f94530e15 Polish "Polish PropertiesRedisConnectionDetails"
See gh-43825
2025-01-15 12:00:18 +00:00
Yanming Zhou
a18c2f8f7e Polish PropertiesRedisConnectionDetails
See gh-43825

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-15 11:55:48 +00:00
Andy Wilkinson
3aa0eb1b21 Merge branch '3.4.x'
Closes gh-43818
2025-01-14 17:01:16 +00:00
Andy Wilkinson
d4c7013c8d Tolerate Gson 2.10 and earlier
Closes gh-43442
2025-01-14 17:00:25 +00:00
Andy Wilkinson
2f29a49a1d Remove APIs deprecated for removal in 3.5
Closes gh-43788
2025-01-14 13:59:24 +00:00
Phillip Webb
f8a1a6e6a1 Polish "Deprecate ConditionOutcome.inverse()"
See gh-43739
2025-01-13 14:46:58 -08:00
Yanming Zhou
d85a93b60b Deprecate ConditionOutcome.inverse()
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-43739
2025-01-13 14:45:13 -08:00
Phillip Webb
4812328be2 Polish OnPropertyCondition
See gh-43754
2025-01-13 14:25:42 -08:00
Dmytro Nosan
9c146c0a40 Polish OnPropertyCondition
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>

See gh-43754
2025-01-13 14:09:10 -08:00
Phillip Webb
a49719d73e Use consistent exception messages in Assert calls
Update `Assert` calls to consistently use messages of the form
"'item' must [not] ...".

Closes gh-43780
2025-01-11 21:18:47 -08:00
Phillip Webb
f08188d5cf Change relevant Assert calls to throw IllegalStateException
Change certain Assert class from `assert...` to `assertState`
so that a more appropriate `IllegalStateException` is thrown.

Fixes gh-43779
2025-01-11 21:16:36 -08:00
Phillip Webb
29baaf32e6 Merge branch '3.4.x' 2025-01-11 10:26:06 -08:00
Phillip Webb
8c3e8605c2 Merge branch '3.3.x' into 3.4.x 2025-01-11 10:25:57 -08:00
Phillip Webb
b9efd591e5 Polish "Prevent redis pool to initialize in unit test"
See gh-43774
2025-01-11 10:25:46 -08:00
Stéphane Nicoll
46a499bf1f Make RuntimeHints predicates more explicit
This commit narrows method invocation wherever applicable as the default
is 'introspect' only.
2025-01-11 18:17:10 +01:00
Stéphane Nicoll
ae83f7e229 Merge branch '3.4.x'
Closes gh-43776
2025-01-11 12:54:38 +01:00
Stéphane Nicoll
e061bb4777 Merge branch '3.3.x' into 3.4.x
Closes gh-43775
2025-01-11 12:53:03 +01:00
Stéphane Nicoll
7b04cddf1d Polish "Prevent redis pool to initialize in unit test"
See gh-43774
2025-01-11 12:51:21 +01:00
He Zean
911a9a14ea Prevent redis pool to initialize in unit test
See gh-43774

Signed-off-by: He Zean <realhezean@gmail.com>
2025-01-11 12:50:46 +01:00
Phillip Webb
b48ce96746 Update copyright year of changed files 2025-01-08 15:46:10 -08:00
Phillip Webb
52b9b8e711 Fix tests failing due to missing 'spring.jmx.enabled=true'
See gh-43706
2025-01-08 15:44:35 -08:00
Phillip Webb
bd3663748b Restore matchIfMissing attribute
Restore accidentally deleted `matchIfMissing` attribute.

See gh-43704
2025-01-08 15:00:45 -08:00
Phillip Webb
b448d5e0a7 Don't create unessary JMX beans
Align "spring.jmx.enabled" conditions by removing
`matchIfMissing = true`.

Closes gh-43706
2025-01-08 13:45:01 -08:00
Phillip Webb
7e194a0af6 Fix checkstyle issue 2025-01-08 13:44:46 -08:00
Phillip Webb
86b6171edc Introduce dedicated annotations to deal with boolean properties
Add `@ConditionalOnBooleanProperty` annotation to deal with
boolean properties and primarily for features that users toggle
using `.enabled` properties.

Closes gh-43704
2025-01-08 13:26:11 -08:00
Phillip Webb
e4bcda258a Polish "Add spring.data.redis.lettuce.read-from property"
See gh-42588

Co-authored-by: Stephane Nicoll <stephane.nicoll@broadcom.com>
2025-01-07 16:49:42 +01:00
Dmytro Nosan
fd115980e7 Add spring.data.redis.lettuce.read-from property
See gh-42588
2025-01-07 16:35:39 +01:00
Yanming Zhou
0d3e0245a2 Add support for configuring Tomcat connector's max parameter count
See gh-43286
2025-01-07 14:35:31 +01:00