File tree Expand file tree Collapse file tree 7 files changed +19
-19
lines changed
graphql-graphiql-spring-boot-starter/src/main/resources/templates
src/test/java/org/springframework/graphql/editor/example
src/test/java/org/springframework/graphql/editor/example Expand file tree Collapse file tree 7 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ spring:
44
44
<dependency>
45
45
<groupId>ru.sadv1r.spring.graphql</groupId>
46
46
<artifactId>graphql-voyager-spring-boot-starter</artifactId>
47
- <version>0.7 .0</version>
47
+ <version>0.8 .0</version>
48
48
</dependency>
49
49
```
50
50
51
51
#### Gradle
52
52
53
53
``` groovy
54
- implementation 'ru.sadv1r.spring.graphql:graphql-voyager-spring-boot-starter:0.7 .0'
54
+ implementation 'ru.sadv1r.spring.graphql:graphql-voyager-spring-boot-starter:0.8 .0'
55
55
```
56
56
57
57
## Graph* i* QL
@@ -106,12 +106,12 @@ spring:
106
106
<dependency>
107
107
<groupId>ru.sadv1r.spring.graphql</groupId>
108
108
<artifactId>graphql-graphiql-spring-boot-starter</artifactId>
109
- <version>0.7 .0</version>
109
+ <version>0.8 .0</version>
110
110
</dependency>
111
111
```
112
112
113
113
#### Gradle
114
114
115
115
``` groovy
116
- implementation 'ru.sadv1r.spring.graphql:graphql-graphiql-spring-boot-starter:0.7 .0'
116
+ implementation 'ru.sadv1r.spring.graphql:graphql-graphiql-spring-boot-starter:0.8 .0'
117
117
```
Original file line number Diff line number Diff line change 13
13
14
14
subprojects {
15
15
group ' ru.sadv1r.spring.graphql'
16
- version ' 0.7 .0'
16
+ version ' 0.8 .0'
17
17
18
18
repositories {
19
19
mavenCentral()
Original file line number Diff line number Diff line change 18
18
< script crossorigin th:src ="|${cdnHost}/react@18/umd/react.production.min.js| "> </ script >
19
19
< script crossorigin th:src ="|${cdnHost}/react-dom@18/umd/react-dom.production.min.js| "> </ script >
20
20
21
- < script th:src ="|${cdnHost}/graphiql/graphiql.min.js| " type ="application/javascript "> </ script >
22
- < link rel ="stylesheet " th:href ="|${cdnHost}/graphiql/graphiql.min.css| "/>
21
+ < script th:src ="|${cdnHost}/graphiql@4 /graphiql.min.js| " type ="application/javascript "> </ script >
22
+ < link rel ="stylesheet " th:href ="|${cdnHost}/graphiql@4 /graphiql.min.css| "/>
23
23
24
24
< script th:if ="${plugins.contains(T(ru.sadv1r.spring.graphql.editor.graphiql.configuration.GraphiqlProperties.Plugin).EXPLORER)} "
25
- crossorigin th:src ="|${cdnHost}/@graphiql/plugin-explorer/dist/index.umd.js| "> </ script >
25
+ crossorigin th:src ="|${cdnHost}/@graphiql/plugin-explorer@4 /dist/index.umd.js| "> </ script >
26
26
< link th:if ="${plugins.contains(T(ru.sadv1r.spring.graphql.editor.graphiql.configuration.GraphiqlProperties.Plugin).EXPLORER)} "
27
- rel ="stylesheet " th:href ="|${cdnHost}/@graphiql/plugin-explorer/dist/style.css| "/>
27
+ rel ="stylesheet " th:href ="|${cdnHost}/@graphiql/plugin-explorer@4 /dist/style.css| "/>
28
28
29
29
< link th:if ="${stylePath} " rel ="stylesheet " th:href ="|${stylePath}| "/>
30
30
</ head >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies {
11
11
implementation project(' :graphql-graphiql-spring-boot-starter' )
12
12
13
13
testImplementation ' org.springframework.boot:spring-boot-starter-test'
14
- testImplementation ' com.microsoft.playwright:playwright:1.49 .0'
14
+ testImplementation ' com.microsoft.playwright:playwright:1.53 .0'
15
15
}
16
16
17
17
java {
Original file line number Diff line number Diff line change @@ -52,16 +52,16 @@ void testGraphiQlSnapshot() {
52
52
.setPath (Paths .get ("../../screenshots/webmvc-graphiql.png" ))
53
53
);
54
54
55
- assertThat (page .getByTestId ( " graphiql-container" )).matchesAriaSnapshot ("""
55
+ assertThat (page .locator ( ". graphiql-container" )).matchesAriaSnapshot ("""
56
56
- button "Show Documentation Explorer":
57
- - img "docs icon"
57
+ - img "icon"
58
58
- button "Show History"
59
59
- button "Show GraphiQL Explorer"
60
60
- button "Re-fetch GraphQL schema"
61
61
- button "Open short keys dialog"
62
62
- button "Open settings dialog"
63
63
- tablist "Select active operation"
64
- - button "Add tab"
64
+ - button "New tab"
65
65
- link "GraphiQL":
66
66
- emphasis: i
67
67
- tabpanel:
@@ -70,7 +70,7 @@ void testGraphiQlSnapshot() {
70
70
- text: "query($id: ID!) { artifactRepository(id: $id) { name url } }"
71
71
- toolbar "Editor Commands":
72
72
- button "Execute query (Ctrl-Enter)":
73
- - img "play icon"
73
+ - img "icon"
74
74
- button "Prettify query (Shift-Ctrl-P)"
75
75
- button "Merge fragments into query (Shift-Ctrl-M)"
76
76
- button "Copy query (Shift-Ctrl-C)"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ dependencies {
11
11
implementation project(' :graphql-graphiql-spring-boot-starter' )
12
12
13
13
testImplementation ' org.springframework.boot:spring-boot-starter-test'
14
- testImplementation ' com.microsoft.playwright:playwright:1.49 .0'
14
+ testImplementation ' com.microsoft.playwright:playwright:1.53 .0'
15
15
}
16
16
17
17
java {
Original file line number Diff line number Diff line change @@ -52,16 +52,16 @@ void testGraphiQlSnapshot() {
52
52
.setPath (Paths .get ("../../screenshots/webflux-graphiql.png" ))
53
53
);
54
54
55
- assertThat (page .getByTestId ( " graphiql-container" )).matchesAriaSnapshot ("""
55
+ assertThat (page .locator ( ". graphiql-container" )).matchesAriaSnapshot ("""
56
56
- button "Show Documentation Explorer":
57
- - img "docs icon"
57
+ - img "icon"
58
58
- button "Show History"
59
59
- button "Show GraphiQL Explorer"
60
60
- button "Re-fetch GraphQL schema"
61
61
- button "Open short keys dialog"
62
62
- button "Open settings dialog"
63
63
- tablist "Select active operation"
64
- - button "Add tab"
64
+ - button "New tab"
65
65
- link "GraphiQL":
66
66
- emphasis: i
67
67
- tabpanel:
@@ -70,7 +70,7 @@ void testGraphiQlSnapshot() {
70
70
- text: "query($id: ID!) { artifactRepository(id: $id) { name url } }"
71
71
- toolbar "Editor Commands":
72
72
- button "Execute query (Ctrl-Enter)":
73
- - img "play icon"
73
+ - img "icon"
74
74
- button "Prettify query (Shift-Ctrl-P)"
75
75
- button "Merge fragments into query (Shift-Ctrl-M)"
76
76
- button "Copy query (Shift-Ctrl-C)"
You can’t perform that action at this time.
0 commit comments