Edit: The invisibility spell had been quoted in in earlier discussions as ending when taking damage, but based on screenshots, it appears the actual condition is dealing damage, which matches the spirit, if not the letter, of the 2014 rules.
Stepping away from the definition of "invisible" for...