# How to upgrade Vega version 4.3.0 to 5.13.0?

**URL:** https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429
**Category:** Kibana
**Tags:** vega
**Created:** [June 17, 2020, 9:13am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429 "2020-06-17T09:13:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)
#### Post date: [June 17, 2020, 9:13am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/1 "2020-06-17T09:13:14Z")

</div>

I'm using Elasticsearch and Kibana version 7.6.1 which we just upgraded from v.7.6.0 last month.

At that time, Vega version was still v.4.3.0 but v.5.13.0 has been released earlier this month. So I want to use the latest version of Vega and not sure how to update it.

Should I update the same Elasticsearch and Kibana version again to update the Vega version?

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [June 17, 2020, 9:24pm UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/2 "2020-06-17T21:24:07Z")

</div>

I have not personally done this, but it appears it's possible to define a different version of Vega: [https://www.elastic.co/guide/en/kibana/current/vega-graph.html#vega-schema](https://www.elastic.co/guide/en/kibana/current/vega-graph.html#vega-schema)

---

<div class="post-metadata">

### Author: ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)
#### Post date: [June 18, 2020, 12:47am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/3 "2020-06-18T00:47:20Z")

</div>

> <https://github.com/elastic/kibana/pull/68639>
>
> Closes: #31413
> \## Summary
> 
> Update vega related libs
> 
> \`vega-lib\`: "4.3.0" …-\> \`vega\`: "^5.13.0", 
> \`vega-lite\`: "^2.6.0" -\> \`vega-lite\`: "^4.13.1",
> \`vega-schema-url-parser\`: "1.0.0" -\> \`vega-schema-url-parser\`: "^1.1.0",
> 
> \### Checklist
> 
> Delete any items that are not applicable to this PR.
> 
> \- \[\] Any text added follows \[EUI's writing guidelines\](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes \[i18n support\](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
> \- \[\] \[Documentation\](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials
> \- \[\] \[Unit or functional tests\](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
> \- \[\] This was checked for \[keyboard-only and screenreader accessibility\](https://developer.mozilla.org/en-US/docs/Learn/Tools\_and\_testing/Cross\_browser\_testing/Accessibility#Accessibility\_testing\_checklist)
> \- \[\] This renders correctly on smaller devices using a responsive layout. (You can test this \[in your browser\](https://www.browserstack.com/guide/responsive-testing-on-local-server)
> \- \[\] This was checked for cross-browser compatibility, \[including a check against IE11\](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
> 
> \### For maintainers
> 
> \- \[\] This was checked for breaking API changes and was \[labeled appropriately\](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)

Looks like it will come out in a future version. Just need to wait.

---

<div class="post-metadata">

### Author: ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)
#### Post date: [June 18, 2020, 5:44am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/4 "2020-06-18T05:44:20Z")

</div>

I believe it was backported to Elasticsearch version 7.x, so that I may check if I can use latest Vega version in Elasticsearch version 7.6.1.

> [@Do you recommend to use a Vega or a non-Vega visualization?](https://discuss.elastic.co/t/do-you-recommend-to-use-a-vega-or-a-non-vega-visualization/237068/7):
>
> Actually the PR for updating Vega to v5 is this one: It is merged already and tagged for 7.9 and was backported to the 7.x branch. So let‘s see if it even still makes it into 7.8.x

---

<div class="post-metadata">

### Author: ![Andre\_Letterer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_letterer/32/42248_2.png) [@Andre\_Letterer](https://discuss.elastic.co/u/Andre_Letterer)
#### Post date: [June 18, 2020, 8:28am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/5 "2020-06-18T08:28:45Z")

</div>

I don't know if I understand you. The exact backport which is linked as well is like mentioned already this one which was merged 2 days ago.

> <https://github.com/elastic/kibana/pull/69248>

Looking at the releases dates 7.6.1 came out on March 4th.

> **[elastic/kibana](https://github.com/elastic/kibana/releases)**
>
> Your window into the Elastic Stack. Contribute to elastic/kibana development by creating an account on GitHub.

So this PR cannot be in 7.6.1. Like Aaron said, just be patient, there is no existing release that has Vega 5 up to now. If you want to use it, feel free to checkout the master branch or 7.x branch and compile Kibana and spin up a development version of kibana

> <https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#running-elasticsearch-locally>

> <https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#running-kibana>

---

<div class="post-metadata">

### Author: ![m-amano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m-amano/32/62977_2.png) [@m-amano](https://discuss.elastic.co/u/m-amano)
#### Post date: [June 23, 2020, 1:56am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/6 "2020-06-23T01:56:32Z")

</div>

Thank you for your info.  
I will wait until next version comes.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 21, 2020, 1:56am UTC](https://discuss.elastic.co/t/how-to-upgrade-vega-version-4-3-0-to-5-13-0/237429/7 "2020-07-21T01:56:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
