Commit Graph

39873 Commits

Author SHA1 Message Date
Andy Wilkinson 4c2c04ca95 Upgrade to Spring Framework 6.0.0-RC1
Closes gh-32550
2022-10-12 12:26:22 +01:00
Andy Wilkinson 3ab4606584 Make runScripts method of DB initializer more extensible
Closes gh-29137
2022-10-12 11:52:38 +01:00
Andy Wilkinson 403803837a Adapt to changes in REST Docs for documenting query parameters
See gh-32623
2022-10-12 11:30:57 +01:00
Phillip Webb 7e8ed075c0 Merge branch '2.7.x'
Closes gh-32682
2022-10-11 23:21:52 -07:00
Phillip Webb ed01a77a99 Merge branch '2.6.x' into 2.7.x
Closes gh-32681
2022-10-11 23:19:34 -07:00
Phillip Webb e0c79ce598 Support PEM formatted elliptic-curve TLS keys
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.

Fixes gh-32646
2022-10-11 23:18:44 -07:00
Andy Wilkinson 4dfd770406 Ensure that metrics and observation properties are enabled
Closes gh-32676
2022-10-11 20:30:40 +01:00
Andy Wilkinson 3ca5c7ff5b Create AOT source sets as soon as the Java plugin is applied
Previously, the AOT source sets were not created until both the
Java and Spring Boot plugins had been applied. This could create
ordering problems when the Spring Boot plugin's native image plugin
action tried to access the AOT source sets to configure the
classpaths of the nativeCompile and nativeTest tasks. If the
plugins were applied in a particular order the AOT source sets
would not exist and a failure would occur.

This commit updates the Spring Boot AOT plugin to create the source
sets as soon as the Java plugin has been applied. This ensure that
they're in place when reacting to the native image plugin being
applied.

Closes gh-32661
2022-10-11 19:58:03 +01:00
Andy Wilkinson 808e0be552 Merge branch '2.7.x'
Closes gh-32679
2022-10-11 19:16:08 +01:00
Andy Wilkinson 1b604e30f7 Merge branch '2.6.x' into 2.7.x
Closes gh-32678
2022-10-11 19:15:33 +01:00
Andy Wilkinson 215eb96355 Improve error handling in SpringBootPlugin
Closes gh-32677
2022-10-11 19:15:23 +01:00
Stephane Nicoll 37f966558e Merge branch '2.7.x' 2022-10-11 12:44:03 +02:00
Stephane Nicoll 579a858361 Upgrade to Lettuce 6.2.1.RELEASE
Closes gh-32674
2022-10-11 12:42:17 +02:00
Stephane Nicoll aee3ab75b1 Upgrade to Jedis 4.3.0
Closes gh-32673
2022-10-11 12:42:17 +02:00
Stephane Nicoll df364987df Upgrade to Hibernate 6.1.4.Final
Closes gh-32672
2022-10-11 12:42:17 +02:00
Stephane Nicoll cbf24bd1cd Upgrade to Elasticsearch Client 8.4.3
Closes gh-32671
2022-10-11 12:42:17 +02:00
Stephane Nicoll 2c5be354be Upgrade to Cassandra Driver 4.15.0
Closes gh-32670
2022-10-11 11:11:23 +02:00
Stephane Nicoll e1aa438d9c Merge branch '2.6.x' into 2.7.x 2022-10-11 11:07:44 +02:00
Stephane Nicoll 907396021f Upgrade to Lettuce 6.1.10.RELEASE
Closes gh-32669
2022-10-11 11:06:30 +02:00
Stephane Nicoll 0c703c5317 Upgrade to Micrometer Tracing 1.0.0-RC1
Closes gh-32616
2022-10-11 08:39:16 +02:00
Stephane Nicoll 5dc0af7b0e Upgrade to Micrometer 1.10.0-RC1
Closes gh-32598
2022-10-11 08:38:57 +02:00
Stephane Nicoll c1b82f7ac5 Merge branch '2.7.x' 2022-10-11 08:08:32 +02:00
Stephane Nicoll bac9143a81 Merge branch '2.6.x' into 2.7.x 2022-10-11 08:08:23 +02:00
Stephane Nicoll 5b6a5873a5 Upgrade to Micrometer 1.9.5
Closes gh-32591
2022-10-11 06:15:51 +02:00
Stephane Nicoll 8a231e52b3 Upgrade to Undertow 2.2.20.Final
Closes gh-32668
2022-10-11 06:15:36 +02:00
Stephane Nicoll fabdc5a7b6 Upgrade to Tomcat 9.0.68
Closes gh-32667
2022-10-11 06:15:34 +02:00
Stephane Nicoll 1207d55f34 Upgrade to Lettuce 6.1.10.RELEASE
Closes gh-32666
2022-10-11 06:15:31 +02:00
Stephane Nicoll 858a48d979 Upgrade to Hibernate 5.6.12.Final
Closes gh-32665
2022-10-11 06:15:29 +02:00
Stephane Nicoll 483d62fa40 Upgrade to Embedded Mongo 3.4.11
Closes gh-32664
2022-10-11 06:15:27 +02:00
Stephane Nicoll 7e0de51cd2 Upgrade to Ehcache3 3.10.2
Closes gh-32663
2022-10-11 06:15:24 +02:00
Stephane Nicoll f49d1704f2 Upgrade to Micrometer 1.8.11
Closes gh-32586
2022-10-11 06:13:04 +02:00
Stephane Nicoll 645595c19e Start building against Spring HATEOAS 2.0.0-RC1 snapshots
See gh-32652
2022-10-11 06:03:00 +02:00
Andy Wilkinson d351086a06 Adapt to breaking changes to AOT processing entry points
See gh-32550
2022-10-10 22:02:25 +01:00
Brian Clozel d870474fcd Remove spring.webflux.multipart.streaming property
As of spring-projects/spring-framework#29293, the streaming mode on the
`DefaultPartHttpMessageReader` is deprecated as hard limitations have
been found with the design and won't be fixed. Instead, developers
should use the `PartEvent` API and the `PartEventHttpMessageReader`
(which is configured by default with the codecs).

This commit removes the `spring.webflux.multipart.streaming` property
and applies all `spring.webflux.multipart.*` properties that are
applicable to `PartEventHttpMessageReader`.

Closes gh-32658
2022-10-10 14:59:34 +02:00
Stephane Nicoll 4e46f86558 Merge branch '2.7.x' 2022-10-10 10:33:14 +02:00
Stephane Nicoll 8f5a1a8e3b Merge branch '2.6.x' into 2.7.x 2022-10-10 10:32:59 +02:00
Stephane Nicoll ac9b869cfd Upgrade to Undertow 2.2.20.Final
Closes gh-32651
2022-10-10 09:33:24 +02:00
Stephane Nicoll e5cbc9cfe0 Upgrade to Tomcat 9.0.68
Closes gh-32650
2022-10-10 09:33:21 +02:00
Stephane Nicoll 19c3078623 Upgrade to Hibernate 5.6.12.Final
Closes gh-32649
2022-10-10 09:33:19 +02:00
Stephane Nicoll 1efbfdb3d3 Upgrade to Ehcache3 3.9.10
Closes gh-32648
2022-10-10 09:33:16 +02:00
Madhura Bhave 263433cd81 Populate base for embedded LDAPContextSource
Fixes gh-23030
2022-10-07 13:20:45 -07:00
Andy Wilkinson 533f3017d4 Merge branch 'gh-32109' 2022-10-07 18:08:31 +01:00
Andy Wilkinson 3eb3d79104 Log condition evaluation report during AOT processing
Closes gh-32109
2022-10-07 18:08:18 +01:00
Andy Wilkinson 8e35f2ae92 Separate report logging from context initialization and events
See gh-32109
2022-10-07 18:08:18 +01:00
Johnny Lim 73fd760137 Polish HTTP client observability changes
See gh-32484
See gh-32518

Closes gh-32636
2022-10-07 19:05:14 +02:00
Brian Clozel 23a9818e0d Auto-configure ProblemDetails support
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.

Closes gh-32634
2022-10-07 17:23:12 +02:00
Andy Wilkinson 13e0a1314a Merge pull request #32633 from vpavic
* gh-32633:
  Fix deprecation warnings in Spring Session auto-configuration

Closes gh-32633
2022-10-07 15:39:21 +01:00
Vedran Pavic e0a7bd8143 Fix deprecation warnings in Spring Session auto-configuration
This commit updates Spring Session auto-configuration to avoid usage of
deprecated methods, and moves to newly introduced Duration based
defaultMaxInactiveInterval setters across all session repository
implementations.

Additionally, this fixes several tests that are broken due to session
repository implementations now using Duration type for their
defaultMaxInactiveInterval fields.

See gh-32633
2022-10-07 15:38:46 +01:00
Andy Wilkinson 006d2edcd5 Merge pull request #32615 from marcingrzejszczak
* gh-32615:
  Make auto-configured Brave Tracer more compliant with OTel tracer

Closes gh-32615
2022-10-07 11:15:33 +01:00
Marcin Grzejszczak dfd148fb76 Make auto-configured Brave Tracer more compliant with OTel tracer
By default we will not support joined spans and the trace ID will
be 128-bit.

See gh-32615
2022-10-07 11:14:46 +01:00