Phillip Webb
bfe1c281f0
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21743
2020-06-07 10:25:33 -07:00
Phillip Webb
70e0a27949
Drop the use of the term "white list"
...
Closes gh-21737
2020-06-07 10:22:35 -07:00
Stephane Nicoll
9fd6ff7e88
Start building against Spring Framework 5.2.7 snapshots
...
See gh-21739
2020-06-07 11:14:02 +02:00
Stephane Nicoll
4c26c7d043
Start building against Spring Framework 5.2.7 snapshots
...
See gh-21738
2020-06-07 10:54:38 +02:00
Stephane Nicoll
d4c8fa9b2a
Start building against Spring Framework 5.1.16 snapshots
...
See gh-21729
2020-06-07 10:37:47 +02:00
Phillip Webb
c11abf48d9
Polish 'Allow beans without public constructors to load'
...
See gh-20929
2020-06-06 12:05:50 -07:00
Vlad Kisel
d8d8f9cf0b
Allow beans without public constructors to load
...
Allow `BeanDefinitionLoader` to load classes that don't have public
constructors. The constraint was first introduced in d82c50804f to
solve an issue with anonymous Groovy classes but causes particular
problems with `@SpringBootTest`.
See gh-20929
2020-06-06 11:59:47 -07:00
dreis2211
2b5569f054
Polish
...
See gh-21732
2020-06-06 11:07:21 -07:00
Stephane Nicoll
44f375c508
Start building against Reactor Dysprosium-SR8 snapshots
...
See gh-21731
2020-06-06 09:57:21 +02:00
Stephane Nicoll
f4f9df3d10
Start building against Reactor Dysprosium-SR8 snapshots
...
See gh-21730
2020-06-06 09:26:15 +02:00
Stephane Nicoll
0b0187cd0d
Start building against Reactor Californium-SR19 snapshots
...
See gh-21728
2020-06-06 08:48:15 +02:00
Phillip Webb
2f973ebc33
Fix default Launcher.isExploded() result
...
Fix the default implementation of `Launcher.isExploded` which should
have returned `true`.
Fixes gh-21575
2020-06-05 19:32:06 -07:00
Phillip Webb
47c1928189
Polish 'Optimize SystemEnvironmentPropertyMapper'
...
Introduce a new `ConfigurationPropertyName.ofIfValid` method to
save us needing to throw and catch an exception unnecessarily.
See gh-21523
2020-06-05 16:11:52 -07:00
dreis2211
0378de7b30
Optimize SystemEnvironmentPropertyMapper
...
See gh-21523
2020-06-05 16:11:28 -07:00
dreis2211
f8d6d9a4b0
Call append only when necessary
...
See gh-21523
2020-06-05 16:11:11 -07:00
dreis2211
33deba4948
Use chars rather than strings
...
Update `SystemEnvironmentPropertyMapper` to use single chars
rather than strings whenever possible.
See gh-21523
2020-06-05 15:52:18 -07:00
Phillip Webb
cc50605687
Merge branch '2.2.x' into 2.3.x
2020-06-05 15:36:44 -07:00
Phillip Webb
0a05b4c9fd
Update copyright year of changed files
2020-06-05 15:36:09 -07:00
Phillip Webb
9a235197dc
Propagate manifest to exploded jars
...
Update `LaunchedURLClassLoader` so that packages defined from exploded
archive folders have manifest attributes applied to them. Prior to this
calling `package.getImplementationTitle()` would only return the a
manifiest attribute when running non-exploded.
The root cause of this issue is the way that `URLClassLoader` handles
the different URL types. For URLs that reference a jar the manifest is
available. For URLs that reference a folder it isn't. When running
exploded we use a URL that references to the `BOOT-INF/classes` folder
directly. To fix the issue we now attempt to detect when `definePackage`
is being called directly, and replace `null` entries with actual
manifest values.
Fixes gh-21705
2020-06-05 15:28:16 -07:00
Stephane Nicoll
400a168ce9
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21720
2020-06-05 16:41:24 +02:00
dreis2211
9bb22ffb69
Remove usages of deprecated Connector.setAttribute()
...
See gh-21671
2020-06-05 16:32:42 +02:00
Stephane Nicoll
79a5ca2941
Merge branch '2.2.x' into 2.3.x
2020-06-05 16:25:24 +02:00
Stephane Nicoll
eb38eeaf30
Polish
2020-06-05 16:25:12 +02:00
Toshiaki Maki
0cd526c266
Fix event name in documentation
...
See gh-21692
2020-06-05 14:51:53 +02:00
Stephane Nicoll
4624bf6552
Polish "Add reference to rocketmq-spring-boot-starter"
...
See gh-21653
2020-06-05 14:49:19 +02:00
ThierrySquirrel
c547567882
Add reference to rocketmq-spring-boot-starter
...
See gh-21653
2020-06-05 14:49:19 +02:00
Andy Wilkinson
24138c104c
Use highlightjs for syntax highlighting in Asciidoctor's HTML output
...
Closes gh-21701
2020-06-04 20:25:29 +01:00
Phillip Webb
4d37430bfe
Use servlet context that can access classloader
...
Update `SpringBootServletInitializer` to use the `ServletContext` that
was provided to the initial `onStartup` call rather than the
one from the `ServletContextEvent`. This allows the `getClassLoader()`
call to complete without throwing an `UnsupportedOperationException`.
Fixes gh-21684
2020-06-03 19:18:12 -07:00
Scott Frederick
29253264b4
Improve Docker API 5xx error messages
...
This commit improves the error messages returned by the Spring Boot
build plugins when a 5xx status code is returned from the Docker
API while attempting to build an image. If the error response has
contents containing a JSON structure with a "message" key, the value
associated with that key will be included in the exception message
and in the build plugin output error.
Fixes gh-21515
2020-06-03 16:53:44 -05:00
Andy Wilkinson
daeca9f332
Restore Boot 2.2's compile-scoped dependencies
...
Fixes gh-21507
2020-06-03 12:55:11 +01:00
Andy Wilkinson
210e565741
Use dirMode and fileMode to configure CLI archive entry permissions
...
Closes gh-21453
2020-06-03 11:46:01 +01:00
Andy Wilkinson
a2bfdb5b33
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21663
2020-06-03 08:13:44 +01:00
Andy Wilkinson
29c2a0471d
Add Oracle DB dependency management under com.oracle.database
...
Closes gh-20333
2020-06-03 08:06:26 +01:00
Phillip Webb
e39d7971fb
Merge branch '2.2.x' into 2.3.x
2020-06-02 22:48:01 -07:00
Phillip Webb
864daab03a
Merge branch '2.1.x' into 2.2.x
2020-06-02 22:47:41 -07:00
Phillip Webb
b5fe3c3494
Refine YAML type restriction error
...
Closes gh-21596
2020-06-02 22:46:47 -07:00
Phillip Webb
ebb3f5f286
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21660
2020-06-02 22:28:39 -07:00
Phillip Webb
4fc0dec6c4
Support wrapped random property sources
...
Update `SpringConfigurationPropertySource` so that wrapped random
property sources can be used. It's assumed that wrapped random
sources will use the name of the source as the prefix.
Closes gh-21595
2020-06-02 22:22:40 -07:00
Madhura Bhave
2dc8048d08
Add missing since tags
...
Closes gh-21576
2020-06-02 17:22:46 -07:00
Phillip Webb
2589f980d5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21655
2020-06-02 10:58:36 -07:00
Phillip Webb
09a47c9aad
Fix containsDescendantOf for random sources
...
Fix the `containsDescendantOf` logic for random property sources to
ensure that ancestors are correctly matched.
Closes gh-21654
2020-06-02 10:57:48 -07:00
Andy Wilkinson
f0bc8ee73c
Fix version placeholder replacement in Gradle plugin docs
...
Closes gh-21640
2020-06-02 08:59:14 +01:00
Madhura Bhave
1f28141f3e
Use the right property in test
2020-06-01 15:15:53 -07:00
Phillip Webb
4dff0beb80
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21645
2020-06-01 15:07:26 -07:00
Phillip Webb
14e6c734a9
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21643
2020-06-01 14:45:39 -07:00
Phillip Webb
95031295b9
Restore TomcatReactiveWebServerFactoryTests
...
Restore tests that were previously ignored due to a framework bug.
Closes gh-19702
2020-06-01 14:19:20 -07:00
Madhura Bhave
d3f72326d0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-21642
2020-06-01 13:49:59 -07:00
Madhura Bhave
573cb98d90
Make management security configuration back off when SAML present
...
Fixes gh-21620
2020-06-01 13:39:46 -07:00
Andy Wilkinson
3d143e59e7
Fix inclusion of version-specific content in Gradle plugin's docs
...
Fixes gh-21610
2020-06-01 17:47:42 +01:00
Andy Wilkinson
b1777b9dee
Use stable file repository for testing snapshot layers
...
Closes gh-21629
2020-06-01 16:28:33 +01:00