Skip to content

Commit

Permalink
Release 1.6.0 (#6892)
Browse files Browse the repository at this point in the history
* update changelog

* add blog post

* build docs

* update reference and download pages

* add new version

* update config and announcement

* update integrity hashes
  • Loading branch information
cherniavskii committed Nov 17, 2019
1 parent 241972a commit 33f6f88
Show file tree
Hide file tree
Showing 8 changed files with 24,952 additions and 9 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,36 @@ Leaflet Changelog

(all changes without author notice are by [@mourner](https://github.com/mourner))

## 1.6.0

### API changes

* `GeoJSON.resetStyle` - allow invocation without an argument ([#6663](https://github.com/Leaflet/Leaflet/pull/6663) by [joukewitteveen](https://github.com/joukewitteveen))
* Add new `markersInheritOptions` option to `L.GeoJSON` ([#6866](https://github.com/Leaflet/Leaflet/pull/6866) by [ghybs](https://github.com/ghybs))

### Improvements

* Use passive event listeners ([#6694](https://github.com/Leaflet/Leaflet/pull/6694) by [danielkorte](https://github.com/danielkorte))
* Add `oldLatLng` coordinates to `L.CircleMarker` `move` event ([#6719](https://github.com/Leaflet/Leaflet/pull/6719) by [errnesto](https://github.com/errnesto))
* Add tests ([#6839](https://github.com/Leaflet/Leaflet/pull/6839), [#6841](https://github.com/Leaflet/Leaflet/pull/6841) by [ghybs](https://github.com/ghybs))
* Add test case to ensure scientific notation is formatted correctly ([#6877](https://github.com/Leaflet/Leaflet/pull/6877) by [desean1625](https://github.com/desean1625))

### Bug fixes
* Fix performance issue with `L.Util.formatNum` ([#6668](https://github.com/Leaflet/Leaflet/pull/6668) by [cherniavskii](https://github.com/cherniavskii))
* Respect `className` option in `SVGOverlay` and `VideoOverlay` ([#6679](https://github.com/Leaflet/Leaflet/pull/6679) by [IvanSanchez](https://github.com/IvanSanchez))
* Cancel the canvas `mousehover` throttle on `mouseout` ([#6749](https://github.com/Leaflet/Leaflet/pull/6749) by [IvanSanchez](https://github.com/IvanSanchez))
* Check for style being passed in `L.Path.setStyle` ([#6728](https://github.com/Leaflet/Leaflet/pull/6728) by [TheRealTorreySmith](https://github.com/TheRealTorreySmith))
* Fix `dblclick` event when both Pointer Events and Touch Events are available ([#6855](https://github.com/Leaflet/Leaflet/pull/6855) by [filcab](https://github.com/filcab))
* Properly unbind animation proxy events when removing map ([#6867](https://github.com/Leaflet/Leaflet/pull/6867) by [ghybs](https://github.com/ghybs))
* Fix race condition in `Marker` when icon is not present ([#6794](https://github.com/Leaflet/Leaflet/pull/6794) by [BenTalagan](https://github.com/BenTalagan))

### Docs & Web Site

* Update SvgOverlay code example ([#6658](https://github.com/Leaflet/Leaflet/pull/6658) by [cherniavskii](https://github.com/cherniavskii))
* Fix mobile locate accuracy snippet ([#6693](https://github.com/Leaflet/Leaflet/pull/6693) by [ghybs](https://github.com/ghybs))
* Fix broken accordions ([#6770](https://github.com/Leaflet/Leaflet/pull/6770) by [mbachner](https://github.com/mbachner))
* Fix misleading `L.Marker` docs sections ([#6871](https://github.com/Leaflet/Leaflet/pull/6871) by [chloe-mc](https://github.com/chloe-mc))

## 1.5.1 (2019-05-08)
* Fix module export regression ([#6647](https://github.com/Leaflet/Leaflet/pull/6647) by [cherniavskii](https://github.com/cherniavskii))

Expand Down
8 changes: 4 additions & 4 deletions docs/_config.yml
Expand Up @@ -5,12 +5,12 @@ markdown: kramdown
kramdown:
entity_output: as_input

latest_leaflet_version: 1.5.1
latest_leaflet_reference: 1.5.0
latest_leaflet_version: 1.6.0
latest_leaflet_reference: 1.6.0

# Integrity hashes for both leaflet.js and leaflet-src.js
# These will be shown in the downloads page
# See https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
integrity_hash_css: "sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
integrity_hash_source: "sha512-eldJj3obVsCO9Tlrj/J8AFrrTFD4+sN8d9HdwKAqZuSgHloWOm6IzetLy1uQnwh9qLssrY3TAgIJQfjPfQJxHQ=="
integrity_hash_uglified: "sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
integrity_hash_source: "sha512-6axRrTaCntT2gUQQnqcwJCDOQck4lTwHtKTriihNct1L7Ri2J1q0XFYgKJYldo0BTkijrR5X6r41l4OKCCLu/A=="
integrity_hash_uglified: "sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
26 changes: 26 additions & 0 deletions docs/_posts/2019-11-17-leaflet-1.6.0.md
@@ -0,0 +1,26 @@
---
layout: post
title: Announcing Leaflet 1.6.0
description: New release is out!
author: Andrew Cherniavskii
authorsite: https://github.com/cherniavskii
---

Leaflet 1.6.0 is out!

This release brings some new features, as well as bugfixes and improvements!

Here are some highlights:
- add `oldLatLng` coordinates to `L.CircleMarker` `move` event
- add new `markersInheritOptions` option to `L.GeoJSON`
- fix `dblclick` on iOS 13
- use passive event listeners

Big thanks to all contributors who made this release possible!

Changelog is available [here](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md).

To get the new release, update your dependencies in your favorite package manager, or check the [downloads page](https://leafletjs.com/download.html).

Cheers,<br>
The Leaflet team.
6 changes: 3 additions & 3 deletions docs/download.md
Expand Up @@ -12,11 +12,11 @@ bodyclass: download-page
<th>Description</th>
</tr>
<tr>
<td><a href="http://cdn.leafletjs.com/leaflet/v1.5.1/leaflet.zip">Leaflet 1.5.1</a></td>
<td>Stable version, released on May 8, 2019.</td>
<td><a href="http://cdn.leafletjs.com/leaflet/v1.6.0/leaflet.zip">Leaflet 1.6.0</a></td>
<td>Stable version, released on November 17, 2019.</td>
</tr>
<tr>
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.6-dev</a></td>
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.7-dev</a></td>
<td>In-progress version, developed on the <code>master</code> branch.</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -2,7 +2,7 @@
layout: v2
---

<div class="announcement">May 8, 2019 — <a href="/2019/05/08/leaflet-1.5.1.html">Leaflet 1.5.1</a> has been released!</div>
<div class="announcement">Nov 17, 2019 — <a href="/2019/11/17/leaflet-1.6.0.html">Leaflet 1.6.0</a> has been released!</div>

<p>Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.
Weighing just about <abbr title="38 KB gzipped &mdash; that's 133 KB minified and 378 KB in the source form, with 10 KB of CSS (2 KB gzipped) and 11 KB of images.">38 KB of JS</abbr>,
Expand Down

0 comments on commit 33f6f88

Please sign in to comment.