Previously, the absence of Jackson would result in the loss of
some configuration that does not depend on Jackson. That
configuration is:
- the inbound and outbound channels' executors
- the bean that forces the stompWebSocketHandlerMapping bean to be
eager when lazy init is enabled
This commit updates the auto-configuration so that only the Jackson
message converter configuration backs off in Jackson's absence.
Fixes gh-49750
Update `spring-boot-configuration-processor` to support method-level
`@NestedConfigurationProperty` annotations when constructor binding
is being used.
Fixes gh-49734
Update `ConfigDataEnvironment` to restore previous property override
behavior by correctly grouping the initial `ConfigDataContributor`
instances.
This regression was cause by the polish commit 646db448 which attempted
to simplify the fix for gh-49324 by including all initial contributors
in a single contributor node. This change inadvertently changed the
iteration order for the `spring.config.location` and
`spring.config.additional-location` properties which still need to
be expanded and added in reverse order.
Fixes gh-49724
The Jackson team have ended support for Jackson 2.19.x (and 2.20.x).
In response to this, this commit upgrades to Jackson 2.21.2. 2.21.x
is designated as an LTS release so future minor upgrades should not
be necessary.
Closes gh-49365
Flyway's org.flywaydb.core.internal.scanner.Scanner does not make
any ordering guarantees so neither does our
NativeImageResourceProvider. It also isn't required by the contract
where a Collection is returned so we can relax the assertion in the
test so that it doesn't care about the ordering.
See gh-49661
Prior to this commit, the native image support for scanning Flyway
migration scripts would not scan sub-folders at runtime when running a
Native image.
This commit ensures that the resource scanning at runtime also considers
sub-directories for native images.
Fixes gh-49661
This commit updates the GraphQL slice tests to also consider
`@ControllerAdvice`-annotated beans, since Spring GraphQL loads
`@GraphQlExceptionHandler`s declared in `@ControllerAdvice` beans.
This also aligns `@GraphQlTest` with `@WebMvcTest`.
See gh-49660
Signed-off-by: Louis Morgan <ljrmorgan@gmail.com>
Prior to this commit, the `EndpointRequest` request matcher generator
would create many, complex matchers for the case of health groups
exposed on additional paths.
This commit revisits the matcher generation and simplifies their
matching to avoid conflicts with other matchers.
Fixes gh-49648
Prior to this commit, the Servlet and Reactive CloudFoundry Actuator
Handler mapping would only handle requests to actual Actuator endpoints.
Here, our original intent has always been to reserve this URL namespace
for the CloudFoundry use case and not delegate to other handler
mappings.
This commit ensures that requests under this path should be processed by
known endpoints, or result in a "HTTP 403 Forbidden" response.
Fixes gh-49645
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>
Prior to this commit, choosing a "websocket" transport for your RSocket
endpoint with `spring.rsocket.server.port` would not only expose the
endpoint on that specific port, but also on the main server.
This commit refines the auto-configuration condition to only add a route
on the main server if the separate port is not chosen.
Fixes gh-49592