Commit Graph

58380 Commits

Author SHA1 Message Date
Stéphane Nicoll 7b33888ad4 Start building against Spring Batch 5.2.3 snapshots
See gh-47077
2025-09-06 09:17:49 +02:00
Stéphane Nicoll a9314b4dcd Start building against Spring AMQP 3.2.7 snapshots
See gh-47076
2025-09-06 09:17:45 +02:00
Stéphane Nicoll 0aac151e63 Start building against Reactor Bom 2024.0.10 snapshots
See gh-47075
2025-09-06 09:17:41 +02:00
Stéphane Nicoll 1e2ad8fa04 Start building against Micrometer Tracing 1.4.10 snapshots
See gh-47074
2025-09-06 09:17:37 +02:00
Stéphane Nicoll 15af6a7371 Start building against Micrometer 1.14.11 snapshots
See gh-47073
2025-09-06 09:17:33 +02:00
Phillip Webb 0623275641 Add nullability to `JsonWriter`
See gh-46926
2025-09-05 19:57:52 -07:00
Phillip Webb 239f384ac0 Update PropertyMapper to better support nullability
Refactor `PropertyMapper` so that it no longer calls adapter or
predicate methods by default when the source value is `null`. This
effectively makes all default calls the same as using
`alwaysWhenNotNull` in the previous generation of the code.

For the limited times when you do need to deal with `null` values, the
new `always()` method can be used.

For example,

	map.from(source::method).to(destination::method);

Will not call `destination.method(...)` if `source.method()` returns
`null`.

Where as:

	map.from(source::method).always().to(destination::method);

Will call  `destination.method(null)` if `source.method()` returns
`null`.

This update provides clearer semantics for the API and allows for better
JSpecify nullability annotations. It has also simplified much of our
existing property mapper code.

Closes gh-47024

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
2025-09-05 14:43:33 -07:00
Phillip Webb 2d63763c58 Upgrade to Versions Maven Plugin 2.19.0
Closes gh-47071
2025-09-05 11:42:05 -07:00
Phillip Webb 9d89264985 Upgrade to Tomcat 11.0.11
Closes gh-47070
2025-09-05 11:42:01 -07:00
Phillip Webb 1c803ce0dd Upgrade to SnakeYAML 2.5
Closes gh-47069
2025-09-05 11:41:57 -07:00
Phillip Webb a759f981f6 Upgrade to Lombok 1.18.40
Closes gh-47068
2025-09-05 11:41:53 -07:00
Phillip Webb 4af6640903 Upgrade to Kotlin 2.2.10
Closes gh-47067
2025-09-05 11:41:49 -07:00
Phillip Webb b6a44dc31f Upgrade to Kafka 4.1.0
Closes gh-47066
2025-09-05 11:41:45 -07:00
Phillip Webb 24a1b0b449 Upgrade to Jaybird 6.0.3
Closes gh-47065
2025-09-05 11:41:41 -07:00
Phillip Webb d9b894dc9b Upgrade to Jakarta Mail 2.1.4
Closes gh-47064
2025-09-05 11:41:37 -07:00
Phillip Webb 02c9175dea Upgrade to Infinispan 15.2.6.Final
Closes gh-47063
2025-09-05 11:41:33 -07:00
Phillip Webb efe3ec191e Upgrade to HttpCore5 5.3.5
Closes gh-47062
2025-09-05 11:41:29 -07:00
Phillip Webb 987ff8ca54 Upgrade to HtmlUnit 4.16.0
Closes gh-47061
2025-09-05 11:41:25 -07:00
Phillip Webb dd67968bc9 Upgrade to HikariCP 7.0.2
Closes gh-47060
2025-09-05 11:41:20 -07:00
Phillip Webb 669f404676 Upgrade to Flyway 11.12.0
Closes gh-47059
2025-09-05 11:41:16 -07:00
Andy Wilkinson 4aa0d9dcac Merge branch '3.5.x'
Closes gh-47058
2025-09-05 17:31:57 +01:00
Andy Wilkinson 90cc5be79f Merge branch '3.4.x' into 3.5.x
Closes gh-47057
2025-09-05 17:31:40 +01:00
Andy Wilkinson f28caee30d Fix NestedJarFile.JarEntryInputStream's available() behavior
Previously, available() would return 0 initially and then negative
values once some data head been read. It should be a positive value
(for entries with content) initially a decrease as data is read
reaching zero once an entry's data has been read in its entirety.

This commit initialises the count of the remaining bytes to
be equal to the entry's uncompressed size. It also removes logic
that closes the stream when remaining equals zero upon read or skip.
This condition was not reached before as remaining would become
negative as soon as any data was read or skipped. With the correct
initialization of remaining, the condition is now reached and it
results in test failures due to premature closure. Furthermore, the
javadoc of read and skip do not require the stream to be closed
when the reach end of file.

Closes gh-47056
2025-09-05 17:29:22 +01:00
Andy Wilkinson 8d2c090af8 Move MongoDB health support into spring-boot-mongodb
Previously the MongoDB health indicates used Spring Data's templates
(imperative and reactive) to access MongoDB. This prevented health
information from being available in apps using Mongo's Java Driver
directly.

This commit updates the health indicates so that they no longer
depend upon Spring Data MongoDB and instead using MongoDB's Java
Driver directly. As they no longer depend on Spring Data MongoDB,
the indicators have also moved from spring-boot-data-mongodb to
spring-boot-mongodb.

Closes gh-47051
2025-09-05 15:07:52 +01:00
Andy Wilkinson a977d260bd Add a property for Data MongoDB's BigDecimal representation
Closes gh-47041
2025-09-05 15:07:52 +01:00
Andy Wilkinson 1554c74c2a Rename spring.data.mongodb.uuid-representation
Closes gh-47052
2025-09-05 15:07:52 +01:00
Andy Wilkinson ab9feff7fa Use mongodb consistently in property names
Closes gh-47050
2025-09-05 15:07:52 +01:00
Andy Wilkinson 08c42701d9 Rename MongoDB properties that don't require Spring Data MongoDB
Previously, all configuration properties for MongoDB used the
prefix spring.data.mongodb irrespective of whether or not they
required Spring Data MongoDB.

This commit renames the properties that do not require Spring Data
MongoDB to use the prefix spring.mongodb.

Closes gh-34954
2025-09-05 15:07:52 +01:00
Moritz Halbritter 63adb82145 Merge branch '3.5.x'
Closes gh-47055
2025-09-05 14:17:39 +02:00
Moritz Halbritter 85afbc6d82 Merge branch '3.4.x' into 3.5.x
Closes gh-47054
2025-09-05 14:14:18 +02:00
Moritz Halbritter d39047183e Merge pull request #47028 from izeye
* pr/47028:
  Polish

Closes gh-47028
2025-09-05 14:13:11 +02:00
Johnny Lim 438df257b5 Polish
See gh-47028

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-09-05 14:13:02 +02:00
Moritz Halbritter ccbf678f5a Merge pull request #47015 from HyunSangHan
* pr/47015:
  Replace deprecated @Temporal with LocalDate

Closes gh-47015
2025-09-05 14:01:37 +02:00
Hyunsang Han 1b7d0b5755 Replace deprecated @Temporal with LocalDate
See gh-47015

Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
2025-09-05 14:00:19 +02:00
Moritz Halbritter d185b319f3 Merge pull request #47029 from maziyarbahramian
* pr/47029:
  Rename ConditionalOnEnabledTracing to ConditionalOnEnabledTracingExport

Closes gh-47029
2025-09-05 13:40:13 +02:00
Maziyar Bahramian 4a888ca1db Rename ConditionalOnEnabledTracing to ConditionalOnEnabledTracingExport
See gh-47029

Signed-off-by: Maziyar Bahramian <maziyar.bahramian@gmail.com>
2025-09-05 13:36:16 +02:00
Phillip Webb 92c3d1835a Adapt to Spring Kafka BackOff updates
See gh-47004
2025-09-04 15:53:38 -07:00
Andy Wilkinson aa3bed5e28 Remove GridFS from MongoConnectionDetails
GridFS is a concept specific to Spring Data MongoDB while
MongoConnectionDetails provides general details for connecting to
MongoDB, with or without Spring Data MongoDB. As such GridFS does not
belong on MongoConnectionDetails and this commit removes it.

Support for configuring GridFS through properties remains.

Closes gh-47044
2025-09-04 18:01:18 +01:00
Andy Wilkinson 42c494caa2 Rename …DataProperties to Data…Properties
Closes gh-47043
2025-09-04 17:47:18 +01:00
Andy Wilkinson 3f03a3d55e Upgrade to Lettuce 6.8.1.RELEASE
Closes gh-47046
2025-09-04 17:01:23 +01:00
Andy Wilkinson 75dbbad1f7 Upgrade to Jedis 6.2.0
Closes gh-47045
2025-09-04 17:01:18 +01:00
Andy Wilkinson b888ba46da Revert "Merge branch '3.5.x'"
This reverts commit fc2700674e, reversing
changes made to b1b5880f48.

See gh-47038
2025-09-04 16:03:50 +01:00
Andy Wilkinson ed96ed6e8c Merge branch '3.4.x' into 3.5.x
See gh-47037
2025-09-04 16:01:56 +01:00
Andy Wilkinson 055b0993da Revert "Remove stale metadata for management.health.influxdb.enabled"
This reverts commit 987635972d.

See gh-45747
2025-09-04 16:01:32 +01:00
Andy Wilkinson 056ed4f226 Merge pull request #46167 from l-trotta
* gh-46167:
  Polish "Add support for Elasticsearch API-key-based authentication"
  Add support for Elasticsearch API-key-based authentication

Closes gh-46167
2025-09-04 14:35:01 +01:00
Andy Wilkinson 86deef6abf Polish "Add support for Elasticsearch API-key-based authentication"
See gh-46167
2025-09-04 12:08:25 +01:00
Laura Trotta 9a70591f31 Add support for Elasticsearch API-key-based authentication
See gh-46167

Signed-off-by: Laura Trotta <laura.trotta@elastic.co>
2025-09-04 12:01:28 +01:00
Andy Wilkinson 79d409a8fc Merge branch '3.5.x' 2025-09-04 11:56:39 +01:00
Andy Wilkinson 3dcd2b79f2 Merge branch '3.4.x' into 3.5.x 2025-09-04 11:56:33 +01:00
Andy Wilkinson 2d9b258f3d Configure dependabot to add waiting-for-triage label to its PRs 2025-09-04 11:55:50 +01:00