For SPA Publish Dataset popup, we need to display the new version numbers that will be assigned for a major and minor version update. In order to show that, we need the version number of the latest published version, when getting a Draft dataset.
For now, this is only needed when getting a dataset draft version, but in the future when we implement the versions tab, we will need to get summary info for all existing versions on the dataset.
For SPA Publish Dataset popup, we need to display the new version numbers that will be assigned for a major and minor version update. In order to show that, we need the version number of the latest published version, when getting a Draft dataset. For now, this is only needed when getting a dataset draft version, but in the future when we implement the versions tab, we will need to get summary info for all existing versions on the dataset.
Related ticket in the SPA: https://github.com/IQSS/dataverse-frontend/issues/428