diff --git a/CHANGELOG.md b/CHANGELOG.md index ef5ebac4032..42608072e87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ -## v3.7.0-beta.1 +## v3.7.0 ### Features and improvements ✨ +- Add `background-pitch-alignment` property of the `background` layer, which is set to `map` by default but can now be set to `viewport`. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background. +- Add new control positions (`top`, `right`, `bottom`, and `left`) (h/t [@Ethan-Guttman](https://github.com/Ethan-Guttman)). +- Add `retainPadding` option for camera movement methods, which can be set to `false` for pre-v3.4 padding behavior. - Add `config` expression support in layer filter. - Add symbol elevation properties: `symbol-z-offset` and `symbol-elevation-reference`. - Add the `fill-z-offset` property for fill layers. @@ -13,6 +16,7 @@ - Improve type checking for the `Map#setPaintProperty` and `Map#setLayoutProperty` methods. - Allow the `string` event type in Map event handlers. - Expose `RequestTransformFunction`, `ResourceType`, and `RequestParameters` types. +- Improve texture memory footprint on some platforms. ### Bug fixes 🐞 - Fix feature filtering when using 3D lights. @@ -22,6 +26,9 @@ - Fix the issue where `minzoom` and `maxzoom` properties were ignored by `clip` layers. - Fix handling previously hidden models in `clip` layers. - Fix directional light `cast-shadows` property type. +- Fix an edge case that could produce `setStencilMode`-related error in the console with the dev build. +- Fix an issue where some fill extrusions could temporarily disappear when zooming quickly in certain areas. +- Fix an edge case that could cause flickering on a far plane on high zooms. ## 3.6.0 diff --git a/package-lock.json b/package-lock.json index be87de5c362..e6312316192 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mapbox-gl", - "version": "3.7.0-beta.1", + "version": "3.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mapbox-gl", - "version": "3.7.0-beta.1", + "version": "3.7.0", "license": "SEE LICENSE IN LICENSE.txt", "workspaces": [ "src/style-spec", @@ -16048,7 +16048,7 @@ }, "src/style-spec": { "name": "@mapbox/mapbox-gl-style-spec", - "version": "14.7.0-beta.1", + "version": "14.7.0", "license": "SEE LICENSE IN LICENSE.txt", "dependencies": { "@mapbox/jsonlint-lines-primitives": "~2.0.2", diff --git a/package.json b/package.json index 1899df3f75e..01ac5bd0ecc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mapbox-gl", "description": "A WebGL interactive maps library", - "version": "3.7.0-beta.1", + "version": "3.7.0", "main": "dist/mapbox-gl.js", "style": "dist/mapbox-gl.css", "types": "dist/mapbox-gl.d.ts", diff --git a/src/style-spec/package.json b/src/style-spec/package.json index f70012f103a..677a9901c97 100644 --- a/src/style-spec/package.json +++ b/src/style-spec/package.json @@ -1,6 +1,6 @@ { "name": "@mapbox/mapbox-gl-style-spec", - "version": "14.7.0-beta.1", + "version": "14.7.0", "description": "a specification for mapbox gl styles", "author": "Mapbox", "license": "SEE LICENSE IN LICENSE.txt",