Skip to content

[9.3] [Maps] Update @elastic/ems-client to 8.7.0 (#262581)#264074

Merged
jsanz merged 2 commits intoelastic:9.3from
jsanz:backport/9.3/pr-262581
Apr 20, 2026
Merged

[9.3] [Maps] Update @elastic/ems-client to 8.7.0 (#262581)#264074
jsanz merged 2 commits intoelastic:9.3from
jsanz:backport/9.3/pr-262581

Conversation

@jsanz
Copy link
Copy Markdown
Contributor

@jsanz jsanz commented Apr 17, 2026

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

Related to elastic/ems-client#1166 and elastic#260558

## Summary

Upgrades `@elastic/ems-client` from 8.6.3 to 8.7.0.

Notable dependency changes in ems-client 8.7.0:
- `maplibre-gl` 3.1.0 → 5.3.0 (now matches Kibana's own maplibre-gl
version)
- `lru-cache` ^4.1.5 → 11.2.6
- `@types/geojson` 7946.0.15 → 7946.0.16
- `semver` ^7.6.3 → 7.7.4

Since ems-client now uses the same maplibre-gl major version as Kibana,
three `@ts-expect-error` directives in `ems_vector_tile_layer.tsx` that
suppressed type mismatches between maplibre 3.x and 5.x are no longer
needed and have been removed.

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Low risk — this is a dependency version bump with no functional code
changes. The only code edit is removing type error suppressions that are
no longer needed due to aligned maplibre-gl versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit 1f139d4)

# Conflicts:
#	package.json
#	src/dev/license_checker/config.ts
#	yarn.lock
@jsanz jsanz requested a review from kibanamachine as a code owner April 17, 2026 13:17
@jsanz jsanz added the backport This PR is a backport of another PR label Apr 17, 2026
@jsanz jsanz enabled auto-merge (squash) April 17, 2026 13:17
@jsanz jsanz requested a review from a team April 20, 2026 15:26
Copy link
Copy Markdown
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsanz jsanz merged commit e182c5c into elastic:9.3 Apr 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants