generator: select latest version