Skip to content

Commit f8a3f77

Browse files
authored
fix/add-breaking-changes-warning-to-readme (#151)
* Update readme * Remove readme to rename to UPPERCASE * Update readme name to UPPERCASE * Add space * Change modules list url * Update changelog
1 parent 6340044 commit f8a3f77

File tree

2 files changed

+41
-7
lines changed

2 files changed

+41
-7
lines changed

CHANGELOG.md

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
# MapTiler SDK Changelog
22

33
## 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
816

9-
### Bug Fixes
10-
- Navigation now relies on `Map` methods instead of `Transform` methods for bearing due to globe projection being available
1117

1218
## 2.5.1
1319
### Bug Fixes
1420
- Better control of the status of `monitoredStyleUrls` in Map instance when error is caught (https://github.com/maptiler/maptiler-sdk-js/pull/141)
1521
- Added extra integrity checks on style object when updating language (https://github.com/maptiler/maptiler-sdk-js/pull/142)
1622
- The Geolocate control no longer throwing error when window is lost (issue on Firefox only) (https://github.com/maptiler/maptiler-sdk-js/pull/140)
1723

24+
1825
## 2.5.0
1926
### others
2027
- Update MapTiler Client library to v2.5.0
2128

29+
2230
## 2.4.2
2331
### Bug Fixes
2432
- 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,6 +50,7 @@
4250
- Adding detection of invalid style objects of URLs and falls back to a default style if necessary.
4351
- Updating to Maplibre v4.7.1
4452

53+
4554
## 2.3.0
4655
### Bug Fixes
4756
- 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,19 +63,22 @@
5463
- Updating `MapTilerGeolocateControl` to match latest Maplibre update (https://github.com/maptiler/maptiler-sdk-js/pull/104)
5564
- Now sourcing language list from `@maptiler/client` (https://github.com/maptiler/maptiler-client-js/pull/42)
5665

66+
5767
## 2.2.2
5868
### Bug Fixes
5969
- No longer using named imports from Maplibre (https://github.com/maptiler/maptiler-sdk-js/issues/99)
6070
- Exporting types with classes for Maplibre types (https://github.com/maptiler/maptiler-sdk-js/issues/99)
6171
### Others
6272
- Bundling now made with ViteJS (no longer Rollup)
6373

74+
6475
## 2.2.1
6576
### Bug Fixes
6677
- The types from classes defined in Maplibre are now exposed more reliably (https://github.com/maptiler/maptiler-sdk-js/pull/98)
6778
### Others
6879
- Loading (lazy) the RTL plugin ealier and outside Map instance to prevent display glitch
6980

81+
7082
## 2.2.0
7183
### New Features
7284
- Displays a message in the map div when WebGL2 is not supported (https://github.com/maptiler/maptiler-sdk-js/pull/92)
@@ -79,16 +91,19 @@
7991
- 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)
8092
- Fixed many formatting and linting issues pointed by BiomeJS (https://github.com/maptiler/maptiler-sdk-js/pull/95)
8193

94+
8295
## 2.1.0
8396
### New Features
8497
- 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))
8598
### Bug Fixes
8699
- Floating buildings, fixed with the above update
87100

101+
88102
## 2.0.3
89103
### Bug Fixes
90104
- Fixed issue in attribution control
91105

106+
92107
## 2.0.2
93108
### Bug Fixes
94109
- Fix for the client-side caching breaking GeoJSON sources [#82](https://github.com/maptiler/maptiler-sdk-js/pull/82)
@@ -101,6 +116,7 @@
101116
### Bug Fixes
102117
- Bundling issue solved by [#79](https://github.com/maptiler/maptiler-sdk-js/pull/79)
103118

119+
104120
## 2.0.0
105121
### New Features
106122
- Updating with MapLibre GL JS v4.1
@@ -112,6 +128,7 @@
112128
- Added all the exports that are now exposed from MapLibre
113129
- Adapted some newly exported classes to make them TypeScript-compatible with the `Map` classes from both MapLibre and MapTiler SDK
114130

131+
115132
## 1.2.1
116133
### New Features
117134
- Elevation lookup at `maptilersdk.elevation` with the function `.at()`, `.batch()` and for geojson payloads. From the update of the MapTiler Client library
@@ -123,6 +140,7 @@
123140
- Update of the Maptiler Client library to v1.8.0 that brings the elevation and math module
124141
- Update with the last version of MapLibre GL JS (v3.6.2)
125142

143+
126144
## 1.2.0
127145
### New Features
128146
- Added the Minimap control https://github.com/maptiler/maptiler-sdk-js/pull/54
@@ -139,14 +157,17 @@
139157
- Upgrade to MapLibre v3.5.2 (https://github.com/maptiler/maptiler-sdk-js/pull/63)
140158
- Update of TypeScript configuration `moduleResolution` to `Bundler` (https://github.com/maptiler/maptiler-sdk-js/pull/62)
141159

160+
142161
## 1.1.2
143162
### Bug Fixes
144163
- 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
145164

165+
146166
## 1.1.1
147167
### Others
148168
- Update to `[email protected]`
149169

170+
150171
## 1.1.0
151172
### New Features
152173
- Bringing back Map's `options.transformRequest` and `.setTransformRequest()`
@@ -163,12 +184,14 @@
163184
### Bug Fixes
164185
- 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).
165186

187+
166188
## 1.0.11
167189
### Bug Fixes
168190
- Now exporting `MaptilerNavigationControl`
169191
### Others
170192
- Documentation update for `Map`'s `option.maptilerLogo` that was a bit unclear
171193

194+
172195
## 1.0.10
173196
### New Features
174197
- Terrain growing animation on enabling/disabling
@@ -181,6 +204,7 @@
181204
182205
- Updated from `[email protected]` to `[email protected]` as well as all the Rollup plugins
183206

207+
184208
## 1.0.9
185209
### New Features
186210
- Added new styles:
@@ -237,6 +261,7 @@
237261
### Bug Fixes
238262
- Since v1.0.7, the `Map` primary language (when custom) was no longer persistant on style update.
239263

264+
240265
## 1.0.7
241266
### New Features
242267
- The `apiKey` can now be specified in the `Map` constructor (will propagate to `config`)
@@ -245,31 +270,38 @@
245270
- `Map` now has the method `.getMaptilerSessionId()` to retrieve the MapTiler session ID
246271
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.
247272

273+
248274
## 1.0.6
249275
### New Features
250276
- Now exposing `MaptilerGeolocateControl` for external initialization if needed
251277
- Now exposing `MaptilerTerrain` for external initialization if needed
252278

279+
253280
## 1.0.5
254281
### New Features
255282
- Terrain elevation is now using MapTiler's `terrain-rgb-v2`
256283

284+
257285
## 1.0.4
258286
### Others
259287
- Improved the geolocate control behavior by not zooming out
260288

289+
261290
## 1.0.3
262291
### Bug Fixes
263292
- Fixed the usage of relative path style JSON (in `Map` constructor and `.setStyle()`)
264293

294+
265295
## 1.0.2
266296
### Bug Fixes
267297
- Fixed the dependency scheme of MapLibre import.
268298

299+
269300
## 1.0.1
270301
### Others
271302
- Reducing the NPM size by ignoring documentation images
272303

304+
273305
## 1.0.0
274306
### Others
275-
- First public version!
307+
- First public version!

readme.md renamed to README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ In addition, the MapTiler SDK JS provides well-documented and easy-to-use wrappe
2929
npm install --save @maptiler/sdk
3030
```
3131

32+
⚠️ 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.
33+
3234
# API documentation
3335
In addition to the details and examples provided in this readme, check out the [complete API documentation](https://docs.maptiler.com/sdk-js/api/)
3436

0 commit comments

Comments
 (0)