Fences will mend if mined and replaced. Hostile mobs will not go through fence intentionally.
In some areas the fences are linked and others not. Villagers and other mobs are able to pass through the fence posts. Have not witnessed any hostile mobs go through though
It's working today!