Although Openlayers 2 continues to work and is still in use, development work is concentrating on version 3. OpenLayers users are recommended to upgrade to version 3. Although occasional commits to the repository continue to be made, there are no longer regular releases. Those wanting the latest code for version 2 are recommended to download the master branch in the repository and use that. The code is stable even if there is no longer any formal release cycle.
OpenLayers 3 is a comprehensive rewrite of the library, targeting the latest in HTML5 and CSS3 features. The library continues to have broad support for projections, standard protocols, and editing functionality. The new version of the library focuses on performance improvements, lighter builds, prettier visual components, an improved API, and more.
Releases are made available on the downloads page. The code is also available in our Git repository. With a clone of the Git repository, you can keep up with the latest and contribute patches to OpenLayers.