I have built a *working* villager breeder that should be infinite.
The breeder works and I can get around 10-15 villagers and then it just stops working. They still show hearts so I know they are happy to breed but no babies. (I have an iron farm that's just out of render distance and around 120 blocks higher than my breeder)
Does any one know what the villager limit is in a world? And is it the entire world or just loaded chunks?
There are actually two caps. There is a breeding cap and a hard cap.
The breeding cap is 34 and can be circumvented by moving villagers to unloaded chunks.
There is a hard cap of 50. If you exceed it by bringing in villagers from another place they will start to despawn back to 50. The despawning is debateable, and seems to change from update to update. Some ppl report being able to keep many more than 50 in one spot for months, while others, including myself, have witnessed them despawn under these conditions. At the moment I've seen reports that claim they will not despawn. I don't take chances because if they're alive they're valuable to me.
We expect this cap to be lifted, along with animal caps. Assuming it really is a 'universal' minecraft. Recently some things the devs have said in livestreams have shed some doubt on what exactly will be the same as win 10/PE, it seems that local infinite worlds may not be a thing due to file size restrictions. So we won't really know untill the beta is released.