Commit Graph

3838 Commits

Author SHA1 Message Date
Brian Clozel e8c3157db5 Start building against Spring Framework 6.0.1 SNAPSHOTs
See gh-33286
2022-11-21 20:53:37 +01:00
Stephane Nicoll d89861e056 Merge branch '2.7.x'
Closes gh-33284
2022-11-21 16:23:11 +01:00
Stephane Nicoll 78d8bfdc52 Merge branch '2.6.x' into 2.7.x
Closes gh-33283
2022-11-21 16:22:54 +01:00
Henning Poettker 330848d339 Make `ScheduledBeanLazyInitializationExcludeFilter` conditional
See gh-33276
2022-11-21 16:11:07 +01:00
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2022-11-18 12:52:07 +00:00
Andy Wilkinson 98171921da Polish "Polish SecurityProperties"
See gh-33251
2022-11-18 12:50:15 +00:00
Vedran Pavic c1691f525a Polish SecurityProperties
See gh-33251
2022-11-18 12:50:15 +00:00
Sébastien Deleuze e7f91bab78 Refine BackgroundPreinitializer code reachability
GraalVM code reachability algorithm is not able to evaluate at build
time that ENABLED static field is always false in a native image,
shipping unreachable code.

Before this commit, building a native image with -H:+PrintAnalysisCallTree
shows that the following methods are included:
- BackgroundPreinitializer$1.<init>(BackgroundPreinitializer):void
- BackgroundPreinitializer$1.run():void
- BackgroundPreinitializer$1.runSafely(Runnable):void
- BackgroundPreinitializer$CharsetInitializer.run():void
- BackgroundPreinitializer$ConversionServiceInitializer.run():void
- BackgroundPreinitializer$JacksonInitializer.run():void
- BackgroundPreinitializer$MessageConverterInitializer.run():void
- BackgroundPreinitializer$ValidationInitializer.run():void
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void
- BackgroundPreinitializer.performPreinitialization():void

After this commit, only those are included:
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void

See gh-33240
2022-11-18 10:52:42 +00:00
Stephane Nicoll cb1ee205ea Exclude SharedMetadataReaderFactoryContextInitializer from AOT contexts
SharedMetadataReaderFactoryContextInitializer exposes an additional
bean post processor that is only relevant when parsing the bean
factory, auto-configurations in particular. Given that this does not
happen in an AOT-optimized context, this commit excludes the bean
and makes sure the initializer does not do anything at runtime.

Closes gh-33216
2022-11-17 11:30:22 +01:00
Phillip Webb e2dc35954e Merge branch '2.7.x'
Closes gh-33230
2022-11-16 12:06:20 -08:00
Phillip Webb e255bba018 Merge branch '2.6.x' into 2.7.x
Closes gh-33229
2022-11-16 12:06:10 -08:00
Phillip Webb 6cc6a15edf Polish 'Refine BackgroundPreinitializer Jackson initialization'
See gh-33220
2022-11-16 12:01:05 -08:00
Sébastien Deleuze bdac416a62 Refine BackgroundPreinitializer Jackson initialization
AllEncompassingFormHttpMessageConverter already initializes
Jackson ObjectMapper. This commit updates BackgroundPreinitializer
in order to not run JacksonInitializer when
MessageConverterInitializer already takes care of initializing
ObjectMapper.

See gh-33220
2022-11-16 12:00:47 -08:00
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2022-11-16 18:09:35 +00:00
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2022-11-16 16:41:02 +00:00
Andy Wilkinson 4bb13bcdfd Fix package tangles in spring-boot-autoconfigure
See gh-17299
2022-11-16 16:12:00 +00:00
Brian Clozel c1c818d43c Polish
See gh-33208
2022-11-16 16:34:49 +01:00
Brian Clozel 200458136c Contribute GraphQL resources during AOT phase
This commit ensures that the default locations for GraphQL schema files
and the GraphiQL UI HTML page are included in the native image by
registering resource hints during the AOT phase.

Fixes gh-33208
2022-11-16 15:56:15 +01:00
Johnny Lim 6027508cf7 Polish
See gh-33108
2022-11-16 10:00:36 +01:00
Andy Wilkinson 31f5e768a8 Polish "Add config property for Spring Integration component observation"
See gh-33099
2022-11-14 20:16:16 +00:00
artembilan b87d5c728d Add config property for Spring Integration component observation
Spring Integration has introduced a new observationPatterns attribute
on EnableIntegrationManagement. Spring Boot auto-configures
EnableIntegrationManagement so this commit adds a property that
allows users to configure the patterns without declaring the
annotation themselves.

See gh-33099
2022-11-14 20:16:16 +00:00
Madhura Bhave 8cb615e9b6 Remove workarounds for SecurityContextRepository 2022-11-10 14:23:17 -08:00
Madhura Bhave f4cf722c27 Align default security filter dispatcher types with Spring Security
Fixes gh-33090
2022-11-10 13:53:47 -08:00
Phillip Webb 1adc7c7dd4 Merge branch '2.7.x' 2022-11-09 11:32:24 -08:00
Phillip Webb 0ef03d725f Merge branch '2.6.x' into 2.7.x 2022-11-09 11:31:55 -08:00
Phillip Webb a431ae04e6 Polish 2022-11-09 11:30:11 -08:00
Andy Wilkinson 70f7258341 Simplify JacksonAutoConfiguration as we now require Jackson 2.14
See gh-33086
2022-11-09 17:31:04 +00:00
Andy Wilkinson 60917bd114 Remove tests for Jackson 2.11
Closes gh-33086
2022-11-09 11:33:55 +00:00
Phillip Webb 32b9945632 Polish 2022-11-08 23:15:30 -08:00
Phillip Webb 0d5c13cb28 Polish 'Add reflection hints for PropertyNamingStrategies'
See gh-33080
2022-11-08 23:09:27 -08:00
Ralf Ueberfuhr e9bca3e6de Add reflection hints for PropertyNamingStrategies
See gh-33080
2022-11-08 23:03:54 -08:00
Andy Wilkinson c314d62030 Merge branch '2.7.x'
Closes gh-33067
2022-11-08 13:11:01 +00:00
Andy Wilkinson 0e70c33725 Merge branch '2.6.x' into 2.7.x
Closes gh-33066
2022-11-08 13:10:40 +00:00
dreis2211 34902f5a02 Fix possible type pollution in ConditionEvaluationReport
See gh-32916
2022-11-08 13:01:27 +00:00
Andy Wilkinson a19f1a733e Correct crash handling in condition report logging listener
Closes gh-33027
2022-11-08 12:54:46 +00:00
Andy Wilkinson 3a2703e8f6 Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI
Closes gh-33059
Closes gh-33050
2022-11-08 11:01:15 +00:00
Phillip Webb 95557ddbc6 Start building against Spring Integration 6.0.0-RC2 snapshots
See gh-33009
2022-11-07 14:31:01 -08:00
Andy Wilkinson b67c427259 Upgrade to Servlet 6.0 and related EE 10 specs
Co-authored-by: Phillip Webb <pwebb@vmware.com>

Closes gh-33036
Closes gh-33037
Closes gh-33038
Closes gh-33039
Closes gh-33040
Closes gh-33041
Closes gh-33042
Closes gh-33043
2022-11-07 17:33:38 +00:00
Andy Wilkinson bf468ab808 Polish tests to make use of @ParamterizedTest
Update tests to use @ParamterizedTest to reduce duplication.
2022-11-05 18:46:13 -07:00
Andy Wilkinson 42f4fd7e41 Revert to Spring Integration 6.0.0-RC1
Latest snapshots contain breaking changes that we do not yet know how
to address.
2022-11-05 13:39:45 +00:00
Andy Wilkinson 7e6bc3fdca Adapt to breaking API change in Spring Integration
See gh-33009
2022-11-04 19:40:52 +00:00
Andy Wilkinson 61c9a1540f Start building against Spring Batch 5.0.0-RC2 snapshots
See gh-32935
2022-11-01 12:09:39 +00:00
Moritz Halbritter 4fef5291bf Fix build
Commit 29f085bd1a690ff7281e00b3a925e1160850ffbb in Spring Framework
automatically registers hints for enclosing directories. This fixes the
tests to use a contains instead of exact match.
2022-10-31 16:59:15 +01:00
Moritz Halbritter dd2bec267c Revert "Fix build"
This reverts commit 50599c5046.
2022-10-31 16:54:05 +01:00
Moritz Halbritter 50599c5046 Fix build
Commit 29f085bd1a690ff7281e00b3a925e1160850ffbb in Spring Framework
automatically registers hints for enclosing directories. This fixes the
tests to expect hints for those directories as well.
2022-10-31 16:03:49 +01:00
Moritz Halbritter 5bf088d88b Add runtime hints for Liquibase migration file
Closes gh-32926
2022-10-31 11:29:53 +01:00
Johnny Lim 5067aab552 Polish
See gh-32840
2022-10-27 16:33:14 +02:00
Andy Wilkinson b9e176ce1a Inject Jackson modules rather than retrieving them manually
Fixes gh-32863
2022-10-27 13:35:37 +01:00
Moritz Halbritter 65c68ba64e Reinstate old flyway bean method
Closes gh-32849
2022-10-27 10:15:58 +02:00
Moritz Halbritter cd5d2ad3e8 Revert "Extract Flyway configuration mapping in separate class"
This reverts commit cf4117856b.
2022-10-27 10:08:27 +02:00