Releases: openlayers/ol-mapbox-style
Releases · openlayers/ol-mapbox-style
v13.0.1
v13.0.0
Summary
Backwards incompatible changes
- The MVT format parser now assigns the tile's
source-layer
s to themvt:layer
property of each feature. Previously thelayer
property was used, which was not ideal because it is frequently used in OpenStreetMap based tiles. This change may require application code changes where OpenLayers feature info (Map.getFeaturesAtPixel()
,Map.forEachFeatureAtPixel()
,Layer.getFeatures()
) or style function customizations are used.
Other changes
- Improvements to font detection, to ensure that the correct fonts are downloaded
What's Changed
- Changes for 12.6.1 by @ahocevar in #1303
- Fix description of mapbox example by @ahocevar in #1304
- Make font detection and loading independent from OpenLayers by @ahocevar in #1306
- More font loading improvements by @ahocevar in #1307
- Try to avoid layerName collisions by @ahocevar in #1305
Full Changelog: v12.6.1...v13.0.0
v12.6.1
Summary
- Make styles with
pitch
anddistance-from-center
expressions work again
What's Changed
- Changes for 12.6.0 by @ahocevar in #1291
- Bump webpack-dev-server from 5.2.0 to 5.2.1 by @dependabot in #1293
- Bump copy-webpack-plugin from 12.0.2 to 13.0.0 by @dependabot in #1296
- Bump typescript from 5.7.3 to 5.8.3 by @dependabot in #1297
- Bump rollup from 4.40.0 to 4.40.2 by @dependabot in #1300
- Bump puppeteer from 24.6.1 to 24.8.2 by @dependabot in #1301
- Handle 'pitch' and 'distance-from-center' by @ahocevar in #1302
Full Changelog: v12.6.0...v12.6.1
v12.6.0
Summary
- Add support for multiple sprite sheets
- Warn instead of failing on invalid filters
What's Changed
- Bump puppeteer from 24.2.0 to 24.2.1 by @dependabot in #1252
- Remove unused dependency by @ahocevar in #1263
- Bump rollup from 4.34.6 to 4.34.8 by @dependabot in #1254
- Bump sinon from 18.0.0 to 19.0.2 by @dependabot in #1256
- Bump globals from 15.14.0 to 16.0.0 by @dependabot in #1261
- Updates for v12.5.0 by @ahocevar in #1264
- Fix argument types for setFeatureState() and getFeatureState() by @ahocevar in #1265
- Warn on filter errors, instead of failing by @ahocevar in #1274
- Support multiple sprites by @remogeissbuehler in #1266
- Fix vector sources lookup by @remogeissbuehler in #1267
- Bump @rollup/plugin-commonjs from 26.0.1 to 28.0.3 by @dependabot in #1275
- Bump rollup from 4.34.8 to 4.40.0 by @dependabot in #1287
- Bump puppeteer from 24.2.1 to 24.6.1 by @dependabot in #1288
- Bump typescript from 5.7.3 to 5.8.3 by @dependabot in #1285
- Bump http-proxy-middleware from 2.0.7 to 2.0.9 by @dependabot in #1290
- Bump typedoc from 0.27.6 to 0.28.3 by @dependabot in #1289
New Contributors
- @remogeissbuehler made their first contribution in #1266
Full Changelog: v12.5.0...v12.6.0
v12.5.0
Summary
- transformRequest can now also return a
Response
or aPromise
thereof. - Fix
browser
andmodule
entries inpackage.json
.
What's Changed
- Changes for v12.4.1 by @ahocevar in #1243
- Accept Response and Promise as transformRequest return by @ahocevar in #1250
- Bump html-webpack-plugin from 5.6.0 to 5.6.3 by @dependabot in #1247
- Bump webpack-dev-server from 5.0.4 to 5.2.0 by @dependabot in #1248
- Bump mini-css-extract-plugin from 2.9.0 to 2.9.2 by @dependabot in #1244
- Bump puppeteer from 23.10.4 to 24.2.0 by @dependabot in #1245
- Bump rollup from 2.79.2 to 4.34.6 by @dependabot in #1246
- Support Response for spriteImageUrl by @ahocevar in #1258
- Update package.json to point to src/index.js by @gmerciel in #1262
New Contributors
Full Changelog: v12.4.1...v12.5.0
v12.4.1
Summary
- Switch from @mapbox/mapbox-gl-style-spec to @mapblibre/maplibre-gl-style-spec
- Get rid of ESM bundle in dist/index.js, use src/index.js directly for ESM
- New website and API docs
All changes
- Changes for v12.4.0 by @ahocevar in #1229
- Update version notes by @ahocevar in #1230
- Bump webpack-dev-server from 5.0.4 to 5.2.0 by @dependabot in #1231
- Bump mocha from 10.4.0 to 11.1.0 by @dependabot in #1235
- Use maplibre instead of mapbox style spec by @ahocevar in #940
- Bump eslint-config-openlayers from 19.0.0 to 20.0.0 by @dependabot in #1224
- Bump typescript from 5.4.5 to 5.7.3 by @dependabot in #1234
- Bump mapbox-to-css-font from 2.4.4 to 3.0.2 by @dependabot in #1236
- Bump pmtiles-protocol from 1.0.1 to 1.0.4 by @dependabot in #1237
- Bump @types/mocha from 10.0.6 to 10.0.10 by @dependabot in #1238
- Bump @rollup/plugin-node-resolve from 15.2.3 to 16.0.0 by @dependabot in #1239
- Bump webpack-cli from 5.1.4 to 6.0.1 by @dependabot in #1240
- Build docs as html and deploy to website by @ahocevar in #1241
- Add types for exports by @ahocevar in #1242
Full Changelog: v12.4.0...v12.4.1
v12.4.0
Summary
- More precise angle computation for line labels
- Add support for
"text-keep-upright": false
- Fix
text-field
value issues - Update examples and add references to MapLibre
- Fix issue with missing
expandUrl
from OpenLayers
What's Changed
- Changes for v12.3.5 by @ahocevar in #1186
- Bump puppeteer from 23.0.2 to 23.2.1 by @dependabot in #1195
- Add PMTiles example with pmtiles:// protocol by @ahocevar in #1203
- more precise angle computation by @leyan in #1205
- Use the pmtiles-protocol package for the pmtiles example by @ahocevar in #1209
- Use the new keepUpright parameter in OpenLayers by @leyan in #1208
- Update stylefunction.js to fix textField reduce function by @mzmcgrat in #1220
- Bump karma from 6.4.3 to 6.4.4 by @dependabot in #1197
- Bump rollup from 2.79.1 to 2.79.2 by @dependabot in #1202
- Bump webpack from 5.91.0 to 5.96.1 by @dependabot in #1214
- Bump serve-static and express by @dependabot in #1210
- Bump send and express by @dependabot in #1211
- Bump body-parser and express by @dependabot in #1212
- Bump cookie, socket.io and express by @dependabot in #1213
- Bump typescript from 5.4.5 to 5.7.2 by @dependabot in #1219
- Get rid of expandUrl dependency by @ahocevar in #1228
- Bump babel-loader from 9.1.3 to 9.2.1 by @dependabot in #1223
New Contributors
Full Changelog: v12.3.5...v12.4.0
v12.3.5
Summary
- Adjust
MapboxVectorLayer
type generics for OpenLayers v10
What's Changed
- Use ol v10 type generics for MapboxVectorLayer by @ahocevar in #1184
- Bump typedoc-plugin-markdown from 3.17.1 to 4.0.3 by @dependabot in #1155
- Bump css-loader from 7.1.1 to 7.1.2 by @dependabot in #1156
- Bump @rollup/plugin-commonjs from 25.0.7 to 26.0.1 by @dependabot in #1162
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #1164
- Bump puppeteer from 22.9.0 to 23.0.2 by @dependabot in #1182
- Bump ws, engine.io and socket.io-adapter by @dependabot in #1185
Full Changelog: v12.3.4...v12.3.5
v12.3.4
Summary
- Remove polyfill.io from examples, no code changes
What's Changed
- Changes for 12.3.3 by @ahocevar in #1154
- Remove polyfill io by @orangemug in #1169
Full Changelog: v12.3.3...v12.3.4
v12.3.3
What's Changed
- Changes for v12.3.2 by @ahocevar in #1142
- Bump puppeteer from 22.6.5 to 22.8.0 by @dependabot in #1145
- Bump sinon from 17.0.1 to 18.0.0 by @dependabot in #1149
- Bump puppeteer from 22.8.0 to 22.9.0 by @dependabot in #1152
- Updates for [email protected] types by @ahocevar in #1153
- Bump typedoc-plugin-markdown from 3.17.1 to 4.0.2 by @dependabot in #1151
Full Changelog: v12.3.2...v12.3.3