cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
17.97k stars 1.78k forks source link

Incorrect post-v1.0 version check in the data model generation UI #8943

Closed igorlukanin closed 1 week ago

igorlukanin commented 1 week ago

Describe the bug The data model generation UI does not allow to generate the data model in YAML. Apparently, the version check is incorrect as it treats Cube v1.x as something that is not later than v0.31.

To Reproduce Steps to reproduce the behavior:

  1. Run Cube Core locally
  2. Go to http://localhost:4000
  3. Go to the Data Model tab and click Generate data model
  4. See that the YAML option is greyed out

Expected behavior The YAML option should be available.

Screenshots

Screenshot 2024-11-11 at 22 36 15

Version: v1.1.2

Additional context Reported in Slack: https://cube-js.slack.com/archives/C0442JL3GGP/p1731252967500339