A redshift-dependent IRX–β dust attenuation relation for TNG50 galaxies. Issue 4 (3rd July 2020)