Skip to content

chore(deps): update frontend (major)#366

Open
upgrade-bot-9000[bot] wants to merge 1 commit into
masterfrom
renovate/major-frontend
Open

chore(deps): update frontend (major)#366
upgrade-bot-9000[bot] wants to merge 1 commit into
masterfrom
renovate/major-frontend

Conversation

@upgrade-bot-9000

@upgrade-bot-9000 upgrade-bot-9000 Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
maplibre-gl (source) 5.24.06.0.0 age confidence
prettier-plugin-svelte 3.5.14.1.1 age confidence
svelte-maplibre-gl (source) 1.0.32.2.0 age confidence
typescript (source) 6.0.37.0.2 age confidence
vitest-browser-svelte 2.1.13.0.0 age confidence

Release Notes

maplibre/maplibre-gl-js (maplibre-gl)

v6.0.0

Compare Source

The following incorporates all the pre-releases for version 6 changes.
Check-out our migration guide from v5 to v6 for more information.

✨ Features and improvements
  • ⚠️ Switch to an ESM-only distribution (maplibre-gl.mjs). The UMD bundles (maplibre-gl.js, maplibre-gl-csp.js) are no longer published. The CSP-specific bundle is also dropped: the ESM build loads its worker as a real URL, so worker-src blob: is no longer required. Consumers using <script src=".../maplibre-gl.js"> must switch to <script type="module">, and consumers using import maplibregl from 'maplibre-gl' must switch to import * as maplibregl from 'maplibre-gl' or named imports. See the docs ESM section or our migration guide for migration steps. (#​6254) (by @​birkskyum)
  • ⚠️ Interpolate the light position in spherical coordinates instead of cartesian ones, so that a transition keeps its radial distance. (#​7919) (by @​HarelM)
  • ⚠️ styleimagemissing is now a notify-only event instead of the previous callback that allowed to provide an image. This aligns the event with standard event semantics (notify, not resolve). Use Map.setMissingStyleImageResolver to on-demand supply images instead via an function that can now also be async. (#​7892) (by @​birkskyum)
  • ⚠️ Map now composes a Camera instead of extending it (Map extends Evented directly and forwards the camera API). The internal map.transform was removed — use map's public API instead or open a PR if you need something that's not exposed. Removed the internal transform.getMatrixForModel helper (#​7800) (by @​HarelM)
  • ⚠️ All map events are now real classes that are instantiated when they are fired. Renamed the Maps' BoxZoom handler from MapLibreZoomEvent to MapBoxZoomEvent, added the rollstart/roll/rollend and style.load (as MapStyleLoadEvent) events to MapEventType, and added event classes and type-map for Marker, Popup, GeolocateControl and FullscreenControl. Removed MapDataEvent: the data/dataloading/dataabort events are now MapSourceDataEvent | MapStyleDataEvent, so source data events carry the full source info (sourceId, tile, sourceDataType, …). Added MapMovementEvent as the type for all camera-transition events (move/zoom/rotate/pitch/roll/drag and their start/end variants). Evented is now generic over an event-type map (Evented<EventType>) and is abstract, so subclasses get strongly-typed on/once/off automatically without re-declaring overloads — this also types the events on Camera/Style (via MapEventType) and on the sources (via the new SourceEventType) (#​7789) (by @​HarelM)
  • ⚠️ Update maplibre-gl-style-spec to version 25, which now throws an error with warning severity instead of silently failing on encoutering legacy expressions (#​7792) (by @​HarelM)
  • ⚠️ Removed the remaining mapbox references in the code and in the tests. This changes the #pragma mapbox to #pragma maplibre in case you have shader code that relied on it. (#​7761) (by @​HarelM)
  • ⚠️ zoomLevelsToOverscale default value was changed to 4 to support better handling of high level zoom with dense labels. This might have a side effect of changing a bit the results of queryRenderedFeatures and some rendering of polygon center label. To revert this change, set the value to undefined (#​7537) (by @​HarelM)
  • ⚠️ Remove the second parameter from GeoJSONSource.setData (waitForCompletion) and remove the return value of this to allow future changes to the API (#​7538) (by @​HarelM)
  • ⚠️ The TypeScript target has been updated to ES2022.
    This results in smaller bundles and improved runtime performance by relying on modern JavaScript features and reducing transpilation. Consumers targeting browsers or using some tooling released before 2022 may need to transpile MapLibre or update. This change also aligns all internal build configurations to a single target instead of ES2016 + ES2019, avoiding inconsistencies in emitted code. (#​7404) (by @​CommanderStorm)
  • ⚠️ WebGL (v1) support has been removed; WebGL2 is now required.
    In practical terms, this will not change how you interact with the map.
    This enables performance improvements (e.g. line opacity), Terrain3D enhancements, and several bug fixes.
    WebGL2 support has been widely available for years, and usage of the legacy path had plateaued, so maintaining it no longer justified the added complexity.
    To ease this breaking change, we have also refactored how we handle the case that no webgl is avaliable (e.g. due to browser restrictions).
    You can now listen to the webgl error via .on("error").
    See caniuse.com/webgl2 for ecosystem support and our RFC for details. (#​7453) (by @​CommanderStorm)
  • ⚠️ Support geojson nested objects, this is a breaking change as it encodes __$json__ before properties that used to be an object. It also parses them back, but this is still a breaking change if you assumed this bug existed. (#​6992) (by HarelM)
  • ⚠️ Improve types for {get,set}LayoutProperty, {get,set}PaintProperty to be the actual type instead of string/any (#​7481) (by @​CommanderStorm)
  • ⚠️ Refactored the Hash-based location control (the option that syncs map state to the URL like #map=5/1/2) to use URLSearchParams internally. This improves extensibility for custom use cases, but may break existing code that relies on the previous implementation. It also changes how certain edge cases are parsed—for example, strings like #&#8203;10%2F3.00%2F-1.00 are now accepted, and hashes like #foo are normalized to #foo=. (#​7073) (by @​CommanderStorm)
  • Validate the terrain passed to map.setTerrain, which was previously applied unchecked (#​7941) (by @​HarelM)
  • Improve runtime error warnings to point at the offending style location (e.g. layers[3].paint.line-color, layers[3].filter) instead of just logging the bare error message (#​7869) (by @​CommanderStorm)
  • Improve terrain render-to-texture preparation performance by skipping sources that are not rendered to terrain textures (#​7863) (by @​DoFabien)
  • Add Map.setMissingStyleImageResolver for resolving missing style images with sync or async callbacks (#​7850) (by @​birkskyum)
  • Add RasterTileSource#setPremultiplyAlpha(false) to preserve raw RGBA tile values when alpha is used for data instead of opacity (#​7235) (by @​plantain).
  • Drop the archived @mapbox/whoots-js dependency by inlining its single getTileBBox helper (#​7838) (by @​qorexdevs)
  • Debounce setImages broadcast to once per animation frame, fixing O(n²) serialization overhead when adding many images (#​7614) (by @​bradymadden97)
  • Improve terrain rendering performance by avoiding unnecessary terrain data lookups during Mercator render-to-texture passes (#​7833) (by @​DoFabien)
  • Reduce allocation pressure while constructing DEM data and sampling terrain elevations (#​7814) (by @​DoFabien)
  • Reuse terrain DEM texture when preparing terrain (#​7813) (by @​DoFabien)
  • Add fill-layer-opacity and line-layer-opacity paint properties, which apply opacity to the entire layer output uniformly (#​7570) (by @​CommanderStorm)
  • Build main and worker in same build context to extract shared chunk (#​7745) (by @​dangkyokhoang)
  • Revert the line-opacity-driven offscreen rendering introduced in #​7490 (#​7764) (by @​CommanderStorm). The overlap-artefact fix is now driven by line-layer-opacity instead.
  • Improve ProjectionData matrix backing types for renderer and custom layer projection matrices (#​6316) (by @​cat0825)
  • Optimization: vertex shader opacity culling for lines and fills #​7711 (by @​xavierjs)
  • Use a shared FBO for the terrain cache render to texture #​7637 (by @​xavierjs)
  • Use flat to opt out of interpolation for constant shader varyings (#​7661) (by @​birkskyum)
  • Replace texImage2D with texStorage2D for immutable textures (#​7643) (by @​birkskyum)
  • Enable mipmaps for non-power-of-two raster tiles, reducing aliasing at high pitch (#​7641) (by @​birkskyum)
  • Use GLSL ES 3.00 layout qualifiers for vertex attribute locations, replacing runtime bindAttribLocation calls (#​7644) (by @​birkskyum)
  • Adopt isolatedDeclarations and switch dts emitter from tsgo to oxc (#​7566) (by @​birkskyum)
  • Improve 3D terrain performance (#​7549) (by @​lucaswoj)
  • Replace dts-bundle-generator with rolldown-plugin-dts for 78.2x faster .d.ts generation. (#​7564) (by @​birkskyum)
  • Replace ts-node with Node 24's native TypeScript support for build scripts. (#​7565) (by @​birkskyum)
  • Bump typescript to v7 beta - 3.5x faster typecheck (#​7556) (by @​birkskyum)
  • Add a new map creation option, terrainSkirtLength, which allows the removal of visually unappealing vertical artifacts when using a terrain along with a transparent background (#​7523) (by @​safwat-halaby)
  • Bundle with Rolldown instead of Rollup (#​7555) (by @​birkskyum)
  • Optimization for Feature State: Replace String-Indexed Object with Array (up to 3.4X speedup) (#​7550) (by @​xavierjs)
  • Expose getProjectionData function in custom layer args objects (#​7471) (by @​kubapelc)
  • Marked package sideEffects as CSS-only in package metadata, which may improve tree-shaking and reduce bundle size in some bundlers (#​7258) (by @​CommanderStorm)
🐞 Bug fixes
  • ⚠️ Fix transparent, overlapping lines creating artefacts. This is fixed for line-opacity, but purposefully not for transparent line-color properties, thus still allowing transparent colors to stack their effect. (#​7490) (by @​CommanderStorm)
  • ⚠️ Disable icon scaling with offset, this is a render breaking change which we have decided to incorporate in both maplibre-gl-js and maplibre-native (#​7742) (by @​springmeyer and @​HarelM)
  • Log style validation warnings instead of treating them as errors, so that a filter mixing legacy and expression syntax no longer aborts the style load and blanks the map (#​7941) (by @​HarelM)
  • Validate raster-dem sources passed to map.addSource, which were previously skipped. Stop a source type the style spec has no schema for, such as one registered with addSourceType, from failing the whole style. Previously only canvas was let through (#​7941) (by @​HarelM)
  • Fix line-layer-opacity/fill-layer-opacity clipping away a subsequent layer that shares the same source (#​7867) (by @​CommanderStorm)
  • Fix camera jump in flyTo when minZoom is set (#​7743) (by @​YuChunTsao)
  • Fix stale terrain depth and coordinate framebuffers when terrain tiles change without camera movement (#​7812) (by @​DoFabien)
  • Fix a memory leak where aborting a worker request (e.g. a GeoJSON tile load cancelled while panning) left its promise pending forever, so the awaiting async frame and everything it captured was never released; Actor.sendAsync now rejects with an AbortError on abort (#​7826) (by @​kamil-sienkiewicz-asi)
  • Skip undefined properties during worker serialization (#​7801) (by @​xavierjs)
  • Fix cross-origin module worker loading to preserve ESM semantics (#​7796) (by @​dangkyokhoang)
  • Fix conflicting reloads of tiles causing an error in queryRenderedFeatures (#​7765) (by @​ckolin)
  • Fix a race condition in geojson source after init and fast update data (#​7734) (by @​HarelM)
  • Fix camera jump on dragend with globe + terrain at low pitch (#​7736) (by @​kodeezabdullah)
  • Fix web font rendering by awaiting document.fonts.load() before TinySDF instantiation (#​7735) (by @​kodeezabdullah)
  • Remove the framebuffer completeness check that threw an unhandled Framebuffer is not complete error on transient GPU resource loss (e.g. when a tab wakes from sleep); incomplete framebuffers now self-heal on the next frame instead (#​7303) (by @​johanrd)
  • Fix handling cross-origin blob URL in Ajax utils (#​7675) (by @​katemihalikova)
  • Avoid TypeErrors from style methods while the WebGL context is lost (#​7710) (by @​cyphercodes)
  • querySourceFeatures() throws 'Block overruns tile' on overzoomed MLT tiles because the reported encoding doesn't match the re-encoded MVT data (#​7707) (by @​ted-piotrowski)
  • Fix geometry length check for polygons and lines in LineBucket after duplicate vertex trimming(#​7638) (by @​widefire)
  • line-dasharray step transition lags one zoom level when the step's branches are data-driven (#​7705) (by @​lucaswoj)
  • Fix feature state bulk remove + feature set per-id set does not remove state of first feature (#​7554) (by @​xavierjs)
  • Remove error when actor doesn't have a registered message type for better usability of custom messages in workers (#​7589) (by @​HarelM)
  • Auto-load worker module for CDN usage (#​7595) (by @​birkskyum)
  • Fix Large number of feature state keys leads to zoom lag when loading cached tiles (#​7590) (by @​xavierjs)
  • Fix issue when map's max zoom and source max zoom are close to eachother (#​7567) (by @​HarelM)
sveltejs/prettier-plugin-svelte (prettier-plugin-svelte)

v4.1.1

Compare Source

Patch Changes
  • fix: preserve nested rest patterns in {#each} destructuring (#​537)

  • fix: preserve whitespace inside <textarea> (its content is whitespace-sensitive, like <pre>) (#​540)

  • fix: don't drop <script>/<style> content when the closing tag has whitespace (</script >) (#​539)

v4.1.0

Compare Source

Minor Changes
  • feat: support Svelte 5 declaration tags (#​533)

v4.0.1

Compare Source

Patch Changes
  • fix: print @const correctly (#​530)

v4.0.0

Compare Source

  • (breaking) Require Svelte 5
  • (breaking) Remove svelteBracketNewLine option
  • (breaking) Remove svelteStrictMode option
  • (fix) Keep trailing <!-- #endregion --> comments below svelte:options / scripts / styles

v3.5.2

Compare Source

  • (fix) Preserve non-breaking spaces
  • (fix) handle comments in bind: get/set tuple
  • (fix) handle computed properties in e.g. {#each} blocks
MIERUNE/svelte-maplibre-gl (svelte-maplibre-gl)

v2.2.0

Compare Source

Minor Changes
  • 3c60689: Add a Vite entry point that configures the MapLibre GL JS v6 worker.

v2.1.1

Compare Source

v2.1.0

Compare Source

Minor Changes
  • 461e3f7: Add MapLibre GL JS 6.x camera compatibility while preserving MapLibre GL JS 5.x support.

v2.0.1

Compare Source

Patch Changes
  • b6b4a8c: fix(ImageLoader): pass tasks directly to Promise.allSettled instead of wrapping it in another array. Previously the wrapped form resolved immediately, flipping loading to false and rendering children before any image had actually loaded; rejected loads were also silently swallowed.

    fix(ImageLoader): when the same id is reassigned to a different url before its previous load resolves, the stale resolution no longer overwrites the newer image. The async task now compares the captured url against the current loadedImages entry before adding.

  • b6b4a8c: perf(Marker, Popup): apply only the className delta on class prop changes instead of removing every previous class and re-adding every new class. Avoids redundant DOM mutations when the class list is partially updated (e.g. toggling a single class in a multi-class string).

  • b6b4a8c: feat(Popup): add trackPointer prop. When true, the popup follows the cursor instead of being pinned to lnglat, mirroring Popup.trackPointer() upstream. Toggling the prop reactively switches between cursor-tracking and anchored modes.

  • b6b4a8c: fix(RawLayer): clearing beforeId (changing it from a layer id back to undefined) now moves the layer to the top via map.moveLayer(id), instead of leaving it at its previous position.

  • b6b4a8c: fix(Sprite): capture id/url at effect-run time so cleanup removes the sprite that was actually added, preventing the previous sprite from leaking when these props change.

    fix(Image): when id changes (without dimension changes), addImage is now called for the new id instead of updateImage, which previously fired an upstream error for the missing id.

v2.0.0

Compare Source

Minor Changes
  • 14842b3: feat: track maplibre-gl 5.10+/5.18+/5.19+ features
Patch Changes
  • 717a771: fix(MapLibre): make padding bindable and sync it from the transform on move so user-driven easeTo({ padding }) calls are no longer cancelled by the reactive update. padding={undefined} now means "library does not control padding" (consistent with center/zoom); to clear the map's padding, pass an explicit zero-valued padding object instead.
  • 2cf585c: Handle sources and layers within Svelte key blocks that specify a fixed source/layer id
microsoft/TypeScript (typescript)

v7.0.2

Compare Source

vitest-community/vitest-browser-svelte (vitest-browser-svelte)

v3.0.0

Compare Source

   🚨 Breaking Changes
   🐞 Bug Fixes
    View changes on GitHub

v2.2.1

Compare Source

No significant changes

    View changes on GitHub

v2.2.0

Compare Source

   🚀 Features
    View changes on GitHub

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch from 1c6687f to 47084cf Compare May 24, 2026 04:19
@upgrade-bot-9000 upgrade-bot-9000 Bot changed the title chore(deps): update dependency svelte-maplibre-gl to v2 chore(deps): update frontend (major) May 24, 2026
@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch from 47084cf to c944fc1 Compare May 25, 2026 04:42
@jonerrr
jonerrr force-pushed the renovate/major-frontend branch from c944fc1 to 38d838e Compare May 26, 2026 03:37
@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch from 38d838e to 9b372f8 Compare June 5, 2026 04:45
@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch from 9b372f8 to dc48222 Compare June 19, 2026 05:10
@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch 3 times, most recently from 7cf2f12 to 4e3717e Compare July 13, 2026 03:43
@upgrade-bot-9000
upgrade-bot-9000 Bot force-pushed the renovate/major-frontend branch from 4e3717e to ad45b06 Compare July 27, 2026 03:25
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.

0 participants