The physical and chemical changes occurring in sediments between the times of deposition and solidification.