EndpointRequest.withHttpMethod(...) restrictions are lost when
excluding(Class<?>...), excluding(String...), or excludingLinks()
are chained because each exclusion creates a new matcher without
the configured method.
Preserve the configured HttpMethod in both servlet and reactive
matchers and add regression tests for exclusion chaining.
See gh-49885
Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
Reactive EndpointRequest.toAdditionalPaths(...).withHttpMethod(...)
stores the configured HttpMethod but does not pass it to the
underlying matcher. As a result, additional endpoint paths match
regardless of the configured request method.
Update the reactive matcher to pass the configured method through
and add a regression test to verify that only matching methods are
accepted.
Fixes gh-49864
Signed-off-by: LeeJiWon <dlwldnjs1009@gmail.com>
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>