Commit Graph

699 Commits

Author SHA1 Message Date
rstoyanchev
fe7eb1d649 Update docs for context propagation
Closes gh-459
2022-08-31 21:46:18 +01:00
rstoyanchev
f5e710372b Remove built-in ThreadLocalAccessor
The ThreadLocalAccessor in 1.0 was intended as a temporary solution
that is now replaced by a similar contract in the
`io.micrometer:context-propagation` library.

Unfortunately, there is no way to adapt one to the other, but
it is trivial to implement the new contract and register it either with
`ContextRegistry#getInstance` on startup or through the
`ServiceLoader` mechanism.

See gh-459
2022-08-31 21:33:19 +01:00
rstoyanchev
f680892dfc Switch to io.micrometer:context-propagation library
See gh-459
2022-08-31 21:29:11 +01:00
Rossen Stoyanchev
f583eb302c Fix deprecation warnings for Spring Data ClassTypeInformation 2022-08-09 16:26:23 +03:00
Rossen Stoyanchev
3d11351ae3 Upgrade to the latest milestones 2022-08-09 16:01:52 +03:00
Brian Clozel
40c354a84c Upgrade to GraphQL Java 19.0
This new release makes the request `Locale` mandatory.

Closes gh-444
2022-08-01 10:46:28 +02:00
Brian Clozel
ea140410bd Merge branch '1.0.x' 2022-08-01 10:02:58 +02:00
Brian Clozel
666a4fe60d Upgrade to GraphQL Java 18.3
Closes gh-456
2022-08-01 10:02:26 +02:00
Brian Clozel
63184715af Merge branch '1.0.x' 2022-07-20 17:45:21 +02:00
Spring Builds
8c442e6732 Next development version (v1.0.2-SNAPSHOT) 2022-07-20 15:16:45 +00:00
Brian Clozel
355f32213a Merge branch '1.0.x' 2022-07-20 16:12:30 +02:00
张天赐
8ce2622d6c Use Gradle Toolchain in build
Closes gh-442
2022-07-20 16:09:01 +02:00
Brian Clozel
788f0ef155 Merge branch '1.0.x' 2022-07-20 15:30:22 +02:00
Brian Clozel
59e31e1350 Fix JDK 8 URL in CI image setup 2022-07-20 15:19:41 +02:00
Brian Clozel
f8e1ebf5f6 Merge branch '1.0.x' 2022-07-20 14:39:01 +02:00
Brian Clozel
92ba608141 Upgrade optional dependencies in build 2022-07-20 14:38:43 +02:00
Brian Clozel
8d686a0ac4 Merge branch '1.0.x' 2022-07-20 14:36:40 +02:00
Brian Clozel
e87507be85 Upgrade to GraphQL Java 18.2
Closes gh-446
2022-07-20 14:34:00 +02:00
rstoyanchev
f813040a5d Merge branch '1.0.x' 2022-07-19 16:30:09 +01:00
rstoyanchev
a588dd5c5b Update Javadoc on GraphQlClient#retrieve
Closes gh-434
2022-07-19 16:29:37 +01:00
rstoyanchev
2e22dce04a Fix links and improve docs for exposing WebSocket endpoint
Closes gh-436
2022-07-19 16:29:37 +01:00
Brian Clozel
284b6d749b Merge branch '1.0.x' 2022-07-19 14:32:03 +02:00
Brian Clozel
174b77b032 Redirect GraphiQL clients with servlet path
This commit ensures that both servlet context and servlet paths are
taken into account when generating URL paths to the GraphQL HTTP and WS
endpoints.

Fixes gh-402
2022-07-19 14:25:57 +02:00
rstoyanchev
e6599ee042 Merge branch '1.0.x' 2022-07-19 13:05:02 +01:00
rstoyanchev
b947554123 Update documentation for SubscriptionExceptionResolver
Closes gh-398
2022-07-19 13:04:11 +01:00
rstoyanchev
05ebd63233 SubscriptionExceptionResolver supports context propagation
See gh-398
2022-07-19 12:48:49 +01:00
rstoyanchev
a5809e95df Polishing contribution
See gh-398
2022-07-19 11:44:11 +01:00
Nikita Ivchenko
a7e68d35a2 Add SubscriptionExceptionResolver
See gh-398
2022-07-19 11:44:11 +01:00
Brian Clozel
4db1a897e8 Merge branch '1.0.x' 2022-07-18 23:27:49 +02:00
Brian Clozel
96f158b682 Configure auto grow collection limit in DataBinder
Prior to this commit, the `GraphQlArgumentBinder` would use the default
`DataBinder` configuration, including its
`DEFAULT_AUTO_GROW_COLLECTION_LIMIT` which is 256. While this is a
sensible default value for many use cases, GraphQL applications are data
oriented.

This commit configures a larger default for GraphQL applications at
1024. This also provides a way to configure the underlying data binder
before the binding proces starts.

Closes gh-392
2022-07-18 22:51:08 +02:00
rstoyanchev
8735c96591 Merge branch '1.0.x' 2022-07-08 16:20:52 +01:00
rstoyanchev
4dd13ed8e6 Fix issue with auto-registration for non-null types
Closes gh-418
2022-07-08 15:53:10 +01:00
rstoyanchev
0a61b256f5 Merge branch '1.0.x' 2022-07-05 15:13:27 +01:00
rstoyanchev
65cd5bfb49 Update docs on web interception
Closes gh-428
2022-07-05 15:12:48 +01:00
rstoyanchev
0951f879dc Improve error messages in SourceMethodArgumentResolver
Closes gh-429
2022-07-05 14:32:45 +01:00
rstoyanchev
18ff1a0a05 Merge branch '1.0.x' 2022-07-05 08:51:20 +01:00
rstoyanchev
28e3a8c9a3 Relax List input check in GraphQlArgumentBinder
Allow any List type, not only ArrayList and LinkedList but also others
like SingletonList.

Fixes gh-410
2022-07-05 07:34:14 +01:00
rstoyanchev
e173bef291 Move GraphQlArgumentBinderTests to correct package 2022-07-05 07:34:07 +01:00
rstoyanchev
90e2394573 Remove ThreadLocal in GraphQlArgumentBinderTests 2022-07-05 07:33:48 +01:00
Brian Clozel
e522beaf5f Upgrade baseline to Java 17 and Jakarata EE 9
Closes gh-426
2022-06-24 15:07:42 +02:00
Brian Clozel
ae8c68d7d8 Create CI pipeline for 1.1.x generation
Closes gh-424
2022-06-24 15:05:23 +02:00
Brian Clozel
f3a2192f03 Switch to 1.1.0-SNAPSHOTs
See gh-424
2022-06-24 14:58:20 +02:00
Brian Clozel
59b0d76d8d Temporarily ignore samples
Spring for GraphQL auto-configuration is not supported yet in Spring
Boot 3.0 SNAPSHOTs, so we need to ignore Spring Boot samples until
SNAPSHOTs are produced.

See gh-424
2022-06-24 14:56:40 +02:00
Brian Clozel
c6e6f05a78 Merge branch '1.0.x' 2022-06-24 14:44:54 +02:00
Brian Clozel
16a3dd29b3 Switch CI pipeline to using the 1.0.x branch
See gh-424
2022-06-24 14:39:45 +02:00
rstoyanchev
b07a1df281 Merge branch '1.0.x' 2022-06-24 09:33:35 +01:00
rstoyanchev
8769501765 Fix outdated sentence in the Overview section 2022-06-24 09:32:56 +01:00
Jerome Prinet
0af85f1fa3 Update Gradle Enterprise plugin 2022-06-23 08:58:36 +01:00
Brian Clozel
e4e9987e3c Upgrade OS and Java versions in CI image
This commit also switches to Bellsoft Java builds.
2022-06-13 20:59:17 +02:00
justy
0f06183ca3 fix typo in index.adoc 2022-06-10 16:41:00 +01:00