|
1 | 1 | # MapTiler SDK Changelog |
2 | 2 |
|
3 | 3 | ## 3.0.0 |
4 | | -### New Features |
5 | | -- Update to Maplibre v5.0.0 |
6 | | -- New `MaptilerProjectionControl` to toggle Globe/Mercator projection |
7 | | -- Add metric collection and plugin registration feature |
| 4 | +⚠️ Please keep in mind that if you use any additional [MapTiler modules](https://docs.maptiler.com/sdk-js/modules/), you must update them to a version that supports MapTiler SDK JS v3. |
| 5 | + |
| 6 | +## ✨ Features and improvements |
| 7 | +* Globe projection support |
| 8 | +* `MaptilerProjectionControl` to toggle Globe/Mercator projection |
| 9 | + |
| 10 | +## 🐛 Bug fixes |
| 11 | +* _None_ |
| 12 | + |
| 13 | +## 🔧 Others |
| 14 | +* Using MapLibre GL JS 5.0.0 |
| 15 | +* Using MapTiler Client JS 2.2.0 |
8 | 16 |
|
9 | | -### Bug Fixes |
10 | | -- Navigation now relies on `Map` methods instead of `Transform` methods for bearing due to globe projection being available |
11 | 17 |
|
12 | 18 | ## 2.5.1 |
13 | 19 | ### Bug Fixes |
14 | 20 | - Better control of the status of `monitoredStyleUrls` in Map instance when error is caught (https://github.com/maptiler/maptiler-sdk-js/pull/141) |
15 | 21 | - Added extra integrity checks on style object when updating language (https://github.com/maptiler/maptiler-sdk-js/pull/142) |
16 | 22 | - The Geolocate control no longer throwing error when window is lost (issue on Firefox only) (https://github.com/maptiler/maptiler-sdk-js/pull/140) |
17 | 23 |
|
| 24 | + |
18 | 25 | ## 2.5.0 |
19 | 26 | ### others |
20 | 27 | - Update MapTiler Client library to v2.5.0 |
21 | 28 |
|
| 29 | + |
22 | 30 | ## 2.4.2 |
23 | 31 | ### Bug Fixes |
24 | 32 | - The language switching is now more robust and preserves the original formatting from the style (`Map.setPrimaryLangage()`) (https://github.com/maptiler/maptiler-sdk-js/pull/134) |
|
42 | 50 | - Adding detection of invalid style objects of URLs and falls back to a default style if necessary. |
43 | 51 | - Updating to Maplibre v4.7.1 |
44 | 52 |
|
| 53 | + |
45 | 54 | ## 2.3.0 |
46 | 55 | ### Bug Fixes |
47 | 56 | - Updating from MapLibre v4.4.1 to v4.7.0. See Maplibre changelogs for [v4.5.0](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#450), [v4.5.1](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#451), [v4.5.2](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#452), and [v4.6.0](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#460) |
|
54 | 63 | - Updating `MapTilerGeolocateControl` to match latest Maplibre update (https://github.com/maptiler/maptiler-sdk-js/pull/104) |
55 | 64 | - Now sourcing language list from `@maptiler/client` (https://github.com/maptiler/maptiler-client-js/pull/42) |
56 | 65 |
|
| 66 | + |
57 | 67 | ## 2.2.2 |
58 | 68 | ### Bug Fixes |
59 | 69 | - No longer using named imports from Maplibre (https://github.com/maptiler/maptiler-sdk-js/issues/99) |
60 | 70 | - Exporting types with classes for Maplibre types (https://github.com/maptiler/maptiler-sdk-js/issues/99) |
61 | 71 | ### Others |
62 | 72 | - Bundling now made with ViteJS (no longer Rollup) |
63 | 73 |
|
| 74 | + |
64 | 75 | ## 2.2.1 |
65 | 76 | ### Bug Fixes |
66 | 77 | - The types from classes defined in Maplibre are now exposed more reliably (https://github.com/maptiler/maptiler-sdk-js/pull/98) |
67 | 78 | ### Others |
68 | 79 | - Loading (lazy) the RTL plugin ealier and outside Map instance to prevent display glitch |
69 | 80 |
|
| 81 | + |
70 | 82 | ## 2.2.0 |
71 | 83 | ### New Features |
72 | 84 | - Displays a message in the map div when WebGL2 is not supported (https://github.com/maptiler/maptiler-sdk-js/pull/92) |
|
79 | 91 | - Replaced Eslint and Prettier by BiomeJS (ang got rid of tons of dependencies, some were problematic) (https://github.com/maptiler/maptiler-sdk-js/pull/95) |
80 | 92 | - Fixed many formatting and linting issues pointed by BiomeJS (https://github.com/maptiler/maptiler-sdk-js/pull/95) |
81 | 93 |
|
| 94 | + |
82 | 95 | ## 2.1.0 |
83 | 96 | ### New Features |
84 | 97 | - Update from Maplibre v4.1.3 to v4.4.1 (see Maplibre's [changelog](https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#441)) |
85 | 98 | ### Bug Fixes |
86 | 99 | - Floating buildings, fixed with the above update |
87 | 100 |
|
| 101 | + |
88 | 102 | ## 2.0.3 |
89 | 103 | ### Bug Fixes |
90 | 104 | - Fixed issue in attribution control |
91 | 105 |
|
| 106 | + |
92 | 107 | ## 2.0.2 |
93 | 108 | ### Bug Fixes |
94 | 109 | - Fix for the client-side caching breaking GeoJSON sources [#82](https://github.com/maptiler/maptiler-sdk-js/pull/82) |
|
101 | 116 | ### Bug Fixes |
102 | 117 | - Bundling issue solved by [#79](https://github.com/maptiler/maptiler-sdk-js/pull/79) |
103 | 118 |
|
| 119 | + |
104 | 120 | ## 2.0.0 |
105 | 121 | ### New Features |
106 | 122 | - Updating with MapLibre GL JS v4.1 |
|
112 | 128 | - Added all the exports that are now exposed from MapLibre |
113 | 129 | - Adapted some newly exported classes to make them TypeScript-compatible with the `Map` classes from both MapLibre and MapTiler SDK |
114 | 130 |
|
| 131 | + |
115 | 132 | ## 1.2.1 |
116 | 133 | ### New Features |
117 | 134 | - Elevation lookup at `maptilersdk.elevation` with the function `.at()`, `.batch()` and for geojson payloads. From the update of the MapTiler Client library |
|
123 | 140 | - Update of the Maptiler Client library to v1.8.0 that brings the elevation and math module |
124 | 141 | - Update with the last version of MapLibre GL JS (v3.6.2) |
125 | 142 |
|
| 143 | + |
126 | 144 | ## 1.2.0 |
127 | 145 | ### New Features |
128 | 146 | - Added the Minimap control https://github.com/maptiler/maptiler-sdk-js/pull/54 |
|
139 | 157 | - Upgrade to MapLibre v3.5.2 (https://github.com/maptiler/maptiler-sdk-js/pull/63) |
140 | 158 | - Update of TypeScript configuration `moduleResolution` to `Bundler` (https://github.com/maptiler/maptiler-sdk-js/pull/62) |
141 | 159 |
|
| 160 | + |
142 | 161 | ## 1.1.2 |
143 | 162 | ### Bug Fixes |
144 | 163 | - Now using a fixed version of MapLibre GL. No longer use `^` because this caused issues as MapLibre made minor/patch update that were not backward compatible |
145 | 164 |
|
| 165 | + |
146 | 166 | ## 1.1.1 |
147 | 167 | ### Others |
148 | 168 | |
149 | 169 |
|
| 170 | + |
150 | 171 | ## 1.1.0 |
151 | 172 | ### New Features |
152 | 173 | - Bringing back Map's `options.transformRequest` and `.setTransformRequest()` |
|
163 | 184 | ### Bug Fixes |
164 | 185 | - The fallback language was `{name:latin}`, it is now replaced by `{name}`, which is for the local name (present by default for many places while `latin` is less frequent). |
165 | 186 |
|
| 187 | + |
166 | 188 | ## 1.0.11 |
167 | 189 | ### Bug Fixes |
168 | 190 | - Now exporting `MaptilerNavigationControl` |
169 | 191 | ### Others |
170 | 192 | - Documentation update for `Map`'s `option.maptilerLogo` that was a bit unclear |
171 | 193 |
|
| 194 | + |
172 | 195 | ## 1.0.10 |
173 | 196 | ### New Features |
174 | 197 | - Terrain growing animation on enabling/disabling |
|
181 | 204 | |
182 | 205 | - Updated from `[email protected]` to `[email protected]` as well as all the Rollup plugins |
183 | 206 |
|
| 207 | + |
184 | 208 | ## 1.0.9 |
185 | 209 | ### New Features |
186 | 210 | - Added new styles: |
|
237 | 261 | ### Bug Fixes |
238 | 262 | - Since v1.0.7, the `Map` primary language (when custom) was no longer persistant on style update. |
239 | 263 |
|
| 264 | + |
240 | 265 | ## 1.0.7 |
241 | 266 | ### New Features |
242 | 267 | - The `apiKey` can now be specified in the `Map` constructor (will propagate to `config`) |
|
245 | 270 | - `Map` now has the method `.getMaptilerSessionId()` to retrieve the MapTiler session ID |
246 | 271 | Both `.getSdkConfig()` and `.getMaptilerSessionId()` are handy for layers or control built outside of the SDK that still need some of the configuration to interact with the server. Those components do not always have access to the internal of the SDK (especially that the config is scoped) but can access to the `Map` instance to which they are added with the implementation of the `.onAdd()` method. |
247 | 272 |
|
| 273 | + |
248 | 274 | ## 1.0.6 |
249 | 275 | ### New Features |
250 | 276 | - Now exposing `MaptilerGeolocateControl` for external initialization if needed |
251 | 277 | - Now exposing `MaptilerTerrain` for external initialization if needed |
252 | 278 |
|
| 279 | + |
253 | 280 | ## 1.0.5 |
254 | 281 | ### New Features |
255 | 282 | - Terrain elevation is now using MapTiler's `terrain-rgb-v2` |
256 | 283 |
|
| 284 | + |
257 | 285 | ## 1.0.4 |
258 | 286 | ### Others |
259 | 287 | - Improved the geolocate control behavior by not zooming out |
260 | 288 |
|
| 289 | + |
261 | 290 | ## 1.0.3 |
262 | 291 | ### Bug Fixes |
263 | 292 | - Fixed the usage of relative path style JSON (in `Map` constructor and `.setStyle()`) |
264 | 293 |
|
| 294 | + |
265 | 295 | ## 1.0.2 |
266 | 296 | ### Bug Fixes |
267 | 297 | - Fixed the dependency scheme of MapLibre import. |
268 | 298 |
|
| 299 | + |
269 | 300 | ## 1.0.1 |
270 | 301 | ### Others |
271 | 302 | - Reducing the NPM size by ignoring documentation images |
272 | 303 |
|
| 304 | + |
273 | 305 | ## 1.0.0 |
274 | 306 | ### Others |
275 | | -- First public version! |
| 307 | +- First public version! |
0 commit comments