Permalink
Browse files

Website updates for 1.0.2, version bump (#5123)

  • Loading branch information...
1 parent c6f8e8e commit 65102bc4d108285318e8724b051d8030e7675de4 @IvanSanchez IvanSanchez committed on GitHub Nov 21, 2016
Showing with 23,421 additions and 10 deletions.
  1. +1 −1 docs/_config.yml
  2. +1 −1 docs/_layouts/v2.html
  3. +25 −0 docs/_posts/2016-11-21-leaflet-1.0.2.md
  4. +10 −7 docs/download.md
  5. +2 −0 docs/index.html
  6. +2 −0 docs/reference-1.0.0.html
  7. +23,379 −0 docs/reference-1.0.2.html
  8. +1 −1 package.json
View
@@ -5,4 +5,4 @@ markdown: kramdown
kramdown:
entity_output: as_input
-latest_leaflet_version: 1.0.1
+latest_leaflet_version: 1.0.2
@@ -73,7 +73,7 @@ <h3 class="tagline">an open-source JavaScript library<br> for mobile-friendly in
{% if page.title == 'Documentation' %}
<span>Docs</span>
{% else %}
- <a href="{{ root }}reference-1.0.0.html">Docs</a>
+ <a href="{{ root }}reference-1.0.2.html">Docs</a>
{% endif %}
</li>
<li>
@@ -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.
View
@@ -12,8 +12,8 @@ bodyclass: download-page
<th>Description</th>
</tr>
<tr>
- <td><a href="http://cdn.leafletjs.com/leaflet/v1.0.1/leaflet.zip">Leaflet 1.0.1</a></td>
- <td>Stable version, released on September 30, 2016.</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 November 21, 2016.</td>
</tr>
<tr>
<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" />
<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
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.
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.
View
@@ -2,6 +2,8 @@
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>
<p>Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.
@@ -8,6 +8,8 @@
<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>.
<div id="toc" class="clearfix">
Oops, something went wrong.

0 comments on commit 65102bc

Please sign in to comment.