Commit Graph

4017 Commits (eba2f718a7bb2b15875745e80f30f30011fc87eb)

Author SHA1 Message Date
Stephane Nicoll 3f022867f4 Polish "Start building against Spring Security 5.7.8 snapshots"
See gh-34948
2 years ago
Stephane Nicoll 320db790e7 Merge branch '2.7.x' into 3.0.x
Closes gh-34938
2 years ago
Stephane Nicoll 4b8829364e Polish "Use removeIf rather than Iterator-based removal"
See gh-34762
2 years ago
SeasonPan 0d13e31827 Use removeIf rather than Iterator-based removal
See gh-34762
2 years ago
Stephane Nicoll 55125c7a5c Update copyright header of changed file
See gh-34844
2 years ago
Sanghyuk Jung d4fe272ce5 Remove outdated reference to JPA in BatchProperties
See gh-34844
2 years ago
Stephane Nicoll 03d42deaea Polish "Fix hint to include all Liquibase resources in default location"
See gh-34729
2 years ago
Andrii Bohutskyi 408d5246bc Fix hint to include all Liquibase resources in default location
See gh-34729
2 years ago
Stephane Nicoll bd0561fc10 Upgrade to Neo4j Java Driver 5.7.0
Closes gh-34930
2 years ago
Phillip Webb d442bfbeff Polish 2 years ago
Stephane Nicoll d823d7b0b1 Upgrade to Undertow 2.2.24.Final
Closes gh-34910
2 years ago
Andy Wilkinson 16b126a481 Merge branch '2.7.x' into 3.0.x
Closes gh-34799
2 years ago
Andy Wilkinson c9e69b13b1 Resolve placeholders in reference config against all other config
Fixes gh-34643
2 years ago
Andy Wilkinson fa63f6cc9e Stop using an instance supplier in EntityScanPackages' bean definition
Closes gh-34371
2 years ago
Andy Wilkinson f6add35f8b Upgrade to Tomcat 10.1.7
Closes gh-34674
2 years ago
Scott Frederick 86a1cfff6f Merge branch '2.7.x' into 3.0.x
Closes gh-34659
2 years ago
Scott Frederick 6dc0f90e00 Polish "Disable embedded web auto-config when not using embedded web server"
See gh-34332
2 years ago
Guirong Hu b2facecb12 Disable embedded web auto-config when not using embedded web server
See gh-34332
2 years ago
Andy Wilkinson 4be288f672 Upgrade to Tomcat 9.0.73
Closes gh-34655
2 years ago
Andy Wilkinson d9c5f274c8 Merge branch '2.7.x' into 3.0.x
Closes gh-34605
2 years ago
1993heqiang a3bb3b1510 Polish name of JettyServletWebServerFactory bean method
See gh-34421
2 years ago
Andy Wilkinson 03865eebd7 Polish "Fix Javadoc in JobLauncherApplicationRunner"
See gh-34596
2 years ago
Sanghyuk Jung 03acc0273e Fix Javadoc in JobLauncherApplicationRunner
See gh-34596
2 years ago
Andy Wilkinson 1e5169846f Fix handling of deprecated identityprovider verification.credentials
Fixes gh-34525
2 years ago
Scott Frederick f28bb221a2 Suppress Spring Kafka deprecation warning
See gh-34441
2 years ago
Andy Wilkinson 525cba1b6f Upgrade to Neo4j Java Driver 5.4.0
Closes gh-34344
2 years ago
Phillip Webb 0b15962aca Merge branch '2.7.x' into 3.0.x 2 years ago
Andy Wilkinson 88de3cc089 Temporarily remove auto-config for Reactor context propagation
See gh-34201
2 years ago
Phillip Webb c4de86c244 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb df5898a146 Reformat code following spring-javaformat upgrade 2 years ago
Andy Wilkinson cae8c14ac7 Make Micrometer context-propagation available to test compilation
See gh-34201
2 years ago
Andy Wilkinson 6983850a2c Upgrade to Undertow 2.3.4.Final
Closes gh-34273
2 years ago
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
2 years ago
Andy Wilkinson 68f97f5361 Merge branch '2.7.x' into 3.0.x
Closes gh-34184
2 years ago
Johnny Lim 70d561a929 Polish "Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools"
See gh-34140
2 years ago
Andy Wilkinson eda59f71b0 Start building against Spring Kafka 3.0.3 snapshots
See gh-34153
2 years ago
Moritz Halbritter 3af30b0a11 Don't use global ObjectMapper when creating JacksonJsonpMapper
See gh-33438
Closes gh-33426
2 years ago
Andy Wilkinson 56a1551c2d Polish "Configure jOOQ with TransactionProvider bean when available"
See gh-33979
2 years ago
ath0s b2a8c8be1c Configure jOOQ with TransactionProvider bean when available
See gh-33979
2 years ago
Moritz Halbritter b28369d511 Merge branch '2.7.x' into 3.0.x
Closes gh-34036
2 years ago
Moritz Halbritter 2a843d1853 Set Reactor Netty's shutdownQuietPeriod to 0 when using devtools
See gh-33855
2 years ago
Krzysztof Krason 0e68cae57f Use instanceof patterns
See gh-33987
2 years ago
Krzysztof Krason 6e46423983 Use diamond operators
See gh-33987
2 years ago
Phillip Webb e05b7e49c6 Polish 'Order SessionRepositoryCustomizer before other customizers'
See gh-33514
2 years ago
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
2 years ago
Moritz Halbritter 61ad227178 Update copyright 2 years ago
Moritz Halbritter fe7aeffc0d Update copyright 2 years ago
Moritz Halbritter 3b58aa6fbd Add runtime hints for GroovyTemplateAvailabilityProperties
Closes gh-33847
2 years ago
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
2 years ago
Phillip Webb 71efc55bf9 Merge branch '2.7.x' 2 years ago
Phillip Webb 7c508fa324 Update copyright year of changed files 2 years ago
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2 years ago
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2 years ago
Phillip Webb a889c539ab Merge branch '2.7.x' 2 years ago
Phillip Webb a0fe8241a7 Update copyright year of changed files 2 years ago
Moritz Halbritter 2f542f6c91 Merge branch '2.7.x'
Closes gh-33776
2 years ago
Moritz Halbritter 1606f5b88c Back off Jooq's TransactionProvider on custom TransactionProvider
Closes gh-32899
2 years ago
Moritz Halbritter ff3b0de02f Merge branch '2.7.x'
Closes gh-33755
2 years ago
Sébastien Deleuze 4466bffe52 Fix typo in class name MultipleConnectionPoolConfigurationsFailureAnalzyer
See gh-33751
2 years ago
Moritz Halbritter 46f09be1c0 Merge branch '2.7.x'
Closes gh-33753
2 years ago
Moritz Halbritter 7a148747a0 Fix NPE in RabbitProperties if user is given but password is not
Closes gh-33752
2 years ago
Moritz Halbritter 90a6d514a3 Fix assertions in ValidationAutoConfigurationTests 2 years ago
Phillip Webb 29b7c121fb Merge branch '2.7.x'
Closes gh-33739
2 years ago
Phillip Webb a369f936c9 Replace references to Pivotal
Closes gh-33737
2 years ago
Phillip Webb a2ac38e203 Update copyright year of changed files 2 years ago
Krzysztof Krason cf6493f65c Simplify AssertJ assertions and also make them more readable
See gh-33653
2 years ago
Phillip Webb f588793445 Update copyright year of changed files 2 years ago
Scott Frederick fead976952 Adapt to changes in Couchbase client
See gh-33588
2 years ago
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.
2 years ago
Moritz Halbritter 08659baeba Polish away public modifier on tests 2 years ago
Moritz Halbritter f36e2ecb7b Use AutoClosables with try-with-resources
Closes gh-33538
2 years ago
Moritz Halbritter 725337f976 Make fields final
Closes gh-33537
2 years ago
Moritz Halbritter 216d15997a Merge branch '2.7.x'
Closes gh-33512
2 years ago
Aakarshit Uppal 2bb8dadeb3 Fix typo in tomcat accesslog checkExists doc
See gh-33460
2 years ago
Brian Clozel ce33ec19cd Start building against Spring GraphQL 1.1.1-SNAPSHOT
See gh-33477
2 years ago
Johnny Lim 78b43279a7 Polish
See gh-33455
2 years ago
Johnny Lim 90589fd6d4 Polish
See gh-33384
2 years ago
Moritz Halbritter d430779f00 Merge branch '2.6.x' into 2.7.x
Closes gh-33328
2 years ago
Moritz Halbritter 2f6edecedb Improve JavaDoc on ConditionalOnClass
Closes gh-27846
2 years ago
Brian Clozel e8c3157db5 Start building against Spring Framework 6.0.1 SNAPSHOTs
See gh-33286
2 years ago
Stephane Nicoll d89861e056 Merge branch '2.7.x'
Closes gh-33284
2 years ago
Stephane Nicoll 78d8bfdc52 Merge branch '2.6.x' into 2.7.x
Closes gh-33283
2 years ago
Henning Poettker 330848d339 Make `ScheduledBeanLazyInitializationExcludeFilter` conditional
See gh-33276
2 years ago
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2 years ago
Andy Wilkinson 98171921da Polish "Polish SecurityProperties"
See gh-33251
2 years ago
Vedran Pavic c1691f525a Polish SecurityProperties
See gh-33251
2 years ago
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
2 years ago
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
2 years ago
Phillip Webb e2dc35954e Merge branch '2.7.x'
Closes gh-33230
2 years ago
Phillip Webb e255bba018 Merge branch '2.6.x' into 2.7.x
Closes gh-33229
2 years ago
Phillip Webb 6cc6a15edf Polish 'Refine BackgroundPreinitializer Jackson initialization'
See gh-33220
2 years ago
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
2 years ago
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2 years ago
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2 years ago
Andy Wilkinson 4bb13bcdfd Fix package tangles in spring-boot-autoconfigure
See gh-17299
2 years ago
Brian Clozel c1c818d43c Polish
See gh-33208
2 years ago
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
2 years ago
Johnny Lim 6027508cf7 Polish
See gh-33108
2 years ago
Andy Wilkinson 31f5e768a8 Polish "Add config property for Spring Integration component observation"
See gh-33099
2 years ago
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
2 years ago
Madhura Bhave 8cb615e9b6 Remove workarounds for SecurityContextRepository 2 years ago
Madhura Bhave f4cf722c27 Align default security filter dispatcher types with Spring Security
Fixes gh-33090
2 years ago
Phillip Webb 1adc7c7dd4 Merge branch '2.7.x' 2 years ago
Phillip Webb 0ef03d725f Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb a431ae04e6 Polish 2 years ago
Andy Wilkinson 70f7258341 Simplify JacksonAutoConfiguration as we now require Jackson 2.14
See gh-33086
2 years ago
Andy Wilkinson 60917bd114 Remove tests for Jackson 2.11
Closes gh-33086
2 years ago
Phillip Webb 32b9945632 Polish 2 years ago
Phillip Webb 0d5c13cb28 Polish 'Add reflection hints for PropertyNamingStrategies'
See gh-33080
2 years ago
Ralf Ueberfuhr e9bca3e6de Add reflection hints for PropertyNamingStrategies
See gh-33080
2 years ago
Andy Wilkinson c314d62030 Merge branch '2.7.x'
Closes gh-33067
2 years ago
Andy Wilkinson 0e70c33725 Merge branch '2.6.x' into 2.7.x
Closes gh-33066
2 years ago
dreis2211 34902f5a02 Fix possible type pollution in ConditionEvaluationReport
See gh-32916
2 years ago
Andy Wilkinson a19f1a733e Correct crash handling in condition report logging listener
Closes gh-33027
2 years ago
Andy Wilkinson 3a2703e8f6 Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI
Closes gh-33059
Closes gh-33050
2 years ago
Phillip Webb 95557ddbc6 Start building against Spring Integration 6.0.0-RC2 snapshots
See gh-33009
2 years ago
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
2 years ago
Andy Wilkinson bf468ab808 Polish tests to make use of @ParamterizedTest
Update tests to use @ParamterizedTest to reduce duplication.
2 years ago
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.
2 years ago
Andy Wilkinson 7e6bc3fdca Adapt to breaking API change in Spring Integration
See gh-33009
2 years ago
Andy Wilkinson 61c9a1540f Start building against Spring Batch 5.0.0-RC2 snapshots
See gh-32935
2 years ago
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.
2 years ago
Moritz Halbritter dd2bec267c Revert "Fix build"
This reverts commit 50599c5046.
2 years ago
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.
2 years ago
Moritz Halbritter 5bf088d88b Add runtime hints for Liquibase migration file
Closes gh-32926
2 years ago
Johnny Lim 5067aab552 Polish
See gh-32840
2 years ago
Andy Wilkinson b9e176ce1a Inject Jackson modules rather than retrieving them manually
Fixes gh-32863
2 years ago
Moritz Halbritter 65c68ba64e Reinstate old flyway bean method
Closes gh-32849
2 years ago
Moritz Halbritter cd5d2ad3e8 Revert "Extract Flyway configuration mapping in separate class"
This reverts commit cf4117856b.
2 years ago
Moritz Halbritter cf4117856b Extract Flyway configuration mapping in separate class
Closes gh-32849
2 years ago
Scott Frederick eeac08e50e Remove references to WebSecurityConfigurerAdapter from javadoc
Closes gh-32879
2 years ago
Phillip Webb a59b6cb1f3 Polish 2 years ago
Phillip Webb 0f405c06bf Merge branch '2.7.x' 2 years ago
Phillip Webb f44531a7a2 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 92b513dc8d Polish 2 years ago
Phillip Webb 4be3218cb6 Merge branch '2.7.x' 2 years ago
Andy Wilkinson 99edda735e Polish 2 years ago
Andy Wilkinson bed313746b Correct property names to align with changes in 3.0
See gh-32837
2 years ago
Andy Wilkinson a606b26920 Merge branch '2.7.x'
Closes gh-32837
2 years ago
Andy Wilkinson 032487117b Merge branch '2.6.x' into 2.7.x
Closes gh-32836
2 years ago
Andy Wilkinson fe51e03019 Support IPv6 addresses in spring.redis.sentinel.nodes
Fixes gh-32762
2 years ago
Phillip Webb ea094ddba6 Fix package tangles caused by ConfigurationProperties hints
Relocate `ConfigurationPropertiesReflectionHintsProcessor` and refactor
it to be a general purpose `BindableRuntimeHintsRegistrar`.

Prior to this commit, `ConfigurationPropertiesReflectionHintsProcessor`
was used to declare binding hints for classes that were bound, but
might be `@ConfigurationProperties`. By moving and renaming the class,
it's now better aligned to the way it's used.

Support for `@NestedConfigurationProperties` has been implemented by
adding a `@Nestable` meta-annotation. This allow us to create the
appropriate hints, without the `Binder` needing to be directly aware of
the `@NestedConfigurationProperties` annotation.

Closes gh-32815
2 years ago
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2 years ago
Phillip Webb 2e74878ba4 Downgrade to OpenSAML 4.0.1
See gh-32604
2 years ago
Madhura Bhave cedd553b83 Remove error page security filter
Spring Security now re-applies the authorization rules
to the error page by default. Additionally, it configures
RequestAttributeSecurityContextRepository as the default for
stateless applications allowing those applications to have access
to the original authentication during an error dispatch.

Closes gh-31703
2 years ago
Andy Wilkinson a87aca2744 Merge branch '2.7.x'
Closes gh-32782
2 years ago
Andy Wilkinson a19e394ebb Merge branch '2.6.x' into 2.7.x
Closes gh-32781
2 years ago
Henning Poettker 4ed072a06b Upgrade MySQL Connector/J and use new Maven identifiers
See gh-32747
2 years ago
Phillip Webb 02cd910f5a Merge branch '2.7.x'
Closes gh-32774
2 years ago
Phillip Webb fbd416adc6 Merge branch '2.6.x' into 2.7.x
Closes gh-32773
2 years ago