can we make it only shows up the newest versions ? (stable&tester)
No. The text included in the screenshot
Only versions still considered secure should be listed here. Higher version numbers does not necessarily mean more secure here. Could be alpha or beta versions. In most cases you are best off choosing the lowest version number among them.
does still apply.
but how is that true ?
7.5.6 is more secure than 7.5.5 because its the stable upgrade of it. and using 7.5.5 is recommended against for sure.
so i see that message is wrong and maybe describing tbb-downloader in the old times but not now.
The information comes from https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions. Parsing that file is hard since its format changed several times in past. So it was settled “lowest among them” to prevent suggesting alpha/beta versions. But if old versions keep being listed there, parsing gets even harder. Thanks for getting through!
Maybe Tor Project bug. Reported here:
Got a good answer.
(We could call a python (or anything) script from tb-updater to do the Tor Browser version file parsing, so don’t have to do it using bash.)
JSON and XML are merely different data structures and so considered neutral in that case . The parsers for either have had serious vuln classes sometimes causing RCE and many of the same sec bugs that browsers run into . So the question should be which is the safest parser avaialble for either of these?
Using python standard libs to parse XML or JSON (Pickle) not a good idea .
A modern and minimalist JSON parser is YAJL used in libvirt. Available in Debian . My recommendation is to use YAJL in addition to having TB-updater connect via an onion address or over pinned TPO cert. To contact the author about further info related to security implementations contact: #yajl channel on Freenode or subscribe to Yajl mailing list by emailing email@example.com (librelist.com) 
Assuming we don’t want any heavy duty parsing and something familiar then using grep on fetched JSON data is a potential solution . Combined with onion security for communication is again the way to go IMO.
stop showing old versions in tb-updater / improve version parser / port version parser to python3 or so