Sam Brannen
892a5cdca6
Upgrade to AspectJ 1.9.23
...
This commit upgrades the build to use AspectJ 1.9.23 which provides
support for JDK 23.
Closes gh-34598
2025-03-15 17:13:02 +01:00
Sam Brannen
ae13eac86b
Merge branch '6.2.x'
2025-03-14 18:06:14 +01:00
Sam Brannen
ec488282a8
Upgrade to JUnit 5.12.1
2025-03-14 18:03:23 +01:00
Juergen Hoeller
057742f27a
Remove Netty 5 support
...
See gh-34345
2025-03-12 12:55:31 +01:00
Juergen Hoeller
387677eae8
Upgrade to JUnit 5.12
...
Closes gh-34416
2025-03-12 12:46:34 +01:00
Brian Clozel
f55fe79805
Remove Link to Jackson javadoc
...
The javadoc is not published by the team anymore and we should not link
to an outdated version.
2025-02-27 14:52:18 +01:00
Brian Clozel
68e9460e9b
Revisit compiler configuration in project build
...
This commit revisit the build configuration to enforce the following:
* A single Java toolchain is used consistently with a recent Java
version (here, Java 23) and language level
* the main source is compiled with the Java 17 "-release" target
* Multi-Release classes are compiled with their respective "-release"
target. For now, only "spring-core" ships Java 21 variants.
Closes gh-34507
2025-02-27 14:39:43 +01:00
Sam Brannen
34129f3f89
Upgrade to JUnit 5.12
...
Closes gh-34416
2025-02-23 17:38:04 +01:00
Sébastien Deleuze
e49d2da443
Upgrade to Error Prone 2.36.0
...
Closes gh-34396
2025-02-10 12:09:19 +01:00
Sam Brannen
86b04b7b69
Merge branch '6.2.x'
2025-01-24 15:34:10 +01:00
Sam Brannen
683733a682
Link to AspectJ "runtime-api" Javadoc site
...
The AspectJ team has confirmed that the following Javadoc site hosts
the latest version (currently 1.9.22.1) of the runtime API for AspectJ,
generated with a modern version of the javadoc tool which generates the
element-list file required by the Spring Framework build.
https://eclipse.dev/aspectj/doc/latest/runtime-api/
See https://github.com/eclipse-aspectj/aspectj/issues/321
See gh-34293
2025-01-24 15:33:24 +01:00
Sam Brannen
a257697775
Merge branch '6.2.x'
2025-01-21 11:32:11 +01:00
Sam Brannen
15b1310470
Link to AspectJ runtime 1.9.22.1 Javadoc site
...
Closes gh-34293
2025-01-21 11:31:14 +01:00
Sébastien Deleuze
52f325db82
Fix javadoc Gradle task
...
This commit refines the javadoc options and removes aspectj broken link.
See gh-34220
2025-01-09 17:28:09 +01:00
Sébastien Deleuze
185537d469
Refine jsr305 dependency management
...
See gh-28797
2024-12-26 14:13:17 +01:00
Sam Brannen
bf06d74879
Merge branch '6.2.x'
2024-12-21 16:03:43 +01:00
Sam Brannen
99cb6ba0a7
Upgrade to Gradle 8.12
2024-12-21 16:02:15 +01:00
Sébastien Deleuze
bc5d771a06
Switch to JSpecify annotations
...
This commit updates the whole Spring Framework codebase to use JSpecify
annotations instead of Spring null-safety annotations with JSR 305
semantics.
JSpecify provides signficant enhancements such as properly defined
specifications, a canonical dependency with no split-package issue,
better tooling, better Kotlin integration and the capability to specify
generic type, array and varargs element null-safety. Generic type
null-safety is not defined by this commit yet and will be specified
later.
A key difference is that Spring null-safety annotations, following
JSR 305 semantics, apply to fields, parameters and return values,
while JSpecify annotations apply to type usages. That's why this
commit moves nullability annotations closer to the type for fields
and return values.
See gh-28797
2024-12-19 11:07:23 +01:00
Sam Brannen
c75887c20d
Merge branch '6.2.x'
2024-12-16 15:01:21 +01:00
Sam Brannen
b0fcde9aa3
Upgrade to JUnit 5.11.4
...
Closes gh-34095
2024-12-16 14:42:30 +01:00
Juergen Hoeller
5e549da75f
Use Log4j 3.0.0 beta 3 for testing
...
See gh-32459
2024-12-12 19:15:27 +01:00
Juergen Hoeller
3db1b94465
Replace spring-jcl with regular Apache Commons Logging 1.3
...
Closes gh-32459
2024-12-12 17:37:11 +01:00
Brian Clozel
431d726dc6
Use Jakarta 11 javadoc link
...
See gh-33918
2024-11-29 09:44:27 +01:00
Sam Brannen
1784ccb200
Upgrade to JUnit 5.11.3
...
Closes gh-33764
2024-10-21 16:58:14 +02:00
Sam Brannen
21d80dd849
Upgrade to JUnit 5.11.2
2024-10-04 15:39:00 +02:00
Sam Brannen
17f319b957
Upgrade to JUnit 5.11.1
2024-09-25 11:33:29 +02:00
Sam Brannen
6da114054e
Update comment
2024-09-24 15:49:35 +02:00
Sam Brannen
66a518abd5
Merge branch '6.1.x'
2024-09-24 12:23:47 +02:00
Sam Brannen
88905ea20d
Upgrade to Apache HttpClient 5.4
...
This commit also updates the external Javadoc link to avoid the following
warning in the build.
URL https://hc.apache.org/httpcomponents-client-5.2.x/current/httpclient5/apidocs/package-list was redirected to https://hc.apache.org/httpcomponents-client-5.4.x/current/httpclient5/apidocs/package-list
Closes gh-33587
2024-09-24 12:20:44 +02:00
Stéphane Nicoll
bbfc3364e1
Merge branch '6.1.x'
2024-07-24 11:45:49 +02:00
Stéphane Nicoll
bcdc991838
Switch to Shadow plugin fork
...
This commit fixes to a fork of the shadow plugin that fixes support
with recent Gradle releases.
See https://github.com/johnrengelman/shadow/pull/876
2024-07-24 11:42:54 +02:00
Stéphane Nicoll
589f17f48b
Polish "Upgrade XJC processing to com.github.bjornvester.xjc"
...
See gh-33264
2024-07-24 11:42:25 +02:00
Stéphane Nicoll
1bc71824ea
Merge branch '6.1.x'
2024-05-22 14:46:33 +02:00
Stéphane Nicoll
39dd1e4049
Remove outdated Javadoc links
...
Closes gh-32872
2024-05-22 14:40:25 +02:00
Stéphane Nicoll
8568aa691c
Stop linking to Websphere's Javadoc
...
Closes gh-32581
2024-04-05 15:57:58 +02:00
Stéphane Nicoll
583dc04986
Merge branch '6.1.x'
2024-04-05 15:57:39 +02:00
Stéphane Nicoll
749d7671a0
Stop linking to Websphere's Javadoc
...
Closes gh-32581
2024-04-05 15:54:41 +02:00
Sébastien Deleuze
4c7735016b
Refine null-safety with NullAway build-time checks
...
This commit introduces null-safety checks for spring-core at build-time
in order to validate the consistency of Spring null-safety annotations
and generate errors when inconsistencies are detected during a build
(similar to what is done with Checkstyle).
In order to make that possible, this commit also introduces a new
org.springframework.lang.Contract annotation inspired from
org.jetbrains.annotations.Contract, which allows to specify semantics
of methods like Assert#notNull in order to prevent artificial
additional null checks in Spring Framework code base.
This commit only checks org.springframework.core package, follow-up
commits will also extend the analysis to other modules, after related
null-safety refinements.
See gh-32475
2024-03-19 16:30:32 +01:00
Sébastien Deleuze
db826551a6
Upgrade to Dokka 1.9.20
...
Closes gh-32374
2024-03-05 10:31:29 +01:00
Sam Brannen
b737f36f39
Upgrade to JUnit 5.10.2
2024-02-04 14:00:56 +01:00
Werner Fouché
f4b3c768e8
Upgrade to gradle-versions-plugin 0.51.0
...
See gh-32123
2024-01-26 06:39:03 +01:00
Werner Fouché
aacb7e1604
Upgrade to gradle-versions-plugin 0.50.0
...
See gh-31976
2024-01-08 13:03:27 +01:00
Brian Clozel
3bcd30e811
Remove API diff Gradle plugin configuration
...
We have not published API diffs for a while now so we should remove the
configuration entirely from our build.
2023-11-23 16:19:20 +01:00
Sam Brannen
cd503e3af6
Upgrade to JUnit 5.10.1
...
Closes gh-31558
2023-11-06 14:57:31 +01:00
Sam Brannen
de74520286
Upgrade to JMH plugin 0.7.2
...
Closes gh-31517
2023-10-29 11:09:48 +01:00
Lars Grefer
b124522a11
Update to io.freefair.aspectj 8.4
2023-10-15 01:09:29 +02:00
Stéphane Nicoll
da24c6b346
Merge branch '6.0.x'
2023-10-10 20:34:11 +02:00
Werner Fouché
3c2e21a578
Upgrade to gradle-versions-plugin 0.49.0
...
See gh-31396
2023-10-10 20:33:14 +02:00
Brian Clozel
130b1f44f7
Do not use javadoc.io for javadoc generation
...
The website has been unresponsive for quite some time, our build cannot
rely on this service right now.
2023-10-05 11:47:41 +02:00
Brian Clozel
3686c457bb
Polish Aggregate Javadoc task
...
Closes gh-31173
2023-09-07 15:29:25 +02:00