Website updates for 1.0.2, version bump (#5123)
This commit is contained in:
parent
c6f8e8eafd
commit
65102bc4d1
@ -5,4 +5,4 @@ markdown: kramdown
|
|||||||
kramdown:
|
kramdown:
|
||||||
entity_output: as_input
|
entity_output: as_input
|
||||||
|
|
||||||
latest_leaflet_version: 1.0.1
|
latest_leaflet_version: 1.0.2
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
{% if page.title == 'Documentation' %}
|
{% if page.title == 'Documentation' %}
|
||||||
<span>Docs</span>
|
<span>Docs</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ root }}reference-1.0.0.html">Docs</a>
|
<a href="{{ root }}reference-1.0.2.html">Docs</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
25
docs/_posts/2016-11-21-leaflet-1.0.2.md
Normal file
25
docs/_posts/2016-11-21-leaflet-1.0.2.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
layout: post
|
||||||
|
title: Announcing Leaflet 1.0.2
|
||||||
|
description: Leaflet 1.0.2, a bugfix release, is out
|
||||||
|
author: Iván Sánchez Ortega
|
||||||
|
authorsite: http://ivan.sanchezortega.es
|
||||||
|
---
|
||||||
|
|
||||||
|
As part of our "we really promised a faster release cycle" vision, we are publishing Leaflet 1.0.2.
|
||||||
|
|
||||||
|
Compared to 1.0.1, this release fixes about a dozen bugs, and a couple new options. The full list of changes can be found on [the changelog](https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md).
|
||||||
|
|
||||||
|
As usual, check the [downloads page](http://leafletjs.com/download.html) to get this release.
|
||||||
|
|
||||||
|
### Next plans?
|
||||||
|
|
||||||
|
Now, Leaflet uses a set of scripts to put a lot of files together. While this has been reliable for years, we want to embrace some of the features of contemporary JavaScript.
|
||||||
|
|
||||||
|
We have been working on reorganizing the codebase to implement ES6 modules. This means a cleaner, easier to understand build system, and slightly smaller file sizes thanks to [RollupJS](http://rollupjs.org/).
|
||||||
|
|
||||||
|
We aim for a 1.1.0 release with the new rollup builds. Even though it's not a very exciting development, this will pave the way for experimenting with new ways of having Leaflet plugins.
|
||||||
|
|
||||||
|
|
||||||
|
Cheers,<br>
|
||||||
|
The Leaflet team.
|
@ -12,8 +12,8 @@ bodyclass: download-page
|
|||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.1/leaflet.zip">Leaflet 1.0.1</a></td>
|
<td><a href="http://cdn.leafletjs.com/leaflet/v1.0.2/leaflet.zip">Leaflet 1.0.2</a></td>
|
||||||
<td>Stable version, released on September 30, 2016.</td>
|
<td>Stable version, released on November 21, 2016.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.1-dev</a></td>
|
<td><a href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.zip">Leaflet 1.1-dev</a></td>
|
||||||
@ -52,6 +52,14 @@ Unzip the downloaded archive to your website's directory and add this to the `he
|
|||||||
<link rel="stylesheet" href="/path/to/leaflet.css" />
|
<link rel="stylesheet" href="/path/to/leaflet.css" />
|
||||||
<script src="/path/to/leaflet.js"></script> <!-- or use leaflet-src.js --!>
|
<script src="/path/to/leaflet.js"></script> <!-- or use leaflet-src.js --!>
|
||||||
|
|
||||||
|
### Using a JavaScript package manager
|
||||||
|
|
||||||
|
If you use the [`npm` package manager](https://www.npmjs.com/), you can fetch a local copy of Leaflet by running:
|
||||||
|
|
||||||
|
npm install leaflet
|
||||||
|
|
||||||
|
You will find a copy of the Leaflet release files in `node_modules/leaflet/dist`.
|
||||||
|
|
||||||
### Leaflet Source Code
|
### Leaflet Source Code
|
||||||
|
|
||||||
These download packages above only contain the library itself.
|
These download packages above only contain the library itself.
|
||||||
@ -74,8 +82,3 @@ npm install</code></pre>
|
|||||||
Now that you have everything installed, run `jake build` inside the Leaflet directory.
|
Now that you have everything installed, run `jake build` inside the Leaflet directory.
|
||||||
This will combine and compress the Leaflet source files, saving the build to the `dist` folder.
|
This will combine and compress the Leaflet source files, saving the build to the `dist` folder.
|
||||||
|
|
||||||
### Building a Custom Version of Leaflet
|
|
||||||
|
|
||||||
To make a custom build of the library with only the things you need,
|
|
||||||
open `build/build.html` page of the Leaflet source code contents, choose the components
|
|
||||||
(it figures out dependencies for you) and then run the command generated with it.
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
layout: v2
|
layout: v2
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="announcement">Nov 21, 2016 — <a href="http://leafletjs.com/2016/11/21/leaflet-1.0.2.html">Leaflet 1.0.2</a>, a bugfix release, is out.</div>
|
||||||
|
|
||||||
<div class="announcement">Sep 27, 2016 — <a href="http://leafletjs.com/2016/09/27/leaflet-1.0-final.html">Leaflet 1.0</a>, the fastest, most stable and polished Leaflet release ever, is finally out!</div>
|
<div class="announcement">Sep 27, 2016 — <a href="http://leafletjs.com/2016/09/27/leaflet-1.0-final.html">Leaflet 1.0</a>, the fastest, most stable and polished Leaflet release ever, is finally out!</div>
|
||||||
|
|
||||||
<p>Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.
|
<p>Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.
|
||||||
|
@ -8,6 +8,8 @@ bodyclass: api-page
|
|||||||
|
|
||||||
<p>This reference reflects <strong>Leaflet 1.0.0</strong>.</p>
|
<p>This reference reflects <strong>Leaflet 1.0.0</strong>.</p>
|
||||||
|
|
||||||
|
<p>Docs for the 1.0.2 version are <a href='reference-1.0.2.html'>available here</a>.
|
||||||
|
|
||||||
<p>Docs for the legacy 0.7.x versions are <a href='reference.html'>available here</a>.
|
<p>Docs for the legacy 0.7.x versions are <a href='reference.html'>available here</a>.
|
||||||
|
|
||||||
<div id="toc" class="clearfix">
|
<div id="toc" class="clearfix">
|
||||||
|
23379
docs/reference-1.0.2.html
Normal file
23379
docs/reference-1.0.2.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "leaflet",
|
"name": "leaflet",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "JavaScript library for mobile-friendly interactive maps",
|
"description": "JavaScript library for mobile-friendly interactive maps",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^3.5.0 <3.6.0",
|
"eslint": "^3.5.0 <3.6.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user