Commit Graph

16 Commits

Author SHA1 Message Date
Dmytro Nosan bc2ca5b9fc Extend ArchitectureCheck with NullMarkedExtension
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.

See gh-47596

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-15 08:23:47 +02:00
Phillip Webb 8f89bd304f Polish code to fix warnings 2025-10-14 21:51:25 -07:00
Stéphane Nicoll 5011f2f40b Upgrade to Lombok 1.18.42
Closes gh-47575
2025-10-13 11:40:38 +02:00
Stéphane Nicoll f10b80cf6f Merge branch '3.5.x'
Closes gh-47480
2025-10-10 14:25:04 +02:00
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