What is the first grafana version which added support for Open ID connect?

What is the first grafana version which added support for Open ID connect ?

If I want to upgrade to a grafana version with Open ID connect support but dont want the latest , which version should I upgrade to ?