Skip to content

Commit

Permalink
v3.0.0-rc.1 (internal-919)
Browse files Browse the repository at this point in the history
* v3.0.0-rc.1

* fix unit test

* fixup

* Update CHANGELOG.md

---------

Co-authored-by: Stepan Kuzmin <[email protected]>
  • Loading branch information
mourner and stepankuzmin committed Nov 7, 2023
1 parent 88f04c3 commit 466ee28
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 7 deletions.
31 changes: 28 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/unit/mapbox-gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down
2 changes: 1 addition & 1 deletion test/unit/ui/map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 466ee28

Please sign in to comment.