Commit Graph

40079 Commits (8a9b679c4c6ba860a44eea9e4bcc473ee4b72c73)
 

Author SHA1 Message Date
Stephane Nicoll 150682a2cc Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 4aabe7caf5 Upgrade to Spring Framework 5.3.23
Closes gh-32274
2 years ago
Stephane Nicoll 78fb738117 Upgrade to Spring Framework 5.3.23
Closes gh-32267
2 years ago
Stephane Nicoll e7a2f0cd5b Merge branch '2.7.x' 2 years ago
Stephane Nicoll 423f6c353a Upgrade CI to Docker 20.10.18
Closes gh-32375
2 years ago
Stephane Nicoll 8e56b77869 Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 29cffc6e40 Upgrade CI to Docker 20.10.18
Closes gh-32376
2 years ago
Stephane Nicoll 3a55c3a530 Upgrade CI to Docker 20.10.18
Closes gh-32377
2 years ago
Stephane Nicoll 9391f329fb Upgrade to Versions Maven Plugin 2.12.0
Closes gh-32391
2 years ago
Stephane Nicoll 8f67cfd709 Upgrade to Undertow 2.2.19.Final
Closes gh-32390
2 years ago
Stephane Nicoll 74c1f5bede Upgrade to UnboundID LDAPSDK 6.0.6
Closes gh-32389
2 years ago
Stephane Nicoll 92b99e3a3f Upgrade to Tomcat 10.0.23
Closes gh-32388
2 years ago
Stephane Nicoll c10a8cb195 Upgrade to SQLite JDBC 3.39.3.0
Closes gh-32387
2 years ago
Stephane Nicoll 59448ce5d2 Upgrade to SnakeYAML 1.32
Closes gh-32386
2 years ago
Stephane Nicoll b352ebfc5a Upgrade to RSocket 1.1.3
Closes gh-32385
2 years ago
Stephane Nicoll 16bb543c16 Upgrade to Maven Shade Plugin 3.4.0
Closes gh-32384
2 years ago
Phillip Webb 4d037c3003 Update SpringBootContextLoader to support AOT
Update `SpringBootContextLoader` so that it now implements the
`AotContextLoader` interface. The `ContextLoaderHook` will abandon
at `contextLoaded` if the test class is being AOT processed.

This commit also introduces a new `AotApplicationContextInitializer`
which allows us to plug-in an alternative AOT application context
listener when the `SpringApplication` is running in test mode.

Closes gh-31965
2 years ago
Phillip Webb d1e7c9bd70 Introduce 'nativeTest' maven profile
Update `spring-boot-start-parent` with a new `nativeTest` profile. When
active, this profile will trigger AOT processing of test code and call
the native build tools 'test' goal.

Closes gh-32383
2 years ago
Phillip Webb 41e0bbf4bb Add SpringBootTest.useMainMethod support
Add a new `useMainMethod` attribute to `SpringBootTest` which can be
used to determine how the test should run. The three available options
are:

	- `ALWAYS`
	- `NEVER`
	- `WHEN_AVAILABLE`

The default is `WHEN_AVAILABLE` which will attempt to launch the test
using the `main` method if there is one.

The `SpringBootContextLoader` has been updated to use the new
`SpringApplicationHook` interface when the main method is being used.

Closes gh-22405
2 years ago
Phillip Webb fadbb4b763 Polish SpringBootContextLoader 2 years ago
Phillip Webb d3957dfa3e Provide a public API for SpringApplication hooks
Create a new public SpringApplication Hook API based on the existing
`SpringApplicationRunListener` interface.

The previous package-private `SpringApplicationHooks` class has been
replaced with a public `SpringApplicationHook` interface which acts as
a factory that can create additional `SpringApplicationRunListener`
instances to hook in.

The boolean result from the previous `preRefresh` method has been
replaced with an `AbandonedRunException` which can be thrown from
the `SpringApplicationRunListener`.

Closes gh-32301
2 years ago
Phillip Webb 88913b11ce Allow additional listeners registration in early events
Update `EventPublishingRunListener` so that event listeners may add
additional listeners to the `SpringApplication` during early events.

Prior to this commit, the listeners were collected only once which
meant that if a listener for an `ApplicationStartingEvent` called
`application.addListener(...)`, it would be ignored.

Closes gh-32300
2 years ago
Phillip Webb 6955ed9dcf Make EventPublishingRunListener package private
Closes gh-32299
2 years ago
Phillip Webb 20b91c5ae2 Include 'classesDirectory' in ProcessTestAotMojo classpath
Update `ProcessTestAotMojo` so that the classesDirectory and
the testClassesDirectory are on the classpath when compiling
code.

See gh-32191
2 years ago
Phillip Webb db89ee6904 Deprecate spring.mvc.ignore-default-model-on-redirect property
Closes gh-32381
2 years ago
Stephane Nicoll f0df4635c5 Merge branch '2.7.x' 2 years ago
Stephane Nicoll 101d5c0efb Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 9620fb5317 Start building against Spring HATEOAS 1.5.2 snapshots
See gh-32378
2 years ago
Stephane Nicoll 1839c8385e Upgrade to RSocket 1.1.3
Closes gh-32380
2 years ago
Stephane Nicoll 9b122924c8 Upgrade to RSocket 1.1.3
Closes gh-32379
2 years ago
Stephane Nicoll 1fa6985311 Upgrade to REST Assured 5.2.0
Closes gh-32371
2 years ago
Stephane Nicoll 447804fdc4 Upgrade to Rabbit Stream Client 0.7.0
Closes gh-32370
2 years ago
Stephane Nicoll 6e59f3fe18 Upgrade to Rabbit AMQP Client 5.16.0
Closes gh-32369
2 years ago
Stephane Nicoll 52e0293bd0 Upgrade to Postgresql 42.5.0
Closes gh-32368
2 years ago
Stephane Nicoll 6a4fef33bb Upgrade to Oracle Database 21.7.0.0
Closes gh-32367
2 years ago
Stephane Nicoll 777fbce1fa Upgrade to OpenTelemetry 1.18.0
Closes gh-32366
2 years ago
Stephane Nicoll 297e9019ac Upgrade to Netty 4.1.82.Final
Closes gh-32365
2 years ago
Stephane Nicoll aa47a9bd83 Upgrade to MySQL 8.0.30
Closes gh-32364
2 years ago
Stephane Nicoll 3fa038a393 Upgrade to MSSQL JDBC 11.2.1.jre17
Closes gh-32363
2 years ago
Stephane Nicoll bcf452918b Upgrade to MongoDB 4.7.1
Closes gh-32362
2 years ago
Stephane Nicoll 81a75f9e5d Upgrade to Mockito 4.8.0
Closes gh-32361
2 years ago
Stephane Nicoll 27d03aac3c Upgrade to Maven Resources Plugin 3.3.0
Closes gh-32360
2 years ago
Stephane Nicoll f624026d4e Upgrade to Maven Javadoc Plugin 3.4.1
Closes gh-32359
2 years ago
Stephane Nicoll 57e4b4447c Upgrade to Maven Install Plugin 3.0.1
Closes gh-32358
2 years ago
Stephane Nicoll a1f4f519fc Upgrade to Maven Help Plugin 3.3.0
Closes gh-32357
2 years ago
Stephane Nicoll 1b06966130 Upgrade to Maven Assembly Plugin 3.4.2
Closes gh-32356
2 years ago
Stephane Nicoll 0cedc5dbba Upgrade to MariaDB 3.0.7
Closes gh-32355
2 years ago
Stephane Nicoll bcb5f048d2 Upgrade to Liquibase 4.16.0
Closes gh-32354
2 years ago
Stephane Nicoll 4c7d6799f8 Upgrade to Kafka 3.2.2
Closes gh-32352
2 years ago
Stephane Nicoll 4f6c3ab2b0 Upgrade to JUnit Jupiter 5.9.0
Closes gh-32351
2 years ago