Commit Graph

12 Commits

Author SHA1 Message Date
Stéphane Nicoll d7c482aa16 Replace @OptionalParameter with JSpecify's @Nullable
This commit removes OptionalParameter in favor of the nullness support
introduced in Spring Framework 7. The parameter of an action can now
be flagged as optional using JSpecify's @Nullable, and simplifies the
setup for those who are using JSpecify as only a single annotation is
required.

Closes gh-45390
2025-09-10 15:01:43 +02:00
Stéphane Nicoll ee83ff5f6a Revert "Only support `@OptionalParameter` annotation with endpoint methods"
This reverts commit 450eb48303.

See gh-47136
2025-09-10 14:31:35 +02:00
Phillip Webb 450eb48303 Only support `@OptionalParameter` annotation with endpoint methods
Remove `@Nullable` support for optional endpoint method parameters in
favor of only supporting `@OptionalParameter`. The annotation processor
now also only supports `@OptionalParameter` detection.

Closes gh-47136
2025-09-09 13:00:50 -07:00
Moritz Halbritter 63adb82145 Merge branch '3.5.x'
Closes gh-47055
2025-09-05 14:17:39 +02:00
Stéphane Nicoll efb80bcdcb Polish "Support additional nullness signal for Actuator endpoints"
See gh-46854
2025-08-19 15:51:09 +02:00
wonyongg 75bcc2e118 Support additional nullness signal for Actuator endpoints
This commit expands the detection of optional parameters for Actuator
Endpoints. Before this commit, JSpecify's `@Nullable` annotation was
not detected.

See gh-46854

Signed-off-by: wonyongg <111210881+wonyongg@users.noreply.github.com>
2025-08-19 15:34:23 +02:00
Stéphane Nicoll ff61cd0eba Merge branch '3.5.x'
Closes gh-46873
2025-08-18 13:58:05 +02:00
Moritz Halbritter c211b88594 Check for @NullMarked on packages
Projects which don't have JSpecify nullability annotations can opt out
by using

architectureCheck {
	nullMarked = false
}

in their build.gradle script.

See gh-46587
2025-08-13 13:27:48 +02:00
Stéphane Nicoll b0a32dd88c Merge branch '3.5.x'
Closes gh-46667
2025-08-04 16:53:50 +02:00
Stéphane Nicoll 61dfa7aea7 Merge branch '3.5.x'
Closes gh-46664
2025-08-04 15:01:33 +02:00
Stéphane Nicoll f36e40c6b6 Merge branch '3.5.x'
Closes gh-46562
2025-07-28 12:53:40 +02:00
Phillip Webb decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00