-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): updated graphql-js version to support 0.10.0 #407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dotansimha
2 comments:
- We usually support latest 2 versions which means 0.8.0 can be removed.
- If endpointURL starts with ws:// we should use just websocket and not mixed.. :)
@@ -70,7 +70,7 @@ export function renderGraphiQL(data: GraphiQLData): string { | |||
<script src="//cdn.jsdelivr.net/react/15.0.0/react-dom.min.js"></script> | |||
<script src="//cdn.jsdelivr.net/graphiql/${GRAPHIQL_VERSION}/graphiql.min.js"></script> | |||
${usingSubscriptions ? | |||
'<script src="//unpkg.com/subscriptions-transport-ws@0.5.4/browser/client.js"></script>' + | |||
'<script src="//unpkg.com/subscriptions-transport-ws@0.7.0/browser/client.js"></script>' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets put under const like graphiql version. Also, graphiql version can be updated to 0.10.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
1 - Done |
Yess, this is great! 🎉 Can't wait for this to land to try the new subscriptions stuff 😊 |
well, you rushed to merge it but this is incomplete: packages will still use 0.9.2 for testing... |
@@ -24,7 +24,7 @@ | |||
}, | |||
"homepage": "https://github.com/apollostack/graphql-server#readme", | |||
"peerDependencies": { | |||
"graphql": "^0.8.0 || ^0.9.0" | |||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @dotansimha you forgot to align with others :)
Also updated
subscriptions-transport-ws
version to the latest.TODO: