Detect Poison and Disease
For the duration, you sense the location of poisons, poisonous or venomous creatures, and magical contagions within 30 feet of yourself. You sense the kind of poison, creature, or contagion in each case.
The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead.
Detect Poison and Disease 5e 2024 vs. 2014 edition differences
The 2024 version allows casting as a ritual, and the duration is "up to 10 minutes" instead of fixed. It specifies "magical contagions" instead of diseases, and "venomous creatures" added. The sensing language is slightly broader, but no significant mechanical change in detection mechanics.