GDL users can now automatically detect if they are using GDL and if so, which version of GDL they are using.
However, they cannot easily check the version chronology, so tests requiring "a version at least as new as
version X" will in some cases wrongly infer that the version being used is older than it really is.
This will cause some GDL scripts to unnecessarily use "private" hacks to deal with missing features
or bugs even though the hacks are in fact not needed due to GDL having been improved.
Alternatively, tests can only test for very specific version numbers. In feature request 3148359
an example function is proposed. See
In answer to the question, why put it in the GDL source tree: because otherwise people who
want their scripts to function correctly using older versions while still taking advantage of bug
fixes and new features will have to each rewrite the utility from scratch. i am most happy to
post bug reports for GDL, but i'm not going to wait for the bug fix before implementing my
own hack (if i can find a hack). At the same time, i would prefer my scripts to automatically
use the improved GDL version when that's done.
BTW, sorry for the slow reply. i assume that i have to open a new "artifact" since the
old one was closed.