Stephane Nicoll
37ff9792be
Merge branch '6.0.x'
2023-06-20 17:42:40 +02:00
Stephane Nicoll
089503aab7
Fix typo
2023-06-20 17:32:24 +02:00
Stephane Nicoll
74155e3d88
Do not invoke AspectJ hints generation if AspectJ is not present
...
See gh-28711
2023-06-20 17:26:08 +02:00
Sam Brannen
3344ab909b
Merge branch '6.0.x'
2023-06-20 15:49:13 +02:00
Sam Brannen
564f33d5ef
Polishing
2023-06-20 15:47:41 +02:00
Stephane Nicoll
828b39587f
Merge branch '6.0.x'
2023-06-20 15:21:37 +02:00
Stephane Nicoll
83acd5b050
Document JPA configuration best practices with AOT
...
Closes gh-30498
2023-06-20 15:21:12 +02:00
Sam Brannen
0605172d4d
Merge branch '6.0.x'
...
# Conflicts:
# spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/support/DefaultHandlerExceptionResolver.java
2023-06-20 13:29:06 +02:00
Sam Brannen
67798a7b52
Fix CSS classes in Javadoc HTML tables due to upgrade to Java 17
...
Closes gh-30701
2023-06-20 13:24:03 +02:00
rstoyanchev
089d938e15
Set throwExceptionIfNoHandlerFound=true and deprecate
...
Closes gh-29491
2023-06-19 17:18:09 +01:00
rstoyanchev
c00508d6cf
Raise and handle NoResourceFoundException
...
See gh-29491
2023-06-19 17:18:08 +01:00
Stephane Nicoll
83b0f4f394
Merge branch '6.0.x'
2023-06-19 15:47:26 +02:00
Stephane Nicoll
2b981651e1
Merge pull request #30601 from cwatzl
...
* pr/30601:
Update copyright year of changed file
Flag PathResourceResolver#resolve*Internal as @Nullable
Closes gh-30601
2023-06-19 15:47:12 +02:00
Stephane Nicoll
294cdba80c
Update copyright year of changed file
...
See gh-30601
2023-06-19 15:44:04 +02:00
cwatzl
072a86149d
Flag PathResourceResolver#resolve*Internal as @Nullable
...
See gh-30601
2023-06-19 15:37:16 +02:00
Brian Clozel
09cb844421
Instrument Scheduled methods for observability
...
This commit enhances the `ScheduledAnnotationBeanPostProcessor` to
instrument `@Scheduled` methods declared on beans. This will create
`"tasks.scheduled.execution"` observations for each execution of a
scheduled method. This supports both blocking and reactive variants.
By default, observations are no-ops; developers must configure the
current `ObservationRegistry` on the `ScheduledTaskRegistrar` by using a
`SchedulingConfigurer`.
Closes gh-29883
2023-06-19 08:55:08 +02:00
Juergen Hoeller
842569c9e5
Detect invalid transaction configuration for transactional event listeners
...
Closes gh-30679
2023-06-17 16:13:59 +02:00
Sam Brannen
3568f6c61a
Merge branch '6.0.x'
2023-06-17 13:36:57 +02:00
Sam Brannen
8bb4c167e4
Polishing
...
See gh-30280
2023-06-17 13:36:37 +02:00
Juergen Hoeller
5bf213948c
Merge branch '6.0.x'
...
# Conflicts:
# spring-orm/src/main/java/org/springframework/orm/hibernate5/SpringBeanContainer.java
2023-06-17 11:41:07 +02:00
Juergen Hoeller
dff7aa4d4b
Fall back to type-based creation if no bean of the given name exists
...
Closes gh-30683
2023-06-17 11:38:57 +02:00
Juergen Hoeller
c634acd9ff
Recognize error code 2628 as data integrity violation (MSSQL 2019)
...
Closes gh-30681
2023-06-17 11:38:41 +02:00
Sam Brannen
92c2fb45c7
Merge branch '6.0.x'
2023-06-16 13:40:18 +02:00
Sam Brannen
ed5c19f53e
Document that @Sql requires spring-jdbc & spring-tx on the classpath
...
Closes gh-30280
2023-06-16 13:39:35 +02:00
Sébastien Deleuze
cd9c0e03e7
Merge branch '6.0.x'
2023-06-16 11:35:31 +02:00
Sébastien Deleuze
03420f811b
Add reflection hints for AspectJ advice methods
...
Closes gh-28711
2023-06-16 11:33:57 +02:00
Sam Brannen
2dd34cf967
Clean up warnings in tests
2023-06-15 16:26:34 +02:00
Sam Brannen
a2072de391
Update copyright headers
2023-06-15 16:21:13 +02:00
Sam Brannen
526d9eae7f
Merge branch '6.0.x'
2023-06-15 16:20:19 +02:00
Sam Brannen
4565bcd757
Update copyright headers
2023-06-15 16:19:58 +02:00
Sam Brannen
f22f439a68
Suppress deprecation warning due to upgrade to context-propagation 1.0.3
...
See gh-30657
2023-06-15 16:18:38 +02:00
Sam Brannen
7681d12eb0
Merge branch '6.0.x'
...
# Conflicts:
# gradle.properties
2023-06-15 16:15:17 +02:00
Sam Brannen
5672284f53
Remove code duplication in RootBeanDefinition
2023-06-15 16:11:40 +02:00
Brian Clozel
b077ae9259
Configure local JDK toolchains in CI staging job
2023-06-15 14:01:06 +02:00
Spring Builds
367f381fea
Next development version (v6.0.11-SNAPSHOT)
2023-06-15 08:31:33 +00:00
Juergen Hoeller
362e189aa5
Adapt UserController example to current ServerRequestObservationContext
...
See gh-30013
2023-06-14 22:48:40 +02:00
Juergen Hoeller
96ae03b48f
Merge branch '6.0.x'
2023-06-14 22:27:55 +02:00
Juergen Hoeller
b9221656cc
Declare ClassLoader for DeserializingConverter constructor as nullable
...
Closes gh-30670
2023-06-14 22:27:07 +02:00
Juergen Hoeller
c30f6aa427
Polishing
2023-06-14 22:17:39 +02:00
Juergen Hoeller
c276e5b679
Consistent use of 6.1 as generational version number
2023-06-14 21:58:45 +02:00
Juergen Hoeller
f00a8cb3a3
Remove ServerWebExchange dependency in ServerRequestObservationContext
...
Avoiding cycle between http.server and web.server packages.
See gh-30013
2023-06-14 21:57:27 +02:00
Juergen Hoeller
220995b830
Move HandlerMethodValidator to web.method.annotation package
...
Avoiding cycle between web.method.support and web.method.annotation packages.
See gh-29825
2023-06-14 21:52:55 +02:00
Juergen Hoeller
e344f3f869
Consistent treatment of new Spring system properties
...
See gh-30606
See gh-30571
2023-06-14 18:27:06 +02:00
Sébastien Deleuze
517a073f33
Use spring.native.precompute.log system property
...
This commit changes the Java system property used to
control PreComputeFieldFeature verbose logging from
spring.aot.precompute to spring.native.precompute.log
in order to clarify its purpose and avoid confusion
with AOT processing of JVM bytecode or Java sources.
See gh-30571
2023-06-14 17:58:08 +02:00
rstoyanchev
dcba9475ba
Allow custom ProblemDetail in ErrorResponse.Builder
...
Closes gh-30568
2023-06-14 16:48:35 +01:00
rstoyanchev
2e43412a82
Polishing in DefaultErrorResponseBuilder
...
Closes gh-30566
2023-06-14 16:48:35 +01:00
rstoyanchev
48861b67dd
Add "title" message code to ErrorResponse.Builder
...
See gh-30566
2023-06-14 16:30:15 +01:00
rstoyanchev
61eaa9333b
Polishing in ErrorResponse
...
See gh-30566
2023-06-14 16:30:15 +01:00
rstoyanchev
9c7b5cb3f5
Add ProblemDetail "type" message code
...
See gh-30566
2023-06-14 16:30:15 +01:00
Sam Brannen
53828cbfad
Merge branch '6.0.x'
2023-06-14 14:39:06 +02:00