Skip to content

Commit fa39dad

Browse files
author
Lucas Wojciechowski
committed
Prepare for release v0.12.1
1 parent 0feff82 commit fa39dad

File tree

6 files changed

+33
-9
lines changed

6 files changed

+33
-9
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
An in-progress version being developed in the `master` branch.
44

5+
## 0.12.1 (Dec 8 2015)
6+
7+
#### Breaking changes
8+
9+
* Reversed the direction of `line-offset` (#1808)
10+
* Renamed `Pinch` interaction handler to `TouchZoomRotate` (#1777)
11+
* Made `Map#update` and `Map#render` private methods (#1798)
12+
* Made `Map#remove` remove created DOM elements (#1789)
13+
14+
#### API Improvements
15+
16+
* Added an method to disable touch rotation (#1777)
17+
* Added a `position` option for `Attribution` (#1689)
18+
19+
#### Bugfixes
20+
21+
* Ensure tile loading errors are properly reported (#1799)
22+
* Ensure re-adding a previously removed pop-up works (#1477)
23+
24+
#### UX Improvements
25+
26+
* Don't round zoom level during double-click interaction (#1640)
27+
528
## 0.12.0 (Dec 2 2015)
629

730
#### API Improvements

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ A WebGL JavaScript interactive maps library that can render [Mapbox Vector Tiles
77
Include the source via HTML tags:
88

99
```html
10-
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.js'></script>
11-
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.css' rel='stylesheet' />
10+
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.js'></script>
11+
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.css' rel='stylesheet' />
1212
```
1313

1414
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/).
@@ -82,9 +82,10 @@ To prepare a release:
8282

8383
* Run `git checkout master && git merge origin/mb-pages` to merge `mb-pages` into `master`:
8484
* Update `CHANGELOG.md` with all changes since the last release
85-
* Update the version number in `package.json`, `README.md`, `bench/fps/site.js`, `_config.yml`, and `_config.mb-pages.yml`
8685
* Commit changes
87-
* Run `npm version patch` ([or `major`, or `minor`](http://semver.org/)) to bump the version number
86+
* Update the version number in `package.json`, `README.md`, `bench/fps/site.js`, `_config.yml`, and `_config.mb-pages.yml`
87+
* Commit changes `git commit -m "vX.Y.Z"`
88+
* Tag the release, `git tag vX.Y.Z`
8889
* Run `git push origin && git push origin --follow-tags`.
8990
* Create a [GitHub release](https://github.com/mapbox/mapbox-gl-js/releases/new) using text from the CHANGELOG.md
9091
* The CI server will automatically publish tagged builds to the Mapbox CDN. Wait for this build to finish successfully before proceeding.

_config.mb-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /:categories/:title
66
baseurl: /mapbox-gl-js
77
highlighter: pygments
88
excerpt_separator: ""
9-
version: v0.12.0
9+
version: v0.12.1
1010
rdiscount:
1111
extensions: [smart]
1212
exclude: [dist]

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /:categories/:title
66
baseurl: /mapbox-gl-js
77
highlighter: pygments
88
excerpt_separator: ""
9-
version: v0.12.0
9+
version: v0.12.1
1010
mapboxglbase: /mapbox-gl-js/dist
1111
rdiscount:
1212
extensions: [smart]

bench/fps/site.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
var urls = [
22
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.js',
3-
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.js',
3+
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.js',
44
'/dist/mapbox-gl.js',
55
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.10.0/mapbox-gl.js',
6-
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.js',
6+
'https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.js',
77
'/dist/mapbox-gl.js'
88
];
99

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mapbox-gl",
33
"description": "A WebGL interactive maps library",
4-
"version": "0.12.0",
4+
"version": "0.12.1",
55
"main": "js/mapbox-gl.js",
66
"license": "BSD-3-Clause",
77
"repository": {

0 commit comments

Comments
 (0)