Commit Graph

192 Commits (ef40d9ebe2481303c95b18c52e4728c4fbea2987)

Author SHA1 Message Date
Stephane Nicoll 89066b4d1e Merge branch '3.0.x' into 3.1.x
Closes gh-36529
1 year ago
Stephane Nicoll 73cc54ad34 Prevent PostConstruct to be used in production code
Closes gh-36528
1 year ago
Andy Wilkinson e12ae5add5 Merge branch '3.0.x' into 3.1.x
Closes gh-35865
1 year ago
Andy Wilkinson bdbbbc6470 Merge branch '2.7.x' into 3.0.x
Closes gh-35864
1 year ago
Andy Wilkinson 984dc1d58f Allow package-private main classes to be used with Devtools
Fixes gh-35858
1 year ago
Phillip Webb 8427e813af Support import of idomatic testcontainer declaration classes
Add an `@ImportTestcontainers` annotation which can be used to import
idomatic testcontainer declaration classes.

Closes gh-35245
2 years ago
Mortitz Halbritter 842e17eced Add Docker Compose support
Add `spring-boot-docker-compose` module with service connection
support.

Closes gh-34747

Co-authored-by: Phillip Webb <pwebb@vmware.com>
Co-authored-by: "Andy Wilkinson <wilkinsona@vmware.com>
2 years ago
Scott Frederick 5817c8441d Allow image Created date to be configurable
A `createdDate` option on the Maven `spring-boot:build-image` goal
and the Gradle `bootBuildImage` task can be used to set the `Created`
metadata field on a generated OCI image to a specified date or to
the current date.

Closes gh-28798
2 years ago
Phillip Webb 01e8c42c16 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 66016921c6 Merge branch '2.7.x' into 3.0.x 2 years ago
Phillip Webb 3651ba348d Fix checkstyle test violations 2 years ago
Moritz Halbritter 94f4a4396c Merge branch '2.7.x'
Closes gh-33880
2 years ago
Moritz Halbritter e8d809fe65 Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
2 years ago
Phillip Webb e5a0b164ac Configure MeterBinders after beans have been created
Update `MeterRegistryPostProcessor` to configure `MeterRegistry` beans
in two distinct sweeps. The first sweep applies customizers and filters
as the `MeterRegistry` bean is initialized, the second sweep applies
`MeterBinder` beans once all singletons have been instantiated.

Prior to this commit, it was not possible for a `MeterBinder` bean to
directly or indirectly use a `MeterRegistry`. It was also possible for
bound meters to cause a deadlock during refresh processing if those
meters could be updated on a thread other than main, such as GC
notifications.

Fixes gh-30636
Fixes gh-33070
2 years ago
Moritz Halbritter 85fd475821 Add noop tracer bean if tracing is disabled
The new functionality doesn't expose any public API
and works the same as WebTestClientContextCustomizer
does.

Closes gh-32907
2 years ago
Phillip Webb 73a34b6c0a Fix checkstyle issues
See gh-32582
2 years ago
Andy Wilkinson 1d78100ba8 Fix Checkstyle suppressions on Windows 2 years ago
Andy Wilkinson 4a76fbf93c Support logback.xml in a native image
Closes gh-32756
2 years ago
Bertolt Meier 647a2905c8 Add checkstyle rule for List.of() / Set.of() / Map.of()
This commits adds a checkstyle rule to not use List.of(), Set.of()
and Map.of(), preferring Collections.emptyList(), emptySet(), and
emptyMap() respectively.

It replaces usages of these methods across the codebase.

See gh-32655
2 years ago
Andy Wilkinson 3eb3d79104 Log condition evaluation report during AOT processing
Closes gh-32109
2 years ago
Andy Wilkinson 8e35f2ae92 Separate report logging from context initialization and events
See gh-32109
2 years ago
Andy Wilkinson 98dbabda08 Require since attribute when marking API as deprecated
Closes gh-32612
2 years ago
Andy Wilkinson 0bfa9cd704 Upgrade to Logback 1.4 and SLF4J 2.0
Closes gh-12649
2 years ago
Andy Wilkinson 0857cae943 Merge branch '2.7.x'
Closes gh-31952
2 years ago
Andy Wilkinson 0dde4278db Merge branch '2.6.x' into 2.7.x
Closes gh-31951
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 a6333f5e67 Merge branch '2.7.x'
Closes gh-31817
2 years ago
Andy Wilkinson 13431745e0 Merge branch '2.6.x' into 2.7.x
Closes gh-31816
2 years ago
Andy Wilkinson 5afa04f3cd Remove redundant Checkstyle suppression
Closes gh-30131
2 years ago
Andy Wilkinson 003f747e77 Merge branch '2.7.x'
Closes gh-31170
3 years ago
Andy Wilkinson e617035dba Merge branch '2.6.x' into 2.7.x
Closes gh-31167
3 years ago
Andy Wilkinson 3e7bd582a3 Upgrade to Spring Java Format 0.0.33
Closes gh-31166
3 years ago
Andy Wilkinson 770cb840c3 Use more flexible SpringFactoriesLoader
Closes gh-30235

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
3 years ago
Scott Frederick 7e089a6b81 Remove support for embedded MongoDB
This commit removes auto-configuration and dependency management
for Flapdoodle embedded MongoDB in favor of the Spring Boot support
provided by Flapdoodle.

Closes gh-30863
3 years ago
Andy Wilkinson 4a030343d3 Merge branch '2.7.x' 3 years ago
Andy Wilkinson c61cd7761e Merge branch '2.6.x' into 2.7.x
Closes gh-30883
3 years ago
Andy Wilkinson 5258cd2814 Merge branch '2.5.x' into 2.6.x
Closes gh-30882
3 years ago
Andy Wilkinson 0e7c3547dd Prohibit usage of Micrometer nullability annotations
Closes gh-30881
3 years ago
Andy Wilkinson fac2430dff Merge branch 'gh-30358' 3 years ago
Guirong Hu dfafccaba5 Add failure analyzer for missing web factory bean
See gh-30358
3 years ago
Andy Wilkinson 3de024594f Merge branch '2.7.x' 3 years ago
Andy Wilkinson 64888b0deb Merge branch '2.6.x' into 2.7.x
Closes gh-30433
3 years ago
Andy Wilkinson 35d8f1dcdd Merge branch '2.5.x' into 2.6.x
Closes gh-30431
3 years ago
Andy Wilkinson c087d609a0 Polish "Prevent imports of null-safety annotations"
See gh-30406
3 years ago
Yanming Zhou 0e99c57f8e Prevent imports of null-safety annotations
See gh-30406
3 years ago
Moritz Halbritter 44beceffaf Merge branch '2.7.x' 3 years ago
Moritz Halbritter 96ce8d842e Merge branch '2.6.x' into 2.7.x
Closes gh-29729
3 years ago
Moritz Halbritter 44ff29c4d4 Merge branch '2.5.x' into 2.6.x
Closes gh-29728
3 years ago
Moritz Halbritter 096ba72a39 Add documentation for WebMvc.fn
See gh-29683
3 years ago
Stephane Nicoll 41fb9cf562 Merge branch '2.7.x' 3 years ago