A review of recent developments in atomic processes for divertors and edge plasmas