Commit Graph

1591 Commits

Author SHA1 Message Date
Brian Clozel
aec6beaaa4 Merge branch '1.4.x' 2025-06-03 08:50:57 +02:00
Brian Clozel
7ee16217f7 Add missing charset tag in graphiql HTML page
Fixes gh-1230
2025-06-03 08:49:48 +02:00
Brian Clozel
b0e266e1b9 Merge branch '1.4.x' 2025-06-02 16:19:56 +02:00
Brian Clozel
152333286d Upgrade to GraphQL Java 24.1
Closes gh-1229
2025-06-02 16:18:49 +02:00
rstoyanchev
fab654e724 Merge branch '1.4.x' 2025-05-29 17:09:45 +01:00
rstoyanchev
14baa4e32a Polishing contribution
Closes: gh-1225
2025-05-29 17:07:52 +01:00
Josh Allen
d3ff9687eb Exempt unresolvable federated entities from checks
Update check ensuring federated types have @EntityMapping
to exempt entities with 'resolvable: false', since by definition
those should not have an @EntityMapping.

See gh-1225

Signed-off-by: Josh Allen <joshuapaulallen@gmail.com>
2025-05-29 16:45:53 +01:00
do.vantrinh
1f9a21e6ba Remove redundant interface declaration
WebGraphQlRequest already implements ExecutionGraphQlRequest through
its parent class DefaultExecutionGraphQlRequest, making the explicit
interface declaration redundant.

See gh-1218

Signed-off-by: do.vantrinh <do.vantrinh@moneyforward.co.jp>
2025-05-29 16:43:18 +01:00
rstoyanchev
d7550342f7 Merge branch '1.4.x' 2025-05-29 16:28:21 +01:00
rstoyanchev
a5c25b815f Fix nested parameter names in QuerydslDataFetcher
Closes: gh-1215
2025-05-29 16:24:07 +01:00
rstoyanchev
831357be01 Polishing contribution
Closes: gh-1196
2025-05-29 15:03:00 +01:00
Dennis
fbd114bd10 Add toString() method in ArgumentValue
See gh-1196

Signed-off-by: Dennis Griese <d.griese1987@gmail.com>
2025-05-29 15:02:59 +01:00
Brian Clozel
1a6519d7e7 remove twitter link in README 2025-05-21 12:00:01 +02:00
Brian Clozel
0f5091d1ca Fix Java 24 setup in GitHub action build
This commit switches to using Java 24 as the mai JVM in the GitHub
action and also configures the foojay resolver for Java toolchain
resolution by Gradle.

See gh-1206
2025-05-21 11:49:44 +02:00
Brian Clozel
8c79e025d3 Upgrade Gradle setup action to 4.4.0 2025-05-21 11:49:17 +02:00
Brian Clozel
7d7749a2b2 Upgrade to Spring Framework 7.0.0-M5
This commit also adapts to the new Jackson 3.0 baseline.

Closes gh-1202
2025-05-21 11:37:09 +02:00
Brian Clozel
ce90154953 Compile Spring for GraphQL with Java 24
But targeting a Java 17 baseline for bytecode version.

Closes gh-1206
2025-05-21 10:07:03 +02:00
Brian Clozel
60b3e16db7 Upgrade to Reactor 2025.0.0-M3
Closes gh-1207
2025-05-21 09:51:33 +02:00
Brian Clozel
660b0a6ec8 Upgrade to Spring Data 2025.1.0-M3
Closes gh-1205
2025-05-21 09:49:04 +02:00
Brian Clozel
7131a15140 Suppress AnnotationLocation checkstyle rule
This rule flags valid usages because it conflates annotated methods and
annotated return types, considering that the `@Nullable` annotation
should be on its own line. For example, the following fails:

```
@Override
@Nullable String getName() {
```

See gh-1132
2025-05-21 09:48:39 +02:00
Brian Clozel
d7db1a065b Apply Nullability changes
This commit removes the new deprecated
`org.springframework.lang.Nullable` annotations and replaces them with
JSpecify equivalents.

Note, because those new annotations are applied on type usage, this
commit not only renames imports, but also moves annotations close to the
nullable usage types.

Closes gh-1132
2025-05-21 09:48:39 +02:00
Brian Clozel
5acb64e61d Configure Nullabillity checks with NullAway
This commit configures the Errorprone and Nullaway plugins in the build
to automatically check for null safety issues in the codebase.

Closes gh-1204
2025-05-21 09:30:07 +02:00
Brian Clozel
121add8ef7 Upgrade to Kotlin 2.1
This commit also follows Framework 7.0 with a Kotlin 2.x baseline for
all applications.

Closes gh-1203
2025-05-21 09:29:37 +02:00
Brian Clozel
bc8b0277c6 Upgrade to Spring Framework 7.0.0-M4
This commit requires Spring Framework 7.0 to run applications.
This also means we follow Framework 7.0's baseline with Jakarta 11.

See gh-1202
2025-05-21 09:29:08 +02:00
Brian Clozel
cac5909528 Configure build pipeline for 2.0.x 2025-05-21 09:10:38 +02:00
Brian Clozel
766f1dccf0 Switch to 2.0.0-SNAPSHOT
This commit starts building the new 2.0.0-SNAPSHOT version.
2025-05-21 09:10:05 +02:00
Brian Clozel
46df905acd Switch to 1.4.x branch 2025-05-20 15:58:29 +02:00
Brian Clozel
2d9f64bdc0 Next development version (v1.4.1-SNAPSHOT) 2025-05-20 10:56:57 +02:00
Brian Clozel
2c84724aea Use AssertJ BOM 2025-05-20 10:02:35 +02:00
Brian Clozel
17e1f1291a Upgrade to testcontainers 1.21.0 2025-05-20 10:02:16 +02:00
Brian Clozel
10490c21b9 Upgrade to DGS Codegen 8.0.4
Closes gh-1217
2025-05-20 09:53:20 +02:00
Brian Clozel
331772775b Upgrade to Apollo GraphQL Federation 5.4.0
Closes gh-1216
2025-05-20 09:52:51 +02:00
Brian Clozel
bbc174ce1f Upgrade to Spring Security 6.5.0
Closes gh-1183
2025-05-20 09:19:43 +02:00
Brian Clozel
ac5f3ef6c7 Upgrade to Spring Data 2025.0.0
Closes gh-1181
2025-05-20 09:18:37 +02:00
Brian Clozel
7e602f093e Merge branch '1.3.x' 2025-05-16 18:16:02 +02:00
Brian Clozel
e17903051c Inject prepared GraphqlErrorBuilder in error handling methods
Prior to this commit, error handling methods would support various
arguments, including the exception being handled.
Our reference documentation would advise to create a new instance of a
`GraphQLError` using `GraphQLError.newError()`. This does not initialize
the location and path information of the current error.

This commit allows error handling methods to get injected with a
`GraphQlErrorBuilder<?>` argument that is initialized with the current
`DataFetchingEnvironment` (thus filling the location and path parts).

Fixes gh-1200
2025-05-16 18:09:42 +02:00
rstoyanchev
175cf6fbc2 Fix compile error in test 2025-05-16 08:57:02 +01:00
rstoyanchev
705c283bfa Merge branch '1.3.x' 2025-05-16 08:48:40 +01:00
rstoyanchev
518617dd34 Lenient adapt non-Publisher subscription result
Closes gh-1213
2025-05-16 08:48:13 +01:00
Brian Clozel
41e2a2fed1 Upgrade to Spring Framework 6.2.7
Closes gh-1214
2025-05-16 09:31:58 +02:00
Brian Clozel
5747def15b Upgrade to GraphQL Java 24.0
This commit sets the new GraphQL Java baseline to 24.0 for this Spring
for GraphQL generation.

This also uses the new `DataLoader#getName` property in the batch loader
registry and the observability instrumentation.

Closes gh-1210
Closes gh-1211
2025-05-16 09:27:24 +02:00
Brian Clozel
998ba45fb5 Upgrade to Reactor 2024.0.6
Closes gh-1212
2025-05-14 11:23:55 +02:00
Brian Clozel
cb26ad381c Upgrade to Micrometer 1.15.0
Closes gh-1182
2025-05-13 17:27:04 +02:00
Brian Clozel
20142fc4de Merge branch '1.3.x' 2025-05-12 11:50:43 +02:00
Brian Clozel
ce9472fdd9 Upgrade to GraphiQL 4.0.0
Closes gh-1209
2025-05-12 11:50:14 +02:00
Brian Clozel
a3272085d1 Upgrade to Gradle 8.14 2025-05-06 09:41:30 +02:00
Brian Clozel
190c72ea0c Upgrade SDKMan! Java version to 17.0.15 2025-05-06 09:41:04 +02:00
Brian Clozel
e0bffeb819 Upgrade GitHub actions 2025-05-06 09:33:30 +02:00
Brian Clozel
a672d59d69 Merge branch '1.3.x' 2025-05-02 18:25:10 +02:00
Alexander Münch
719281175f Fix typo in SchemaMappingInspector Javadoc
Closes gh-1195

Signed-off-by: Alexander Münch <theHacker@users.noreply.github.com>
2025-05-02 18:20:43 +02:00