Phillip Webb
55eba139ec
Support binding of default properties when an empty property is defined
...
Update the `Binder` so that empty properties are treated as an indicator
that default value binding should be attempted. This update allow bound
objects to differentiate between a completely missing property vs one
that is present but doesn't have any values.
For example, given the following value object:
@ConfigurationProperties("my")
public record My(Name name, int age) {
public record Name(String first, String last) {
}
}
The following binding scenarios are supported:
1) Full binding
my.name.first=Spring
my.name.last=Boot
my.age=4
Binds to `new My(new Name("Spring", "Boot"), 4)`
(works the same as Spring Boot 4.0)
2) Missing Properties
my.age=4
Binds to `new My(null, 4)`
(works the same as Spring Boot 4.0)
3) Default Properties
my.name=
my.age=4
Binds to `new My(new Name(null, null), 4)`
(previously would throw a converter exception)
Closes gh-48920
1 day ago
Stéphane Nicoll
045eb434af
Merge branch '4.0.x'
1 day ago
Stéphane Nicoll
73083c2b51
Upgrade to Kafka 4.1.2
...
See also https://github.com/yawkat/lz4-java/wiki/Gradle-and-org.lz4:lz4%E2%80%90java:1.8.1
Closes gh-49627
1 day ago
Andy Wilkinson
e71c75182e
Merge pull request #48960 from jayychoi
...
* gh-48960:
Polish "Add SSL support to auto-configuration for Rabbit Streams"
Add SSL support to auto-configuration for Rabbit Streams
Closes gh-48960
1 day ago
Andy Wilkinson
391c898b49
Polish "Add SSL support to auto-configuration for Rabbit Streams"
...
See gh-48960
Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
1 day ago
Jay Choi
f4c595dad8
Add SSL support to auto-configuration for Rabbit Streams
...
See gh-48960
Signed-off-by: Jay Choi <jayyoungchoi22@gmail.com>
1 day ago
Andy Wilkinson
51d19b9501
Merge branch '4.0.x'
...
See gh-49610
See gh-49612
1 day ago
Andy Wilkinson
2956d90c9a
Merge branch '3.5.x' into 4.0.x
...
See gh-49607
See gh-49609
1 day ago
Andy Wilkinson
6dab9105af
Roll back JAX-B upgrades and prohibit 4.0.7 of the RI
...
See gh-49615
See gh-49616
1 day ago
Stéphane Nicoll
3115f5f70a
Merge branch '4.0.x'
1 day ago
Stéphane Nicoll
003a392916
Merge branch '3.5.x' into 4.0.x
1 day ago
Stéphane Nicoll
8769104df6
Upgrade to Spring Pulsar 2.0.4
...
Closes gh-49420
1 day ago
Stéphane Nicoll
04eba1fe65
Upgrade to Spring Kafka 4.0.4
...
Closes gh-49419
1 day ago
Stéphane Nicoll
1754358a85
Upgrade to Spring Pulsar 1.2.16
...
Closes gh-49410
1 day ago
Stéphane Nicoll
f5830536d4
Upgrade to Spring Kafka 3.3.14
...
Closes gh-49409
1 day ago
Stéphane Nicoll
18cd0a277b
Upgrade to Spring Pulsar 2.0.4
...
Closes gh-49445
1 day ago
Stéphane Nicoll
065ebe5e0e
Upgrade to Spring Kafka 4.1.0-M2
...
Closes gh-49443
1 day ago
Stéphane Nicoll
67b25457f6
Upgrade to Infinispan 16.1.2
...
Closes gh-49626
1 day ago
Stéphane Nicoll
350b74c3a0
Merge branch '4.0.x'
2 days ago
Stéphane Nicoll
040e19eeee
Revert "Upgrade to Elasticsearch Client 9.3.2"
...
This reverts commit 5d54a0a145 .
See gh-49603
2 days ago
Stéphane Nicoll
0600810c34
Merge branch '3.5.x' into 4.0.x
2 days ago
Stéphane Nicoll
d04c42d315
Upgrade to Spring Security 6.5.9
...
Closes gh-49527
2 days ago
Stéphane Nicoll
9c23da79f0
Upgrade to Spring Security 7.1.0-M3
...
Closes gh-49446
2 days ago
Stéphane Nicoll
b6adeeb37d
Upgrade to Spring LDAP 4.1.0-M2
...
Closes gh-49444
2 days ago
Stéphane Nicoll
9f51b398fa
Upgrade to Spring Data Bom 2026.0.0-M2
...
Closes gh-49440
2 days ago
Stéphane Nicoll
db9130b2a6
Upgrade to Spring AMQP 4.1.0-M3
...
Closes gh-49438
2 days ago
Stéphane Nicoll
49e5d5bc5b
Upgrade to Spring Security 7.0.4
...
Closes gh-49530
2 days ago
Andy Wilkinson
684e279d6f
Merge branch '4.0.x'
...
Closes gh-49618
2 days ago
Andy Wilkinson
797253a447
Merge branch '3.5.x' into 4.0.x
...
Closes gh-49617
2 days ago
Andy Wilkinson
22e3646bc3
Merge pull request #49591 from bbbbooo
...
* gh-49591:
Polish "Fix EndpointRequest links matching for separate management port"
Fix EndpointRequest links matching for separate management port
Closes gh-49591
2 days ago
Andy Wilkinson
a148983e7f
Polish "Fix EndpointRequest links matching for separate management port"
...
See gh-49591
Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2 days ago
bbbbooo
79f91eac56
Fix EndpointRequest links matching for separate management port
...
When management.endpoints.web.base-path is empty and management runs
on a different port, EndpointRequest.toLinks() and toAnyEndpoint()
do not match the links endpoint consistently.
Derive the links path based on the management port type on both
servlet and reactive sides, and add regression tests for each
implementation.
See gh-49591
Signed-off-by: bbbbooo <hyeons1213@gmail.com>
2 days ago
Stéphane Nicoll
a7b86cd49c
Merge branch '4.0.x'
2 days ago
Stéphane Nicoll
5896b0cba8
Merge branch '3.5.x' into 4.0.x
2 days ago
Stéphane Nicoll
ab7d6a9d29
Adapt assertion to different error message
2 days ago
Andy Wilkinson
255626f29e
Upgrade to Kotlin 2.3.20
...
Closes gh-49613
2 days ago
Andy Wilkinson
23e671f1cd
Revert "Upgrade to Kotlin 2.3.20"
...
This reverts commit 85c8432baf . The
upgrade breaks various tests in spring-boot-gradle-plugin that use
the Kotlin DSL.
See gh-49613
2 days ago
Andy Wilkinson
8dc7bfbb88
Merge branch '4.0.x'
2 days ago
Andy Wilkinson
1147a4c7ae
Merge branch '3.5.x' into 4.0.x
2 days ago
Andy Wilkinson
e1cc908dcd
Upgrade to Jakarta XML Bind 4.0.5
...
Closes gh-49616
2 days ago
Andy Wilkinson
9b0ad127db
Upgrade to Glassfish JAXB 4.0.7
...
Closes gh-49615
2 days ago
Andy Wilkinson
a904ce939a
Upgrade to SQLite JDBC 3.51.3.0
...
Closes gh-49614
2 days ago
Andy Wilkinson
85c8432baf
Upgrade to Kotlin 2.3.20
...
Closes gh-49613
2 days ago
Andy Wilkinson
1b2af27964
Upgrade to Jakarta XML Bind 4.0.5
...
Closes gh-49612
2 days ago
Andy Wilkinson
6da3b1b41b
Upgrade to Hibernate 7.2.7.Final
...
Closes gh-49611
2 days ago
Andy Wilkinson
980f97b6e0
Upgrade to Glassfish JAXB 4.0.7
...
Closes gh-49610
2 days ago
Andy Wilkinson
e0b756402d
Merge branch '4.0.x'
2 days ago
Andy Wilkinson
756722e57f
Upgrade to Jakarta XML Bind 4.0.5
...
Closes gh-49609
2 days ago
Andy Wilkinson
257975a0da
Upgrade to Hibernate 7.2.7.Final
...
Closes gh-49608
2 days ago
Andy Wilkinson
c75807e395
Upgrade to Glassfish JAXB 4.0.7
...
Closes gh-49607
2 days ago