But version_to_string() is supporting incomplete version -> 1.0 instead of 1.0.0final0.
I don't get what you mean here.
I told you it was simpler to use a simple number for config version...