Skip to content

chore(deps): update dependency svelte-maplibre-gl to v2#366

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

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

Conversation

@upgrade-bot-9000
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
svelte-maplibre-gl (source) 1.0.32.0.1 age confidence

Release Notes

MIERUNE/svelte-maplibre-gl (svelte-maplibre-gl)

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

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Mend Renovate.

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