Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
When you go through the Nether Portal and out of it, you don't lose the effect, which is working as normal.
However, when leaving the end after defeating the ender dragon, you lose all the effects you have on you.
(This affects to the new effects, Bad Omen and Hero of the Village, and all potion effects).
MC-6431 Status effects are lost when returning to the overworld from the exit end portal