Vega: Why dependencies version are not fixed ?

Created on 16 Oct 2019  路  2Comments  路  Source: vega/vega

Hi, today I ran into the following problem :

I'm working on a project that's using Vega 5.4.0 and TypeScript 3.3.
Everything used to be fine until today when the build of this project failed.
But nothing had changed, at least on my side.

After investigating I found out that dependencies of the Vega package are not fixed.
Vega-util (a sub-dependency to my perspective) was updated from 1.10.0 to 1.11.2 and between those two minor version the minimum Typescript support went from 2.7 (fine for me) to 3.4 (my project can't build) https://github.com/vega/vega/commit/da777eb906c370438f2f476a9cadd18b8e0c2667.

I don't think this behavior is intended :upside_down_face:
Good practice suggest not using dependencies ranges (with *~^<>) but fixing dependencies version to avoid this type of issues.

May relate to #1259.

What are your though on that ?

Best regards.

Augustin :fr:

Most helpful comment

Thanks for the suggestion! We'll take this into consideration for future releases. Up until this point, folks haven't raised this as an issue, but I certainly understand how frustrating this could be.

All 2 comments

This is exactly what got us in trouble recently as well. We could not easily downgrade without having to pin exact dependencies.

Thanks for the suggestion! We'll take this into consideration for future releases. Up until this point, folks haven't raised this as an issue, but I certainly understand how frustrating this could be.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arvind picture arvind  路  5Comments

nyurik picture nyurik  路  3Comments

david-littlefield picture david-littlefield  路  4Comments

kevinmickey picture kevinmickey  路  5Comments

donghaoren picture donghaoren  路  5Comments