Stoneskin

Level & School
4th-level transmutation
Casting Time
Action
Range
Touch
Components
V, S, M (diamond dust worth 100+ GP, which the spell consumes)
Duration
Concentration, up to 1 hour
Classes
Druid, Ranger, Sorcerer, Wizard

Until the spell ends, one willing creature you touch has Resistance to Bludgeoning, Piercing, and Slashing damage.

Level & School
4th-level abjuration
Casting Time
Action
Range
Touch
Components
V, S, M (diamond dust worth 100 gp, which the spell consumes)
Duration
Concentration, 1 hour
Classes
Druid, Ranger, Sorcerer, Wizard

This spell turns the flesh of a willing creature you touch as hard as stone. Until the spell ends, the target has resistance to nonmagical bludgeoning, piercing, and slashing damage.

Stoneskin 5.5e 2024 vs. 5e 2014 edition differences

The 2014 version grants resistance to nonmagical damage, while the 2024 version grants resistance to all damage of those types, including magical. The 2024 version's duration is "up to 1 hour," allowing for potential shorter durations, whereas the 2014 version is fixed at 1 hour.