From fde1b55c2d195a18e25d1ef8642430d7dbb985c7 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 14 Sep 2015 17:13:44 -0400 Subject: [PATCH] v0.11.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++-- README.md | 8 ++++---- _config.mb-pages.yml | 2 +- _config.yml | 2 +- bench/fps/site.js | 4 +++- package.json | 2 +- 6 files changed, 35 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f130a2f662..e97bae1356e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,29 @@ An in-progress version being developed in the `master` branch. +## 0.11.0 (Sep 11 2015) + +#### API Improvements + +* Add `Map#featuresIn`: a bounding-box feature query +* Emit stylesheet validation errors (#1436) + +#### UX Improvements + +* Handle v8 style `center`, `zoom`, `bearing`, `pitch` (#1452) +* Improve circle type styling (#1446) +* Improve dashed and patterned line antialiasing + +#### Bugfixes + +* Load images in a way that respects Cache-Control headers +* Filter for rtree matches to those crossing bbox +* Log errors by default (#1463) +* Fixed modification of `text-size` via `setLayoutProperty` (#1451) +* Throw on lat > 90 || < -90. (#1443) +* Fix circle clipping bug (#1457) + + ## 0.10.0 (Aug 21 2015) #### Breaking changes @@ -61,10 +84,10 @@ An in-progress version being developed in the `master` branch. * Expose `geojson-vt` options for GeoJSON sources (#1271) * bearing snaps to "North" within a tolerance of 7 degrees (#1059) * Now you can directly mutate the minzoom and maxzoom layer properties with `map.setLayerZoomRange(layerId, minzoom, maxzoom)` -* Exposed `mapboxgl.Control`, a base class used by all UI controls +* Exposed `mapboxgl.Control`, a base class used by all UI controls * Refactored handlers to be individually included in Map options, or enable/disable them individually at runtime, e.g. `map.scrollZoom.disable()`. * New feature: Batch operations can now be done at once, improving performance for calling multiple style functions: (#1352) - + ```js style.batch(function(s) { s.addLayer({ id: 'first', type: 'symbol', source: 'streets' }); diff --git a/README.md b/README.md index 3d133b69442..21af37e9ddf 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ A WebGL JavaScript interactive maps library that can render [Mapbox Vector Tiles Include the source via HTML tags: ```html - - + + ``` For more information, see the [API documentation](https://www.mapbox.com/mapbox-gl-js/api/) and [examples](https://www.mapbox.com/mapbox-gl-js/examples/). @@ -63,7 +63,7 @@ There are two test suites associated with Mapbox GL JS ## Running Benchmarks -The FPS benchmarking page compares the performance of your local copy of GL JS against `v0.7.0`. Benchmarking configuration is within `bench/fps/site.js`. +The FPS benchmarking page compares the performance of your local copy of GL JS against previously released versions. Benchmarking configuration is within `bench/fps/site.js`. To serve the FPS benchmark page: @@ -88,7 +88,7 @@ To prepare a release: * Merge `mb-pages` into `master`: * `git checkout master && git merge origin/mb-pages` * Update `CHANGELOG.md` -* Update the version number in `package.json`, `README.md`, `_config.yml`, and `_config.mb-pages.yml` +* Update the version number in `package.json`, `README.md`, `bench/fps/site.js`, `_config.yml`, and `_config.mb-pages.yml` * Publish the build to the CDN (see below) * Publish the build to npm (`npm publish`) * Merge `master` into `mb-pages` and publish documentation: diff --git a/_config.mb-pages.yml b/_config.mb-pages.yml index c02f5d00f76..a2d3870dcf2 100755 --- a/_config.mb-pages.yml +++ b/_config.mb-pages.yml @@ -6,7 +6,7 @@ permalink: /:categories/:title baseurl: /mapbox-gl-js highlighter: pygments excerpt_separator: "" -version: v0.10.0 +version: v0.11.0 rdiscount: extensions: [smart] exclude: [dist] diff --git a/_config.yml b/_config.yml index 943cb055c5b..c1d94bb0222 100755 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ permalink: /:categories/:title baseurl: /mapbox-gl-js highlighter: pygments excerpt_separator: "" -version: v0.10.0 +version: v0.11.0 mapboxglbase: /mapbox-gl-js/dist rdiscount: extensions: [smart] diff --git a/bench/fps/site.js b/bench/fps/site.js index 07cb931cef8..1b920078711 100644 --- a/bench/fps/site.js +++ b/bench/fps/site.js @@ -1,7 +1,9 @@ var urls = [ 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.js', + 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl.js', '/debug/mapbox-gl.js', 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.js', + 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl.js', '/debug/mapbox-gl.js' ]; @@ -50,4 +52,4 @@ function getAccessToken() { } return accessToken; -} \ No newline at end of file +} diff --git a/package.json b/package.json index 12cff419e5c..237a2ca40af 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mapbox-gl", "description": "A WebGL interactive maps library", - "version": "0.10.0", + "version": "0.11.0", "main": "js/mapbox-gl.js", "license": "BSD-3-Clause", "repository": {