Shocking Grasp
Lightning springs from you to a creature that you try to touch. Make a melee spell attack against the target. On a hit, the target takes 1d8 Lightning damage, and it can't make Opportunity Attacks until the start of its next turn.
Cantrip Upgrade. The damage increases by 1d8 when you reach levels 5 (2d8), 11 (3d8), and 17 (4d8).
Shocking Grasp 5e 2024 vs. 2014 edition differences
Both versions have the same damage scaling at levels 5, 11, and 17. The 2024 version changes the effect to prevent Opportunity Attacks instead of reactions. No other significant mechanical differences are present.