Skip to content
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

fix(vega): add v4 mime type #821

Merged
merged 2 commits into from
Mar 9, 2019
Merged

Conversation

mcmcgrath13
Copy link
Contributor

The v4 mime type is what is currently supported out of the box by Jupyter, v3 requires an extension to be installed.

This PR adds the v4 mime type to the lists of supported mime types. MIME"application/vnd.vega.v3+json" was left for backwards compatibility. Vega recently released v5, so I expect this will need to be updated again in the near future.

I am concurrently putting in a PR for VegaLite.jl to update the mime type on that end too.

The v4 mime type is what is currently supported out of the box by Jupyter, v3 requires an extension to be installed
@stevengj
Copy link
Member

stevengj commented Mar 9, 2019

This is getting little ridiculous. Why don't they put the version number into the JSON content rather than continually updating the MIME type?

@mcmcgrath13
Copy link
Contributor Author

@stevengj Ironically, they do both... It looks like VegaLite also just released v3. So it probably makes sense to do the comprehension for both mime types vegalite from 2:3 and vega from 3:5. I'll get that added.

@stevengj stevengj merged commit aca8d5b into JuliaLang:master Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants