Tiny Semantic Version parser and utility for Godot 4.
Copy the content of addons/ to your project directory.
var ver_current = Version.new("1.2.0")
var ver_latest = Version.new("1.3.2")
var update_needed = ver_current.is_lesser_than(ver_latest) # true
print("You are on: ", str(ver_current))
# You are on: 1.2.0var version = Version.new("3.9.52-alpha.6+abc123")
print(version.major) # 3
print(version.minor) # 9
print(version.patch) # 52
print(version.prerelease) # ['alpha', '6']
print(version.buildmetadata) # 'abc123'More information available through the built-in documentation. Press f1, and look for Version class.
- Version is licensed under MIT.
- Icon from @fontawesome (recolored), is licensed under CC-BY 4.0.
Copyright © 2026 nnda