Stephane Nicoll
b3bc79b10f
Upgrade to AppEngine SDK 1.9.84
...
Closes gh-24754
4 years ago
Phillip Webb
72dd3b5628
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24747
4 years ago
Phillip Webb
f9e3e0d532
Register default resource path using a Resource
...
Update `WebMvcAutoConfiguration` so that the default "/" resource path
is registered directly as a `ServletContextResource`.
Closes gh-24745
4 years ago
Andy Wilkinson
7625a979db
Configure bootRun to use project's Java toolchain by default
...
Previously, unlike the application plugin's run task, our bootRun task
ignored the project's Java toolchain. This meant that the application
was run on a JVM with the same Java version as the one being used by
Gradle itself. This could result in a failure if the application
required a more modern JVM.
This commit updates the plugin to configure the bootRun task's
JavaLauncher convention to be one derived from the project's Java
toolchain. Toolchain support was introduced in Gradle 6.7 so this is
only done when using Gradle 6.7 and later.
Fixes gh-24517
4 years ago
Andy Wilkinson
064de4e073
Check configured JavaLauncher when determining version of the JVM
...
Previously, bootRun assumed that the Java version of the JVM that would
run the application would be the same as the Java version of the JVM
that is running the build. This assumption does not hold true when
Gradle's toolchain support is used to configure tasks that fork a new
JVM to use a version other than that being used by Gradle itself.
This commit updates the BootRun task to query the JavaLauncher property
when determining the version of Java on which the application will be
run. Toolchain support and the JavaLauncher property are new in Gradle
6.7. To support earlier versions of Gradle, NoSuchMethodError is caught
we continue as if no JavaLauncher has been configured and use the local
JVM's Java version.
Fixes gh-24512
4 years ago
Andy Wilkinson
5ad4d627fd
Fix classpath index so entries match those expected by the launcher
...
This reverts commit ad164269e9
and adds
some additional tests.
Fixes gh-24192
4 years ago
Stephane Nicoll
826d79be3e
Clarify behaviour of WebServerFactory in reference guide
...
Closes gh-24705
4 years ago
Scott Frederick
a302238e21
Remove layout parameters from build-image Maven goal
...
This commit removes the `layout` and `layoutFactory` parameters
from the `build-image` goal in the Maven plugin while retaining
them for the `repackage` goal. The `build-image` goal currently
only supports jar archives, so allowing other layout types to be
configured for the goal could cause confusion.
Fixes gh-24105
4 years ago
Phillip Webb
7cbd57b635
Log FailureAnalyzer errors at trace level
...
Update `FailureAnalyzers` to log errors at `trace` rather than `debug`.
This should reduce noise when an analyzer unexpectedly fails and the
user is running with `--debug`.
Fixes gh-24630
4 years ago
Phillip Webb
a24ec9d372
Merge branch '2.2.x' into 2.3.x
4 years ago
Phillip Webb
46629ef5e4
Migrate away from pivotal-legacy/homebrew-tap
...
Update formula to use spring-boot rather than springboot. This will
allow both taps to be used at the same time.
See gh-24659
4 years ago
Phillip Webb
ef09982b39
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24680
4 years ago
Phillip Webb
25033ee5e7
Migrate away from pivotal-legacy/homebrew-tap
...
Update reference documentation to the new spring-io/homebrew-tap repo.
Closes gh-24659
4 years ago
Madhura Bhave
73a2a4b383
Consider context-path for WebTestClient baseUrl
...
Fixes gh-24168
4 years ago
Phillip Webb
52e47c4275
Fix test for JSR-350 @Nonnull
...
Closes gh-24647
4 years ago
Phillip Webb
848ed65f5b
Add test for JSR-350 @Nonnull
...
Closes gh-24647
4 years ago
Stephane Nicoll
67d1f355d7
Fix Nullable reference
...
See gh-24647
4 years ago
Stephane Nicoll
2bd78355dc
Reference javax.annotation.Nonnull support in reference guide
...
See gh-24647
4 years ago
Phillip Webb
9b9c3edfcd
Polish "Return -1 port for non-listening WebServers"
...
See gh-24606
4 years ago
Stefan Partusch
5c61df3131
Return -1 port for non-listening WebServers
...
Update `WebServer` implementations to return -1 from `getPort()` if
the server isn't listening on a port. This aligns the implementations
with the interface Javadoc.
See gh-24606
4 years ago
Phillip Webb
2ad9a47d08
Support JSR-305 annotations on endpoint methods
...
Update `OperationMethodParameter` to additionally support JSR-305 based
`@Nullable` annotations.
Closes gh-24647
4 years ago
dreis2211
fe3217d2c4
Exclude starters from Javadoc aggregation
...
See gh-24648
4 years ago
Stephane Nicoll
f33c7bc27c
Polish "Remove unnecessary semicolon"
...
See gh-24628
4 years ago
Andrey Kolchanov
097104584c
Remove unnecessary semicolon
...
See gh-24628
4 years ago
Madhura Bhave
9928d74a9e
Revert fix to enable cors for actuator endpoints
...
The fix causes a Jersey application to fail in the absence
of a `CorsFilter` or `CorsConfigurationSource` bean.
See gh-11987
4 years ago
dreis2211
261b7a5b18
Update copyrights to 2021
...
See gh-24625
4 years ago
Stephane Nicoll
d0a1c49873
Polish
...
See gh-24604
4 years ago
Stephane Nicoll
d86eba3b6b
Upgrade to Thymeleaf 3.0.12
...
Closes gh-24599
4 years ago
Madhura Bhave
b29ac37db6
Add docs about using InMemoryOAuth2AuthorizedClientService
...
Closes gh-24596
4 years ago
Stephane Nicoll
9e5a6c5228
Harmonize references to ActiveMQ Artemis
...
Closes gh-24586
4 years ago
Stephane Nicoll
306b964ce3
Fix multi-release JAR test on JDK 16
...
See gh-24453
4 years ago
izeye
97dd4c0871
Polish
...
See gh-24558
4 years ago
Madhura Bhave
b82f5a408a
Add a note about disabling git info
...
See gh-24205
4 years ago
Madhura Bhave
a5c8b84511
Update version of git-properties plugin in the docs
...
Closes gh-24567
4 years ago
Madhura Bhave
302ba77812
Improve documentation regarding git commit info
...
Closes gh-24205
4 years ago
Madhura Bhave
c9a09cf6a9
Clarify when SpEL expressions in application properties are evaluated
...
Closes gh-24531
4 years ago
Madhura Bhave
1db271c2c5
Reorder documentation about building images
...
Closes gh-24560
4 years ago
Phillip Webb
c4e41305d5
Prevent Tomcat URL "reflective access" warnings
...
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.
Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.
Fixes gh-18631
4 years ago
Madhura Bhave
361198ebba
Fix tests
...
See gh-11987
4 years ago
Madhura Bhave
09e07428cc
Configure CORS in default security configuration for MVC
...
Fixes gh-11987
4 years ago
Scott Frederick
e4d124dc45
Improve error message with Maven build-image and war packaging
...
Fixes gh-24522
4 years ago
dreis2211
0ec603cdad
Avoid duplicates in MergedContextConfiguration
...
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.
See gh-24532
4 years ago
Scott Frederick
0e5df2296e
Fail with Gradle bootBuildImage and war packaging
...
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.
Fixes gh-24521
4 years ago
Phillip Webb
29300530c6
Polish
4 years ago
Andy Wilkinson
76198f9a8d
Include properties from test-autoconfigure in config props appendix
...
Closes gh-24486
4 years ago
Stephane Nicoll
26e7e61919
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24494
4 years ago
Stephane Nicoll
60f526add0
Remove links to Jetty API and documentation
...
This commit removes links to Jetty API and documentation as those links
are breaking every time the Jetty team releases a new version
See https://github.com/eclipse/jetty.project/issues/4546
Closes gh-24493
4 years ago
Stephane Nicoll
0533ac58fb
Test the Gradle plugin against 6.7.1
...
Closes gh-24449
4 years ago
Stephane Nicoll
ab99de4349
Polish
...
See gh-24418
4 years ago
Stephane Nicoll
94b6b62077
Upgrade to Undertow 2.1.5.Final
...
Closes gh-24441
4 years ago
Stephane Nicoll
30748b8dd0
Upgrade to Tomcat 9.0.41
...
Closes gh-24440
4 years ago
Stephane Nicoll
264cd83f4b
Upgrade to Netty tcNative 2.0.35.Final
...
Closes gh-24439
4 years ago
Stephane Nicoll
1c720a56b2
Upgrade to Netty 4.1.55.Final
...
Closes gh-24438
4 years ago
Stephane Nicoll
b6b046702f
Upgrade to Caffeine 2.8.8
...
Closes gh-24437
4 years ago
Stephane Nicoll
fd91daaf21
Upgrade to ActiveMQ 5.15.14
...
Closes gh-24436
4 years ago
Stephane Nicoll
5f8900ea0e
Upgrade to Spring Kafka 2.5.10
...
Closes gh-24293
4 years ago
Stephane Nicoll
18e2ce1682
Upgrade to Spring Batch 4.2.5
...
Closes gh-24290
4 years ago
Stephane Nicoll
c08310ca35
Upgrade to Spring AMQP 2.2.13
...
Closes gh-24287
4 years ago
Stephane Nicoll
388f00612e
Upgrade to Micrometer 1.5.9
...
Closes gh-24427
4 years ago
Stephane Nicoll
7f9d0d2d7c
Upgrade to Tomcat 9.0.41
...
Closes gh-24435
4 years ago
Stephane Nicoll
1094b7c10c
Upgrade to Activemq 5.15.14
...
Closes gh-24434
4 years ago
Stephane Nicoll
b8c68ef374
Upgrade to Undertow 2.0.33.Final
...
Closes gh-24433
4 years ago
Stephane Nicoll
a9924c3576
Upgrade to Netty Tcnative 2.0.35.Final
...
Closes gh-24432
4 years ago
Stephane Nicoll
55b680e452
Upgrade to Netty 4.1.55.Final
...
Closes gh-24431
4 years ago
Stephane Nicoll
6d5e3b2c0d
Upgrade to Caffeine 2.8.8
...
Closes gh-24430
4 years ago
Stephane Nicoll
60e69c2c3e
Upgrade to Spring Kafka 2.3.13
...
Closes gh-24292
4 years ago
Stephane Nicoll
520b4bba9c
Upgrade to Spring Batch 4.2.5
...
Closes gh-24289
4 years ago
Stephane Nicoll
317ec32458
Upgrade to Spring Integration 5.2.10
...
Closes gh-24429
4 years ago
Stephane Nicoll
241730bf10
Upgrade to Spring AMQP 2.2.13
...
Closes gh-24286
4 years ago
Phillip Webb
0bfa9cf107
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24424
4 years ago
Phillip Webb
869141766b
Use deterministic ordering of JavaBean methods
...
Update `JavaBeanBinder` so that methods and fields are sorted before
being processed. This ensures that setters are called in a deterministic
order, rather than the unspecified and variable order that reflection
provides.
Fixes gh-24068
4 years ago
Stephane Nicoll
f4ed2e72c5
Upgrade to Spring Data Neumann-SR6
...
Closes gh-24283
4 years ago
Stephane Nicoll
6a8ad73e2e
Upgrade to Spring Data Moore-SR12
...
Closes gh-24282
4 years ago
Stephane Nicoll
84b92bc531
Upgrade to Spring HATEOAS 1.1.3
...
Closes gh-24419
4 years ago
Stephane Nicoll
52b5c36750
Upgrade to Micrometer 1.5.8
...
Closes gh-24280
4 years ago
Stephane Nicoll
8c676a43bd
Upgrade to Spring Framework 5.2.12
...
Closes gh-24277
4 years ago
Stephane Nicoll
275816d9f9
Upgrade to Micrometer 1.3.16
...
Closes gh-24279
4 years ago
Stephane Nicoll
e961afd64f
Upgrade to Spring Framework 5.2.12
...
Closes gh-24276
4 years ago
Phillip Webb
0d157e046f
Fix checkstyle violations
...
See gh-21015
4 years ago
Phillip Webb
49e754f48b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24411
4 years ago
Phillip Webb
286ef61071
Narrow auto-configure checkstyle suppressions
...
Closes gh-21015
4 years ago
Phillip Webb
30717b6ae3
Merge branch '2.2.x' into 2.3.x
4 years ago
Phillip Webb
4f95486822
Polish note about Maven/Gradle restarts
...
See gh-24271
4 years ago
Phillip Webb
445c6b8aa6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24409
4 years ago
Phillip Webb
10d3121e27
Polish "Triggering a restart" formatting
...
See gh-24271
4 years ago
Billy T. Hernandez
0503079dc5
Document devtools restart with Maven/Gradle
...
Update the documentation to help avoid confusion for people who aren't
using an IDE.
See gh-24271
4 years ago
Phillip Webb
06531b9b71
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24407
4 years ago
Phillip Webb
89642f0ce8
Add link to appendix from error handling
...
Improve documentation by adding a link from the "Error Handling" section
to the appendix.
Closes gh-24265
4 years ago
Phillip Webb
11f285bde5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24403
4 years ago
izeye
8c55803931
Polish
...
See gh-24306
4 years ago
Stephane Nicoll
06671aa50e
Stop deferring JPA bootstrap mode by default
...
This commit changes the default value of bootstrap-mode to "default"
rather than "deferred" so that the JPA infrastructure starts in the
main thread rather than asynchronously.
Closes gh-24249
4 years ago
Stephane Nicoll
f84cb1b765
Upgrade to Reactor Dysprosium-SR15
...
Closes gh-24274
4 years ago
Stephane Nicoll
07a1ef3604
Upgrade to Reactor Dysprosium-SR15
...
Closes gh-24273
4 years ago
Stephane Nicoll
64d4648ad1
Upgrade to Spring Security 5.3.6
...
Closes gh-24296
4 years ago
Stephane Nicoll
9b4cf0c2fc
Start building against Spring Kafka 2.5.10 snapshots
...
See gh-24293
4 years ago
Stephane Nicoll
4d29098e6a
Start building against Spring Batch 4.2.5 snapshots
...
See gh-24290
4 years ago
Stephane Nicoll
c17442c37b
Start building against Spring AMQP 2.2.13 snapshots
...
See gh-24287
4 years ago
Stephane Nicoll
92d088f33f
Start building against Spring Data Neumann-SR6 snapshots
...
See gh-24283
4 years ago
Stephane Nicoll
60523b07b9
Start building against Spring Kafka 2.3.13 snapshots
...
See gh-24292
4 years ago
Stephane Nicoll
4c07539a9f
Start building against Spring Batch 4.2.5 snapshots
...
See gh-24289
4 years ago
Stephane Nicoll
dab6d0a53f
Start building against Spring AMQP 2.2.13 snapshots
...
See gh-24286
4 years ago
Stephane Nicoll
9ce919d6dc
Start building against Spring Data Moore-SR12 snapshots
...
See gh-24282
4 years ago
Stephane Nicoll
6e040740c6
Upgrade to Tomcat 9.0.40
...
Closes gh-24375
4 years ago
Stephane Nicoll
ddda80909e
Upgrade to Jetty 9.4.35.v20201120
...
Closes gh-24374
4 years ago
Stephane Nicoll
9eeae227b0
Upgrade to HttpCore 4.4.14
...
Closes gh-24373
4 years ago
Stephane Nicoll
c1ef49ae63
Upgrade to Hibernate 5.4.25.Final
...
Closes gh-24372
4 years ago
Stephane Nicoll
1e252ab382
Upgrade to Groovy 2.5.14
...
Closes gh-24371
4 years ago
Stephane Nicoll
ae71111893
Upgrade to Dropwizard Metrics 4.1.16
...
Closes gh-24370
4 years ago
Stephane Nicoll
dfae03704b
Upgrade to DB2 JDBC 11.5.5.0
...
Closes gh-24369
4 years ago
Stephane Nicoll
fa3723eb8b
Upgrade to Caffeine 2.8.7
...
Closes gh-24368
4 years ago
Stephane Nicoll
530b3e79a4
Upgrade to Spring Security 5.2.8.RELEASE
...
Closes gh-24366
4 years ago
Stephane Nicoll
cabe0ef28b
Upgrade to Neo4j Ogm 3.2.18
...
Closes gh-24365
4 years ago
Stephane Nicoll
6779180a94
Upgrade to Infinispan 9.4.21.Final
...
Closes gh-24364
4 years ago
Stephane Nicoll
75059beac3
Upgrade to Hibernate 5.4.25.Final
...
Closes gh-24363
4 years ago
Stephane Nicoll
aa87b788e2
Upgrade to Jetty 9.4.35.v20201120
...
Closes gh-24362
4 years ago
Stephane Nicoll
28cf851ed8
Upgrade to Groovy 2.5.14
...
Closes gh-24361
4 years ago
Stephane Nicoll
0ea2ab1005
Upgrade to Tomcat 9.0.40
...
Closes gh-24360
4 years ago
Stephane Nicoll
193e3e5e82
Upgrade to Httpcore 4.4.14
...
Closes gh-24359
4 years ago
Stephane Nicoll
e06c106a4f
Upgrade to Byte Buddy 1.10.18
...
Closes gh-24358
4 years ago
Stephane Nicoll
e8f6f6be17
Upgrade to Netty 4.1.54.Final
...
Closes gh-24357
4 years ago
Stephane Nicoll
8498f402e5
Upgrade to Dropwizard Metrics 4.1.16
...
Closes gh-24356
4 years ago
Stephane Nicoll
7689609f81
Upgrade to Db2 Jdbc 11.5.5.0
...
Closes gh-24355
4 years ago
Stephane Nicoll
cf51d80278
Upgrade to Appengine Sdk 1.9.83
...
Closes gh-24354
4 years ago
Stephane Nicoll
264ff95753
Upgrade to Caffeine 2.8.7
...
Closes gh-24353
4 years ago
Stephane Nicoll
d8706cdcfe
Upgrade to Jackson 2.10.5.20201202
...
Closes gh-24352
4 years ago
Stephane Nicoll
aba4c20823
Upgrade to Couchbase Client 2.7.18
...
Closes gh-24351
4 years ago
Phillip Webb
ff0725f6bf
Fix HazelcastHealthIndicatorTests
...
See gh-24337
4 years ago
Phillip Webb
55ae5be84b
Revert "Restore HazelcastHealthIndicatorTests"
...
This reverts commit 5a51b5853e
.
4 years ago
Phillip Webb
5a51b5853e
Restore HazelcastHealthIndicatorTests
...
Restore `HazelcastHealthIndicatorTests` which was accidentally replaced
with a version from 2.4.x.
See gh-24337
4 years ago
Phillip Webb
5f351a6983
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24338
4 years ago
Phillip Webb
d8a05090b3
Fix checkstyle BDD Mockito violations
...
See gh-24337
4 years ago
Phillip Webb
837fc83527
Fix checkstyle header violations
...
See gh-24337
4 years ago
Stephane Nicoll
065fde2996
Start building against Spring Framework 5.2.12 snapshots
...
See gh-24277
4 years ago
Stephane Nicoll
5f81882305
Start building against Reactor Dysprosium-SR15 snapshots
...
See gh-24274
4 years ago
Stephane Nicoll
9763ba56ba
Start building against Spring Framework 5.2.12 snapshots
...
See gh-24276
4 years ago
Stephane Nicoll
afeb9f29d4
Start building against Reactor Dysprosium-SR15 snasphots
...
See gh-24273
4 years ago
Jim Stockwell
bb7ad30de4
Fix ErrorAttributeOptions#getIncludes Javadoc
...
See gh-24257
4 years ago
Stephane Nicoll
9b992af34b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24250
4 years ago
Stephane Nicoll
d506f0c73e
Polish "Reduce redis health indicator info command result size"
...
See gh-24208
4 years ago
xJoeWoo
99cc3f4bfc
Reduce redis health indicator info command result size
...
See gh-24208
4 years ago
Stephane Nicoll
016b69aa78
Polish "Allow to exclude an empty set of ErrorAttributes"
...
See gh-24230
4 years ago
Wanderlei Souza
6518f8f7fd
Allow to exclude an empty set of ErrorAttributes
...
See gh-24230
4 years ago
Andy Wilkinson
7efa1e47aa
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24222
4 years ago
Andy Wilkinson
12f2529be5
Allow actuator endpoint to have responses with custom HTTP statuses
...
Fixes gh-24123
4 years ago
Andy Wilkinson
0ed7f7f40a
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24219
4 years ago
Andy Wilkinson
08b9d1da57
Polish "Ensure that MeterRegistry bean is defined before SI looks for it"
...
See gh-24095
4 years ago
Artem Bilan
7d712aaa2d
Ensure that MeterRegistry bean is defined before SI looks for it
...
Previously, it was possible for Spring Integration, including its
built-in Micrometer support, to be auto-configured before the
Micrometer auto-configuration had defined the MeterRegistry bean. This
resulted in missing Spring Integration metrics.
Spring Integration is unusual in having its own built-in Micrometer
support that it configures itself. Rather than providing
auto-configuration for Integration's Micrometer support (Which isn't
needed), this commit introduces some auto-configuration that just
affects the ordering of the auto-configuration classes. This ordering
ensures that the MeterRegistry bean has been defined by Spring
Integration is auto-configured. This ensures that the MeterRegistry
bean is known to the BeanFactory when Spring Integration goes looking
for it.
See gh-24095
4 years ago
Andy Wilkinson
988526bee9
Only attempt unwrapping of interfaces
...
Wrapper's isWrapperFor and unwrap methods both take a Class<?> target
but document that the target should be an interface. Prior to this
change, we were calling isWrapperFor with any Class<?> irrespective of
whether or not it was an interface. When using Oracle UCP each call
to isWrapperFor with an interface results in an exception stack trace
being logged.
This commit upates DataSourceUnwrapper to adhere to Wrapper's contract
by only calling isWrapperFor and unwrap with interfaces.
Fixes gh-24154
4 years ago
Stephane Nicoll
f3afd8a0f4
Fix location of Spring LDAP and Spring Session properties
...
Closes gh-23558
4 years ago
Stephane Nicoll
76912d1952
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24193
4 years ago