Skip to content

Commit

Permalink
v0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Sep 14, 2015
1 parent 9c0815c commit fde1b55
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 10 deletions.
27 changes: 25 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' });
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ A WebGL JavaScript interactive maps library that can render [Mapbox Vector Tiles
Include the source via HTML tags:

```html
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl.css' rel='stylesheet' />
```

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/).
Expand Down Expand Up @@ -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:

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _config.mb-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
4 changes: 3 additions & 1 deletion bench/fps/site.js
Original file line number Diff line number Diff line change
@@ -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'
];

Expand Down Expand Up @@ -50,4 +52,4 @@ function getAccessToken() {
}

return accessToken;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit fde1b55

Please sign in to comment.