Skip to content

Bump leaflet-geosearch from 4.4.0 to 5.1.0 in /client - #184

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/client/leaflet-geosearch-5.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/client/leaflet-geosearch-5.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown
Contributor

Bumps leaflet-geosearch from 4.4.0 to 5.1.0.

Release notes

Sourced from leaflet-geosearch's releases.

v5.1.0

5.1.0 (2026-10-22)

Features


5.1 adds Leaflet 2 support. The same package works with Leaflet 1.6 and up and with Leaflet 2, there is no separate build and nothing to change for Leaflet 1 users.

  • the control is an ES class with a constructor, imports Leaflet's classes by name, uses map.fire and lets Marker pick its default icon. All of that works on Leaflet 1 too
  • the leaflet range is ^1.6.0 || ^2.0.0-alpha.1, so npm no longer installs a second copy of Leaflet 1 in a project that uses Leaflet 2
  • options.marker.icon stays empty unless you pass an icon, the marker still gets Leaflet's default icon
  • CI runs the tests against Leaflet 1.6 to 1.9.4, 2.0.0-alpha.1 and Leaflet's main branch
  • how to use it with Leaflet 2: https://leaflet-geosearch.meijer.works/usage#leaflet-2

By @​ramazansancar in #451 and #454.

v5.0.0

5.0.0 (2026-10-22)

Features

BREAKING CHANGES

  • The default resultFormat and popupFormat escape the label, so html in labels shows as text unless you pass your own formatters. A picked suggestion is shown without searching the provider again (requeryOnSelect: true restores that). Failed searches fire geosearch/error on the map instead of rejecting. autoClose keeps the marker of the result (showMarker: false hides it). The Google provider uses @​googlemaps/js-api-loader 2 and ignores the url, nonce, retries and id options. The Esri provider asks for up to 5 locations instead of 1. See https://leaflet-geosearch.meijer.works/upgrading/v5

5.0 fixes a lot of long-standing issues and adds features that were asked for over the years. Some fixes change what you see, the upgrade notes list them with the way back to the old behaviour.

Search

  • picking a suggestion shows it without searching again (requeryOnSelect: true brings the old behaviour back)
  • failed searches fire geosearch/error, outdated and repeated requests are dropped, autocomplete works inside a shadow root
  • minQueryLength, cacheSize and showResultListOnSubmit

Control

  • several providers in one control, with a provider select and a fallback: Multiple providers
  • zoomToBounds, fitBoundsOptions and flyTo
  • reverse geocoding with provider.reverse(), and reverseOnDragEnd for a dragged marker
  • reset(), setQuery() and setLabels()
  • popupOptions, markerPopup, resultListPosition, a dark theme with css variables, searchIcon and the geosearch/beforeshowlocation event
  • autoClose keeps the marker of the result
  • the result list follows the ARIA combobox pattern

... (truncated)

Commits
  • ca4d171 ci: cache Playwright's Chromium and install it without apt (#454)
  • 36a5306 feat: support Leaflet 2 (#451)
  • 13abc10 docs: add ramazansancar as a contributor for doc, test, and infra (#453)
  • 6e64430 ci: release with the workflow token instead of a personal one (#452)
  • 74c072e feat: release 5.0 with search fixes, multi providers and new docs
  • b83f039 docs: add jeremy-code as a contributor for code (#448)
  • 880afc4 Update .leaflet-control-geosearch text to be dark mode compatible (#447)
  • See full diff in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [leaflet-geosearch](https://github.com/smeijer/leaflet-geosearch) from 4.4.0 to 5.1.0.
- [Release notes](https://github.com/smeijer/leaflet-geosearch/releases)
- [Commits](smeijer/leaflet-geosearch@v4.4.0...v5.1.0)

---
updated-dependencies:
- dependency-name: leaflet-geosearch
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 28, 2026
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
indocafe Error Error Oct 28, 2026 8:43am UTC

@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Oct 28, 2026
@github-actions

Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

This branch had an error being deployed

1 failed deployment
Preview — 0c380af9 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file frontend javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants