We review recent developments in PYTHIA 8, focused on heavy ion collisions. The Angantyr framework for heavy ion collisions is presented, as well as recent developments of the string
shoving model for flow. It is further shown how string shoving can affect jet fragmentation in pp collisions. The effect of adding hadronic rescattering is reviewed, with focus on the nuclear modification factor, and finally ongoing work towards extending the PYTHIA 8 and Angantyr MPI models to eletron-ion collisions is presented.