Commit Graph

17162 Commits

Author SHA1 Message Date
Phillip Webb a0b6547aca Don't fail build on duplicate module-info classes
Update the duplicate-finder-maven-plugin configuration to ignore
module-info classes.

Closes gh-13403
2018-06-06 17:32:36 -07:00
Madhura Bhave cb621024e4 Include error stacktrace by default when devtools is in use
Fixes gh-828
2018-06-06 15:25:52 -07:00
Phillip Webb 375769ed5a Merge branch '2.0.x' 2018-06-06 15:18:52 -07:00
Phillip Webb 3e1b163c34 Merge pull request #13344 from fahimfarookme
* pr/13344:
  Polish "Fix caching issues with map property sources"
  Fix caching issues with map property sources
2018-06-06 15:17:30 -07:00
Phillip Webb dc1c459cde Polish "Fix caching issues with map property sources"
Refine the property source cache key fix so that a copy of the
key is only taken when the values change. This allows us to
retain the previous performance optimization of not creating
unnecessary string arrays.

Closes gh-13344
2018-06-06 15:17:07 -07:00
Fahim Farook c556d2b58f Fix caching issues with map property sources
Update `SpringIterableConfigurationPropertySource` so that the cache
key from a `MapPropertySource` is invalidated when the map contents
changes.

Prior to this commit, the actual keys of the map were used as the key.
This meant that if the underlying map changed, they key wouldn't be
invalidated because it ultimately pointed to the same object instance.

See gh-13344
2018-06-06 15:02:59 -07:00
Madhura Bhave 9570cd4172 Add saaj and jax-ws to webservices starter
Closes gh-13360
2018-06-06 14:36:39 -07:00
Madhura Bhave 6eaae608b5 Merge branch '2.0.x' 2018-06-06 10:49:46 -07:00
Madhura Bhave 461202bc25 EndpointRequest uses empty servlet path if not available
Fixes gh-13399
2018-06-06 10:48:42 -07:00
Brian Clozel 0004550f7b Document Reactor Netty server configuration
This commit regroups the documentation on how to configure a web server
in Spring Boot. The same concepts apply, whether the server is
Tomcat/Netty/Jetty/Undertow, or if it's deployed for a Servlet or
Reactive web application.

Closes gh-13315
2018-06-06 17:32:24 +02:00
Brian Clozel fe3de2816c Merge branch '2.0.x' 2018-06-06 14:07:58 +02:00
Brian Clozel 7cbbd95fc9 Ignore invalid Accept headers in WebFlux error handling
Prior to this commit, the `DefaultErrorWebExceptionHandler` would parse
the HTTP "Accept" headers when routing the request to the error handler;
if an error occured during parsing, an `InvalidMediaTypeException` would
be thrown and break the error handling for this request.

This commit ignores those exceptions and makes sure that the error
handling function does not override the response status or the error
itself with those exceptions.

Closes: gh-13372
2018-06-06 14:02:04 +02:00
Stephane Nicoll ab19db19a3 Move Hibernate settings to a dedicated class
Closes gh-1327
2018-06-06 14:00:35 +02:00
Andy Wilkinson cf8c0acdc5 Merge branch '2.0.x' 2018-06-06 10:16:19 +01:00
Andy Wilkinson 47615154de Upgrade to Mongodb 3.6.4
Closes gh-13397
2018-06-06 10:15:33 +01:00
Andy Wilkinson fd56e79f7a Upgrade to Mariadb 2.2.5
Closes gh-13396
2018-06-06 10:15:33 +01:00
Andy Wilkinson 6d0d66cb28 Upgrade to Narayana 5.8.2.Final
Closes gh-13395
2018-06-06 10:15:33 +01:00
Andy Wilkinson a4a6f482c6 Upgrade to Hsqldb 2.4.1
Closes gh-13394
2018-06-06 10:15:33 +01:00
Andy Wilkinson ecd8760514 Upgrade to Hibernate Validator 6.0.10.Final
Closes gh-13393
2018-06-06 10:15:33 +01:00
Andy Wilkinson 50f3f50ebb Upgrade to Activemq 5.15.4
Closes gh-13392
2018-06-06 10:15:33 +01:00
Andy Wilkinson 2b4d51e763 Upgrade to Rxjava2 2.1.14
Closes gh-13391
2018-06-06 10:15:33 +01:00
Andy Wilkinson d79f2401be Upgrade to Netty 4.1.25.Final
Closes gh-13390
2018-06-06 10:15:33 +01:00
Andy Wilkinson 2d4f1bb043 Upgrade to Unboundid Ldapsdk 4.0.6
Closes gh-13389
2018-06-06 10:15:33 +01:00
Andy Wilkinson 27b5fdd1e1 Merge branch '1.5.x' into 2.0.x 2018-06-06 10:15:24 +01:00
Andy Wilkinson 3e3575eaef Upgrade to Spring Session 1.3.3.RELEASE
Closes gh-13387
2018-06-06 10:13:36 +01:00
Andy Wilkinson 6910831f25 Upgrade to Spring Cloud Connectors 1.2.6.RELEASE
Closes gh-13386
2018-06-06 10:13:36 +01:00
Andy Wilkinson 15cffde8b3 Upgrade to Spring Amqp 1.7.8.RELEASE
Closes gh-13385
2018-06-06 10:13:36 +01:00
Andy Wilkinson 884bd9008c Upgrade to Lombok 1.16.22
Closes gh-13384
2018-06-06 10:13:36 +01:00
Andy Wilkinson 26a5c4ad7e Upgrade to Hsqldb 2.3.6
Closes gh-13383
2018-06-06 10:13:36 +01:00
Andy Wilkinson b7a46b8653 Upgrade to Appengine Sdk 1.9.64
Closes gh-13382
2018-06-06 10:13:35 +01:00
Stephane Nicoll 42c2059dd8 Merge branch '2.0.x' 2018-06-06 11:00:25 +02:00
Stephane Nicoll f6c99361a4 Merge branch '1.5.x' into 2.0.x 2018-06-06 11:00:02 +02:00
Stephane Nicoll 584d2de9f3 Document use of component scan exclude filters on SpringBootApplication
Closes gh-10933
2018-06-06 10:53:55 +02:00
Stephane Nicoll d0b71a7d43 Document usage of auto-configuration AP for 3rd party starters
Closes gh-13368
2018-06-06 10:37:57 +02:00
Stephane Nicoll 0d63e7f592 Merge branch '2.0.x' 2018-06-06 09:30:46 +02:00
Stephane Nicoll 9f16326305 Merge pull request #13378 from dreis2211:remove-commons-codec-imports
* pr/13378:
  Polish "Replace commons-codec Base64 usage"
  Replace commons-codec Base64 usage
2018-06-06 09:30:17 +02:00
Stephane Nicoll 68380b68ef Polish "Replace commons-codec Base64 usage"
Closes gh-13378
2018-06-06 09:26:59 +02:00
dreis2211 ba8a32fa4e Replace commons-codec Base64 usage
See gh-13378
2018-06-06 09:19:17 +02:00
Phillip Webb e0ae805924 Update copyright header 2018-06-05 17:45:09 -07:00
Phillip Webb 66be6c3396 Polish 2018-06-05 17:44:51 -07:00
Phillip Webb 845c20f13b Merge branch '2.0.x' 2018-06-05 17:14:34 -07:00
Phillip Webb e3bf518819 Merge branch '1.5.x' into 2.0.x 2018-06-05 17:13:47 -07:00
Phillip Webb 6c7289b822 Allow META-INF/resources in WAR classes folder
Update `TomcatResources` so that `META-INF/resources` folders in
`src/main/resources` no longer fail with a "URI is not hierarchical"
exception.

Closes gh-13265
2018-06-05 17:00:52 -07:00
Madhura Bhave 26b826e017 Merge branch '2.0.x' 2018-06-05 13:49:42 -07:00
Madhura Bhave d0a2a8e929 Document ConfigurableServletWebServerFactory variants
Closes gh-13083
2018-06-05 13:48:43 -07:00
Brian Clozel 56ab0da287 Support EncodedResourceResolver in resource chain
As of https://jira.spring.io/browse/SPR-16381, Spring Framework now
supports both gzip and Brotli as compression formats for static
resources resolved by the resource chain.

The `GzipResourceResolver` has been deprecated and replaced by the
`EncodedResourceResolver`. This commit uses this new resolver and adapts
the configuration key to reflect those changes.

Note that this resolver is now configured ahead of the
`VersionResourceResolver`.

Closes gh-13242
2018-06-05 17:25:25 +02:00
Stephane Nicoll ace5ba5984 Merge pull request #13364 from nosan:http-webservice-sender-duration-int
* pr/13364:
  Use Duration in HttpWebServiceMessageSenderBuilder
2018-06-05 16:23:14 +02:00
Dmytro Nosan 5b159a6bd0 Use Duration in HttpWebServiceMessageSenderBuilder
Closes gh-13364
2018-06-05 16:14:34 +02:00
Stephane Nicoll 909722f143 Polish 2018-06-05 16:02:32 +02:00
Stephane Nicoll 638d4d94f4 Merge pull request #13355 from nosan:duration-instead-of-timeout
* pr/13355:
  Polish "Add duration support for setConnectTimeout and setReadTimeout"
  Add duration support for setConnectTimeout and setReadTimeout
  Polish "Add duration support for setConnectTimout and setReadTimeout"
2018-06-05 16:01:38 +02:00