Commit Graph

11448 Commits

Author SHA1 Message Date
Andy Wilkinson
6df10842d2 Allow Devtools to be enabled irrespective of the launching ClassLoader
Closes gh-21424
2020-11-12 13:22:40 +00:00
Stephane Nicoll
5b311d805b Upgrade to Netty 4.1.54.Final
Closes gh-24129
2020-11-12 07:25:49 +01:00
Stephane Nicoll
62e5f2e8a6 Upgrade to jOOQ 3.14.3
Closes gh-24128
2020-11-12 07:25:47 +01:00
Stephane Nicoll
56ce2afe8f Upgrade to Infinispan 11.0.5.Final
Closes gh-24127
2020-11-12 07:25:46 +01:00
Stephane Nicoll
20edba51ef Upgrade to AssertJ 3.18.1
Closes gh-24126
2020-11-12 07:25:45 +01:00
Andy Wilkinson
6b650f8c45 Upgrade to Spring Integration 5.4.1
Closes gh-24097
2020-11-11 21:25:09 +00:00
Andy Wilkinson
368b40868f Merge branch '2.3.x'
Closes gh-24122
2020-11-11 20:16:51 +00:00
Andy Wilkinson
3e243de41b Merge branch '2.2.x' into 2.3.x
Closes gh-24121
2020-11-11 20:16:39 +00:00
dreis2211
033c78b945 Fix link to Flyway callback docs
See gh-24119
2020-11-11 20:14:08 +00:00
Andy Wilkinson
f8a5be8245 Merge pull request #24120 from dreis2211
* gh-24120:
  Fix deprecation warnings in javadoc comments

Closes gh-24120
2020-11-11 20:10:07 +00:00
dreis2211
5ef6e09c64 Fix deprecation warnings in javadoc comments
See gh-24120
2020-11-11 20:09:23 +00:00
Andy Wilkinson
51981d5ed3 Upgrade to Spring Session 2020.0.1
Closes gh-24098
2020-11-11 19:46:45 +00:00
Andy Wilkinson
4a9ca33026 Upgrade to Micrometer 1.6.1
Closes gh-24051
2020-11-11 19:35:29 +00:00
Andy Wilkinson
e35c8e0214 Upgrade to Micrometer 1.5.7
Closes gh-24050
2020-11-11 19:33:12 +00:00
Andy Wilkinson
9f10bb1405 Upgrade to Spring Kafka 2.6.3
Closes gh-24074
2020-11-11 19:31:50 +00:00
Andy Wilkinson
6507175d35 Upgrade to Spring Kafka 2.5.8.RELEASE
Closes gh-24075
2020-11-11 19:30:09 +00:00
Andy Wilkinson
0053fb7871 Upgrade to Spring Integration 5.3.4.RELEASE
Closes gh-24096
2020-11-11 19:28:49 +00:00
Andy Wilkinson
10355fc6dc Upgrade to Spring AMQP 2.3.1
Closes gh-24073
2020-11-11 19:27:48 +00:00
Andy Wilkinson
795100f27d Merge branch '2.3.x'
See gh-24043
2020-11-11 15:39:23 +00:00
Andy Wilkinson
4a630dc7a9 Only skip ..-prefixed locations when found via wildcard
Closes gh-23983
2020-11-11 15:36:39 +00:00
Andy Wilkinson
8f2de48fc1 Upgrade to Spring Data 2020.0.1
Closes gh-24036
2020-11-11 11:45:28 +00:00
Andy Wilkinson
634b88b950 Upgrade to Reactor 2020.0.1
Closes gh-24110
2020-11-11 10:37:25 +00:00
Andy Wilkinson
e8a1c3b9f8 Start building against Spring Integration 5.3.4 snapshots
See gh-24096
2020-11-11 09:16:30 +00:00
Andy Wilkinson
85cb5d4b3b Upgrade to Reactor Dysprosium-SR14
Closes gh-24109
2020-11-11 09:14:21 +00:00
Stephane Nicoll
c3793bd0af Upgrade to Spring HATEOAS 1.2.1
Closes gh-24091
2020-11-11 08:52:07 +01:00
Scott Frederick
59e0f7317e Avoid image pulls in integration tests
This commit sets the pull policy to `IF_NOT_PRESENT` where possible
in integration tests for the Maven and Gradle plugins to reduce
the number of times the default Paketo builder and run images are
pulled from Docker Hub.

Fixes gh-24113
2020-11-10 16:19:05 -06:00
Andy Wilkinson
21d97524d8 Merge branch '2.3.x'
Closes gh-24112
2020-11-10 17:38:30 +00:00
Andy Wilkinson
e6ab20b029 Merge branch '2.2.x' into 2.3.x
Closes gh-24111
2020-11-10 17:37:41 +00:00
Andy Wilkinson
31042bfc49 Test inclusion of system scope dependencies in repackaged war
Closes gh-22503
2020-11-10 17:35:04 +00:00
Stephane Nicoll
82652c7742 Start building against Reactor 2020.0.1 snapshots
See gh-24110
2020-11-10 18:22:01 +01:00
Stephane Nicoll
afe721bc34 Start building against Reactor Dysprosium-SR14 snapshots
See gh-24109
2020-11-10 18:00:10 +01:00
Stephane Nicoll
b6fc0913cf Merge branch '2.3.x'
Closes gh-24104
2020-11-10 17:44:05 +01:00
Stephane Nicoll
515b18e142 Merge branch '2.3.x'
Closes gh-24108
2020-11-10 17:10:26 +01:00
Stephane Nicoll
9e901b6e07 Upgrade to Testcontainers 1.15.0
Closes gh-24103
2020-11-10 16:24:16 +01:00
Stephane Nicoll
23ad2b4156 Rationalize Testcontainers image versions
This commit rationalizes the Docker image names used in integration
tests.

Closes gh-24107
2020-11-10 16:04:27 +01:00
Brian Clozel
24f29a6516 Polish
See gh-24099
2020-11-10 15:52:17 +01:00
Stephane Nicoll
78fb3ccc53 Polish 2020-11-10 14:12:37 +01:00
Brian Clozel
f0a6128db3 Add spring.web.resources.cache.use-last-modified
Prior to this commit, packaging a Spring Boot application as a container
image with Cloud Native Buildpacks could result in unwanted browser
caching behavior, with "Last-Modified" HTTP response headers pointing to
dates in the far past.

This is due to CNB resetting the last-modified date metadata for static
files (for build reproducibility and container layer caching) and Spring
static resource handling relying on that information when serving static
resources.

This commit introduces a new configuration property
`spring.web.resources.cache.use-last-modified` that can be used to
disable this behavior in Spring if the application is meant to run as a
container image built by CNB.

The default value for this property remains `true` since this remains
the default value in Spring Framework and using that information in
other deployment models is a perfectly valid use case.

Fixes gh-24099
2020-11-10 13:40:25 +01:00
Stephane Nicoll
673a5ac2fd Upgrade to Spring Framework 5.3.1
Closes gh-24035
2020-11-10 11:23:18 +01:00
Stephane Nicoll
0c43d13789 Upgrade to Spring Framework 5.2.11
Closes gh-24034
2020-11-10 11:21:24 +01:00
Stephane Nicoll
45f1133e1e Merge branch '2.3.x' 2020-11-10 09:49:49 +01:00
Stephane Nicoll
339c8d0a26 Revert "Upgrade to Testcontainers 1.15.0" 2020-11-10 09:47:46 +01:00
Stephane Nicoll
5123eb0c74 Fix deprecation in Testcontainers 1.15.0
See gh-24103
2020-11-10 09:39:18 +01:00
Stephane Nicoll
7fb21fbff3 Merge branch '2.3.x'
Closes gh-24104
2020-11-10 08:47:51 +01:00
Stephane Nicoll
c1a1b5fe71 Upgrade to Testcontainers 1.15.0
Closes gh-24103
2020-11-10 08:46:15 +01:00
Stephane Nicoll
48bfdc1314 Revert "Upgrade to testcontainers 1.15.0"
This reverts commit b1c446d1b2.
2020-11-10 07:49:23 +01:00
Stephane Nicoll
b1c446d1b2 Upgrade to testcontainers 1.15.0
Closes gh-24103
2020-11-10 07:20:26 +01:00
Stephane Nicoll
33d83ebc94 Merge branch '2.3.x' 2020-11-09 14:41:03 +01:00
Stephane Nicoll
6aca0275ad Polish 2020-11-09 14:40:44 +01:00
Andy Wilkinson
409e3ccecf Ignore resolution of copied configuration
When a Configuration is copied, any before and after resolve actions
that are registered with its ResolvableDependencies are also copied
over. This means that, when a copied configuration is resolved the
resolution actions may be called on a ResolvableDependencies instances
that isn't the one to which they were added.

Previously, the above-described Gradle behaviour would result in
BootJar accessed the ResolvedConfiguration of a Configuration that may
not have yet been resolved. At best this would trigger Configuration
resolution and at worst it would fail. A failure could occur if the
configuration had been copied so that it could be made resolvable.
The afterResolve action would then try to access the
ResolvedConfiguration of the original Configuration. This would trigger
a resolution attempt that fails due to the original configuration being
marked as unresolvable.

This commit updates the afterResolve action in BootJar to check that
the ResolvableDependencies with which it is called matches the
ResolvableDependencies with which it was original registered. Only
when the two match, and therefore the configuration has actually been
resolved, does processing proceed.

Fixes gh-24072
2020-11-09 10:21:41 +00:00