You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-29Lines changed: 5 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,35 +1,11 @@
1
1
2
+
# 1.18.12
2
3
3
-
# 2.0
4
-
5
-
Change of some plugin parameters value (please read either [[Client migration from 1.x to 2.x|client_migrate_1-x_to_2-x]] or [[Server migration from 1.x to 2.x|server_migrate_1-x_to_2-x]] for more information) changed of default value:
6
-
* copyRuntimeSources: false _(both client and server mode)_
* skipGenerationIfSchemaHasNotChanged: true _(both client and server mode)_
10
-
It was initially planned to force their value to the new default valye. But this would have too much impact on the existing code. Changing the default value allows 'old' users to minimize the impact when switching to the 2.0 version, while new user will use cleaner code.
11
-
12
-
13
-
# 2.0RC1
14
-
15
-
Release Candidate version for the 2.x versions.
16
-
17
-
Main changes:
18
-
* Based on [spring-graphql](https://spring.io/projects/spring-graphql)
19
-
* Upgrade of dependencies, based on [spring-boot 2.7.10](https://docs.spring.io/spring-boot/docs/2.7.10/reference/html/)
20
-
* Needs JDK 17 to be build, but the generated artifact is compatible with Java 8
21
-
* Compatibility with Spring Boot 3.
22
-
* For a sample of this, you can check the [graphql-maven-plugin-samples-Forum-client](https://github.com/graphql-java-generator/graphql-maven-plugin-project/tree/master_2.x/graphql-maven-plugin-samples/graphql-maven-plugin-samples-Forum-client) and the [graphql-maven-plugin-samples-Forum-server](https://github.com/graphql-java-generator/graphql-maven-plugin-project/tree/master_2.x/graphql-maven-plugin-samples/graphql-maven-plugin-samples-Forum-server) samples that are part of the build.
23
-
*__gradle plugin__: The id changed from `com.graphql_java_generator.graphql-gradle-plugin` to `com.graphql-java-generator.graphql-gradle-plugin`
24
-
25
-
You can check these pages for more information on how to migrate from 1.x versions:
26
-
*[[Client migration from 1.x to 2.x|client_migrate_1-x_to_2-x]]
27
-
*[[Server migration from 1.x to 2.x|server_migrate_1-x_to_2-x]]
28
-
29
-
Know issues:
30
-
* All builds for servers should be executed with a clean (_mvn clean install_ or _gradlew clean build_), otherwise the GraphQL schema available at runtime becomes invalid. The server won't start.
31
-
* For Spring 3, in client mode, copyRuntimeSources should be manually to false, to avoid compilation errors
4
+
Client and server modes:
5
+
* Correction of issues #184 and #198: error with custom scalars, when the custom scalar's class is not in the plugin's classpath
32
6
7
+
Client mode:
8
+
* Issue 199: the generated code would not compile if the GraphQL schema is too big
0 commit comments