Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2024-03-26 15:39:18 +01:00
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2024-03-26 09:46:34 +01:00
Sébastien Deleuze
dea31dd55e
Refine null-safety in spring-messaging
...
See gh-32475
2024-03-25 12:24:53 +01:00
Sébastien Deleuze
06b91c4ea5
Refine null-safety in spring-jms
...
See gh-32475
2024-03-25 11:28:00 +01:00
Sébastien Deleuze
a63ebe7e9d
Refine null-safety in spring-web and spring-websocket
...
See gh-32475
2024-03-25 11:02:44 +01:00
Stéphane Nicoll
c4b615052e
Merge pull request #32517 from izeye
...
* pr/32517:
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
Closes gh-32517
2024-03-24 09:23:05 +01:00
Johnny Lim
dca5f1dcd8
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
...
See gh-32517
2024-03-24 09:21:36 +01:00
Sébastien Deleuze
a16e8c34b2
Refine null-safety in spring-webmvc
...
See gh-32475
2024-03-22 17:44:35 +01:00
Sam Brannen
52b8c71dcd
Retain null-safe syntax in AST representation of selection & projection
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of the selection and projection
operators.
To address this, this commit implements isNullSafe() in Projection and
Selection.
Closes gh-32515
2024-03-22 17:05:48 +01:00
Sam Brannen
f941754db6
Introduce isNullSafe() in SpelNodeImpl
...
Prior to this commit, MethodReference and PropertyOrFieldReference
already defined local isNullSafe() methods, but we need identical
methods in Selection, Projection, and Indexer, and we may potentially
need null-safe support for additional operators in the future.
To address the common need for an is-null-safe check, this commit
introduces an isNullSafe() method in SpelNodeImpl with a default
implementation that returns false.
Closes gh-32516
2024-03-22 16:37:08 +01:00
Sam Brannen
d4495a5654
Revise PropertyOrFieldReference since isNullSafe() is not final
2024-03-22 16:37:08 +01:00
Stéphane Nicoll
c7c61e13e1
Merge pull request #32514 from izeye
...
* pr/32514:
Apply UnnecessarySemicolonInEnumeration Checkstyle module
Closes gh-32514
2024-03-22 16:31:54 +01:00
Johnny Lim
4d722414da
Apply UnnecessarySemicolonInEnumeration Checkstyle module
...
This commit also fixes its violation.
See gh-32514
2024-03-22 16:30:06 +01:00
Sébastien Deleuze
87dfa492af
Refine null-safety in spring-webflux
...
See gh-32475
2024-03-22 16:05:17 +01:00
Sébastien Deleuze
cf9033a60d
Polishing
2024-03-22 16:04:03 +01:00
Sébastien Deleuze
1e80694daf
Fix a regression with Kotlin generic controllers
...
This commit reintroduces a more defensive parameter type check that
skips KClass casting for generic parameters.
Closes gh-32510
2024-03-21 17:55:57 +01:00
Stéphane Nicoll
e17c3d3be4
Upgrade actions that use deprecated features
2024-03-20 10:16:09 +01:00
Sébastien Deleuze
2e98a8a2a4
Refine null-safety in spring-expression
...
See gh-32475
2024-03-20 10:07:56 +01:00
Stéphane Nicoll
592f23674d
Merge pull request #32494 from qww1552
...
* pr/32494:
Fix link to vavr in the reference guide
Closes gh-32494
2024-03-20 10:01:47 +01:00
Minsung Oh
0b3a05b463
Fix link to vavr in the reference guide
...
See gh-32494
2024-03-20 09:48:00 +01:00
Sam Brannen
ef02f0bad8
Wrap InvalidMimeTypeException in HttpMediaTypeNotAcceptableException
...
The fix for #31254 resulted in an InvalidMimeTypeException being thrown
by MimeTypeUtils.sortBySpecificity() instead of an
IllegalArgumentException. However, InvalidMimeTypeException extends
IllegalArgumentException. Consequently, the change from
IllegalArgumentException to InvalidMimeTypeException did not result in
the desired effect in HeaderContentNegotiationStrategy.
HeaderContentNegotiationStrategy.resolveMediaTypes() still allows the
InvalidMimeTypeException to propagate as-is without wrapping it in an
HttpMediaTypeNotAcceptableException.
To address this issue, this commit catches InvalidMediaTypeException
and InvalidMimeTypeException in HeaderContentNegotiationStrategy and
wraps the exception in an HttpMediaTypeNotAcceptableException.
See gh-31254
See gh-31769
Closes gh-32483
2024-03-19 15:51:27 +01:00
Sam Brannen
836a0b3a40
Polishing
2024-03-19 14:19:01 +01:00
Sam Brannen
09f210f5f7
Polish wording in reference manual
2024-03-19 14:15:19 +01:00
Sébastien Deleuze
aa0fb97ba5
Nullability refinements
...
See gh-32475
2024-03-19 13:32:13 +01:00
Sébastien Deleuze
71a117c0fd
Document AOT limitations related to Kotlin backticks
...
Closes gh-32487
2024-03-19 11:03:56 +01:00
Juergen Hoeller
bd27ddf83a
Polishing (aligned with main)
2024-03-19 10:05:32 +01:00
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2024-03-19 09:58:44 +01:00
Juergen Hoeller
cd7ba1835c
Propagate JMS IllegalStateException from commit/rollbackIfNecessary
...
Closes gh-32473
2024-03-18 16:03:13 +01:00
Juergen Hoeller
5dc6a16c0b
Nullability refinements
...
See gh-32475
2024-03-18 16:03:00 +01:00
Sam Brannen
42a4f28962
Avoid unnecessary Annotation array cloning in TypeDescriptor
...
Closes gh-32476
2024-03-18 15:17:04 +01:00
Brian Clozel
521d4f24d0
Remove flaky test in JMS observation
...
There is no way to consistently test this use case because listener
container implementations have different behavior for unhandled errors
and might retry or close the container altogether.
See gh-32458
2024-03-18 14:35:42 +01:00
Stéphane Nicoll
039cbb3466
Merge pull request #32474 from izeye
...
* pr/32474:
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
Closes gh-32474
2024-03-18 14:10:58 +01:00
Johnny Lim
d50c94fca9
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
...
See gh-32474
2024-03-18 14:08:59 +01:00
Brian Clozel
c1424acb94
Fix flaky test in JMS observability
...
See gh-32458
2024-03-18 12:17:57 +01:00
Juergen Hoeller
36d1bc57d7
Upgrade to Checkstyle 10.14.2
2024-03-17 20:54:54 +01:00
Juergen Hoeller
b1c3b6e34b
Restore original toString representation (revert accidental backport)
...
See gh-32405
2024-03-17 20:42:29 +01:00
Juergen Hoeller
eb8b7c4331
Remove superfluous @NonNull declarations
2024-03-16 14:22:17 +01:00
Juergen Hoeller
58bd057a24
Avoid cloning empty Annotation array in TypeDescriptor (backport)
...
Closes gh-32405
2024-03-16 14:21:34 +01:00
Brian Clozel
a78704af24
Record unhanlded JMS exceptions as observation errors
...
Prior to this commit, when using the `DefaultMessageListenerContainer`
as a backing listener container for JMS messages, the instrumentation
would not record JMS exceptions as observation errors when they were not
handled by configured `ErrorHandler`.
This commit ensures that this is the case.
Fixes gh-32458
2024-03-15 22:45:36 +01:00
Juergen Hoeller
d2000efbd8
Polishing
2024-03-15 21:17:01 +01:00
Juergen Hoeller
c23fd784a0
Consistently apply TaskDecorator to ManagedExecutorService as well
...
Closes gh-32455
2024-03-15 21:16:37 +01:00
Stéphane Nicoll
68a3993897
Merge pull request #32446 from LinorDolev
...
* pr/32446:
Polish "Fix default strategy description of ProblemDetail error codes"
Fix default strategy description of ProblemDetail error codes
Closes gh-32446
2024-03-15 08:28:19 +01:00
Stéphane Nicoll
dfc1b839f3
Polish "Fix default strategy description of ProblemDetail error codes"
...
See gh-32446
2024-03-15 08:27:59 +01:00
Linor Dolev
302c24aaa8
Fix default strategy description of ProblemDetail error codes
...
See gh-32446
2024-03-15 08:02:20 +01:00
Stéphane Nicoll
7357812b4e
Polish "Only include production branches for docs deployment"
...
See gh-32434
2024-03-14 17:47:12 +01:00
Stéphane Nicoll
30087e1aea
Only include production branches for docs deployment
...
Closes gh-32434
2024-03-14 17:42:02 +01:00
Stéphane Nicoll
cd5758e610
Restore CI execution per commit
...
As scheduled only works on the base branch anyway
See gh-32436
2024-03-14 15:28:23 +01:00
Stéphane Nicoll
b82a0dd31a
Polish "Move CI and snapshot deployment to GitHub actions"
...
See gh-32436
2024-03-14 15:16:02 +01:00
Stéphane Nicoll
b7280400ee
Move CI and snapshot deployment to GitHub actions
...
Closes gh-32436
2024-03-14 15:01:26 +01:00
Spring Builds
a3345920ec
Next development version (v6.1.6-SNAPSHOT)
2024-03-14 09:58:35 +00:00