Leaflet/docs/_posts/2017-08-08-leaflet-1.2.0.md
Per Liedman 5223528fcd [Plz merge] Release 1.2.0 (#5688)
* Add documentation on how to do a release

* Preliminary changelog for next release

* Preliminary blog post

* Modify version to 1.2.0

* Update changelog

* Add 1.2.0 reference

* Point to 1.2.0 docs

* Update hashes and latest version

* Update latest news

* Add 1.2.0 release date
2017-08-08 16:13:09 +02:00

19 lines
1.4 KiB
Markdown

---
layout: post
title: Leaflet 1.2.0 has been released
description: a new bugfix release
author: Per Liedman
authorsite: http://www.liedman.net
---
Leaflet 1.2.0 has just been released. The major reason for this release is to address an unfortunate regression in the 1.1.0 release, [causing trouble with several plugins](https://github.com/Leaflet/Leaflet/issues/5589). Traditionally, Leaflet plugins has altered and added to Leaflet's namespace (the `L` global), something which is no longer allowed after Leaflet was rebuilt on ES6 modules (an imported module is read-only). To preserve backwards compatibility, we have made a workaround to make the Leaflet namespace and its contents mutable again.
For the future, we expect to work out a new recommendation for authoring Leaflet plugins, that takes into account how modern JavaScript is built with ES6 modules, instead of modifying the Leaflet namespace.
As usual, we also managed to close off a number of other bugs and make a couple of minor improvements, all with the help of our many contributors - a big thank you to all who contributed to the release this summer! See the full [changelog](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md) for details.
To get the new release, update your dependencies in your favorite package manager, or check the [downloads page](http://leafletjs.com/download.html).
Cheers,<br>
The Leaflet team.