API Version issue

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [X] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

If you are on master branch or latest docker file, api/info shows 4.0.0.0

Expected behavior

shows something like dev-6109

Minimal reproduction of the problem

Environment

  • [X] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]
dev-6109

Browser:

  • [X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

It is like this from the cloud version as well. It is not a big deal. It is just a bit confusing for people using latest version.

Small additional note, we see the same thing in the cloud version right now…

https://cloud.squidex.io/api/info shows 4.0.0.0, so we can confirm the behavior is not just self hosted

Only the release versions have proper versioning. I am aware of that, but for me it is acceptable.

Sounds good. It is not a problem for us once we realize it doesn’t mean 4.0.0.0. Another way to do it is just put a static string like “latest” or “main” on it.

The plan was to change it to the master version, but I think I have forgotten to upgrade it to 5.0.0 a while ago.

1 Like