Newest update first.
Never accidentally hit your villagers again! With Villager Protection, it disables all direct player attacks on villagers.