Sébastien Deleuze
e9701a9ce3
Remove support for Aware interfaces in BeanRegistrar
...
Closes gh-34562
1 year ago
Juergen Hoeller
15b251dcd6
Merge branch '6.2.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
1 year ago
Juergen Hoeller
70a1b2fae3
Upgrade to Checkstyle 10.21.4
1 year ago
Juergen Hoeller
90ddb40d7a
Upgrade to Jetty 12.0.17 and Jetty Reactive HttpClient 4.0.9
...
Includes Apache HttpClient 5.4.1, Netty 4.1.119, Jackson 2.18.3, Gson 2.12.1, FreeMarker 2.3.34, Protobuf 4.30, Groovy 4.0.26, Jython 2.7.4, JRuby 9.4.12, Caffeine 3.2, QDox 2.2, Awaitility 4.3, EasyMock 5.5, HtmlUnit 4.10
Closes gh-34561
1 year ago
Sébastien Deleuze
91d0ebe327
Refine BeanRegistryAdapterTests
...
Closes gh-34557
1 year ago
Phillip Webb
789791e186
Allow chained BeanRegistry registration
...
Add a `register(BeanRegistry registry)` method to `BeanRegistry`
to allow registration chaining.
See gh-34557
1 year ago
Sébastien Deleuze
a0e2d3a221
Add support for target type to BeanRegistry
...
Closes gh-34560
1 year ago
Juergen Hoeller
c74f897fac
Merge branch '6.2.x'
...
# Conflicts:
# spring-beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java
1 year ago
Juergen Hoeller
143985e862
Add tests for primary/fallback/defaultCandidate precedence
...
Closes gh-34449
1 year ago
Juergen Hoeller
4bd280b87e
Explain availability and uniqueness (including primary/fallback/default) in javadoc
...
Closes gh-34447
1 year ago
Juergen Hoeller
5877a38fa1
Add explicit note on JSpecify support in Spring Framework 6.2 vs 7.0
...
Closes gh-34551
1 year ago
Yanming Zhou
639af7befa
Add tests to ensure bean definition flag "fallback" take precedence over "defaultCandidate"
...
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
1 year ago
Sam Brannen
86d81632c8
Consistently invoke isNullSafe()
1 year ago
Sam Brannen
80df88bd4f
Clean up warnings in Gradle build
1 year ago
Sam Brannen
15a71f94fb
Merge branch '6.2.x'
1 year ago
Vedran Pavic
94d29bac9f
Fix typo in Spring MVC error responses documentation
...
Closes gh-34552
Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
1 year ago
Sébastien Deleuze
5bd03494d4
Merge branch '6.2.x'
1 year ago
Dmitry Sulman
a6f3f18d89
Allow supertypes in ContentResultMatchersDsl matchers
...
Closes gh-34542
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
1 year ago
Sébastien Deleuze
fda9b9a696
Polishing
...
See gh-18353
1 year ago
Sébastien Deleuze
bedc235bab
Document programmatic bean registration
...
This commit adds the reference documentation for the new programmatic
bean registration capabilities for both Java and Kotlin.
Closes gh-18353
1 year ago
Sébastien Deleuze
682e2d6d84
Introduce BeanRegistrarDsl
...
This commit introduces a new BeanRegistrarDsl that supersedes
BeanDefinitionDsl which is now deprecated.
See BeanRegistrarDslConfigurationTests for a concrete example.
See gh-18353
1 year ago
Sébastien Deleuze
496be9ca98
Introduce first-class support for programmatic bean registration
...
This commit introduces a new BeanRegistrar interface that can be
implemented to register beans programmatically in a concise and
flexible way.
Those bean registrar implementations are typically imported with
an `@Import` annotation on `@Configuration` classes.
See BeanRegistrarConfigurationTests for a concrete example.
See gh-18353
1 year ago
Sam Brannen
aeaf52ee96
Merge branch '6.2.x'
1 year ago
Sam Brannen
8334cb1abb
Revise tests to better express intent
1 year ago
Sam Brannen
e09cdcd920
Remove convention-based annotation attribute override support
...
This commit completely removes all support for convention-based
annotation attribute overrides in Spring's annotation utilities and the
MergedAnnotations infrastructure.
Composed annotations must now use @AliasFor to declare explicit
overrides for attributes in meta-annotations.
See gh-28760
Closes gh-28761
1 year ago
Sam Brannen
d722b9434e
Merge branch '6.2.x'
1 year ago
Sam Brannen
2d88f18bf1
Update Javadoc
1 year ago
Sam Brannen
15a6641677
Clean up warnings in Gradle build
1 year ago
Juergen Hoeller
2a98b3137d
Merge branch '6.2.x'
1 year ago
Juergen Hoeller
63c8e7cb5d
Restore lenient matching of unresolved nested bound
...
Closes gh-34541
1 year ago
Sam Brannen
52e01bbb62
Merge branch '6.2.x'
1 year ago
Sam Brannen
c5ecc50bfe
Document wrapping behavior for TestExecutionListener callbacks
...
Closes gh-34422
1 year ago
Sam Brannen
0fd94f1b9f
Polishing
1 year ago
Sam Brannen
cd4e73a4a3
Fix typos in CloseStatus comments
...
Closes gh-34548
1 year ago
Juergen Hoeller
a605f07100
Merge branch '6.2.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/convert/support/GenericConversionService.java
1 year ago
Juergen Hoeller
2472126475
Add fallback to pre-6.2.3 behavior for unresolvable generics
...
Closes gh-34535
1 year ago
Juergen Hoeller
f3b50c9a58
Ignore null beans in SimpleAutowireCandidateResolver.resolveAutowireCandidates
...
Closes gh-34543
1 year ago
Sam Brannen
5a0848b579
Merge branch '6.2.x'
1 year ago
Sam Brannen
0a6e666857
Ensure GenericTypeResolverTests compiles with Eclipse compiler
1 year ago
Juergen Hoeller
2fbd54078b
Merge branch '6.2.x'
...
# Conflicts:
# spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceHandlerUtils.java
# spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHandlerUtils.java
1 year ago
Juergen Hoeller
403362fe3c
Polishing
1 year ago
Juergen Hoeller
534f123fe8
Add explicit FileSystemResource path check for trailing slash
...
Closes gh-34509
1 year ago
Sam Brannen
ca7ebd60ed
Stop using deprecated ReflectionHintsPredicates.onMethod() on main
1 year ago
Sam Brannen
702c63a7e8
Merge branch '6.2.x'
1 year ago
Sam Brannen
e421104cf3
Supply RuntimeHints to an AotContextLoader
...
This commit introduces a new loadContextForAotProcessing(...) variant
in AotContextLoader which accepts a RuntimeHints argument. This new
method is an interface default method which delegates to the existing
loadContextForAotProcessing(MergedContextConfiguration) variant for
backward compatibility.
In addition, the original loadContextForAotProcessing(...) variant is
now deprecated and has been converted to an interface default method
which throws an UnsupportedOperationException.
Note, however, that the framework now only invokes the new
loadContextForAotProcessing(...) variant within TestContextAotGenerator.
Closes gh-34513
1 year ago
Sam Brannen
adfeba23e0
Polishing
1 year ago
Sam Brannen
955cc2039b
Merge branch '6.2.x'
1 year ago
Sam Brannen
7789e12575
Polishing
1 year ago
Sam Brannen
5ffd88cd89
Remove deprecated rowsExpected property of SqlQuery
...
Closes gh-34530
Co-authored-by: Yanming Zhou <zhouyanming@gmail.com>
1 year ago
Sam Brannen
e9345f16dc
Merge branch '6.2.x'
1 year ago