Commit Graph

16420 Commits (ba7485bf48743beea994c9e70e542fbd8b0d3590)

Author SHA1 Message Date
Phillip Webb d2cceb6b77 Polish 2 years ago
Phillip Webb caf46043c6 Add @DirtiesUrlFactories annotation
Add `@DirtiesUrlFactories` annotation that can be used to reset URL
factories.

Closes gh-33017
2 years ago
Phillip Webb d4cc8fc3a6 Support modified classpath on methods and parameterized tests
Update `ModifiedClassPathExtension` and related classes so that
annotations can be used directly on test methods, or on classes
passed into parameterized tests.

Closes gh-33014
2 years ago
Andy Wilkinson d00e004622 Add missing XMLUnit dependency management
Closes gh-32998
2 years ago
Andy Wilkinson fcd3413ba0 Allow histograms to be disabled for Lettuce metrics
Closes gh-32985
2 years ago
Andy Wilkinson beb62be843 Test Boot's Gradle plugin against Gradle 7.6-rc-1
Closes gh-32933
2 years ago
Phillip Webb 92b513dc8d Polish 2 years ago
Phillip Webb d7ac20cd6c Update copyright year of changed files 2 years ago
Andy Wilkinson fe51e03019 Support IPv6 addresses in spring.redis.sentinel.nodes
Fixes gh-32762
2 years ago
Phillip Webb 1a14f39f83 Polish 2 years ago
Phillip Webb 463a614d27 Fix package tangle between SpringApplication and Environment types
Update `SpringApplication` so that it no longer directly decides the
type of `Environment` that should be created.

Closes gh-32825
2 years ago
James Seung Hyun Son 5e0a67ac66 Fix typos in logging.adoc
See gh-32812
2 years ago
Stephane Nicoll 4d7cb7144e Upgrade copyright year of changed files
See gh-32644
2 years ago
Ada-Claire c5a1944267 Harmonize ConfigurationProperties code samples
Rename the SomeProperties class so that it is consistent with other
examples given within the Type-safe Configuration Properties. This
ensures that readers can intuitively draw the conclusion that the
MyProperties class is annotated with ConfigurationProperties.

See gh-32644
2 years ago
Phillip Webb c416c17fe8 Polish documentation title case 2 years ago
Andy Wilkinson 65bdcdb2a5 Upgrade to Glassfish JAXB 2.3.7
Closes gh-32785
2 years ago
Andy Wilkinson 02760ffee4 Upgrade to Dependency Management Plugin 1.0.15.RELEASE
Closes gh-32784
2 years ago
Henning Poettker 4ed072a06b Upgrade MySQL Connector/J and use new Maven identifiers
See gh-32747
2 years ago
Phillip Webb 2c7114fa17 Polish 'Use exclamation character for the document separator prefix'
See gh-32521
2 years ago
Guirong Hu 33e379c4a2 Use exclamation character for the document separator prefix
See gh-32521
2 years ago
Phillip Webb de111dba5c Polish 'Add DataSize serializer for configprops endpoint'
See gh-32645
2 years ago
Guirong Hu 3b25132e38 Add DataSize serializer for configprops endpoint
See gh-32645
2 years ago
Phillip Webb b02c702ad1 Polish 'Use more specific bean method return types in KafkaAutoConfiguration'
See gh-32770
2 years ago
yuanhao18 c498ad0320 Use more specific bean method return types in KafkaAutoConfiguration
Update `KafkaAutoConfiguration` so that more specific bean types are
returned.

See gh-32770
2 years ago
Andy Wilkinson a92388cbee Upgrade to Spring Security 5.6.8
Closes gh-32590
2 years ago
Andy Wilkinson a16e3e6688 Upgrade to Spring Kafka 2.8.10
Closes gh-32589
2 years ago
Andy Wilkinson dade5ec3aa Test against Gradle 6.9.3
Closes gh-32757
2 years ago
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2 years ago
Stephane Nicoll c858c1e998 Upgrade to Spring Retry 1.3.4
Closes gh-32593
2 years ago
Andy Wilkinson 936cb41c6e Upgrade to Jetty Reactive HTTPClient 1.1.13
Closes gh-32723
2 years ago
Andy Wilkinson 0411ebeeaf Upgrade to Jackson Bom 2.13.4.20221013
Closes gh-32722
2 years ago
Andy Wilkinson eaf0523656 Upgrade to Spring Data 2021.1.9
Closes gh-32588
2 years ago
Andy Wilkinson 5329eac5e4 Upgrade to Reactor 2020.0.24
Closes gh-32587
2 years ago
Andy Wilkinson 3244a4a59b Upgrade to Netty 4.1.84.Final
Closes gh-32695
2 years ago
Andy Wilkinson 78bf7b640c Start building against Spring Data 2021.1.9 snapshots
See gh-32588
2 years ago
Phillip Webb e0c79ce598 Support PEM formatted elliptic-curve TLS keys
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.

Fixes gh-32646
2 years ago
Andy Wilkinson 215eb96355 Improve error handling in SpringBootPlugin
Closes gh-32677
2 years ago
Stephane Nicoll 907396021f Upgrade to Lettuce 6.1.10.RELEASE
Closes gh-32669
2 years ago
Stephane Nicoll f49d1704f2 Upgrade to Micrometer 1.8.11
Closes gh-32586
2 years ago
Stephane Nicoll ac9b869cfd Upgrade to Undertow 2.2.20.Final
Closes gh-32651
2 years ago
Stephane Nicoll 19c3078623 Upgrade to Hibernate 5.6.12.Final
Closes gh-32649
2 years ago
Stephane Nicoll 1efbfdb3d3 Upgrade to Ehcache3 3.9.10
Closes gh-32648
2 years ago
Stephane Nicoll 86176e8f4b Start building against Spring Security 5.6.8 snapshots
See gh-32590
2 years ago
Stephane Nicoll 525b724adc Start building against Spring Kafka 2.8.10 snapshots
See gh-32589
2 years ago
Stephane Nicoll 2b2f23ef9c Start building against Spring Data 2021.1.8 snapshots
See gh-32588
2 years ago
Stephane Nicoll 9b002e1c05 Start building against Spring Retry 1.3.4 snapshots
See gh-32593
2 years ago
Stephane Nicoll 556543043e Start building against Micrometer 1.8.11 snapshots
See gh-32586
2 years ago
Stephane Nicoll 8d2af7ea93 Start building against Reactor 2020.0.24 snapshots
See gh-32587
2 years ago
Phillip Webb e917bd0ed0 Only build OutputCapture strings when necessary
Update `OutputCapture` so that expensive build operations are only
performed when necessary. This update is especially important for Kotlin
users calling `"Expected String" in output` since this results in a call
to Kotlin's `CharSequence.contains` which calls the `length()` and
`charAt()` methods many times.

Closes gh-32033
2 years ago
Phillip Webb 75f4d9e3fd Fix empty @DefaultValue annotation test failures on Java 17
See gh-32559
2 years ago
Phillip Webb efc431bdc4 Support empty @DefaultValue annotations on aggregates and optional
Update `ValueObjectBinder` to allow an empty `@DefaultValue` to be
used on map, collection, arrays and optional types.

Closes gh-32559
2 years ago
Andy Wilkinson 84a25c7dcf Configure Log4j2 classpath overrides consistently
Closes gh-32537
2 years ago
Andy Wilkinson be48f37a83 Fix LogbackMetrics auto-config test with Logback and Log4j2 on cp
Closes gh-32533
2 years ago
heqiang 5db6cc1cba Remove redundant @ExtendWith(SpringExtension.class) for sample
See gh-32476
2 years ago
Stephane Nicoll 8f598f876b Polish "Use non-blocking API in CouchbaseReactiveHealthIndicator"
See gh-32505
2 years ago
Mico Piira f51c4c3df0 Use non-blocking API in CouchbaseReactiveHealthIndicator
See gh-32505
2 years ago
Stephane Nicoll 0457536d72 Polish "Avoid using JUnit 4 assertions"
See gh-32504
2 years ago
dreis2211 cee353fba6 Avoid using JUnit 4 assertions
See gh-32504
2 years ago
Andy Wilkinson cfac7f55a4 Correct annotations on BootBuildImage's file-based inputs
Closes gh-32495
2 years ago
Stephane Nicoll 82763deb93 Upgrade to Spring Batch 4.3.7
Closes gh-32271
2 years ago
Andy Wilkinson 9d30a0a5b6 Upgrade to Dependency Management Plugin 1.0.14.RELEASE
Closes gh-32458
2 years ago
Stephane Nicoll 4e18da99a3 Upgrade to Spring Integration 5.5.15
Closes gh-32452
2 years ago
Phillip Webb c7254cfe25 Upgrade to Jetty 9.4.49.v20220914
Closes gh-32441
2 years ago
Phillip Webb 634799f887 Upgrade to Groovy 3.0.13
Closes gh-32440
2 years ago
Stephane Nicoll 6c37838f31 Upgrade to Spring Kafka 2.8.9
Closes gh-32270
2 years ago
Stephane Nicoll 033b6b5dbe Upgrade to Spring AMQP 2.4.7
Closes gh-32269
2 years ago
Stephane Nicoll d72e0b39fc Upgrade to Spring Data 2021.1.7
Closes gh-32268
2 years ago
Andy Wilkinson 61e11cd361 Ensure that TCCL is clean when DataSource is accessed
Previously, when using Tomcat, its web app class loader was the thread
context class loader when H2ConsoleAutoConfiguration triggered
initialization of Hikari's pool. This was the case because it's done
in the bean method of a ServletRegistrationBean. Such Servlet-related
beans are intentionally created with Tomcat's web app classloader as
the TCCL. This arrangement results in the pool's threads using
Tomcat's web app class loader as their TCCL which is not desirable.
One consequence of this was that Tomcat could log a warning at
shutdown about the thread being left running when it will, in fact,
be stopped as part of the context being closed.

This commit updates H2ConsoleAutoConfiguration to set the TCCL to its
own ClassLoader while the DataSource information is being logged.

Closes gh-32382
2 years ago
Andy Wilkinson ab26050fe7 Document support for Java 19
Closes gh-32259
2 years ago
Stephane Nicoll 998396dd8a Upgrade to Spring HATEOAS 1.4.5
Closes gh-32400
2 years ago
Andy Wilkinson 77f428498f Compile against SnakeYAML 1.32 and test against older versions
Closes gh-32392
2 years ago
Stephane Nicoll 78fb738117 Upgrade to Spring Framework 5.3.23
Closes gh-32267
2 years ago
Stephane Nicoll 9b122924c8 Upgrade to RSocket 1.1.3
Closes gh-32379
2 years ago
Stephane Nicoll c216e1e4a4 Upgrade to Netty 4.1.82.Final
Closes gh-32312
2 years ago
Stephane Nicoll a3465ced28 Upgrade to Kafka 3.0.2
Closes gh-32311
2 years ago
Stephane Nicoll 3d21fcb381 Upgrade to Johnzon 1.2.19
Closes gh-32310
2 years ago
Stephane Nicoll 4848f8db5b Upgrade to Janino 3.1.8
Closes gh-32309
2 years ago
Stephane Nicoll b4475e1387 Upgrade to Jackson Bom 2.13.4
Closes gh-32308
2 years ago
Stephane Nicoll 1775fc148c Upgrade to Hibernate Validator 6.2.5.Final
Closes gh-32307
2 years ago
Stephane Nicoll 7de6d72346 Upgrade to Hibernate 5.6.11.Final
Closes gh-32306
2 years ago
Stephane Nicoll 2fa4195326 Upgrade to Dropwizard Metrics 4.2.12
Closes gh-32305
2 years ago
Stephane Nicoll dc4d850b16 Upgrade to Rector 2020.0.23
Closes gh-32266
2 years ago
Stephane Nicoll 72ad69d696 Upgrade to Micrometer 1.8.10
Closes gh-32265
2 years ago
Oliver B. Fischer 6e4e76597a Make the path of the config directory better understandable
Currently, the documentation relates to the subdirectory for external
configurations as `/config`. Read as UNIX path, the leading slash
could be read as reference to the root directory `/`.

This commit updates the documentation to use 'config/' instead.

See gh-32224
2 years ago
Andy Wilkinson 23c2f73b3f Update tests to allow them to run on Java 19
Closes gh-32280
2 years ago
Andy Wilkinson 78f4242e46 Build with Gradle 7.5 while still supporting Gradle 6.8+
Closes gh-32281
2 years ago
Stephane Nicoll 6d0a504283 Start building against Spring Batch 4.3.7 snapshots
See gh-32271
2 years ago
Stephane Nicoll bb6307a506 Start building against Spring Kafka 2.8.9 snapshots
See gh-32270
2 years ago
Stephane Nicoll 91fb8b8b68 Start building against Spring AMQP 2.4.7 snapshots
See gh-32269
2 years ago
Stephane Nicoll b4e97b73a6 Start building against Spring Data 2021.1.7 snapshots
See gh-32268
2 years ago
Stephane Nicoll 0c5d5c331a Start building against Spring Framework 5.3.23 snapshots
See gh-32267
2 years ago
Stephane Nicoll 126c3cf0d8 Start building against Rector 2020.0.23 snapshots
See gh-32266
2 years ago
Stephane Nicoll 33b3a5f8bf Start building against Micrometer 1.8.10 snapshots
See gh-32265
2 years ago
Phillip Webb 85697ac482 Update copyright year of changed files 2 years ago
Andy Wilkinson 280ce6390a Add NINETEEN to JavaVersion enum
Closes gh-32226
2 years ago
Stephane Nicoll 19c69ff743 Polish "Add support for detecting .yml Hazelcast config files"
See gh-32142
2 years ago
Neil Stevenson 5eaafdee9a Add support for detecting .yml Hazelcast config files
See gh-32142
2 years ago
valentine-dev 89e19ddab9 Support lower-case input in PeriodStyle
See gh-32235
2 years ago
Stephane Nicoll 7688444704 Upgrade to Postgresql 42.3.7
Closes gh-32242
2 years ago
Andy Wilkinson bc23e70024 Polish "Support lower-case input in DurationStyle"
See gh-32223
2 years ago
valentine-dev c579c9378b Support lower-case input in DurationStyle
See gh-32223
2 years ago
Brian Clozel 724f9ebf71 Support SnakeYaml 1.31
This commit keeps the managed dependency for SnakeYaml at 1.29 but
enables forward compatibility for SnakeYaml 1.31.

Closes gh-32228
2 years ago
Andy Wilkinson d9265f0a92 Build against SnakeYAML 1.31 but still use 1.29 in dep mgmt and starter 2 years ago
Andy Wilkinson 7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2 years ago
Phillip Webb adc4e05eff Polish 2 years ago
Phillip Webb 24c2daa99d Improve javadoc regarding use on @Bean methods
Closes gh-32166
2 years ago
Stephane Nicoll 7f2d4fceec Polish "Allow Netty default leak detection to be overidden"
See gh-32144
2 years ago
Russell You 51f2e40c69 Allow Netty default leak detection to be overidden
See gh-32144
2 years ago
Stephane Nicoll 6d80b601b6 Upgrade to Testcontainers 1.17.3
Closes gh-32127
2 years ago
Phillip Webb bd74344025 Revert "Don't close jar files early"
This reverts commit b42f056ddb.
2 years ago
Phillip Webb 674022d401 Revert "Don't close nested jars or wrapper when parent is closed"
This reverts commit 360eb027be.
2 years ago
Stephane Nicoll 3b01325c6b Use asList consistently
Closes gh-32102
2 years ago
Stephane Nicoll 191593cf15 Review Git contribution documentation
Closes gh-31904
2 years ago
Stephane Nicoll e94ddfa589 Polish "Explicit error message if source is not an archive"
See gh-31997
2 years ago
Nils Hartmann a0f273a041 Explicit error message if source is not an archive
This commit split the existing assertion to provide an explicit error
message if the source file is not an archive.

See gh-31997
2 years ago
Stephane Nicoll 2550763669 Upgrade to Undertow 2.2.19.Final
Closes gh-32087
2 years ago
Stephane Nicoll fd89ced078 Upgrade to Spring Security 5.6.7
Closes gh-32039
2 years ago
Phillip Webb 360eb027be Don't close nested jars or wrapper when parent is closed
Update `JarFile` so that the `close()` method no longer closes nested
jars or the wrapper. Prior to this commit it was possible for a parent
jar file to be garbage collected and closed even though references still
existed to the nested jars. When this happened the nested jars would get
closed and any access to entries would result in `JarFile.ensureOpen()`
throwing an `IllegalStateException`. The user would often not see this
exception directly, but rather find `ClassNotFoundException` being
thrown.

Fixes gh-31853
2 years ago
Andy Wilkinson c9e69f555e Test our Gradle plugin against Gradle 7.5.1
Closes gh-32058
2 years ago
Andy Wilkinson 64a3276b78 Upgrade to Dependency Management Plugin 1.0.13.RELEASE
Closes gh-32055
2 years ago
Stephane Nicoll e8c218908c Upgrade to Reactor 2020.0.22
Closes gh-32037
2 years ago
Stephane Nicoll 24c2ed3c78 Start building against Spring Security 5.6.7 snapshots
See gh-32039
2 years ago
Stephane Nicoll 19eb69c1bb Start building against Reactor 2020.0.22 snapshots
See gh-32037
2 years ago
Andy Wilkinson 4a807ebbf4 Upgrade to Groovy 3.0.12
Closes gh-32008
2 years ago
Phillip Webb 2f85ea3a30 Protect against deeply nested maps
Update BasicJsonParser to fix the deeply nested map protection logic.

Fixes gh-32029
2 years ago
Stephane Nicoll 12c1da275b Polish contribution
See gh-32004
2 years ago
Ionascu Stefan Ciprian c441bafe27 Document the DefaultServlet is no longer being enabled by default
See gh-32004
2 years ago
Stephane Nicoll 68b61f574a Upgrade to Netty tcNative 2.0.54.Final
Closes gh-32012
2 years ago
Stephane Nicoll 81c5b5a9fe Upgrade to MySQL 8.0.30
Closes gh-32011
2 years ago
Stephane Nicoll a614c912f6 Upgrade to Micrometer 1.8.9
Closes gh-32010
2 years ago
Stephane Nicoll 6233e0356a Upgrade to Hibernate Validator 6.2.4.Final
Closes gh-32009
2 years ago
Stephane Nicoll f0d61a8db8 Upgrade to Dropwizard Metrics 4.2.11
Closes gh-32007
2 years ago
Andy Wilkinson b905d7f341 Normalize included log output to remove CI-specific details
See gh-28208
2 years ago
Andy Wilkinson 6efa77f3f5 Generate console output examples at build time
Closes gh-28208
2 years ago
Andy Wilkinson 7c0ccdf78c Log allocated port when Livereload server is using an ephemeral port
Closes gh-31983
2 years ago
Andy Wilkinson c500d8e784 Note need to record req start time to use %D with Undertow access log
Closes gh-31103
2 years ago
Andy Wilkinson 591cd0feb3 Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
2 years ago
Andy Wilkinson fa73b73898 Fail build on missing configuration property descriptions
Closes gh-31916
2 years ago
Phillip Webb d540eefce0 Set running to false when stop method is called
Update `WebServerStartStopLifecycle` to change the `running` state when
the `stop()` method is called.

Fixes gh-31966
2 years ago
Phillip Webb 45ad1557c3 Perform LoggingSystem cleanup after web server shutdown
Update `LoggingApplicationListener` so that logging system cleanup is
performed by a `SmartLifecycle` phased after web server shutdown.

Prior to this commit, cleanup occurred on the `ContextClosedEvent` which
was published before Lifecycle beans were stopped. This meant that any
exceptions output during web server shutdown were not logged.

Fixes gh-9457
2 years ago
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2 years ago
Andy Wilkinson c0daede1aa Ensure that jarmode jar added to an app has same SHA as published jar
Closes gh-31862
2 years ago
vilmos 00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2 years ago
Madhura Bhave cc15eb0b96 Configure existing probes at additional path when necessary
Fixes gh-30612
2 years ago
Stephane Nicoll 3a5b40645a Restore support for C3P0
Closes gh-31920
2 years ago
Andy Wilkinson d39e146a7d Polish "Allow config prop annotation processor to find reactive cookie props"
See gh-31912
2 years ago
Kalpesh 1f0d5f1130 Allow config prop annotation processor to find reactive cookie props
See gh-31912
2 years ago
Stephane Nicoll 7d860df5f0 Polish 2 years ago
Andy Wilkinson 348b2c28e9 Improve logging of changes that trigger a DevTools upload or restart
Closes gh-31579
2 years ago
Phillip Webb 9a2ad6d42d Remove references to ConfigFileApplicationListener
Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
2 years ago