In survival, after the Village & Pillage update, existing villagers lost their trades and are not registering their existing village houses as valid. No profession blocks or beds were created by the game.
If I try to trade with them, the right-click action brings nothing (no trading user interface pops out), so they're unemployed now.
This is a serious bug, because they had professions and advanced trade tiers before the update, and should remain like that! The game should provide beds and profession blocks to keep them functional, or turn them on "legacy" villagers!