Recent? The Romans and Mesopotamians also had marriage laws.
The only real change was separating the religion from the state. In some places, marriages went with the state and the church adds an additional wedding with different vows. And in others, it went with the church, and the state just acknowledges existing marriages.