Skip to content

Commit 466ee28

Browse files
mournerstepankuzmin
andcommitted
v3.0.0-rc.1 (internal-919)
* v3.0.0-rc.1 * fix unit test * fixup * Update CHANGELOG.md --------- Co-authored-by: Stepan Kuzmin <[email protected]>
1 parent 88f04c3 commit 466ee28

File tree

5 files changed

+32
-7
lines changed

5 files changed

+32
-7
lines changed

CHANGELOG.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1-
## 3.0.0-beta.5
1+
## 3.0.0-rc.1
22

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.3`:
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`:
44

5-
### ✨ Features and improvements
5+
### Features and improvements ✨
6+
7+
- Enable zoom-based expressions for model rotation, scale and translation.
8+
- Optimize shader compilation to reduce stuttering on complex 3D styles.
9+
- Reduce stuttering when loading 3D tiles with models.
10+
- Improve memory footprint when rendering ground lighting effects.
11+
- Reduce flickering of symbols along lines due to rounding errors.
12+
- Improve panning over bumpy terrain so that it feels smooth.
13+
- Optimize switching between styles that have imports.
14+
- Add support for `slot` in custom layers.
15+
16+
### Bug fixes 🐞
17+
18+
- Fix rendering of line layers with data-driven `line-border`.
19+
- Fix an issue with lighting inconsistency between rendering with and without terrain.
20+
- Fix an issue with symbols sometimes not rendering correctly over terrain on top-down view.
21+
- Fix an issue with `raster-color` sometimes causing memory issues.
22+
- Fix an issue with non-1 alpha in `fill-extrusion-color` causing rendering issues in 3D lighting mode.
23+
- Disallow duplicate style import IDs.
24+
- Disallow duplicate directional and ambient lights.
25+
- Fix wireframe debug mode for model rendering.
26+
- Root style top-level properties take precedence over children import top-level properties
27+
28+
## 3.0.0-beta.5
29+
30+
### Features and improvements ✨
631

732
- Improve shadow and fog rendering performance.
833
- Slightly improve performance of 3D layers on highly pitched views by rendering front to back.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mapbox-gl",
33
"description": "A WebGL interactive maps library",
4-
"version": "3.0.0-beta.5",
4+
"version": "3.0.0-rc.1",
55
"main": "dist/mapbox-gl.js",
66
"style": "dist/mapbox-gl.css",
77
"license": "SEE LICENSE IN LICENSE.txt",

src/style-spec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mapbox/mapbox-gl-style-spec",
33
"description": "a specification for mapbox gl styles",
4-
"version": "14.0.0-beta.4",
4+
"version": "14.0.0-rc.1",
55
"author": "Mapbox",
66
"keywords": [
77
"mapbox",

test/unit/mapbox-gl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import mapboxgl from '../../src/index.js';
44
test('mapboxgl', (t) => {
55
t.test('version', (t) => {
66
t.ok(mapboxgl.version);
7-
t.match(mapboxgl.version, /^3\.[0-9]+\.[0-9]+(-dev|-beta\.[1-9])?$/);
7+
t.match(mapboxgl.version, /^3\.[0-9]+\.[0-9]+(-(dev|beta|rc)\.[1-9])?$/);
88
t.end();
99
});
1010

test/unit/ui/map.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4119,7 +4119,7 @@ test('Map', (t) => {
41194119
const version = map.version;
41204120
t.test('returns version string', (t) => {
41214121
t.ok(version);
4122-
t.match(version, /^3\.[0-9]+\.[0-9]+(-dev|-beta\.[1-9])?$/);
4122+
t.match(version, /^3\.[0-9]+\.[0-9]+(-(dev|beta|rc)\.[1-9])?$/);
41234123
t.end();
41244124
});
41254125
t.test('cannot be set', (t) => {

0 commit comments

Comments
 (0)