Skip to content

Commit bac56a6

Browse files
author
Lucas Wojciechowski
committed
v0.27.0
1 parent 868adb7 commit bac56a6

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
## 0.27.0 (November 11 2016)
2+
3+
#### ⚠️ Breaking changes ⚠️
4+
5+
- Replace `fill-extrude-height` and `fill-extrude-base` properties of `fill` render type with a separate `fill-extrusion` type (with corresponding `fill-extrusion-height` and `fill-extrusion-base` properties), solving problems with render parity and runtime switching between flat and extruded fills. https://github.com/mapbox/mapbox-gl-style-spec/issues/554
6+
- Change the units for extrusion height properties (`fill-extrusion-height`, `fill-extrusion-base`) from "magic numbers" to meters. #3509
7+
- Remove `mapboxgl.Control` class and change the way custom controls should be implemented. #3497
8+
- Remove `mapboxgl.util` functions: `inherit`, `extendAll`, `debounce`, `coalesce`, `startsWith`, `supportsGeolocation`. #3441 #3571
9+
- **`mapboxgl.util` is deprecated** and will be removed in the next release. #1408
10+
11+
#### New features and improvements
12+
13+
- Tons of **performance improvements** that combined make rendering **up to 3 times faster**, especially for complex styles. #3485 #3489 #3490 #3491 #3498 #3499 #3501 #3510 #3514 #3515 #3486 #3527 #3574 ⚡️⚡️⚡️
14+
- 🈯 Added **vertical text writing mode** for languages that support it. #3438
15+
- 🈯 Improved **line breaking of Chinese and Japanese text** in point-placed labels. #3420
16+
- Reduce the default number of worker threads (`mapboxgl.workerCount`) for better performance. #3565
17+
- Automatically use `categorical` style function type when input values are strings. #3384
18+
- Improve control buttons accessibility. #3492
19+
- Remove geolocation button if geolocation is disabled (e.g. the page is not served through `https`). #3571
20+
- Added `Map#getMaxZoom` and `Map#getMinZoom` methods #3592
21+
22+
#### Bugfixes
23+
24+
- Fix several line dash rendering bugs. #3451
25+
- Fix intermittent map flicker when using image sources. #3522
26+
- Fix incorrect rendering of semitransparent `background` layers. #3521
27+
- Fix broken `raster-fade-duration` property. #3532
28+
- Fix handling of extrusion heights with negative values (by clamping to `0`). #3463
29+
- Fix GeoJSON sources not placing labels/icons correctly after map rotation. #3366
30+
- Fix icon/label placement not respecting order for layers with numeric names. #3404
31+
- Fix `queryRenderedFeatures` working incorrectly on colliding labels. #3459
32+
- Fix a bug where changing extrusion properties at runtime sometimes threw an error. #3487 #3468
33+
- Fix a bug where `map.loaded()` always returned `true` when using raster tile sources. #3302
34+
- Fix a bug where moving the map out of bounds sometimes threw `failed to invert matrix` error. #3518
35+
- Fixed `queryRenderedFeatures` throwing an error if no parameters provided. #3542
36+
- Fixed a bug where using multiple `\n` in a text field resulted in an error. #3570
37+
38+
#### Misc
39+
40+
- 🐞 Fix `npm install mapbox-gl` pulling in all `devDependencies`, leading to an extremely slow install. #3377
41+
- Switch the codebase to ES6. #3388 #3408 #3415 #3421
42+
- A lot of internal refactoring to make the codebase simpler and more maintainable.
43+
- Various documentation fixes. #3440
44+
145
## 0.26.0 (October 13 2016)
246

347
#### New Features & Improvements

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ To use the [vector tiles](https://www.mapbox.com/maps/) and styles hosted on htt
2323
<!DOCTYPE html>
2424
<html>
2525
<head>
26-
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.26.0/mapbox-gl.js'></script>
27-
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.26.0/mapbox-gl.css' rel='stylesheet' />
26+
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.27.0/mapbox-gl.js'></script>
27+
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.27.0/mapbox-gl.css' rel='stylesheet' />
2828
</head>
2929

3030
<body>

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.26.0",
4+
"version": "0.27.0",
55
"main": "js/mapbox-gl.js",
66
"license": "BSD-3-Clause",
77
"repository": {

0 commit comments

Comments
 (0)