Releases: openlayers/ol-mapbox-style
Releases · openlayers/ol-mapbox-style
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 ol@9.2 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
v12.3.2
Summary
- Make minZoom inclusive by zoom instead of resolution internally
What's Changed
- Set version to 12.3.1 by @ahocevar in #1133
- Bump style-loader from 3.3.4 to 4.0.0 by @dependabot in #1134
- Bump puppeteer from 22.6.3 to 22.6.5 by @dependabot in #1135
- Bump typescript from 5.4.4 to 5.4.5 by @dependabot in #1136
- Bump css-loader from 7.0.0 to 7.1.1 by @dependabot in #1137
- Bump mini-css-extract-plugin from 2.8.1 to 2.9.0 by @dependabot in #1140
- Make minZoom inclusive by zoom instead of resolution by @ahocevar in #1141
Full Changelog: v12.3.1...v12.3.2
v12.3.1
Summary
- Improved docs and examples
- Avoid
document.createElement()
for more web worker friendliness
What's Changed
- Changes for v12.3.0 by @ahocevar in #1124
- Use webfonts option to avoid running into undefined metadata by @ahocevar in #1125
- Bump mocha from 10.3.0 to 10.4.0 by @dependabot in #1126
- Avoid document.createElement by @ahocevar in #1132
- Bump typescript from 5.4.3 to 5.4.4 by @dependabot in #1127
- Bump typedoc from 0.25.12 to 0.25.13 by @dependabot in #1129
- Bump css-loader from 6.10.0 to 7.0.0 by @dependabot in #1130
- Bump puppeteer from 22.6.1 to 22.6.3 by @dependabot in #1131
Full Changelog: v12.3.0...v12.3.1
v12.3.0
What's Changed
- Changes for v12.2.2 by @ahocevar in #1119
- Use point resolution for hillshade calculation by @ahocevar in #1120
- Fix layer minzoom by @ahocevar in #1121
- Add webfonts option to override ol:webfonts by @ahocevar in #1122
- Properly handle fractional layer minzoom and maxzoom by @ahocevar in #1123
Full Changelog: v12.2.2...v12.3.0
v12.2.2
What's Changed
- Changes for v12.2.1 by @ahocevar in #1096
- Bump webpack-dev-middleware from 5.3.1 to 5.3.4 by @dependabot in #1109
- Bump webpack-dev-server from 4.15.1 to 5.0.4 by @dependabot in #1110
- Bump css-loader from 6.9.1 to 6.10.0 by @dependabot in #1098
- Bump mapbox-to-css-font from 2.4.2 to 2.4.4 by @dependabot in #1099
- Bump karma from 6.4.2 to 6.4.3 by @dependabot in #1101
- Bump eslint from 8.56.0 to 8.57.0 by @dependabot in #1102
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #1107
- Bump express from 4.17.3 to 4.19.2 by @dependabot in #1116
- Bump mini-css-extract-plugin from 2.8.0 to 2.8.1 by @dependabot in #1111
- Bump puppeteer from 22.1.0 to 22.6.0 by @dependabot in #1112
- Bump mocha from 10.2.0 to 10.3.0 by @dependabot in #1114
- Generous peer dependency range for ol by @ahocevar in #1117
- Bump webpack from 5.90.3 to 5.91.0 by @dependabot in #1113
- Bump puppeteer from 22.6.0 to 22.6.1 by @dependabot in #1118
- Bump typescript from 5.3.3 to 5.4.3 by @dependabot in #1115
Full Changelog: v12.2.1...v12.2.2
v12.2.1
What's Changed
- Bump webpack from 5.89.0 to 5.90.0 by @dependabot in #1080
- Bump copy-webpack-plugin from 11.0.0 to 12.0.2 by @dependabot in #1079
- Bump puppeteer from 21.7.0 to 21.9.0 by @dependabot in #1081
- Bump style-loader from 3.3.3 to 3.3.4 by @dependabot in #1082
- Bump css-loader from 6.8.1 to 6.9.1 by @dependabot in #1083
- Changes for v12.2.0 by @ahocevar in #1084
- Fall back to default icon-color when drawing SDF by @ahocevar in #1094
- Bump karma-webpack from 5.0.0 to 5.0.1 by @dependabot in #1085
- Bump typedoc-plugin-missing-exports from 2.1.0 to 2.2.0 by @dependabot in #1086
- Bump mini-css-extract-plugin from 2.7.7 to 2.8.0 by @dependabot in #1087
- Bump puppeteer from 21.9.0 to 22.1.0 by @dependabot in #1091
- Bump webpack from 5.90.0 to 5.90.3 by @dependabot in #1095
Full Changelog: v12.2.0...v12.2.1
v12.2.0
Summary
- Fix zIndex of background layer when applying style to an existing map
- Use correct
line-color
andbackground-color
defaults - Add support for
circle-translate
- Do not throw when style contains an unsupported layer type
- Fix rendering for zero text halo
- Fix scaling of
icon-offset
- Allow computed values for
text-tranform
- Add support for
text-ignore-placement
andtext-allow-overlap
What's Changed
- Changes for v12.1.1 by @ahocevar in #1033
- Add background as first layer by @ahocevar in #1041
- Use direct import of METERS_PER_UNIT for legacy build compatibility by @ahocevar in #1044
- Bump typedoc-plugin-markdown from 3.16.0 to 3.17.1 by @dependabot in #1034
- Bump eslint-config-openlayers from 18.0.0 to 18.1.0 by @dependabot in #1035
- Bump @types/mocha from 10.0.4 to 10.0.6 by @dependabot in #1037
- Bump typedoc from 0.25.3 to 0.25.4 by @dependabot in #1038
- Bump typescript from 5.2.2 to 5.3.3 by @dependabot in #1047
- Allow default
line-color
when property not present by @orangemug in #1053 - Allow
background-color
to use default from spec by @orangemug in #1054 - Added support for
circle-translate
by @orangemug in #1056 - Bump puppeteer from 21.5.2 to 21.6.0 by @dependabot in #1051
- Bump eslint from 8.54.0 to 8.55.0 by @dependabot in #1049
- Bump html-webpack-plugin from 5.5.3 to 5.5.4 by @dependabot in #1050
- Don't throw on unsupported
heatmap
layer type instead show helpful debug info by @orangemug in #1057 - Bump puppeteer from 21.6.0 to 21.6.1 by @dependabot in #1061
- Bump eslint from 8.55.0 to 8.56.0 by @dependabot in #1062
- Bump html-webpack-plugin from 5.5.4 to 5.6.0 by @dependabot in #1065
- Bump typedoc from 0.25.4 to 0.25.5 by @dependabot in #1066
- Bump eslint-config-openlayers from 18.1.0 to 19.0.0 by @dependabot in #1071
- Fix icon-offset when icon-size is also set by @ahocevar in #1076
- Bump typedoc from 0.25.5 to 0.25.7 by @dependabot in #1070
- Bump puppeteer from 21.6.1 to 21.7.0 by @dependabot in #1069
- Bump follow-redirects from 1.14.8 to 1.15.4 by @dependabot in #1072
- Zero text halo should be no halo by @toddwong in #1074
- Don not match layer ids to string in stylefunction by @toddwong in #1073
- Bump mini-css-extract-plugin from 2.7.6 to 2.7.7 by @dependabot in #1075
- Compute value of text-transform by @ahocevar in #1077
- Add support for text-ignore-placement and text-allow-overlap by @ahocevar in #1078
New Contributors
- @orangemug made their first contribution in #1053
- @toddwong made their first contribution in #1074
Full Changelog: v12.1.1...v12.2.0
v12.1.1
Summary
- Consider the
icon-size
layout property also for icons not provided by the stylesheet - Handle fractional layer
minzoom
andmaxzoom
properly when fetching source data
What's Changed
- Changes for v12.1.0 by @ahocevar in #1014
- Bump puppeteer from 21.4.1 to 21.5.0 by @dependabot in #1015
- Bump @rollup/plugin-commonjs from 25.0.4 to 25.0.7 by @dependabot in #1016
- Bump @types/arcgis-rest-api from 10.4.5 to 10.4.7 by @dependabot in #1017
- Bump webpack from 5.88.2 to 5.89.0 by @dependabot in #1018
- Bump sinon from 17.0.0 to 17.0.1 by @dependabot in #1019
- Bump puppeteer from 21.5.0 to 21.5.1 by @dependabot in #1020
- Bump @types/topojson-specification from 1.0.4 to 1.0.5 by @dependabot in #1021
- Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 by @dependabot in #1022
- Bump eslint from 8.52.0 to 8.53.0 by @dependabot in #1023
- Bump typedoc from 0.25.1 to 0.25.3 by @dependabot in #1024
- Bump eslint from 8.53.0 to 8.54.0 by @dependabot in #1025
- Bump puppeteer from 21.5.1 to 21.5.2 by @dependabot in #1026
- Bump @types/offscreencanvas from 2019.7.2 to 2019.7.3 by @dependabot in #1027
- Bump @types/arcgis-rest-api from 10.4.7 to 10.4.8 by @dependabot in #1028
- Bump @types/mocha from 10.0.1 to 10.0.4 by @dependabot in #1029
- Apply icon-size (scale) for imageElement icons by @jnystad in #1031
- Handle fractional zooms for layer min/maxResolution properly by @ahocevar in #1032
Full Changelog: v12.1.0...v12.1.1
v12.1.0
Overview
- New 'updateMapboxSource()' utility function.
- Accept
Promise
as return type fortransformRequest()
- Do not overwrite existing search param with access token
What's Changed
- Changes for 12.0.0 by @ahocevar in #986
- New 'updateMapboxSource()' utility function by @ahocevar in #1009
- Accept Promise as return type for transformRequest by @ahocevar in #1012
- Do not overwrite existing search param with key accessTokenParam by @ahocevar in #1013
- Bump postcss from 8.4.24 to 8.4.31 by @dependabot in #997
- Bump @babel/traverse from 7.17.3 to 7.23.2 by @dependabot in #1002
- Bump @types/topojson-specification from 1.0.2 to 1.0.4 by @dependabot in #1003
- Bump eslint from 8.49.0 to 8.52.0 by @dependabot in #1004
- Bump @types/offscreencanvas from 2019.7.0 to 2019.7.2 by @dependabot in #1005
- Bump sinon from 15.2.0 to 17.0.0 by @dependabot in #1007
- Bump puppeteer from 21.1.0 to 21.4.1 by @dependabot in #1011
Full Changelog: v12.0.0...v12.1.0
v12.0.0
Backwards incompatible changes
- The
transformRequest
hook is now called for every singleTiles
request with the final url, instead of just once with the url template. - Generated OpenLayers Tile and VectorTile sources previously used the template urls obtained by
source.getUrl()
orsource.getUrls()
. Now they use atileLoadFunction
configured by ol-mapbox-style instead. - Generated OpenLayers Vector sources are now always configured with a
loader
by ol-mapbox-style. ThegetUrl()
method will return the url without thetransformRequest
transform. When the url is templated ({bbox-...}
),getUrl()
will returnundefined
.
Other changes
- The
transformRequest
hook now also accepts a url string as return value. When aRequest
is returned, it will be fully respected - not just the request'surl
.
What's Changed
- Make transformRequest more useful by @ahocevar in #985
- Changes for v11.0.3 by @ahocevar in #978
- Bump typedoc-plugin-missing-exports from 2.0.1 to 2.1.0 by @dependabot in #979
- Bump typedoc-plugin-markdown from 3.15.4 to 3.16.0 by @dependabot in #980
- Bump @rollup/plugin-node-resolve from 15.2.0 to 15.2.1 by @dependabot in #983
- Bump eslint from 8.47.0 to 8.49.0 by @dependabot in #984
- Bump typescript from 5.1.6 to 5.2.2 by @dependabot in #982
Full Changelog: v11.0.3...v12.0.0