Skip to content

Commit ef8d949

Browse files
committed
Release 1.0.1
1 parent 20a428e commit ef8d949

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.0.1
2+
3+
### Features and improvements
4+
5+
- Add TypeScript types. ([#58](https://github.com/mapbox/mapbox-gl-language/pull/58) h/t @Phillip9587)
6+
17
## 1.0.0
28

39
### ⚠️ Breaking changes
@@ -7,12 +13,12 @@
713
- Support for Streets v7 Chinese `zh` is replaced with Traditional Chinese `zh-Hant` and Simplified Chinese `zh-Hans`. ([#39](https://github.com/mapbox/mapbox-gl-language/pull/39))
814
- Support for token values (e.g. `{name}`) has been removed. The plugin now expects the `text-field` property of a style to use an [expression](https://docs.mapbox.com/mapbox-gl-js/style-spec/expressions/) of the form `['get', 'name_en']` or `['get', 'name']`; these expressions can be nested. Note that `get` expressions used as inputs to other expressions may not be handled by this plugin. For example:
915
```
10-
["match",
11-
["get", "name"],
12-
"California",
13-
"Golden State",
14-
["coalesce",
15-
["get", "name_en"],
16+
["match",
17+
["get", "name"],
18+
"California",
19+
"Golden State",
20+
["coalesce",
21+
["get", "name_en"],
1622
["get", "name"]
1723
]
1824
]

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mapbox/mapbox-gl-language",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Mapbox GL JS plugin for switching map language to the browser language.",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)