Leaflet/_posts/2016-07-16-leaflet-1.0-rc2.md
2016-07-18 11:01:27 +02:00

2.6 KiB

layout title description author authorsite
post Announcing Leaflet 1.0-rc2 Leaflet 1.0 Release Candidate 2 is out Yohan Boniface http://yohanboniface.me

Here comes the second release candidate for Leaflet 1.0, the most stable Leaflet version ever!

Leaflet 1.0-rc2 is mainly bug fixing, with two notable exceptions. The full list of changes is in the 1.0.0-rc2 changelog as usual.

Notable changes

  • Event refactoring: thanks to an initial work from @fab1an, coordinated by @perliedman, the events are greatly optimized: they are faster, and consume less memory.

  • New L.Tooltip class: started as a port of Leaflet.Label plugin to Leaflet core, and then reworked, this new class allows to display small tooltips attached to map features. The API is very similar to what Leaflet.Label was (with some exceptions in options naming and default values), so the upgrade path from Leaflet.Label to L.Tooltip should be straightforward, and we encourage you to do so while upgrading your Leaflet to 1.0.

L.Tooltip

More in the 1.0.0-rc2 changelog.

Leafdays

The core team being spread all over Europe, we are doing so called "Leafdays" from time to time to remotely work together during one full day. Here is a debug session with @perliedman screen sharing:

Remote session

Next face-to-face session will be during FOSS4G in Bonn, in August, and we hope to see you there. Will this be the final 1.0 release session?

Get the release candidate

As with previous releases, you can use the CDN:

<link rel="stylesheet" href="https://npmcdn.com/leaflet@1.0.0-rc.2/dist/leaflet.css" />
<script src="https://npmcdn.com/leaflet@1.0.0-rc.2/dist/leaflet.js"></script>

A non-minified version of the javascript file is also available as:

<script src="https://npmcdn.com/leaflet@1.0.0-rc.2/dist/leaflet-src.js"></script>

The release is also available through NPM (npm install leaflet@rc), GitHub download, and CDN download. We discourage using Bower.

Use it, enjoy it, and please report any issue to help preparing the final Leaflet 1.0 release!

Best,

The "Leafteam"