Sébastien Deleuze
8feb8198fe
Merge branch '6.0.x'
1 year ago
Sébastien Deleuze
da7b68a643
Support Kotlin Serialization custom serializers
...
This commit updates WebMVC converters and WebFlux
encoders/decoders to support custom serializers
with Kotlin Serialization when specified via
a custom SerialFormat.
It also turns the serializers cache to a non-static
field in order to allow per converter/encoder/decoder
configuration.
Closes gh-30870
1 year ago
Brian Clozel
c97def0b98
Merge branch '6.0.x'
1 year ago
Brian Clozel
e83793ba7f
Batch SSE events writes when possible
...
Prior to this commit, the `SseEventBuilder` would be used to create SSE
events and write them to the connection using the `ResponseBodyEmitter`.
This would send each data item one by one, effectively writing and
flushing to the network for each. Since multiple data lines are prepared
by the `SseEventBuilder`, a typical write of an SSE event performs
multiple flushes operations.
This commit adds a method on `ResponseBodyEmitter` to perform batch
writes (given a `Set<DataWithMediaType>`) and only flush once all
elements of the set have been written.
This also applies in case of early writes, where now all buffered
elements are written then flushed altogether.
Fixes gh-30912
1 year ago
Juergen Hoeller
4e863c5a75
Merge branch '6.0.x'
1 year ago
Juergen Hoeller
18966d048c
Consistent equals/hashCode style (and related polishing)
1 year ago
Juergen Hoeller
a6ff95a69c
Restore restrictive getTypeForFactoryBeanFromAttributes check
...
See gh-29799
See gh-30987
1 year ago
Juergen Hoeller
f7c3e6480a
Merge branch '6.0.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanFactory.java
1 year ago
Juergen Hoeller
7e6612a920
Sort multiple @Autowired methods on same bean class via ASM
...
Closes gh-30359
1 year ago
Juergen Hoeller
9333ed22f6
Avoid repeated FactoryBean targetType check
...
See gh-30987
1 year ago
Juergen Hoeller
d868f58e6e
Merge branch '6.0.x'
...
# Conflicts:
# spring-beans/src/test/java/org/springframework/beans/factory/annotation/LookupAnnotationTests.java
1 year ago
Juergen Hoeller
4b6fabbd2f
Polishing
1 year ago
Juergen Hoeller
cba2b6eaf4
Check FactoryBean targetType for generic type as well
...
Closes gh-30987
1 year ago
Juergen Hoeller
84b3335e71
Apply array editor to collection of same element type as well
...
Closes gh-24845
1 year ago
Juergen Hoeller
c3e18bc173
Retain metadata during bean creation even with cacheBeanMetadata=false
...
Closes gh-23795
Closes gh-25749
1 year ago
Sébastien Deleuze
c942c04aa0
Support resource bundle custom file extensions
...
This commit allows to configure custom file
extensions in ReloadableResourceBundleMessageSource
thanks to a new setFileExtensions setter.
Combined with setPropertiesPersister, it allows
custom implementations supporting any kind of
property file.
Closes gh-18990
1 year ago
rstoyanchev
ad80b94e14
Allow BindParam on a field
...
See gh-30947
1 year ago
Sam Brannen
34747baed0
Fix broken links to AOT sections
1 year ago
rstoyanchev
8513ec7440
Update documentation for data binding improvements
...
Closes gh-30952
1 year ago
Sam Brannen
7c5b2db5bf
Suppress warnings in tests
1 year ago
Sam Brannen
2e07a72119
Delete duplicate DummyFactory
1 year ago
Sam Brannen
9ba5622efd
Update outdated Javadoc for PathPatternParser.defaultInstance
...
Spring Framework 6.0 changed the default value of
matchOptionalTrailingSeparator from true to false.
Closes gh-30976
1 year ago
Sam Brannen
3ff81a47c9
Polish PathPatternParser
1 year ago
Sam Brannen
dcec61ab7a
Remove obsolete dependency on picocli
...
The dependency on picocli was removed from the code in commit 019785a72e
.
This commit removes the dependency management from the build.
See gh-28825
1 year ago
Philippe Marschall
4922e0e439
Give spring-core access to org.jboss.vfs for VfsUtils support on WildFly
...
This commit gives spring-core access to the org.jboss.vfs module to make
VfsUtils work out of the box on WildFly 28+.
Closes gh-30973
1 year ago
Juergen Hoeller
7adacd5ce5
Upgrade to Netty 4.1.96
1 year ago
Juergen Hoeller
08d89f7aac
Avoid Aalto XML parser override
1 year ago
Juergen Hoeller
d250a5155a
Consistent dependency declarations
1 year ago
Juergen Hoeller
52176edcbf
Polishing
1 year ago
Juergen Hoeller
ae279eaced
Polishing
1 year ago
Juergen Hoeller
18e72d5c01
Always use given fallback producer in case of TypeBootstrapContext
...
Closes gh-30924
1 year ago
Sam Brannen
148f5c459e
Update copyright headers
1 year ago
Rossen Stoyanchev
667eb42a63
Polishing
...
See gh-30952
1 year ago
Sam Brannen
bd23798323
Polish Javadoc for PropertySourceDescriptor
1 year ago
Sam Brannen
961084dfe0
Merge branch '6.0.x'
1 year ago
Sam Brannen
3e5aa8d734
Fail on error by default during test AOT processing
...
Prior to this commit, if an error was encountered during build-time AOT
processing, the error was logged at WARN/DEBUG level, and processing
continued.
With this commit, test AOT processing now fails on error by default. In
addition, the `failOnError` mode can be disabled by setting the
`spring.test.aot.processing.failOnError` Spring/System property to
`false`.
Closes gh-30977
1 year ago
Sam Brannen
1bfcaecc9b
Polishing
1 year ago
Stephane Nicoll
eed14214b5
Document 'preferredConstructors' attribute escape hatch with AOT
...
See gh-30917
1 year ago
Sam Brannen
4b7d1e3a2c
Delete duplicate DummyFactory
1 year ago
Sam Brannen
08a99e275e
Merge branch '6.0.x'
1 year ago
Sam Brannen
44d14811d3
Suppress deprecation warnings in test fixtures
1 year ago
Sam Brannen
900ee11f3b
Merge branch '6.0.x'
1 year ago
Sam Brannen
89b85c81a7
Polishing
1 year ago
Sam Brannen
51aaaae94e
Merge branch '6.0.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
1 year ago
Sam Brannen
aa10d23de4
Merge branch '6.0.x'
1 year ago
Juergen Hoeller
10610a6f54
Merge branch '6.0.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
1 year ago
Juergen Hoeller
5e26786bab
Fix malformed javadoc
1 year ago
Juergen Hoeller
3b1af692cc
Merge branch '6.0.x'
...
# Conflicts:
# spring-beans/spring-beans.gradle
# spring-context/spring-context.gradle
# spring-orm/spring-orm.gradle
# spring-test/spring-test.gradle
# spring-web/spring-web.gradle
# spring-webflux/spring-webflux.gradle
1 year ago
Juergen Hoeller
b9ae996dfc
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/spring-context.gradle
# spring-context/src/main/java/org/springframework/context/event/SimpleApplicationEventMulticaster.java
# spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java
# spring-orm/src/main/java/org/springframework/orm/hibernate5/SpringBeanContainer.java
# spring-test/spring-test.gradle
# spring-webmvc/spring-webmvc.gradle
1 year ago
Juergen Hoeller
2d50b758c4
Deprecate applyBeanPostProcessorsBefore/AfterInitialization
...
Closes gh-30974
1 year ago