Commit Graph

4054 Commits

Author SHA1 Message Date
Phillip Webb e9c4a5d663 Polish 2023-05-12 13:01:30 -07:00
Moritz Halbritter 7b4056df7f Merge branch '2.7.x' into 3.0.x 2023-05-12 12:00:11 +02:00
Moritz Halbritter 700e89097c Polish
See https://stackoverflow.com/questions/28671903/the-hashsett-removeall-method-is-surprisingly-slow
2023-05-12 11:57:33 +02:00
Moritz Halbritter 53d2a9fb34 Merge branch '2.7.x' into 3.0.x
Closes gh-35380
2023-05-10 10:58:03 +02:00
Moritz Halbritter ec4d52e381 Add ReactiveResponseConsumer classpath check to http5 auto-configuration
Closes gh-34964
2023-05-10 10:47:08 +02:00
Moritz Halbritter 7e50485b23 Merge branch '2.7.x' into 3.0.x
Closes gh-35378
2023-05-10 10:28:47 +02:00
Moritz Halbritter 947ac8df73 Map MinIdle and MaxValidationTime to R2DBC pools
Closes gh-34724
2023-05-10 10:16:43 +02:00
Andy Wilkinson 6c1c8fb405 Merge branch '2.7.x' into 3.0.x
Closes gh-35361
2023-05-09 12:23:49 +01:00
Andy Wilkinson 7427e2d527 Polish "Fix test for backing off when a TransactionManager is already defined"
See gh-35336
2023-05-09 12:04:38 +01:00
davin111 cf5500fc78 Fix test for backing off when a TransactionManager is already defined
See gh-35336
2023-05-09 12:03:06 +01:00
Scott Frederick cf180fa1cc Merge branch '2.7.x' into 3.0.x
Closes gh-35243
2023-05-05 16:07:23 -05:00
Scott Frederick 5d91c24f63 Update Couchbase image tag used in tests
Closes gh-35228
2023-05-05 14:45:58 -05:00
Phillip Webb 8d1fb3be4f Fix index error on test
See gh-35241
2023-05-02 15:41:07 -07:00
Phillip Webb 0f242ab3f7 Merge branch '2.7.x' into 3.0.x 2023-05-02 14:52:16 -07:00
Phillip Webb 6b646f6a8e Update copyright year of changed files 2023-05-02 14:52:12 -07:00
Phillip Webb 722cbc66c6 Merge branch '2.7.x' into 3.0.x
Closes gh-35241
2023-05-02 14:51:13 -07:00
Phillip Webb 5ef0ee0ed4 Prevent early initialization of SessionRepository beans
Replace `SessionRepositoryFilterConfiguration` filter registration bean
with a `DelegatingFilterProxyRegistrationBean` so that
`SessionRepository` beans are not initialized early.

Fixes gh-35240
2023-05-02 14:47:15 -07:00
Andy Wilkinson 9a39bf284b Merge branch '2.7.x' into 3.0.x
Closes gh-35235
2023-05-02 16:19:30 +01:00
Andy Wilkinson 7c2c2ebb1b Make ApplicationAvailabilityBean receive events with lazy init
Fixes gh-35161
2023-05-02 16:19:08 +01:00
Moritz Halbritter 735c43ce9b Merge branch '2.7.x' into 3.0.x 2023-05-02 14:38:48 +02:00
Moritz Halbritter 312f0c17ed Set initial ElasticSearch heap size in integration tests 2023-05-02 14:37:13 +02:00
Moritz Halbritter 037cb8c5b0 Merge branch '2.7.x' into 3.0.x 2023-05-02 13:57:37 +02:00
Moritz Halbritter c1cef099d2 Limit maximum heap of ElasticSearch in tests 2023-05-02 13:40:59 +02:00
Moritz Halbritter d7a9f87b64 Disable Neo4j tests on aarch64 linux and mac
See gh-35228
2023-05-02 13:40:59 +02:00
Moritz Halbritter 9f109fe785 Disable Couchbase integration tests on aarch64 linux and mac
See gh-35228
2023-05-02 13:40:59 +02:00
Andy Wilkinson 8f291abc2b Merge branch '2.7.x' into 3.0.x
Closes gh-35230
2023-05-02 11:58:33 +01:00
Juhan Aasaru 3b70286747 Correct list of annotations equivalent to @SpringBootApplication
See gh-35180
2023-05-02 11:57:18 +01:00
Andy Wilkinson 7ee1622995 Merge branch '2.7.x' into 3.0.x
Closes gh-35172
2023-04-26 12:48:16 +01:00
Andy Wilkinson 6b9bc012a5 Check that BPP and BFPP bean methods won't cause eager initialization
Closes gh-35164
2023-04-26 11:47:03 +01:00
Andy Wilkinson 598e090e8f Merge branch '2.7.x' into 3.0.x
Closes gh-35131
2023-04-24 15:07:43 +01:00
Andy Wilkinson 90952a2dd9 Do not turn a null Flyway-specific password into an empty string
It prevents using PGPASS for authentication with Postgres.

Fixes gh-35110
2023-04-24 14:44:04 +01:00
Stephane Nicoll 6933796f2a Merge branch '2.7.x' into 3.0.x
Closes gh-35068
2023-04-19 18:01:16 +02:00
Stephane Nicoll 1b832d82f8 Polish "Back off if a custom ApplicationAvailability bean is present"
See gh-34347
2023-04-19 17:25:10 +02:00
Taeik Lim 5e95ba8448 Back off if a custom ApplicationAvailability bean is present
See gh-34347
2023-04-19 17:24:59 +02:00
Andy Wilkinson 0e51cd583a Merge branch '2.7.x' into 3.0.x 2023-04-13 14:27:00 +01:00
Andy Wilkinson e70226b48e Adapt to breaking changes in Spring Security internals
See gh-34948
2023-04-13 14:11:20 +01:00
Stephane Nicoll 9a4a522004 Polish "Start building against Spring Security 6.0.3 snapshots"
See gh-34952
2023-04-12 12:29:58 +02:00
Stephane Nicoll 3f022867f4 Polish "Start building against Spring Security 5.7.8 snapshots"
See gh-34948
2023-04-12 12:26:43 +02:00
Stephane Nicoll 320db790e7 Merge branch '2.7.x' into 3.0.x
Closes gh-34938
2023-04-11 16:38:46 +02:00
Stephane Nicoll 4b8829364e Polish "Use removeIf rather than Iterator-based removal"
See gh-34762
2023-04-11 16:32:26 +02:00
SeasonPan 0d13e31827 Use removeIf rather than Iterator-based removal
See gh-34762
2023-04-11 16:20:43 +02:00
Stephane Nicoll 55125c7a5c Update copyright header of changed file
See gh-34844
2023-04-11 16:13:23 +02:00
Sanghyuk Jung d4fe272ce5 Remove outdated reference to JPA in BatchProperties
See gh-34844
2023-04-11 16:12:31 +02:00
Stephane Nicoll 03d42deaea Polish "Fix hint to include all Liquibase resources in default location"
See gh-34729
2023-04-11 16:02:09 +02:00
Andrii Bohutskyi 408d5246bc Fix hint to include all Liquibase resources in default location
See gh-34729
2023-04-11 15:56:23 +02:00
Stephane Nicoll bd0561fc10 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34930
2023-04-11 14:45:41 +02:00
Phillip Webb d442bfbeff Polish 2023-04-10 16:22:11 -07:00
Stephane Nicoll d823d7b0b1 Upgrade to Undertow 2.2.24.Final
Closes gh-34910
2023-04-07 16:02:57 +02:00
Andy Wilkinson 16b126a481 Merge branch '2.7.x' into 3.0.x
Closes gh-34799
2023-03-28 14:44:33 +01:00
Andy Wilkinson c9e69b13b1 Resolve placeholders in reference config against all other config
Fixes gh-34643
2023-03-28 14:43:53 +01:00
Andy Wilkinson fa63f6cc9e Stop using an instance supplier in EntityScanPackages' bean definition
Closes gh-34371
2023-03-23 10:02:14 +00:00
Andy Wilkinson f6add35f8b Upgrade to Tomcat 10.1.7
Closes gh-34674
2023-03-21 10:07:21 +00:00
Scott Frederick 86a1cfff6f Merge branch '2.7.x' into 3.0.x
Closes gh-34659
2023-03-20 18:39:11 -05:00
Scott Frederick 6dc0f90e00 Polish "Disable embedded web auto-config when not using embedded web server"
See gh-34332
2023-03-20 18:38:04 -05:00
Guirong Hu b2facecb12 Disable embedded web auto-config when not using embedded web server
See gh-34332
2023-03-20 18:14:58 -05:00
Andy Wilkinson 4be288f672 Upgrade to Tomcat 9.0.73
Closes gh-34655
2023-03-20 21:07:57 +00:00
Andy Wilkinson d9c5f274c8 Merge branch '2.7.x' into 3.0.x
Closes gh-34605
2023-03-14 15:03:53 +00:00
1993heqiang a3bb3b1510 Polish name of JettyServletWebServerFactory bean method
See gh-34421
2023-03-14 15:02:12 +00:00
Andy Wilkinson 03865eebd7 Polish "Fix Javadoc in JobLauncherApplicationRunner"
See gh-34596
2023-03-14 14:58:01 +00:00
Sanghyuk Jung 03acc0273e Fix Javadoc in JobLauncherApplicationRunner
See gh-34596
2023-03-14 14:55:27 +00:00
Andy Wilkinson 1e5169846f Fix handling of deprecated identityprovider verification.credentials
Fixes gh-34525
2023-03-09 10:36:16 +00:00
Scott Frederick f28bb221a2 Suppress Spring Kafka deprecation warning
See gh-34441
2023-03-02 15:01:05 -06:00
Andy Wilkinson 525cba1b6f Upgrade to Neo4j Java Driver 5.4.0
Closes gh-34344
2023-02-23 09:41:41 +00:00
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2023-02-22 18:36:16 -08:00
Andy Wilkinson 88de3cc089 Temporarily remove auto-config for Reactor context propagation
See gh-34201
2023-02-22 21:10:59 +00:00
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2023-02-21 23:17:57 -08:00
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
Andy Wilkinson cae8c14ac7 Make Micrometer context-propagation available to test compilation
See gh-34201
2023-02-21 19:08:55 +00:00
Andy Wilkinson 6983850a2c Upgrade to Undertow 2.3.4.Final
Closes gh-34273
2023-02-20 16:21:43 +00:00
Brian Clozel 4da42c09a6 Configure automatic context propagation for Reactor
This commit adds a new configuration property,
`spring.reactor.context-propagation` that configures the context
propagation mode for Reactor operators. By default the value is set to
"AUTO" for reinstating automatically context values as ThreadLocals
within Reactor operators. The "LIMITED" mode restricts this feature ot
the "tap" and "handle" operators but has a slightly lower footprint.

Closes gh-34201
2023-02-20 10:22:57 +01:00
Andy Wilkinson 68f97f5361 Merge branch '2.7.x' into 3.0.x
Closes gh-34184
2023-02-14 20:02:01 +00:00
Johnny Lim 70d561a929 Polish "Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools"
See gh-34140
2023-02-14 20:01:22 +00:00
Andy Wilkinson eda59f71b0 Start building against Spring Kafka 3.0.3 snapshots
See gh-34153
2023-02-09 17:36:28 +00:00
Moritz Halbritter 3af30b0a11 Don't use global ObjectMapper when creating JacksonJsonpMapper
See gh-33438
Closes gh-33426
2023-02-06 09:41:10 +01:00
Andy Wilkinson 56a1551c2d Polish "Configure jOOQ with TransactionProvider bean when available"
See gh-33979
2023-02-01 15:19:16 +00:00
ath0s b2a8c8be1c Configure jOOQ with TransactionProvider bean when available
See gh-33979
2023-02-01 14:53:55 +00:00
Moritz Halbritter b28369d511 Merge branch '2.7.x' into 3.0.x
Closes gh-34036
2023-02-01 09:44:30 +01:00
Moritz Halbritter 2a843d1853 Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools
See gh-33855
2023-02-01 09:31:41 +01:00
Krzysztof Krason 0e68cae57f Use instanceof patterns
See gh-33987
2023-01-26 20:36:25 -08:00
Krzysztof Krason 6e46423983 Use diamond operators
See gh-33987
2023-01-26 20:35:08 -08:00
Phillip Webb e05b7e49c6 Polish 'Order SessionRepositoryCustomizer before other customizers'
See gh-33514
2023-01-19 12:48:49 -08:00
Michael Weidmann 19ce32dc34 Order SessionRepositoryCustomizer before other customizers
Update `JdbcSessionConfiguration` so the `SessionRepositoryCustomizer`
used to map properties is always applied before other customizers.

See gh-33514
2023-01-19 12:44:03 -08:00
Moritz Halbritter 61ad227178 Update copyright 2023-01-19 11:51:20 +01:00
Moritz Halbritter fe7aeffc0d Update copyright 2023-01-19 11:51:06 +01:00
Moritz Halbritter 3b58aa6fbd Add runtime hints for GroovyTemplateAvailabilityProperties
Closes gh-33847
2023-01-19 11:47:42 +01:00
Moritz Halbritter ae79c60619 Remove instance suppliers in bean definitions
Remove instance suppliers in bean definitions and depend instead
on reflection. This allows the AOT engine to correctly process
the definitions.

Fixes gh-33763
2023-01-18 19:55:56 -08:00
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2023-01-18 16:31:53 -08:00
Phillip Webb 7c508fa324 Update copyright year of changed files 2023-01-18 15:37:58 -08:00
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2023-01-18 17:35:52 +01:00
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2023-01-18 16:56:42 +01:00
Phillip Webb a889c539ab Merge branch '2.7.x' 2023-01-17 10:12:25 -08:00
Phillip Webb a0fe8241a7 Update copyright year of changed files 2023-01-17 10:07:03 -08:00
Moritz Halbritter 2f542f6c91 Merge branch '2.7.x'
Closes gh-33776
2023-01-12 11:38:16 +01:00
Moritz Halbritter 1606f5b88c Back off Jooq's TransactionProvider on custom TransactionProvider
Closes gh-32899
2023-01-12 11:24:49 +01:00
Moritz Halbritter ff3b0de02f Merge branch '2.7.x'
Closes gh-33755
2023-01-11 13:28:44 +01:00
Sébastien Deleuze 4466bffe52 Fix typo in class name MultipleConnectionPoolConfigurationsFailureAnalzyer
See gh-33751
2023-01-11 13:24:01 +01:00
Moritz Halbritter 46f09be1c0 Merge branch '2.7.x'
Closes gh-33753
2023-01-11 11:30:37 +01:00
Moritz Halbritter 7a148747a0 Fix NPE in RabbitProperties if user is given but password is not
Closes gh-33752
2023-01-11 11:13:51 +01:00
Moritz Halbritter 90a6d514a3 Fix assertions in ValidationAutoConfigurationTests 2023-01-11 10:51:29 +01:00
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2023-01-09 19:01:57 -08:00
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2023-01-09 18:09:20 -08:00
Phillip Webb a2ac38e203 Update copyright year of changed files 2023-01-09 15:46:07 -08:00
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2023-01-09 11:10:20 +01:00
Phillip Webb f588793445 Update copyright year of changed files 2022-12-22 01:00:42 -08:00
Scott Frederick fead976952 Adapt to changes in Couchbase client
See gh-33588
2022-12-21 11:48:39 -06:00
Brian Clozel 41dce327a2 Fix Spring Integration failing test
Instead of asserting that an observation registry is null, we should
ensure that it's a NOOP instance.
2022-12-21 16:38:32 +01:00
Moritz Halbritter 08659baeba Polish away public modifier on tests 2022-12-16 16:08:44 +01:00
Moritz Halbritter f36e2ecb7b Use AutoClosables with try-with-resources
Closes gh-33538
2022-12-16 15:43:15 +01:00
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2022-12-16 14:28:44 +01:00
Moritz Halbritter 216d15997a Merge branch '2.7.x'
Closes gh-33512
2022-12-12 11:41:09 +01:00
Aakarshit Uppal 2bb8dadeb3 Fix typo in tomcat accesslog checkExists doc
See gh-33460
2022-12-12 11:38:57 +01:00
Brian Clozel ce33ec19cd Start building against Spring GraphQL 1.1.1-SNAPSHOT
See gh-33477
2022-12-07 14:43:04 +01:00
Johnny Lim 78b43279a7 Polish
See gh-33455
2022-12-05 11:14:38 +01:00
Johnny Lim 90589fd6d4 Polish
See gh-33384
2022-12-01 11:32:39 +01:00
Moritz Halbritter d430779f00 Merge branch '2.6.x' into 2.7.x
Closes gh-33328
2022-11-23 16:32:19 +01:00
Moritz Halbritter 2f6edecedb Improve JavaDoc on ConditionalOnClass
Closes gh-27846
2022-11-23 16:26:43 +01:00
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