diff --git a/CHANGELOG.md b/CHANGELOG.md index a15358f9fc2..df36bdab106 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,33 @@ -## 3.0.0-beta.5 +## 3.0.0-rc.1 -Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the [Mapbox GL JS v3 migration guide](./MIGRATION_GUIDE_v3.md). Changes since `v3.0.0-beta.3`: +Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the [Mapbox GL JS v3 migration guide](./MIGRATION_GUIDE_v3.md). Changes since `v3.0.0-beta.5`: -### ✨ Features and improvements +### Features and improvements ✨ + +- Enable zoom-based expressions for model rotation, scale and translation. +- Optimize shader compilation to reduce stuttering on complex 3D styles. +- Reduce stuttering when loading 3D tiles with models. +- Improve memory footprint when rendering ground lighting effects. +- Reduce flickering of symbols along lines due to rounding errors. +- Improve panning over bumpy terrain so that it feels smooth. +- Optimize switching between styles that have imports. +- Add support for `slot` in custom layers. + +### Bug fixes 🐞 + +- Fix rendering of line layers with data-driven `line-border`. +- Fix an issue with lighting inconsistency between rendering with and without terrain. +- Fix an issue with symbols sometimes not rendering correctly over terrain on top-down view. +- Fix an issue with `raster-color` sometimes causing memory issues. +- Fix an issue with non-1 alpha in `fill-extrusion-color` causing rendering issues in 3D lighting mode. +- Disallow duplicate style import IDs. +- Disallow duplicate directional and ambient lights. +- Fix wireframe debug mode for model rendering. +- Root style top-level properties take precedence over children import top-level properties + +## 3.0.0-beta.5 + +### Features and improvements ✨ - Improve shadow and fog rendering performance. - Slightly improve performance of 3D layers on highly pitched views by rendering front to back. diff --git a/package.json b/package.json index 11bca117d78..95a5b893d8f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mapbox-gl", "description": "A WebGL interactive maps library", - "version": "3.0.0-beta.5", + "version": "3.0.0-rc.1", "main": "dist/mapbox-gl.js", "style": "dist/mapbox-gl.css", "license": "SEE LICENSE IN LICENSE.txt", diff --git a/src/style-spec/package.json b/src/style-spec/package.json index 356e0a6cacb..29d67cc62c9 100644 --- a/src/style-spec/package.json +++ b/src/style-spec/package.json @@ -1,7 +1,7 @@ { "name": "@mapbox/mapbox-gl-style-spec", "description": "a specification for mapbox gl styles", - "version": "14.0.0-beta.4", + "version": "14.0.0-rc.1", "author": "Mapbox", "keywords": [ "mapbox", diff --git a/test/unit/mapbox-gl.js b/test/unit/mapbox-gl.js index 2c6af6f844a..a666e6646c1 100644 --- a/test/unit/mapbox-gl.js +++ b/test/unit/mapbox-gl.js @@ -4,7 +4,7 @@ import mapboxgl from '../../src/index.js'; test('mapboxgl', (t) => { t.test('version', (t) => { t.ok(mapboxgl.version); - t.match(mapboxgl.version, /^3\.[0-9]+\.[0-9]+(-dev|-beta\.[1-9])?$/); + t.match(mapboxgl.version, /^3\.[0-9]+\.[0-9]+(-(dev|beta|rc)\.[1-9])?$/); t.end(); }); diff --git a/test/unit/ui/map.test.js b/test/unit/ui/map.test.js index bee9535dc23..ad64cdb2f60 100755 --- a/test/unit/ui/map.test.js +++ b/test/unit/ui/map.test.js @@ -4119,7 +4119,7 @@ test('Map', (t) => { const version = map.version; t.test('returns version string', (t) => { t.ok(version); - t.match(version, /^3\.[0-9]+\.[0-9]+(-dev|-beta\.[1-9])?$/); + t.match(version, /^3\.[0-9]+\.[0-9]+(-(dev|beta|rc)\.[1-9])?$/); t.end(); }); t.test('cannot be set', (t) => {