Switch CodeUpgrade version attribute back to optional.