Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.4.0 #13186

Merged
merged 42 commits into from
May 24, 2024
Merged

v3.4.0 #13186

merged 42 commits into from
May 24, 2024

Conversation

mourner
Copy link
Member

@mourner mourner commented May 22, 2024

Features and improvements ✨

  • Add dynamic: true option for GeoJSON sources that enables partial update API with source.updateData method. Further optimizations for this mode are expected in future releases.
  • Add Map setConfig, getConfig, setSchema and getSchema methods for batch setting of style configuration options.
  • Add config option for the Map constructor and setStyle methods for conveniently setting style configuration options on map initialization.
  • Add icon-color-saturation, icon-color-contrast, icon-color-brightness-min and icon-color-brightness-max to control symbol layer appearance.
  • Introduce a new line-join mode: none to improve line pattern distortions around joins.
  • Extend model-id property to support URIs (in addition to style-defined model references).
  • Expose more parameters in map devtools UI.

Bug fixes 🐞

  • Fix an issue with flyTo ignoring padding in its options.
  • Respect padding in cameraForBounds on globe view. (h/t @jonasnoki) #13126
  • Fix preloadOnly not preloading tiles from style imports.
  • Fix queryRenderedFeatures for non-integer ID in non-tiled model sources
  • Fix model-scale property for large number of 3D models.
  • Fix flickering of raster-particle layer on globe view.
  • Improve rendering of low-resolution raster-array data.
  • Fix an issue with GL JS bundle not building locally on Windows.
  • Fix multiple edge cases when using symbol-z-elevate.
  • Fix rendering issues with raster-particle layer on certain Android devices.
  • Fix shadow and lighting rendering issues in certain areas when using Mapbox Standard.

jtorresfabra and others added 30 commits May 22, 2024 18:32
* Use tileModelMatrix for normals

* Add render test
* Restore playwright cache on `setup-playwright` job

* Use package-lock.json checksum as a cache key

* Persist playwright cache to workspace
* Add model-front-cutoff property

* Add sdk-support

* Add landmark-front-cutoff render test

* Update sdk-support versions

* Add front cutoff render tests

* Ignore new render tests

* Update render tests
Bumps [puppeteer-core](https://github.com/puppeteer/puppeteer) from 22.8.0 to 22.8.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-core-v22.8.0...puppeteer-core-v22.8.1)

---
updated-dependencies:
- dependency-name: puppeteer-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 48.2.3 to 48.2.4.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](gajus/eslint-plugin-jsdoc@v48.2.3...v48.2.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [playwright](https://github.com/microsoft/playwright) from 1.43.1 to 1.44.0.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](microsoft/playwright@v1.43.1...v1.44.0)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.12 to 10.3.15.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](isaacs/node-glob@v10.3.12...v10.3.15)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…internal-1406)

* Add define to set highp default for fragment shader

* [GLJS-816] Added CSP tests suite (internal-1361)

* Update Node.js to 18.20.2 (internal-1387)

* Invalidate playwright cache on lock file change (internal-1395)

* Restore playwright cache on `setup-playwright` job

* Use package-lock.json checksum as a cache key

* Persist playwright cache to workspace

---------

Co-authored-by: Aleksandr Shoronov <[email protected]>
Co-authored-by: Stepan Kuzmin <[email protected]>
* Fix zOffset for v2 tiles

* Add render test

* Do heightmap calculations for zOffset at render time

This way we reduce the number of matrix multiplications at load time, and the cost in render time is negligible

* Optimization to not compute zoffset everyframe if it didn't change

* Remove updateZOffset optimization as it is not safe to do it that way
* Update render test

* Replace webp tiles with png

* Increase render test tolerances

* Move landmark-front-cutoff-high-zoom to skip section
- allow changing parameter label
- add toggle to force shadows off
- add per layer type toggle
…nal-1415)

* fix incorrect tile coordinate transforms in replacement_source

* test

* tiny
* Fix shadow normal offset for v2 tiles

shadow_pos should include node.matrix to get the right offset

* Reduce expectation size to 512
…ternal-1418)

* Add getConfig/setConfig and getSchema/setSchema to Map

* Add unit tests
…ternal-1394)

* Fix raster-particle rendering precision issues on Android

* Remove prelude override in favor of explicit qualifiers
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updated-dependencies:
- dependency-name: puppeteer-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
stepankuzmin and others added 12 commits May 22, 2024 18:33
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Improve Flow typings

* Type LngLatBounds constructor

Drop lng_lat_bounds.js leftover

* hotfix

* Cleanup

* Cleanup
* enforce no wrapIndent for jsdoc comments (internal-13139)

* enforce no wrapIndent for jsdoc comments

* fix linting errors

* fixup

* fixup

---------

Co-authored-by: Chris Whong <[email protected]>
@mourner mourner requested a review from stepankuzmin May 22, 2024 15:37
@mourner mourner requested a review from a team as a code owner May 22, 2024 15:37
@mourner mourner merged commit 2b6915c into main May 24, 2024
29 checks passed
@mourner mourner deleted the mourner/bump-v3.4 branch May 24, 2024 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.