✨ Features and improvements
- Add
oklab()colors and theinterpolate-oklabexpression (#9051) (by @johncarmack1984) - Add
oklch()colors and theinterpolate-oklchexpression (#9011) (by @johncarmack1984) - Pan on Ctrl + drag when dragRotate is disabled (#9038) (by @rowmanempire)
- Add
setTrustedTypesPolicyfor pages that enforce Trusted Types (#9068) (by @birkskyum) - Add
getTransformRequestto go withsetTransformRequest(#9048) (by @Syogo-Suganoya) - Consolidate the camera's state into one place, kept in a Zustand store, and remove the internal
Transformclasses (#8694) (by @HarelM) - Docs: update and add content to mapbox migration guide (#9057) (by @mizmay)
🐞 Bug fixes
- Fix add a layer whose inline source holds a DOM element such as a canvas (#9047) (by @Syogo-Suganoya)
- Fix
variable-anchortext withtext-overlap: alwaysshowing through the globe (#9049) (by @michal-pomirski-airspace-intelligence) - Fix
setMaxBoundsthrowing when the longitude bounds span 360 degrees (#9022) (by @lazerg) - Fix draw the text halo in a separate pass for cursive scripts (#9009) (by @JROtto5)
- Fix a pitch drag jumping when terrain is turned off during the drag (#9036) (by @HarelM)