In the next release, System.Version will no longer be a hard-coded "1.0.0" value (that was a bug!). I’ve added clearer runtime and operating system version APIs.
For the Objo runtime version:
Print(System.ObjoVersion)
Print(System.Version)
System.ObjoVersion is the preferred new API. System.Version remains available as a compatibility alias for the same value (this will be deprecated in a future build).
There is also a helper for version checks:
If System.ObjoVersionAtLeast(26, 6, 5) Then
Print("This runtime has the fix I need.")
End If
Application.Version is unchanged. It still means your app’s own version from the project build settings.
I’ve also added operating system version APIs:
Print(System.OSVersion)
Print(System.OSDescription)
If System.IsMacOS And System.OSVersionAtLeast(14, 0) Then
Print("Running on macOS 14 or later.")
End If
So the intended split is now:
Application.Version # Your app version
System.ObjoVersion # Objo runtime / Studio version
System.Version # Alias for System.ObjoVersion
System.OSVersion # Host operating system version
System.OSDescription # Human-readable OS description
This is tracked on Feedback here: https://feedback.objo.dev/feature/477