Sam Brannen
25778e2f0e
Clean up warnings in tests
2 years ago
Sam Brannen
00dde8bd88
Polishing
2 years ago
Juergen Hoeller
653a631df5
Merge branch '6.0.x'
...
# Conflicts:
# spring-orm/src/main/java/org/springframework/orm/jpa/vendor/HibernateJpaDialect.java
2 years ago
rstoyanchev
3277b0d6ac
Handle STOMP messages to user destination in order
...
Closes gh-31395
2 years ago
Rossen Stoyanchev
9eb39e182e
Polishing
...
See gh-21798
2 years ago
rstoyanchev
a205eab618
Handle STOMP messages from client in order
...
See gh-21798
2 years ago
rstoyanchev
4195e6906c
OrderedMessageChannelDecorator supports multiple subscribers
...
See gh-21798
2 years ago
rstoyanchev
d62d7f5ff1
Polishing
...
See gh-21798
2 years ago
Juergen Hoeller
66ce8c9a25
Properly return SQLExceptionTranslator-provided exception
...
Closes gh-31409
2 years ago
Juergen Hoeller
e76b453685
Translate Hibernate TransactionException through SQLException cause
...
Closes gh-31274
2 years ago
OnlyWick
eafbcfd385
Remove redundant static declaration on Search class
...
Closes gh-31381
2 years ago
Brian Clozel
d1cf71cc70
Merge branch '6.0.x'
2 years ago
Brian Clozel
e9fcb21d55
Refine status KeyValue for HTTP server observations
...
Prior to this commit, a cancelled exchange would always result in an
`"status":"UNKNOWN"` KeyValue. This only applied to reactive variants,
as cancelled exchanges are not currently detected for Servlet
implementations.
In some cases, exchanges can be cancelled by clients before they are
completed, but the response was actually received by the client. The
response status information has been set by the application and the
response has been committed. For those cases, we shouldn't assume an
"UNKNOWN" value.
This commit assumes that committed responses have a response status set
by the application and that the observations should reflect that. From
now on, we only assume an "UNKNOWN" status if the response has not been
commited.
Fixes gh-31388
2 years ago
Arjen Poutsma
c692d7e020
Merge branch '6.0.x'
2 years ago
Arjen Poutsma
ee9dff30c5
Updated Java 17 version in sdkmanrc
2 years ago
Sébastien Deleuze
bbaa35e69e
Merge branch '6.0.x'
2 years ago
Sébastien Deleuze
2158410853
Revert "Support Jackson's DatatypeFeature in Jackson2ObjectMapperBuilder"
...
This reverts commit 5f053401e2a93cd459413cfa3dc70f47727c83cb.
2 years ago
Stéphane Nicoll
dc0d6a41d6
Polish
2 years ago
Stéphane Nicoll
93206c3f6e
Add support for custom locale to render compiler messages
...
Closes gh-31408
2 years ago
Sébastien Deleuze
ae88bbaac3
Reintroduce org.springframework.http.client.reactive.ReactorResourceFactory
...
This commit reintroduces a deprecated ReactorResourceFactory in
org.springframework.http.client.reactive package that extends
the one in org.springframework.http.client package to avoid an
API breaking change and to provide a smoother upgrade experience.
Closes gh-31399
2 years ago
Juergen Hoeller
841448877a
Upgrade to Reactor 2023.0.0-RC1
...
Includes Jetty 12.0.2 and Checkstyle 10.12.4
Closes gh-31406
2 years ago
Juergen Hoeller
38de3d5b57
Merge branch '6.0.x'
...
# Conflicts:
# build.gradle
# framework-platform/framework-platform.gradle
# spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java
2 years ago
Juergen Hoeller
e0a55c2caa
Upgrade to Micrometer 1.10.12 and Reactor 2022.0.12
...
Includes Context Propagation 1.0.6, Netty 4.1.100, Jetty 11.0.17, Tomcat 10.1.14, Groovy 4.0.15, Mockito 5.6, Checkstyle 10.12.4
Closes gh-31404
Closes gh-31405
2 years ago
Juergen Hoeller
0b96da4b6d
Revise javadoc for LifecycleProcessor bean etc
2 years ago
Juergen Hoeller
c0d98fcc7a
Consistent Object result declarations for ResultQuerySpec
...
Closes gh-31403
2 years ago
Juergen Hoeller
de6692e7d8
Merge branch '6.0.x'
...
# Conflicts:
# spring-core/src/main/java/org/springframework/core/annotation/AnnotationTypeMapping.java
2 years ago
Juergen Hoeller
387a16bd4e
Revise transaction annotation recommendations
...
Closes gh-23538
2 years ago
Juergen Hoeller
8b5d993e61
Throw IllegalArgumentException for null SQL String
...
Closes gh-31391
2 years ago
Juergen Hoeller
5459304a4b
Re-introduce support for annotation declarations with self references
...
Closes gh-31400
2 years ago
Juergen Hoeller
d339bbbf91
Remove test for MessageSource access after context close
...
See gh-31397
2 years ago
Brian Clozel
8d6b499cf1
Polish
...
See gh-31398
2 years ago
Stéphane Nicoll
da24c6b346
Merge branch '6.0.x'
2 years ago
Stéphane Nicoll
00d4830e5c
Merge pull request #31396 from wfouche
...
* pr/31396:
Upgrade to gradle-versions-plugin 0.49.0
Closes gh-31396
2 years ago
Werner Fouché
3c2e21a578
Upgrade to gradle-versions-plugin 0.49.0
...
See gh-31396
2 years ago
Stéphane Nicoll
96b32580ec
Handle deprecation warning in AOT-generated code
...
Closes gh-29597
2 years ago
Stéphane Nicoll
ea66883d79
Detect use of deprecated API
...
This commit is a best effort attempt at identifying the members that
code generation invokes and might be deprecated. It introduces
a CodeWarnings helper class that records warnings, with special
handling for `@Deprecated`.
See gh-29597
2 years ago
Stéphane Nicoll
35372e5e72
Simplify InstanceSupplierCodeGeneratorTests
2 years ago
Stéphane Nicoll
4b14a0b42c
Add support for specifying compiler options
...
This commit is a prerequisite to help suppressing deprecating warnings
by allowing tests to validate that the compiler does not encounter them.
See gh-29597
2 years ago
Juergen Hoeller
2754da1742
Reset ApplicationEventMulticaster/MessageSource/LifecycleProcessor on close
...
Closes gh-21988
Closes gh-31397
2 years ago
Juergen Hoeller
a6c27652b8
Revise test for ApplicationListener self injection
...
See gh-28322
2 years ago
Alexander Kriegisch
20c688e68d
Avoid duplicate application listeners (proxy vs. proxy target)
...
In AbstractApplicationEventMulticaster.retrieveApplicationListeners,
despite best efforts to avoid it, unwrapped proxies (singleton targets)
can end up in the list of programmatically registered listeners. In
order to avoid duplicates, we need to find and replace them by their
proxy counterparts, because if both a proxy and its target end up in
'allListeners', listeners will fire twice.
Fixes #28283 .
2 years ago
Alexander Kriegisch
86d52a677a
Regression test for duplicate firing of proxied application listeners
...
ApplicationContextEventTests.eventForSelfInjectedProxiedListenerFiredOnlyOnce
relates to and reproduces #28283 .
2 years ago
Sébastien Deleuze
299a10ce2a
Update `@Since` Java doc tags in ReactorResourceFactory
...
See gh-31399
2 years ago
Sébastien Deleuze
e0ba42a80c
Move ReactorResourceFactory to org.springframework.http.client package
...
Closes gh-31399
2 years ago
Brian Clozel
99c673f3ea
Upgrade to Micrometer 1.12.0-RC1
...
Closes gh-31398
2 years ago
Arjen Poutsma
307a2c7d7b
Polishing external contribution
...
See gh-29985
2 years ago
Jakob Fels
ad50de169c
Provide access to HTTP headers in resource routing
...
This commit adds additional overloaded methods that allow for HTTP
header manipulation of served resources.
Closes gh-29985
2 years ago
Arjen Poutsma
faaf3a61f2
Add FormEvent stream event test
...
Add sample that shows how FormEvents can be used to create a form
submit from a stream of key/value pairs.
See gh-30131
2 years ago
Sébastien Deleuze
298d6e4db0
Fix unused import error in ReactorClientHttpConnector
2 years ago
Sébastien Deleuze
955112be0e
Polish ReactorClientHttpConnector Javadoc
2 years ago