Commit Graph

28951 Commits (366fec33d06b6ab4ee4f1bc9513c07a227d207de)
 

Author SHA1 Message Date
Andy Wilkinson 95f26c6358 Configure Flyway with initSqls for any DataSource configuration
Previously, spring.flyway.init-sqls was only applied to Flyway's
configuration if Flyway was being configured to create the DataSource.
If Flyway was being configured to use an existing DataSource, init-sqls
was not applied. This is a hangover from when the init SQLs support was
introduced. At that time, Flyway only supported SQL to initialize the
connection when it was creating the DataSource. Flyway 5.2 added init
SQL support no matter how Flyway's DataSource was configured.

This commit updates FlywayAutoConfiguration to always apply the
init-sqls property to Flyway's configuration. The property's
documentation does not describe the current limitation so this change
should align the behaviour with what the documentation leads people to
expect.

Fixes gh-23392
4 years ago
Andy Wilkinson d2fae6e19e Merge branch '2.3.x'
Closes gh-23407
4 years ago
Andy Wilkinson 3861ef13fb Merge branch '2.2.x' into 2.3.x
Closes gh-23406
4 years ago
Andy Wilkinson 5ec673ff2a Add anchors to section headers in Gradle plugin docs
Fixes gh-23402
4 years ago
Phillip Webb 35673b7472 Add Binder to BootstrapContext
Update `ConfigDataEnvironment` so that it adds the initial `Binder`
to the `BootstrapContext` for `Bootstrappers` to use.

Closes gh-23401
4 years ago
Phillip Webb 8b8d5ccb10 Allow trailing whitespace document split marker
Refine `OriginTrackedPropertiesLoader` document split detection to be
more lenient if there is trailing whitespace.

Closes gh-23399
4 years ago
Andy Wilkinson 90483d343f Merge pull request #23391 from dreis2211
* gh-23391:
  Upgrade Java 15 CI image to use the Java 15 GA build

Closes gh-23391
4 years ago
dreis2211 f85fe952fc Upgrade Java 15 CI image to use the Java 15 GA build
See gh-23391
4 years ago
Andy Wilkinson 46cd48737f Merge branch '2.3.x' 4 years ago
Spring Buildmaster f466ea1f2a Next development version (v2.3.5.BUILD-SNAPSHOT) 4 years ago
Andy Wilkinson aaf25d3aab Upgrade to SendGrid 4.6.5
Closes gh-23397
4 years ago
Andy Wilkinson 7957e246fc Upgrade to Micrometer 1.5.5
Closes gh-23396
4 years ago
Andy Wilkinson ac9abab921 Upgrade to Flyway 6.5.6
Closes gh-23395
4 years ago
Andy Wilkinson ab64067545 Merge branch '2.3.x'
Closes gh-23394
4 years ago
Andy Wilkinson 07dc202966 Upgrade to Micrometer 1.5.5
Closes gh-23393
4 years ago
Andy Wilkinson e93e267679 Merge branch '2.3.x' 4 years ago
Andy Wilkinson 6e369c9505 Merge branch '2.2.x' into 2.3.x 4 years ago
Spring Buildmaster bd8300cb6b Next development version (v2.2.11.BUILD-SNAPSHOT) 4 years ago
Andy Wilkinson ea5c6c2923 Polish BootstrapRegistry's javadoc
See gh-23326
4 years ago
Andy Wilkinson 986a9a49a3 Merge branch '2.3.x' 4 years ago
Andy Wilkinson 16ff7022db Merge branch '2.2.x' into 2.3.x 4 years ago
Andy Wilkinson c23e420914 Merge branch '2.1.x' into 2.2.x 4 years ago
Andy Wilkinson dbd27839e5 Polish logging in BintrayService 4 years ago
Phillip Webb 99dc7914b2 Attempt to fix ConcurrentModificationException
Attempt to fix `ConcurrentModificationException` which occurs on
Java 11+.

See gh-23326
4 years ago
Andy Wilkinson cad079ce7d Merge branch '2.3.x' 4 years ago
Andy Wilkinson 0fd61c1a14 Merge branch '2.2.x' into 2.3.x 4 years ago
Andy Wilkinson 71e3844460 Merge branch '2.1.x' into 2.2.x 4 years ago
Spring Buildmaster cb4eb929f6 Next development version (v2.1.18.BUILD-SNAPSHOT) 4 years ago
Phillip Webb c284edde67 Update copyright year of changed files 4 years ago
Phillip Webb 1ae1436211 Refactor BootstrapRegistry support
Refactor `BootstrapRegistry` support following initial prototype work
with the Spring Cloud team.

This update splits the `BootstrapRegistry` API into `BootstrapRegistry`,
`BootstrapContext` and  `ConfigurableBootstrapContext` interfaces and
moves it to the same package as `SpringApplication`.

A new `Bootstrapper` interface has been introduced that can be added
to the `SpringApplication` to customize the `BootstrapRegistry` before
it's used.

Closes gh-23326
4 years ago
Phillip Webb 27095d9043 Polish 4 years ago
Phillip Webb 10ad53afbd Fix FailureAnalyzer package tangle
Move `IncompatibleConfigurationFailureAnalyzer` to fix a package tangle.

Closes gh-23385
4 years ago
Phillip Webb 6509310fdb Fix DefaultPropertiesPropertySource package tangle
Relocate `DefaultPropertiesPropertySource` to fix a package tangle.

Closes gh-23383
4 years ago
Stephane Nicoll 268904d6ae Upgrade Java 15 version in CI image
Closes gh-23379
4 years ago
Stephane Nicoll 4d7339d189 Upgrade to Spring Session 2020.0.0-RC1
Closes gh-23188
4 years ago
Stephane Nicoll 0867b3cf87 Merge branch '2.3.x' 4 years ago
Stephane Nicoll 3622fd5b04 Upgrade to Spring Session Dragonfruit-SR1
Closes gh-23187
4 years ago
Stephane Nicoll 0b06457ace Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll ab2115633f Upgrade to Micrometer 1.3.14
Closes gh-23388
4 years ago
Stephane Nicoll 35b33303d0 Upgrade to Spring Session Corn-SR4
Closes gh-23186
4 years ago
Stephane Nicoll 71aa911c61 Merge branch '2.3.x' 4 years ago
Stephane Nicoll 29988f1d38 Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll 3e93a3ec58 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll 91c1d52fc1 Upgrade to Micrometer 1.1.18
Closes gh-23384
4 years ago
Stephane Nicoll db04672403 Upgrade to Spring Session Bean-SR12
Closes gh-23185
4 years ago
Stephane Nicoll f1438f3e67 Upgrade to Spring Batch 4.3.0-RC1
Closes gh-23189
4 years ago
Stephane Nicoll bb6d86d30b Upgrade to Spring Integration 5.4.0-M3
Closes gh-23010
4 years ago
Stephane Nicoll 06b842e29c Upgrade to Spring Kafka 2.6.1
Closes gh-23382
4 years ago
Stephane Nicoll 1d66b25b26 Merge branch '2.3.x' 4 years ago
Stephane Nicoll a2be6e0817 Upgrade to Spring Kafka 2.5.6
Closes gh-23199
4 years ago